diff options
author | Arik Nemtsov <arik@wizery.com> | 2011-10-23 14:02:57 +0300 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2011-10-23 22:19:35 +0300 |
commit | 45b722f150e0ed8bd48390c605d8fa780a2c033a (patch) | |
tree | 02fd62e8e6ab4e705d8d6a7906ddb3c0bf04fb17 /src/rsn_supp/wpa.h | |
parent | 979bcccf64cde20eb588899944f4e412c5f9d170 (diff) | |
download | external_wpa_supplicant_8_ti-45b722f150e0ed8bd48390c605d8fa780a2c033a.zip external_wpa_supplicant_8_ti-45b722f150e0ed8bd48390c605d8fa780a2c033a.tar.gz external_wpa_supplicant_8_ti-45b722f150e0ed8bd48390c605d8fa780a2c033a.tar.bz2 |
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>
Diffstat (limited to 'src/rsn_supp/wpa.h')
-rw-r--r-- | src/rsn_supp/wpa.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rsn_supp/wpa.h b/src/rsn_supp/wpa.h index 492fd34..d4ae09c 100644 --- a/src/rsn_supp/wpa.h +++ b/src/rsn_supp/wpa.h @@ -62,6 +62,9 @@ struct wpa_sm_ctx { u8 action_code, u8 dialog_token, u16 status_code, const u8 *buf, size_t len); int (*tdls_oper)(void *ctx, int oper, const u8 *peer); + int (*tdls_peer_addset)(void *ctx, const u8 *addr, int add, + u16 capability, const u8 *supp_rates, + size_t supp_rates_len); #endif /* CONFIG_TDLS */ void (*set_rekey_offload)(void *ctx, const u8 *kek, const u8 *kck, const u8 *replay_ctr); |