浏览代码

qca-wifi: Add commands to control Non-inheritance feature

In MBSS IE feature, non-tx VAPs can inherit parameters from tx VAP unless
a non-inheritance IE is added to the VAP's profile. Currently, only
security parameters can be added to this IE. Add commands to control this
feature.
If it's 1, security IEs from tx VAP are not inherited and non-inheritance
IE is added.
If it's 0, security can be inherited. In EMA case, Tx VAP security can't be
inherited if it's WPA/WPS. Only WPA2/WPA3 can be inherited.

Change-Id: Idb8df981371bd6c23afa0f3bb655668d0e094438
Manoj Ekbote 5 年之前
父节点
当前提交
e89ceec318
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      tools/linux/cfg80211_ven_cmd.h

+ 6 - 1
tools/linux/cfg80211_ven_cmd.h

@@ -1180,6 +1180,8 @@ enum _ol_ath_param_t {
 	OL_ATH_SCAN_OVER_CAC = 441,
 	OL_ATH_SCAN_OVER_CAC = 441,
 #endif
 #endif
 	OL_ATH_PARAM_CFR_CAPTURE_STATUS = 442,
 	OL_ATH_PARAM_CFR_CAPTURE_STATUS = 442,
+	/* Non-inheritance IE enable */
+	OL_ATH_PARAM_NON_INHERIT_ENABLE = 443,
 };
 };
 
 
 #ifdef CONFIG_SUPPORT_LIBROXML
 #ifdef CONFIG_SUPPORT_LIBROXML
@@ -3059,7 +3061,10 @@ struct vendor_commands radio_vendor_cmds[] = {
 	{"get_aggr_burst",      35821, GET_PARAM, 0},
 	{"get_aggr_burst",      35821, GET_PARAM, 0},
 	{"get_cfr_capture_status",
 	{"get_cfr_capture_status",
 	 OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_CFR_CAPTURE_STATUS, GET_PARAM, 0},
 	 OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_CFR_CAPTURE_STATUS, GET_PARAM, 0},
-
+	{"non_inherit_enable",
+		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_NON_INHERIT_ENABLE, SET_PARAM, 1},
+	{"g_non_inherit_enable",
+		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_NON_INHERIT_ENABLE, GET_PARAM, 0},
 };
 };
 #endif
 #endif
 #endif
 #endif