Update the driver_flags2 to string conversion

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>
This commit is contained in:
Gokul Sivakumar 2023-04-26 16:15:56 +05:30 committed by Jouni Malinen
parent bbc7ffe852
commit ed1ae82a39

View file

@ -358,6 +358,21 @@ const char * driver_flag2_to_string(u64 flag2)
switch (flag2) { switch (flag2) {
DF2S(CONTROL_PORT_RX); DF2S(CONTROL_PORT_RX);
DF2S(CONTROL_PORT_TX_STATUS); 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"; return "UNKNOWN";
#undef DF2S #undef DF2S