Jelajahi Sumber

qca-wifi: Add support for 5-7 channel switch with mode compatibility

Add command support to meet the customer use case for switching
channel from 5Ghz to 6Ghz in wideband radio. The switch should
happen conforming to target-band multi-bss mode requirement which
is EMA in 6Ghz

Change-Id: Id55577eb7d0b3424e3b07bcfec054ce9a6556c26
Gyanranjan Hazarika 4 tahun lalu
induk
melakukan
b0ebda8504
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      tools/linux/cfg80211_ven_cmd.h

+ 4 - 0
tools/linux/cfg80211_ven_cmd.h

@@ -1250,6 +1250,8 @@ enum _ol_ath_param_t {
 	OL_ATH_PARAM_RNR_STATS = 462,
 	/* NSS WiFi offload status */
 	OL_ATH_PARAM_NSS_WIFI_OFFLOAD_STATUS = 463,
+	/* enable EMA */
+	OL_ATH_PARAM_ENABLE_EMA = 464,
 };
 
 #ifdef CONFIG_SUPPORT_LIBROXML
@@ -3235,6 +3237,8 @@ struct vendor_commands radio_vendor_cmds[] = {
 		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_RNR_STATS, GET_PARAM, 0},
 	{"g_nss_wifi_ol",
 		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_NSS_WIFI_OFFLOAD_STATUS, GET_PARAM, 0},
+	{"enable_ema",
+		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_ENABLE_EMA, SET_PARAM, 1},
 };
 #endif
 #endif