[PATCH rpcd] iwinfo: add 802.11ax HE support

Etienne Champetier champetier.etienne at gmail.com
Wed Apr 28 12:18:15 BST 2021


Hi David,

Le mer. 28 avr. 2021 à 07:07, David Bauer <mail at david-bauer.net> a écrit :
>
> Expose 802.11ax HE rate as well as HW / HT mode information. This is
> required to add 802.11ax support to LuCI.
>
> Signed-off-by: David Bauer <mail at david-bauer.net>
> ---
>  iwinfo.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 45 insertions(+)
>
> diff --git a/iwinfo.c b/iwinfo.c
> index 63ff2a1..6b376c4 100644
> --- a/iwinfo.c
> +++ b/iwinfo.c

...

>         }
>  }
> @@ -280,6 +295,9 @@ rpc_iwinfo_call_hwmodes(const char *name)
>                 if (modes & IWINFO_80211_AC)
>                         blobmsg_add_string(&buf, NULL, "ac");
>
> +               if (modes & IWINFO_80211_AX)
> +                       blobmsg_add_string(&buf, NULL, "ac");

I think you meant "ax" no ?

> +
>                 if (modes & IWINFO_80211_A)
>                         blobmsg_add_string(&buf, NULL, "a");
>

...



More information about the openwrt-devel mailing list