[PATCH wireless-next v3 4/4] wifi: ath12k: update EMLSR capabilities of ML Station
Jeff Johnson
jeff.johnson at oss.qualcomm.com
Mon Mar 3 15:33:00 PST 2025
On 3/3/2025 2:18 PM, Rameshkumar Sundaram wrote:
> From: Ramasamy Kaliappan <quic_rkaliapp at quicinc.com>
...
> + if (u16_get_bits(eml_cap, IEEE80211_EML_CAP_EMLSR_SUPP)) {
> + /* Padding delay */
> + eml_delay = ieee80211_emlsr_pad_delay_in_us(eml_cap);
> + ml_params->emlsr_padding_delay_us = cpu_to_le32(eml_delay);
> + /* Transition delay */
> + eml_delay = ieee80211_emlsr_trans_delay_in_us(eml_cap);
> + ml_params->emlsr_trans_delay_us = cpu_to_le32(eml_delay);
> + /* Transition timeout */
> + eml_trans_timeout = ieee80211_eml_trans_timeout_in_us(eml_cap);
> + ml_params->emlsr_trans_timeout_us = cpu_to_le32(eml_trans_timeout);
> + ath12k_dbg(ar->ab, ATH12K_DBG_WMI, "wmi peer (%pM) emlsr padding delay %u, trans delay %u trans timeout %u",
> + arg->peer_mac, ml_params->emlsr_padding_delay_us,
> + ml_params->emlsr_trans_delay_us,
> + ml_params->emlsr_trans_timeout_us);
it seems wrong to print the values converted to LE if the host is BE.
suggest instead you cache all 3 host values and print those instead.
/jeff
More information about the ath12k
mailing list