qca-wifi: Add cfg80211 cmd for rpt_max_phy feature

Add new commands to set and get the rpt_max_phy feature.
This is radio specific configuration.

Commands:
cfg80211tool wifiX rpt_max_phy 0/1 - To disable/enable feature.
cfg80211tool wifiX g_rpt_max_phy -  To get feature flag state.

Change-Id: I421e2af15a0415596fbddb552673efd3d3be2070
This commit is contained in:
Shreedhar Parande
2020-05-26 16:22:10 +05:30
committed by Gerrit - the friendly Code Review server
parent 0d19542bc1
commit 5394db9ecd

View File

@@ -1190,6 +1190,8 @@ enum _ol_ath_param_t {
OL_ATH_PARAM_NXT_RDR_FREQ = 444,
/* set the flag for a radio with no backhaul */
OL_ATH_PARAM_NO_BACKHAUL_RADIO = 445,
/* MAX_PHY feature flag per PDEV */
OL_ATH_PARAM_RPT_MAX_PHY = 446,
};
@@ -3007,6 +3009,10 @@ struct vendor_commands radio_vendor_cmds[] = {
OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_NXT_RDR_FREQ, SET_PARAM, 1},
{"getNxtRadarFreq",
OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_NXT_RDR_FREQ, GET_PARAM, 0},
{"rpt_max_phy",
OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_RPT_MAX_PHY, SET_PARAM, 1},
{"g_rpt_max_phy",
OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_RPT_MAX_PHY, GET_PARAM, 0},
{"setCountryID",
OL_SPECIAL_PARAM_SHIFT | OL_SPECIAL_PARAM_COUNTRY_ID, SET_PARAM, 1},
{"getCountryID",