qcacmn: Add WMI changes for Dynamic HW mode configuration
This feature enables user to change HW mode dynamically from DBS to DBS_SBS mode and vice-versa. Currently, HW mode configuration is only possible through INI setting requiring a subsequent reboot. Relevant WMI changes are: 1. Relocate API wmi_unified_soc_set_hw_mode_cmd from wmi_unified_sta_api.c to wmi_unified_api.c 2. Define API wmi_unified_extract_hw_mode_resp to extract FW response 3. Parse and store new dev-cap fields wireless_modes, low_2ghz_chan_freq, high_2ghz_chan_freq, low_5ghz_chan_freq, and high_5ghz_chan_freq. Change-Id: I49f975e7c5abc8503b651a3ebd4d56b23af915db CRs-fixed: 2490212
This commit is contained in:

committed by
nshrivas

parent
8e0ae99446
commit
fe3cca9bd1
@@ -333,12 +333,15 @@ QDF_STATUS
|
||||
(*send_pdev_utf_cmd)(wmi_unified_t wmi_handle,
|
||||
struct pdev_utf_params *param,
|
||||
uint8_t mac_id);
|
||||
|
||||
QDF_STATUS
|
||||
(*send_pdev_param_cmd)(wmi_unified_t wmi_handle,
|
||||
struct pdev_params *param,
|
||||
uint8_t mac_id);
|
||||
|
||||
QDF_STATUS
|
||||
(*send_pdev_set_hw_mode_cmd)(wmi_unified_t wmi_handle,
|
||||
uint32_t hw_mode_index);
|
||||
|
||||
QDF_STATUS (*send_suspend_cmd)(wmi_unified_t wmi_handle,
|
||||
struct suspend_params *param,
|
||||
uint8_t mac_id);
|
||||
@@ -874,9 +877,6 @@ QDF_STATUS (*send_set_base_macaddr_indicate_cmd)(wmi_unified_t wmi_handle,
|
||||
QDF_STATUS (*send_pdev_set_pcl_cmd)(wmi_unified_t wmi_handle,
|
||||
struct wmi_pcl_chan_weights *msg);
|
||||
|
||||
QDF_STATUS (*send_pdev_set_hw_mode_cmd)(wmi_unified_t wmi_handle,
|
||||
uint32_t hw_mode_index);
|
||||
|
||||
#ifdef WLAN_POLICY_MGR_ENABLE
|
||||
QDF_STATUS (*send_pdev_set_dual_mac_config_cmd)(wmi_unified_t wmi_handle,
|
||||
struct policy_mgr_dual_mac_config *msg);
|
||||
@@ -1992,6 +1992,10 @@ QDF_STATUS (*extract_oem_response_param)
|
||||
(wmi_unified_t wmi_hdl, void *resp_buf,
|
||||
struct wmi_oem_response_param *oem_resp_param);
|
||||
#endif /* WIFI_POS_CONVERGED */
|
||||
|
||||
QDF_STATUS (*extract_hw_mode_resp_event)(wmi_unified_t wmi_handle,
|
||||
void *evt_buf, uint32_t *cmd_status);
|
||||
|
||||
};
|
||||
|
||||
/* Forward declartion for psoc*/
|
||||
|
Reference in New Issue
Block a user