From 50b64a63e3945693646d1b2eb4e59e14e35cedc3 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Thu, 17 Dec 2020 20:39:56 +0100 Subject: 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 --- iwinfo_lua.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'iwinfo_lua.c') 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; } -- cgit v1.2.1