qcacmn: Add Wmi for FW dynamic control of Muedca param

Add WMI changes for the API he_muedca_mode
to swicth between manual, host and FW dynamic
muedca param selection.

Change-Id: If43b5da483fe082294bda33f8951187ebc7ea3c7
CRs-Fixed: 2554378
This commit is contained in:
sumedh baikady
2019-09-16 19:47:44 -07:00
committed by nshrivas
parent 5c0f59fd3c
commit a95ba1312a
3 changed files with 6 additions and 0 deletions

View File

@@ -139,6 +139,7 @@ struct tbttoffset_params {
* @csa_switch_count_offset: CSA swith count offset in beacon frame * @csa_switch_count_offset: CSA swith count offset in beacon frame
* @ext_csa_switch_count_offset: ECSA switch count offset in beacon frame * @ext_csa_switch_count_offset: ECSA switch count offset in beacon frame
* @esp_ie_offset: ESP IE offset in beacon frame * @esp_ie_offset: ESP IE offset in beacon frame
* @mu_edca_ie_offset: Mu EDCA IE offset in beacon frame
* @frm: beacon template parameter * @frm: beacon template parameter
*/ */
struct beacon_tmpl_params { struct beacon_tmpl_params {
@@ -150,6 +151,7 @@ struct beacon_tmpl_params {
uint32_t csa_switch_count_offset; uint32_t csa_switch_count_offset;
uint32_t ext_csa_switch_count_offset; uint32_t ext_csa_switch_count_offset;
uint32_t esp_ie_offset; uint32_t esp_ie_offset;
uint32_t mu_edca_ie_offset;
uint8_t *frm; uint8_t *frm;
}; };

View File

@@ -4701,6 +4701,7 @@ typedef enum {
wmi_pdev_param_set_cmd_obss_pd_threshold, wmi_pdev_param_set_cmd_obss_pd_threshold,
wmi_pdev_param_set_cmd_obss_pd_per_ac, wmi_pdev_param_set_cmd_obss_pd_per_ac,
wmi_pdev_param_set_cong_ctrl_max_msdus, wmi_pdev_param_set_cong_ctrl_max_msdus,
wmi_pdev_param_enable_fw_dynamic_he_edca,
wmi_pdev_param_max, wmi_pdev_param_max,
} wmi_conv_pdev_params_id; } wmi_conv_pdev_params_id;

View File

@@ -322,6 +322,8 @@ static const uint32_t pdev_param_tlv[] = {
WMI_PDEV_PARAM_SET_CMD_OBSS_PD_PER_AC, WMI_PDEV_PARAM_SET_CMD_OBSS_PD_PER_AC,
[wmi_pdev_param_set_cong_ctrl_max_msdus] = [wmi_pdev_param_set_cong_ctrl_max_msdus] =
WMI_PDEV_PARAM_SET_CONG_CTRL_MAX_MSDUS, WMI_PDEV_PARAM_SET_CONG_CTRL_MAX_MSDUS,
[wmi_pdev_param_enable_fw_dynamic_he_edca] =
WMI_PDEV_PARAM_ENABLE_FW_DYNAMIC_HE_EDCA,
}; };
/** /**
@@ -2337,6 +2339,7 @@ static QDF_STATUS send_beacon_tmpl_send_cmd_tlv(wmi_unified_t wmi_handle,
cmd->csa_switch_count_offset = param->csa_switch_count_offset; cmd->csa_switch_count_offset = param->csa_switch_count_offset;
cmd->ext_csa_switch_count_offset = param->ext_csa_switch_count_offset; cmd->ext_csa_switch_count_offset = param->ext_csa_switch_count_offset;
cmd->esp_ie_offset = param->esp_ie_offset; cmd->esp_ie_offset = param->esp_ie_offset;
cmd->mu_edca_ie_offset = param->mu_edca_ie_offset;
cmd->buf_len = param->tmpl_len; cmd->buf_len = param->tmpl_len;
buf_ptr += sizeof(wmi_bcn_tmpl_cmd_fixed_param); buf_ptr += sizeof(wmi_bcn_tmpl_cmd_fixed_param);