From ed1ae82a3943bd5759b53e5703ee92ac64fbfde5 Mon Sep 17 00:00:00 2001 From: Gokul Sivakumar Date: Wed, 26 Apr 2023 16:15:56 +0530 Subject: [PATCH] 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 --- src/drivers/driver_common.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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