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
This commit is contained in:
Gyanranjan Hazarika
2020-11-12 02:15:01 -08:00
parent 36b5c09b3b
commit b0ebda8504

View File

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