summaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-10-20 06:20:45 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-10-20 10:39:23 -0400
commit988568669d171774b96e59fe35ef575df7f8cffd (patch)
tree177772b25c1cc75c298d8cf1a4245dcffe38d691 /include/net/cfg80211.h
parent89c771e5a62b856f4705f189892c489190edaec1 (diff)
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>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index ebb69f671979..ed896c0b5b8b 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -804,9 +804,14 @@ struct station_parameters {
804 * Used to delete a station entry (or all stations). 804 * Used to delete a station entry (or all stations).
805 * 805 *
806 * @mac: MAC address of the station to remove or NULL to remove all stations 806 * @mac: MAC address of the station to remove or NULL to remove all stations
807 * @subtype: Management frame subtype to use for indicating removal
808 * (10 = Disassociation, 12 = Deauthentication)
809 * @reason_code: Reason code for the Disassociation/Deauthentication frame
807 */ 810 */
808struct station_del_parameters { 811struct station_del_parameters {
809 const u8 *mac; 812 const u8 *mac;
813 u8 subtype;
814 u16 reason_code;
810}; 815};
811 816
812/** 817/**