nl80211: Always register for RX authentication frames with PASN
Register a filter that only requests PASN Authentication frames to be passed to user space. Signed-off-by: Ilan Peer <ilan.peer@intel.com>
This commit is contained in:
parent
a728449a04
commit
2447212214
1 changed files with 8 additions and 0 deletions
|
@ -2326,6 +2326,14 @@ static int nl80211_mgmt_subscribe_non_ap(struct i802_bss *bss)
|
||||||
(u8 *) "\x03\x00", 2, false);
|
(u8 *) "\x03\x00", 2, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_PASN
|
||||||
|
/* register for PASN Authentication frames */
|
||||||
|
if ((drv->capa.flags & WPA_DRIVER_FLAGS_SME) &&
|
||||||
|
nl80211_register_frame(bss, bss->nl_mgmt, type,
|
||||||
|
(u8 *) "\x07\x00", 2, false))
|
||||||
|
ret = -1;
|
||||||
|
#endif /* CONFIG_PASN */
|
||||||
|
|
||||||
#ifdef CONFIG_INTERWORKING
|
#ifdef CONFIG_INTERWORKING
|
||||||
/* QoS Map Configure */
|
/* QoS Map Configure */
|
||||||
if (nl80211_register_action_frame(bss, (u8 *) "\x01\x04", 2) < 0)
|
if (nl80211_register_action_frame(bss, (u8 *) "\x01\x04", 2) < 0)
|
||||||
|
|
Loading…
Reference in a new issue