]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Register for Link Measurement Report frames in AP mode
authorJouni Malinen <j@w1.fi>
Sat, 7 Jan 2017 16:46:10 +0000 (18:46 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 7 Jan 2017 16:46:10 +0000 (18:46 +0200)
This is needed to be able to get the response to a link measurement
request.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c

index 5f0a277593fbf7e36c766012ce02e29c1a146c80..46290b84c8ea88969ff575728bd449d625c27581 100644 (file)
@@ -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;