Pass TDLS peer capability information in tdls_mgmt
authorSunil Dutt <usdutt@qti.qualcomm.com>
Wed, 26 Mar 2014 16:04:50 +0000 (21:34 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 27 Mar 2014 13:18:48 +0000 (15:18 +0200)
commit96ecea5eb14cc1362cb01b914ac4163324294a28
tree9241e90015c5719a74ac4e78cc926e4cd65bfcf9
parent78cd7e69de0c2eaa990a6878fa918914562bfbc3
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>
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/driver_i.h
wpa_supplicant/wpas_glue.c