aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/wpa.h
diff options
context:
space:
mode:
authorSunil Dutt <usdutt@qti.qualcomm.com>2014-03-26 16:04:50 (GMT)
committerJouni Malinen <j@w1.fi>2014-03-27 13:18:48 (GMT)
commit96ecea5eb14cc1362cb01b914ac4163324294a28 (patch)
tree9241e90015c5719a74ac4e78cc926e4cd65bfcf9 /src/rsn_supp/wpa.h
parent78cd7e69de0c2eaa990a6878fa918914562bfbc3 (diff)
downloadhostap-96ecea5eb14cc1362cb01b914ac4163324294a28.zip
hostap-96ecea5eb14cc1362cb01b914ac4163324294a28.tar.gz
hostap-96ecea5eb14cc1362cb01b914ac4163324294a28.tar.bz2
Pass TDLS peer capability information in tdls_mgmt
While framing the TDLS Setup Confirmation frame, the driver needs to know if the TDLS peer is VHT/HT/WMM capable and thus shall construct the VHT/HT operation / WMM parameter elements accordingly. Supplicant determines if the TDLS peer is VHT/HT/WMM capable based on the presence of the respective IEs in the received TDLS Setup Response frame. The host driver should not need to parse the received TDLS Response frame and thus, should be able to rely on the supplicant to indicate the capability of the peer through additional flags while transmitting the TDLS Setup Confirmation frame through tdls_mgmt operations. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/rsn_supp/wpa.h')
-rw-r--r--src/rsn_supp/wpa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rsn_supp/wpa.h b/src/rsn_supp/wpa.h
index 20b3f62..df10342 100644
--- a/src/rsn_supp/wpa.h
+++ b/src/rsn_supp/wpa.h
@@ -54,7 +54,8 @@ struct wpa_sm_ctx {
int *tdls_ext_setup);
int (*send_tdls_mgmt)(void *ctx, const u8 *dst,
u8 action_code, u8 dialog_token,
- u16 status_code, const u8 *buf, size_t len);
+ u16 status_code, u32 peer_capab,
+ 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 aid,
u16 capability, const u8 *supp_rates,