瀏覽代碼

qca-wifi: Add support to set DCS wideband policy

Add support to set the DCS wideband policy through
cfg80211tool.

CRs-Fixed: 2750494
Change-Id: If6c8b5a32f9af6f41adb752b19a2a3d7b0221a65
Aditya Sathish 4 年之前
父節點
當前提交
a0e771746c
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      tools/linux/cfg80211_ven_cmd.h

+ 6 - 1
tools/linux/cfg80211_ven_cmd.h

@@ -1212,7 +1212,8 @@ enum _ol_ath_param_t {
 	/* Set the secondary center frequency for the post NOL channel. */
 	OL_ATH_DFS_CHAN_POSTNOL_CFREQ2 = 450,
 #endif
-
+	/* DCS Wideband (5-7GHz) policy */
+	OL_ATH_PARAM_DCS_WIDEBAND_POLICY = 451,
 };
 
 #ifdef CONFIG_SUPPORT_LIBROXML
@@ -3128,6 +3129,10 @@ struct vendor_commands radio_vendor_cmds[] = {
 	{"getpostNOLcfreq2",
 		OL_ATH_PARAM_SHIFT | OL_ATH_DFS_CHAN_POSTNOL_CFREQ2, GET_PARAM, 0},
 #endif
+	{"dcs_wideband_policy",
+		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_DCS_WIDEBAND_POLICY, SET_PARAM, 1},
+	{"get_dcs_wideband_policy",
+		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_DCS_WIDEBAND_POLICY, GET_PARAM, 0},
 };
 #endif
 #endif