qcacmn: Add debug prints for Vdev start and peer assoc

Change is made to add debug prints for VDEV start
and peer assoc commands sent to FW.
This change is made to help with debugging logs.

CRs-Fixed: 3611450
Change-Id: I40a0991330edd4ba71b7b71f2f7cf36364f4f365
This commit is contained in:
Amruta Kulkarni
2023-09-07 15:11:58 -07:00
zatwierdzone przez Rahul Choudhary
rodzic eed178035d
commit 7dd25ffe56

Wyświetl plik

@@ -108,6 +108,10 @@ uint8_t *vdev_start_add_mlo_params(uint8_t *buf_ptr,
vdev_start_add_mlo_mcast_params(&mlo_params->mlo_flags.mlo_flags,
req);
wmi_info("mlo_flags 0x%x emlsr_support %d ",
mlo_params->mlo_flags.mlo_flags,
mlo_params->mlo_flags.emlsr_support);
return buf_ptr + sizeof(wmi_vdev_start_mlo_params);
}
@@ -134,6 +138,10 @@ uint8_t *vdev_start_add_ml_partner_links(uint8_t *buf_ptr,
req_partner->partner_info[i].hw_mld_link_id;
WMI_CHAR_ARRAY_TO_MAC_ADDR(req_partner->partner_info[i].mac_addr,
&ml_partner_link->vdev_macaddr);
wmi_info("vdev_id %d hw_link_id %d MAC addr " QDF_MAC_ADDR_FMT,
ml_partner_link->vdev_id,
ml_partner_link->hw_link_id,
QDF_MAC_ADDR_REF(req_partner->partner_info[i].mac_addr));
ml_partner_link++;
}
@@ -315,6 +323,27 @@ uint8_t *peer_assoc_add_mlo_params(uint8_t *buf_ptr,
mlo_params->nstr_indication_bitmap =
req->mlo_params.nstr_indication_bitmap;
wmi_debug("emlsr_support %d mlo_flags 0x%x logical_link_index %d mld_peer_id %d ieee_link_id %d "
"emlsr_trans_timeout_us %d emlsr_trans_delay_us %d "
"emlsr_padding_delay_us %d msd_dur_subfield %d msd_ofdm_ed_thr %d msd_max_num_txops %d "
"max_num_simultaneous_links %d nstr_bitmap_present %d nstr_bitmap_size %d "
"mlo_link_switch %d "
"nstr_indication_bitmap 0x%x MLD addr " QDF_MAC_ADDR_FMT,
mlo_params->mlo_flags.emlsr_support,
mlo_params->mlo_flags.mlo_flags,
mlo_params->logical_link_index,
mlo_params->mld_peer_id, mlo_params->ieee_link_id,
mlo_params->emlsr_trans_timeout_us,
mlo_params->emlsr_trans_delay_us,
mlo_params->emlsr_padding_delay_us,
mlo_params->msd_dur_subfield, mlo_params->msd_ofdm_ed_thr,
mlo_params->msd_max_num_txops, mlo_params->max_num_simultaneous_links,
mlo_params->mlo_flags.nstr_bitmap_present,
mlo_params->mlo_flags.nstr_bitmap_size,
mlo_params->mlo_flags.mlo_link_switch,
mlo_params->nstr_indication_bitmap,
req->mlo_params.mld_mac);
return buf_ptr + sizeof(wmi_peer_assoc_mlo_params);
}