|
@@ -6349,6 +6349,10 @@ wlan_hdd_wifi_test_config_policy[
|
|
|
.type = NLA_U8},
|
|
|
[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_HE_MAC_PADDING_DUR] = {
|
|
|
.type = NLA_U8},
|
|
|
+ [QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_HE_MU_EDCA_AC] = {
|
|
|
+ .type = NLA_U8},
|
|
|
+ [QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_OVERRIDE_MU_EDCA] = {
|
|
|
+ .type = NLA_U8},
|
|
|
};
|
|
|
|
|
|
/**
|
|
@@ -7632,6 +7636,27 @@ __wlan_hdd_cfg80211_set_wifi_test_config(struct wiphy *wiphy,
|
|
|
hdd_err("Failed to set Trig frame mac padding cap");
|
|
|
}
|
|
|
|
|
|
+ if (tb[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_OVERRIDE_MU_EDCA]) {
|
|
|
+ cfg_val = nla_get_u8(tb[
|
|
|
+ QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_OVERRIDE_MU_EDCA]);
|
|
|
+ if (cfg_val) {
|
|
|
+ ret_val = sme_cli_set_command(adapter->session_id,
|
|
|
+ WMI_VDEV_PARAM_MU_EDCA_FW_UPDATE_EN,
|
|
|
+ 0, VDEV_CMD);
|
|
|
+ if (ret_val)
|
|
|
+ hdd_err("MU_EDCA update disable failed");
|
|
|
+ sme_set_usr_cfg_mu_edca(hdd_ctx->mac_handle, true);
|
|
|
+ sme_set_he_mu_edca_def_cfg(hdd_ctx->mac_handle);
|
|
|
+ if (sme_update_mu_edca_params(hdd_ctx->mac_handle,
|
|
|
+ adapter->session_id))
|
|
|
+ hdd_err("Failed to send mu edca params");
|
|
|
+ } else {
|
|
|
+ ret_val = sme_cli_set_command(adapter->session_id,
|
|
|
+ WMI_VDEV_PARAM_MU_EDCA_FW_UPDATE_EN,
|
|
|
+ 1, VDEV_CMD);
|
|
|
+ sme_set_usr_cfg_mu_edca(hdd_ctx->mac_handle, false);
|
|
|
+ }
|
|
|
+ }
|
|
|
if (update_sme_cfg)
|
|
|
sme_update_config(mac_handle, sme_config);
|
|
|
|