浏览代码

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
Shreedhar Parande 5 年之前
父节点
当前提交
5394db9ecd
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      tools/linux/cfg80211_ven_cmd.h

+ 6 - 0
tools/linux/cfg80211_ven_cmd.h

@@ -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",