[openwrt/openwrt] hostapd: add HE flag to get_clients

LEDE Commits lede-commits at lists.infradead.org
Mon Jul 5 17:26:56 PDT 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b0483b19f981bbe024cd447cfe469765f49cc587

commit b0483b19f981bbe024cd447cfe469765f49cc587
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Wed Jun 30 00:12:00 2021 +0200

    hostapd: add HE flag to get_clients
    
    Expose the hostapd HE flag via ubus to indicate HE capable devices.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 package/network/services/hostapd/src/src/ap/ubus.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/package/network/services/hostapd/src/src/ap/ubus.c
index fb568f9e7b..6201dfd524 100644
--- a/package/network/services/hostapd/src/src/ap/ubus.c
+++ b/package/network/services/hostapd/src/src/ap/ubus.c
@@ -297,6 +297,7 @@ hostapd_bss_get_clients(struct ubus_context *ctx, struct ubus_object *obj,
 		{ "wmm", WLAN_STA_WMM },
 		{ "ht", WLAN_STA_HT },
 		{ "vht", WLAN_STA_VHT },
+		{ "he", WLAN_STA_HE },
 		{ "wps", WLAN_STA_WPS },
 		{ "mfp", WLAN_STA_MFP },
 	};



More information about the lede-commits mailing list