[PATCH 14/19] nl80211: register to radio measurement request frames
Ilan Peer
ilan.peer at intel.com
Tue Apr 5 06:08:07 PDT 2016
From: David Spinadel <david.spinadel at intel.com>
Register to radio measurement request frames since LCI
request is supported by wpa_supplicant.
Signed-off-by: David Spinadel <david.spinadel 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 798e694..29abd92 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -1994,6 +1994,10 @@ static int nl80211_mgmt_subscribe_non_ap(struct i802_bss *bss)
(nl80211_register_action_frame(bss, (u8 *) "\x05\x02", 2) < 0))
ret = -1;
+ /* Radio Measurement - Radio Measurement Request */
+ if (nl80211_register_action_frame(bss, (u8 *)"\x05\x00", 2) < 0)
+ ret = -1;
+
nl80211_mgmt_handle_register_eloop(bss);
return ret;
--
1.9.1
More information about the Hostap
mailing list