]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Update the driver_flags2 to string conversion
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:14:32 +0000 (15:14 +0200)
Populate the switch case in the driver_flag2_to_string() function with
the full list of feature MACROs represented with the "flags2" bitmask.

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

index f3625e8c807a189043021429a35e642b33925751..9bc5a731dd82cf006a6b1d0a5c163b4ea70e69ac 100644 (file)
@@ -358,6 +358,21 @@ const char * driver_flag2_to_string(u64 flag2)
        switch (flag2) {
        DF2S(CONTROL_PORT_RX);
        DF2S(CONTROL_PORT_TX_STATUS);
+       DF2S(SEC_LTF_AP);
+       DF2S(SEC_RTT_AP);
+       DF2S(PROT_RANGE_NEG_AP);
+       DF2S(BEACON_RATE_HE);
+       DF2S(BEACON_PROTECTION_CLIENT);
+       DF2S(OCV);
+       DF2S(AP_SME);
+       DF2S(SA_QUERY_OFFLOAD_AP);
+       DF2S(RADAR_BACKGROUND);
+       DF2S(SEC_LTF_STA);
+       DF2S(SEC_RTT_STA);
+       DF2S(PROT_RANGE_NEG_STA);
+       DF2S(MLO);
+       DF2S(SCAN_MIN_PREQ);
+       DF2S(SAE_OFFLOAD_STA);
        }
        return "UNKNOWN";
 #undef DF2S