]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Add capa.flags2 to STATUS-DRIVER
authorGokul Sivakumar <gokulkumar.sivakumar@infineon.com>
Wed, 26 Apr 2023 10:45:56 +0000 (16:15 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 6 Nov 2023 13:15:59 +0000 (15:15 +0200)
This adds the newer driver capability "flags2" bitmask to the
hostapd_cli/wpa_cli "status driver" result.

Signed-off-by: Gokul Sivakumar <gokulkumar.sivakumar@infineon.com>
src/drivers/driver_nl80211.c

index 58029c69baab733176cfdb45d041e201b5d091ff..8b72d74c567c82ad5fa481ee05fbeac6482e5040 100644 (file)
@@ -10853,6 +10853,7 @@ static int wpa_driver_nl80211_status(void *priv, char *buf, size_t buflen)
                                  "capa.enc=0x%x\n"
                                  "capa.auth=0x%x\n"
                                  "capa.flags=0x%llx\n"
+                                 "capa.flags2=0x%llx\n"
                                  "capa.rrm_flags=0x%x\n"
                                  "capa.max_scan_ssids=%d\n"
                                  "capa.max_sched_scan_ssids=%d\n"
@@ -10877,6 +10878,7 @@ static int wpa_driver_nl80211_status(void *priv, char *buf, size_t buflen)
                                  drv->capa.enc,
                                  drv->capa.auth,
                                  (unsigned long long) drv->capa.flags,
+                                 (unsigned long long) drv->capa.flags2,
                                  drv->capa.rrm_flags,
                                  drv->capa.max_scan_ssids,
                                  drv->capa.max_sched_scan_ssids,