From e4ec6bbfd82dd29daabac8c2db84e4f9540edc67 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 7 Jan 2017 18:46:10 +0200 Subject: [PATCH] nl80211: Register for Link Measurement Report frames in AP mode This is needed to be able to get the response to a link measurement request. Signed-off-by: Jouni Malinen --- src/drivers/driver_nl80211.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 5f0a27759..46290b84c 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -2164,6 +2164,9 @@ static int nl80211_action_subscribe_ap(struct i802_bss *bss) /* RRM Measurement Report */ if (nl80211_register_action_frame(bss, (u8 *) "\x05\x01", 2) < 0) ret = -1; + /* RRM Link Measurement Report */ + if (nl80211_register_action_frame(bss, (u8 *) "\x05\x03", 2) < 0) + ret = -1; /* RRM Neighbor Report Request */ if (nl80211_register_action_frame(bss, (u8 *) "\x05\x04", 2) < 0) ret = -1;