From: Gokul Sivakumar Date: Wed, 26 Apr 2023 10:45:56 +0000 (+0530) Subject: Update the driver_flags2 to string conversion X-Git-Tag: hostap_2_11~829 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed1ae82a3943bd5759b53e5703ee92ac64fbfde5;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/drivers/driver_common.c b/src/drivers/driver_common.c index f3625e8c8..9bc5a731d 100644 --- a/src/drivers/driver_common.c +++ b/src/drivers/driver_common.c @@ -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