]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
EHT: Add [EHT] flag into AP mode STA command
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Tue, 3 May 2022 19:04:48 +0000 (00:34 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 5 May 2022 10:21:35 +0000 (13:21 +0300)
This indicates whether an associated stations supports EHT.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
src/ap/sta_info.c

index 7cb5276939f197c692fe582e9fed58a124525bfe..c541926126608f0605f951bdded75f221e4fd6b1 100644 (file)
@@ -1461,7 +1461,7 @@ int ap_sta_flags_txt(u32 flags, char *buf, size_t buflen)
 
        buf[0] = '\0';
        res = os_snprintf(buf, buflen,
-                         "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
+                         "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
                          (flags & WLAN_STA_AUTH ? "[AUTH]" : ""),
                          (flags & WLAN_STA_ASSOC ? "[ASSOC]" : ""),
                          (flags & WLAN_STA_AUTHORIZED ? "[AUTHORIZED]" : ""),
@@ -1481,6 +1481,7 @@ int ap_sta_flags_txt(u32 flags, char *buf, size_t buflen)
                          (flags & WLAN_STA_HT ? "[HT]" : ""),
                          (flags & WLAN_STA_VHT ? "[VHT]" : ""),
                          (flags & WLAN_STA_HE ? "[HE]" : ""),
+                         (flags & WLAN_STA_EHT ? "[EHT]" : ""),
                          (flags & WLAN_STA_6GHZ ? "[6GHZ]" : ""),
                          (flags & WLAN_STA_VENDOR_VHT ? "[VENDOR_VHT]" : ""),
                          (flags & WLAN_STA_WNM_SLEEP_MODE ?