TDLS: Add peer as a STA during link setup
authorArik Nemtsov <arik@wizery.com>
Sun, 23 Oct 2011 11:02:57 +0000 (14:02 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 23 Oct 2011 19:19:35 +0000 (22:19 +0300)
commit45b722f150e0ed8bd48390c605d8fa780a2c033a
tree02fd62e8e6ab4e705d8d6a7906ddb3c0bf04fb17
parent979bcccf64cde20eb588899944f4e412c5f9d170
TDLS: Add peer as a STA during link setup

Before commencing setup, add a new STA entry to the driver representing
the peer. Later during setup, update the STA entry using information
received from the peer.

Extend sta_add() callback for adding/modifying a TDLS peer entry and
connect it to the TDLS state machine. Implement this callback for the
nl80211 driver and send peer information to kernel.

Mark TDLS peer entries with a new flag and translate it to a
corresponding nl80211 flag in the nl80211 driver.

In addition, correct TDLS related documentation in the wpa_driver_ops
structure.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Cc: Kalyan C Gaddam <chakkal@iit.edu>
src/drivers/driver.h
src/drivers/driver_nl80211.c
src/rsn_supp/tdls.c
src/rsn_supp/wpa.h
src/rsn_supp/wpa_i.h
wpa_supplicant/wpas_glue.c