From c0da381a31967f47002afbe3b92fe76012e3607a Mon Sep 17 00:00:00 2001 From: Gokul Sivakumar Date: Wed, 26 Apr 2023 16:15:56 +0530 Subject: [PATCH] nl80211: Add capa.flags2 to STATUS-DRIVER This adds the newer driver capability "flags2" bitmask to the hostapd_cli/wpa_cli "status driver" result. Signed-off-by: Gokul Sivakumar --- src/drivers/driver_nl80211.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 58029c69b..8b72d74c5 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -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,