[PATCH 05/12] nl80211: Register Neighbor Report Response Action Frame

Ilan Peer ilan.peer
Wed Nov 5 00:42:49 PST 2014


From: Assaf Krauss <assaf.krauss at intel.com>

Add Neighbor Report Response Action Frame to registration of
action frames to be handled by wpa_supplicant.

Signed-off-by: Assaf Krauss <assaf.krauss at intel.com>
---
 src/drivers/driver_nl80211.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 5808aba..03e6bec 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -1940,6 +1940,10 @@ static int nl80211_mgmt_subscribe_non_ap(struct i802_bss *bss)
 		ret = -1;
 #endif /* CONFIG_HS20 */
 
+	/* Radio Measurement - Neighbor Report Response */
+	if (nl80211_register_action_frame(bss, (u8 *)"\x05\x05", 2) < 0)
+		ret = -1;
+
 	nl80211_mgmt_handle_register_eloop(bss);
 
 	return ret;
-- 
1.8.3.2




More information about the Hostap mailing list