From: Michael Johnson <mjohnson459@gmail.com>
To: iwd@lists.01.org
Subject: [PATCH] wiphy: set neighbor report capability flag
Date: Tue, 03 Aug 2021 15:19:07 +0100 [thread overview]
Message-ID: <20210803141907.33819-1-mjohnson459@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 954 bytes --]
As we send a neighbor report request after joining a network we should
be setting the flag in the radio measurement capabilities.
This is required by some Meraki access points.
---
src/wiphy.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/wiphy.c b/src/wiphy.c
index e2222887..405b17be 100644
--- a/src/wiphy.c
+++ b/src/wiphy.c
@@ -1522,8 +1522,11 @@ static void wiphy_setup_rm_enabled_capabilities(struct wiphy *wiphy)
wiphy->rm_enabled_capabilities[0] = IE_TYPE_RM_ENABLED_CAPABILITIES;
wiphy->rm_enabled_capabilities[1] = 5;
- /* Bits: Passive (4), Active (5), and Beacon Table (6) capabilities */
- wiphy->rm_enabled_capabilities[2] = 0x70;
+ /*
+ * Bits: Neighbor Report (1), Passive (4), Active (5),
+ * and Beacon Table (6) capabilities
+ */
+ wiphy->rm_enabled_capabilities[2] = 0x72;
/*
* TODO: Support at least Link Measurement if TX_POWER_INSERTION is
--
2.25.1
next reply other threads:[~2021-08-03 14:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-03 14:19 Michael Johnson [this message]
2021-08-03 15:02 ` [PATCH] wiphy: set neighbor report capability flag Denis Kenzior
2021-08-03 16:07 ` Michael Johnson
2021-08-03 16:19 ` Denis Kenzior
2021-08-03 17:41 ` Michael Johnson
2021-08-06 2:10 ` Denis Kenzior
2021-08-06 15:28 ` Michael Johnson
2021-08-18 17:39 ` Michael Johnson
2021-08-18 18:11 ` Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210803141907.33819-1-mjohnson459@gmail.com \
--to=mjohnson459@gmail.com \
--cc=iwd@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.