cnss2: Add API to get FW supported capabilities
Add and export API to check whether FW capabilities like DIRECT_LINK, etc are supported by FW or not. Update WLAN Firmware Service QMI file as per latest IDL file. Change-Id: Ic33104ec55e18845b8c33ff611d1ecc15ec5cd77 CRs-Fixed: 3335259
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
414f0dcf64
commit
2fd60f792b
@@ -566,9 +566,11 @@ int cnss_wlfw_tgt_cap_send_sync(struct cnss_plat_data *plat_priv)
|
||||
plat_priv->dev_mem_info[i].size);
|
||||
}
|
||||
}
|
||||
if (resp->fw_caps_valid)
|
||||
if (resp->fw_caps_valid) {
|
||||
plat_priv->fw_pcie_gen_switch =
|
||||
!!(resp->fw_caps & QMI_WLFW_HOST_PCIE_GEN_SWITCH_V01);
|
||||
plat_priv->fw_caps = resp->fw_caps;
|
||||
}
|
||||
|
||||
if (resp->hang_data_length_valid &&
|
||||
resp->hang_data_length &&
|
||||
|
Reference in New Issue
Block a user