From 668283c69f4f8668c6d773a2adb18d22edc60596 Mon Sep 17 00:00:00 2001 From: Abhiram Jogadenu Date: Wed, 17 Jun 2020 17:14:10 +0530 Subject: [PATCH] qca-wifi: Correct the DCS command DCS command was assigned wrong enum value. 'get_nominal_noisefloor' command has duplicate entry in the table. Correct the enum value and remove the duplicate entry. CRs-Fixed: 2708425 Change-Id: I27c85b26e261bbe6f201bc434bcb97b1b9c75fa4 --- tools/linux/cfg80211_ven_cmd.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tools/linux/cfg80211_ven_cmd.h b/tools/linux/cfg80211_ven_cmd.h index 4120370fa0..188b3a278c 100644 --- a/tools/linux/cfg80211_ven_cmd.h +++ b/tools/linux/cfg80211_ven_cmd.h @@ -2211,12 +2211,10 @@ struct vendor_commands radio_vendor_cmds[] = { OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_BCN_BURST, SET_PARAM, 1}, {"get_bcnburst", OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_BCN_BURST, GET_PARAM, 0}, -#if UMAC_SUPPORT_PERIODIC_PERFSTATS {"dcs_enable", - OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_PRDPERFSTAT_THRPUT_ENAB, SET_PARAM, 1}, + OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_DCS, SET_PARAM, 1}, {"get_dcs_enable", - OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_PRDPERFSTAT_THRPUT_ENAB, GET_PARAM, 0}, -#endif + OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_DCS, GET_PARAM, 0}, {"get_total_PER", OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_TOTAL_PER, GET_PARAM, 0}, {"setctsrate", @@ -2747,8 +2745,6 @@ struct vendor_commands radio_vendor_cmds[] = { OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_ICM_ACTIVE, SET_PARAM, 1}, {"get_icm_active", OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_ICM_ACTIVE, GET_PARAM, 0}, - {"get_nominal_noisefloor", - OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_NOMINAL_NOISEFLOOR, GET_PARAM, 0}, {"acs_rank_en", OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_ACS_RANK, SET_PARAM, 1}, {"g_acs_rank_en",