cfg80211: Specify frame and reason code for NL80211_CMD_DEL_STATION
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 20 Oct 2014 10:20:45 +0000 (13:20 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Oct 2014 14:39:23 +0000 (16:39 +0200)
commit988568669d171774b96e59fe35ef575df7f8cffd
tree177772b25c1cc75c298d8cf1a4245dcffe38d691
parent89c771e5a62b856f4705f189892c489190edaec1
cfg80211: Specify frame and reason code for NL80211_CMD_DEL_STATION

The optional NL80211_ATTR_MGMT_SUBTYPE and NL80211_ATTR_REASON_CODE
attributes can now be included in NL80211_CMD_DEL_STATION to indicate to
the driver which frame (Deauthentication/Disassociation) and reason code
in that frame should be used to indicate removal to the specific
station. This is used by drivers that implement AP SME and generate
those frames internally.

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
net/wireless/trace.h