cfg80211: Pass TDLS peer capability information in tdls_mgmt
authorSunil Dutt Undekari <usdutt@qti.qualcomm.com>
Thu, 20 Feb 2014 10:52:09 +0000 (16:22 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 20 Feb 2014 10:55:25 +0000 (11:55 +0100)
commitdf942e7ba70cd0a7aa9e0432b8a6a328de2c5574
tree943599f26af1396618079dc1c789df49e7b1c654
parentbf5f48339a019c9b4b42284c3f45d58942cbda27
cfg80211: 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: Sunil Dutt Undekari <usdutt@qti.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mwifiex/cfg80211.c
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c
net/wireless/rdev-ops.h
net/wireless/trace.h