qcacmn: Fix wmi extended service ready handling APIs

Add hw_mode_id. HW mode is received in extended service ready.
This will be used to determine FW capability to support multiple radio.
This is used on host to create multiple instantces of pdev on host.
Change mac_phy_cap extract API to get mac_phy_cap based on hw_mode_id
and phy_id

Change-Id: I9a6abdac8799d167828f13bef61b1a1d8c3e9769
CRs-Fixed: 1113888
This commit is contained in:
Kiran Venkatappa
2016-12-26 15:38:06 +05:30
committed by qcabuildsw
parent f7ab3176ff
commit df17b072b6
5 changed files with 83 additions and 26 deletions

View File

@@ -1354,7 +1354,9 @@ QDF_STATUS wmi_extract_hw_mode_cap_service_ready_ext(
struct wmi_host_hw_mode_caps *param);
QDF_STATUS wmi_extract_mac_phy_cap_service_ready_ext(
void *wmi_hdl,
uint8_t *evt_buf, uint8_t hw_mode_idx,
uint8_t *evt_buf,
uint8_t hw_mode_id,
uint8_t phy_id,
struct wmi_host_mac_phy_caps *param);
QDF_STATUS wmi_extract_reg_cap_service_ready_ext(
void *wmi_hdl,