qcacmn: Add wmi to enable wds in Beryllium

Add new wmi to enable/disable wds in Beryllium
firmware

Change-Id: I4439973017d5fda734f5ca351334dc9f03988717
This commit is contained in:
Pavankumar Nandeshwar
2021-09-07 23:50:49 -07:00
committed by Madan Koyyalamudi
parent 8c5f682d9d
commit 591f8bb3a1
2 changed files with 7 additions and 4 deletions

View File

@@ -5329,7 +5329,7 @@ struct wmi_host_fw_abi_ver {
* @use_pdev_id: * @use_pdev_id:
* @max_num_dbs_scan_duty_cycle: max dbs can duty cycle value * @max_num_dbs_scan_duty_cycle: max dbs can duty cycle value
* @cce_disable: disable cce component * @cce_disable: disable cce component
* @peer_map_unmap_v2: enable peer map/unmap version 2 messaging * @peer_map_unmap_v2/peer_map_unmap_version: configure peer map/unmap version
* @twt_ap_pdev_count: Number of MAC on which AP TWT feature is supported * @twt_ap_pdev_count: Number of MAC on which AP TWT feature is supported
* @twt_ap_sta_count: Max no of STA with which TWT sessions can be formed * @twt_ap_sta_count: Max no of STA with which TWT sessions can be formed
* by the AP * by the AP
@@ -5440,7 +5440,10 @@ typedef struct {
uint32_t use_pdev_id; uint32_t use_pdev_id;
uint32_t max_num_dbs_scan_duty_cycle; uint32_t max_num_dbs_scan_duty_cycle;
bool cce_disable; bool cce_disable;
union {
bool peer_map_unmap_v2; bool peer_map_unmap_v2;
uint8_t peer_map_unmap_version;
};
uint32_t twt_ap_pdev_count; uint32_t twt_ap_pdev_count;
uint32_t twt_ap_sta_count; uint32_t twt_ap_sta_count;
uint32_t max_bssid_indicator; uint32_t max_bssid_indicator;

View File

@@ -7499,8 +7499,8 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
1); 1);
wmi_copy_twt_resource_config(resource_cfg, tgt_res_cfg); wmi_copy_twt_resource_config(resource_cfg, tgt_res_cfg);
resource_cfg->peer_map_unmap_v2_support = resource_cfg->peer_map_unmap_versions =
tgt_res_cfg->peer_map_unmap_v2; tgt_res_cfg->peer_map_unmap_version;
resource_cfg->smart_ant_cap = tgt_res_cfg->smart_ant_cap; resource_cfg->smart_ant_cap = tgt_res_cfg->smart_ant_cap;
if (tgt_res_cfg->re_ul_resp) if (tgt_res_cfg->re_ul_resp)
WMI_SET_BITS(resource_cfg->flags2, 0, 4, WMI_SET_BITS(resource_cfg->flags2, 0, 4,