Skip to contentSkip to conversation

package/hostapd: add WNM and MBO options

PATCH In review Mattias Walström 2 participants 4 messages Nov 20 – Nov 23

lore
Share & tools
lore
#0 lore raw

v2 cover package/hostapd: add WNM and MBO options

Hi,

These two patches add options for building hostapd with WNM (IEEE 802.11v) and MBO (Wi-Fi Agile Multiband). Both are off by default.

v1 [1] was a single patch with both options. Now WNM is its own patch, since it can be used without MBO. I can squash them back if that is preferred.

I'm not sure about the select of WNM from MBO. hostapd builds MBO fine without it. I added it because MBO uses BSS transition management from WNM. I can drop it.

Build tested with utils/test-pkg.

Changes v1 -> v2:
- split the WNM option into its own patch
- rebased on master, no code changes

[1] https://lore.kernel.org/buildroot/[email protected]/

Mattias Walström (2):
package/hostapd: add IEEE 802.11v (WNM) support option package/hostapd: add MBO (Wi-Fi Agile Multiband) support option

 package/hostapd/Config.in  | 19 +++++++++++++++++++
 package/hostapd/hostapd.mk |  8 ++++++++
 2 files changed, 27 insertions(+)
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v2 1/2 package/hostapd: add IEEE 802.11v (WNM) support option

Add BR2_PACKAGE_HOSTAPD_WNM to enable Wireless Network Management (IEEE 802.11v) on the AP side, including BSS Transition Management for assisted roaming.

---
Changes v1 -> v2:
- new patch, split out of the MBO patch

---
 package/hostapd/Config.in  | 9 +++++++++
 package/hostapd/hostapd.mk | 4 ++++
 2 files changed, 13 insertions(+)
package/hostapd/Config.in +9 -0
index 40747a4e62..5d08f15ff8 100644
@@ -75,6 +75,15 @@ config BR2_PACKAGE_HOSTAPD_WPA3
 	help
 	  Enable WPA3 support including OWE, SAE, DPP
 
+config BR2_PACKAGE_HOSTAPD_WNM
+	bool "Enable WNM (Wireless Network Management)"
+	depends on BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS
+	help
+	  Enable support for Wireless Network Management (IEEE 802.11v)
+	  on the AP side. This enables features such as BSS Transition
+	  Management which allows the AP to suggest or request a station
+	  to move to another BSS.
+
 config BR2_PACKAGE_HOSTAPD_VLAN
 	bool "Enable VLAN support"
 	default y
package/hostapd/hostapd.mk +4 -0
index d673c84587..d9a1660842 100644
@@ -93,6 +93,10 @@ HOSTAPD_CONFIG_DISABLE += \
 	CONFIG_OWE
 endif
 
+ifeq ($(BR2_PACKAGE_HOSTAPD_WNM),y)
+HOSTAPD_CONFIG_ENABLE += CONFIG_WNM
+endif
+
 ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN),)
 HOSTAPD_CONFIG_ENABLE += CONFIG_NO_VLAN
 endif
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH v2 2/2 package/hostapd: add MBO (Wi-Fi Agile Multiband) support option

In reply to Mattias Walström

Add BR2_PACKAGE_HOSTAPD_MBO to enable Multiband Operation (Wi-Fi Agile Multiband) on the AP side, providing standardized hints that help clients pick the best frequency band and BSS.

MBO builds on WNM (IEEE 802.11v), so BR2_PACKAGE_HOSTAPD_WNM is selected automatically.

---
Changes v1 -> v2:
- WNM option moved to its own patch
- rebased on master, no code changes

---
 package/hostapd/Config.in  | 10 ++++++++++
 package/hostapd/hostapd.mk |  4 ++++
 2 files changed, 14 insertions(+)
package/hostapd/Config.in +10 -0
index 5d08f15ff8..bcca2eeae7 100644
@@ -84,6 +84,16 @@ config BR2_PACKAGE_HOSTAPD_WNM
 	  Management which allows the AP to suggest or request a station
 	  to move to another BSS.
 
+config BR2_PACKAGE_HOSTAPD_MBO
+	bool "Enable MBO (Multiband Operation)"
+	depends on BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS
+	select BR2_PACKAGE_HOSTAPD_WNM
+	help
+	  Enable support for MBO (Multiband Operation, Wi-Fi Agile
+	  Multiband). This facilitates efficient use of the frequency
+	  bands available to the AP, enabling band steering of stations
+	  toward the most suitable band.
+
 config BR2_PACKAGE_HOSTAPD_VLAN
 	bool "Enable VLAN support"
 	default y
package/hostapd/hostapd.mk +4 -0
index d9a1660842..562dd6ceb0 100644
@@ -97,6 +97,10 @@ ifeq ($(BR2_PACKAGE_HOSTAPD_WNM),y)
 HOSTAPD_CONFIG_ENABLE += CONFIG_WNM
 endif
 
+ifeq ($(BR2_PACKAGE_HOSTAPD_MBO),y)
+HOSTAPD_CONFIG_ENABLE += CONFIG_MBO
+endif
+
 ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN),)
 HOSTAPD_CONFIG_ENABLE += CONFIG_NO_VLAN
 endif
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
In reply to Mattias Walström
Quoted 3 lines · Mattias Walström

Mattias Walström (2):
package/hostapd: add IEEE 802.11v (WNM) support option package/hostapd: add MBO (Wi-Fi Agile Multiband) support option

Thanks, both patches applied to our next branch!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot