From 6f5a20fefe4fd83aac15d0b21121d5d38e72999f Mon Sep 17 00:00:00 2001 From: Aditya Sathish Date: Wed, 19 Aug 2020 12:20:36 +0530 Subject: [PATCH] qca-wifi: Add support to configure ACS pre-CAC only selection Add support to enable/disable pre-CAC only selection for the ACS algorithm. Add a OL_ATH_PARAM macro for controlling the mentioned pre-CAC configuration. CRs-Fixed: 2758597 Change-Id: I4b5db5e912fb4229b10abcf078065e2633e61fef --- tools/linux/cfg80211_ven_cmd.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/linux/cfg80211_ven_cmd.h b/tools/linux/cfg80211_ven_cmd.h index 3aa838d79a..48e180f0eb 100644 --- a/tools/linux/cfg80211_ven_cmd.h +++ b/tools/linux/cfg80211_ven_cmd.h @@ -1226,7 +1226,8 @@ enum _ol_ath_param_t { OL_ATH_PARAM_OFDMA_MAX_USERS = 455, /* Max users per-PPDU for MU-MIMO, 16 LSBs for DL and 16 MSBs for UL */ OL_ATH_PARAM_MUMIMO_MAX_USERS = 456, - + /* ACS pre-CAC only channel selection support */ + OL_ATH_PARAM_ACS_PRECAC_SUPPORT = 457, }; #ifdef CONFIG_SUPPORT_LIBROXML @@ -3162,6 +3163,10 @@ struct vendor_commands radio_vendor_cmds[] = { OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_OFDMA_MAX_USERS, GET_PARAM, 0}, {"get_mumimo_usr", OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_MUMIMO_MAX_USERS, GET_PARAM, 0}, + {"acs_pcaconly", + OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_ACS_PRECAC_SUPPORT, SET_PARAM, 1}, + {"g_acs_pcaconly", + OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_ACS_PRECAC_SUPPORT, GET_PARAM, 0}, }; #endif #endif