cnss2: Add code to parse and store hwid bitmap received from FW
Add code to parse and store hwid bitmap received from Firmware as part of target cap response QMI message. The bitmap gives information about the FEM combination in use. Change-Id: I6c7e9cedfc70df056ed361953b10a65166915087 Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
This commit is contained in:

committad av
Gerrit - the friendly Code Review server

förälder
c0028b8bb8
incheckning
efa5599cc4
@@ -580,6 +580,9 @@ int cnss_wlfw_tgt_cap_send_sync(struct cnss_plat_data *plat_priv)
|
||||
else
|
||||
plat_priv->hang_data_addr_offset = 0;
|
||||
|
||||
if (resp->hwid_bitmap_valid)
|
||||
plat_priv->hwid_bitmap = resp->hwid_bitmap;
|
||||
|
||||
if (resp->ol_cpr_cfg_valid)
|
||||
cnss_aop_ol_cpr_cfg_setup(plat_priv, &resp->ol_cpr_cfg);
|
||||
|
||||
@@ -588,10 +591,11 @@ int cnss_wlfw_tgt_cap_send_sync(struct cnss_plat_data *plat_priv)
|
||||
plat_priv->chip_info.chip_family,
|
||||
plat_priv->board_info.board_id, plat_priv->soc_info.soc_id,
|
||||
plat_priv->otp_version);
|
||||
cnss_pr_dbg("fw_version: 0x%x, fw_build_timestamp: %s, fw_build_id: %s\n",
|
||||
cnss_pr_dbg("fw_version: 0x%x, fw_build_timestamp: %s, fw_build_id: %s, hwid_bitmap:0x%x\n",
|
||||
plat_priv->fw_version_info.fw_version,
|
||||
plat_priv->fw_version_info.fw_build_timestamp,
|
||||
plat_priv->fw_build_id);
|
||||
plat_priv->fw_build_id,
|
||||
plat_priv->hwid_bitmap);
|
||||
cnss_pr_dbg("Hang event params, Length: 0x%x, Offset Address: 0x%x\n",
|
||||
plat_priv->hang_event_data_len,
|
||||
plat_priv->hang_data_addr_offset);
|
||||
|
Referens i nytt ärende
Block a user