qcacmn: Send rf path WMI command

Prepare and Send WMI command to fw to set the rf path. Also, add module
ID for rf path switch for qdf log prints.

CRs-Fixed: 3568221
Change-Id: I7ef0ffe66eaed837424699641d3e5b8537cd0304
This commit is contained in:
Krunalsinh Padhar
2023-04-27 12:20:53 -07:00
committed by Rahul Choudhary
parent f7142b0fd4
commit d3e95e7607
7 changed files with 147 additions and 0 deletions

View File

@@ -581,6 +581,10 @@ QDF_STATUS
(*send_pdev_set_hw_mode_cmd)(wmi_unified_t wmi_handle,
uint32_t hw_mode_index);
QDF_STATUS
(*send_pdev_set_rf_path_cmd)(wmi_unified_t wmi_handle,
uint32_t hw_mode_index, uint8_t pdev_id);
QDF_STATUS (*send_suspend_cmd)(wmi_unified_t wmi_handle,
struct suspend_params *param,
uint8_t mac_id);
@@ -2859,6 +2863,9 @@ QDF_STATUS (*send_rtt_pasn_deauth_cmd)(wmi_unified_t wmi_handle,
QDF_STATUS (*extract_hw_mode_resp_event)(wmi_unified_t wmi_handle,
void *evt_buf, uint32_t *cmd_status);
QDF_STATUS (*extract_rf_path_resp)(wmi_unified_t wmi_handle,
void *evt_buf, uint32_t *cmd_status);
#ifdef WLAN_FEATURE_ELNA
QDF_STATUS (*send_set_elna_bypass_cmd)(wmi_unified_t wmi_handle,
struct set_elna_bypass_request *req);