All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] wiphy: set neighbor report capability flag
@ 2021-08-03 14:19 Michael Johnson
  2021-08-03 15:02 ` Denis Kenzior
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Johnson @ 2021-08-03 14:19 UTC (permalink / raw)
  To: iwd

[-- 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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-08-18 18:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 14:19 [PATCH] wiphy: set neighbor report capability flag Michael Johnson
2021-08-03 15:02 ` 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

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.