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 <gokulkumar.sivakumar@infineon.com>
This commit is contained in:
Gokul Sivakumar 2023-04-26 16:15:56 +05:30 committed by Jouni Malinen
parent d193726aa1
commit c0da381a31

View file

@ -10853,6 +10853,7 @@ static int wpa_driver_nl80211_status(void *priv, char *buf, size_t buflen)
"capa.enc=0x%x\n" "capa.enc=0x%x\n"
"capa.auth=0x%x\n" "capa.auth=0x%x\n"
"capa.flags=0x%llx\n" "capa.flags=0x%llx\n"
"capa.flags2=0x%llx\n"
"capa.rrm_flags=0x%x\n" "capa.rrm_flags=0x%x\n"
"capa.max_scan_ssids=%d\n" "capa.max_scan_ssids=%d\n"
"capa.max_sched_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.enc,
drv->capa.auth, drv->capa.auth,
(unsigned long long) drv->capa.flags, (unsigned long long) drv->capa.flags,
(unsigned long long) drv->capa.flags2,
drv->capa.rrm_flags, drv->capa.rrm_flags,
drv->capa.max_scan_ssids, drv->capa.max_scan_ssids,
drv->capa.max_sched_scan_ssids, drv->capa.max_sched_scan_ssids,