cfg80211: Pass station (extended) capability info to kernel
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 14 Feb 2013 19:10:13 +0000 (21:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:41:43 +0000 (09:41 +0100)
commit9d62a98617298c1da288f50e84c5dd67732e79b7
tree63273fe1ade1b83c876db02ee75b951e1825b9dc
parentc6f9d6c3bdeb337809d667ef2a41597229a1ce57
cfg80211: Pass station (extended) capability info to kernel

The information of the peer's capabilities and extended capabilities are
required for the driver to perform TDLS Peer UAPSD operations and off
channel operations. This information of the peer is passed from user space
using NL80211_CMD_SET_STATION command. This commit enhances
the function nl80211_set_station to pass the capability information of
the peer to the driver.

Similarly, there may be need for capability information for other modes,
so allow this to be provided with both add_station and change_station.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c