cfg80211: Pass TDLS peer's QoS/HT/VHT information during set_station
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 14 Feb 2013 19:10:54 +0000 (21:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:41:43 +0000 (09:41 +0100)
commitdf881293c6ba9a12868491a717b25cb14ec1fa4a
tree37ac4ed0321ce4cf626108fff6afbf92beaf845d
parent9d62a98617298c1da288f50e84c5dd67732e79b7
cfg80211: Pass TDLS peer's QoS/HT/VHT information during set_station

The information of the peer's capabilities is required for the driver
to perform TDLS Peer UAPSD operations. This information of the peer is
passed by the supplicant using NL80211_CMD_SET_STATION command. This
commit enhances the function nl80211_set_station to pass this
information of the peer to the driver in case this command is used
with the TDLS peer STA.

In addition, make the HT/VHT capability configuration handled more
consistently for other STA cases (reject both instead of just HT).

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/wireless/nl80211.c