summaryrefslogtreecommitdiff
path: root/iwinfo_lua.c
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-12-17 20:39:56 +0100
committerDavid Bauer <mail@david-bauer.net>2021-04-12 23:45:42 +0200
commit50b64a63e3945693646d1b2eb4e59e14e35cedc3 (patch)
tree03e7e9f4c50c13560e182bceff329a1a4110df37 /iwinfo_lua.c
parent4a32b33e9606f1bc1125f4bc24b0581349e55f2e (diff)
downloadiwinfo-50b64a63e3945693646d1b2eb4e59e14e35cedc3.tar.gz
iwinfo: add basic IEEE 802.11ax support
This adds basic support for IEEE 802.11ax when requesting HW or HT Modelist for a PHY from iwinfo. This way, applications using iwinfo can detect HE phys. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'iwinfo_lua.c')
-rw-r--r--iwinfo_lua.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iwinfo_lua.c b/iwinfo_lua.c
index abe848b..9935a8d 100644
--- a/iwinfo_lua.c
+++ b/iwinfo_lua.c
@@ -530,6 +530,9 @@ static int iwinfo_L_hwmodelist(lua_State *L, int (*func)(const char *, int *))
lua_pushboolean(L, hwmodes & IWINFO_80211_AD);
lua_setfield(L, -2, "ad");
+ lua_pushboolean(L, hwmodes & IWINFO_80211_AX);
+ lua_setfield(L, -2, "ax");
+
return 1;
}