From c22f6c569af7aa5c9d274e8ed963a5502280c12b Mon Sep 17 00:00:00 2001 From: Deeksha Gupta Date: Wed, 12 Jul 2023 11:19:04 +0530 Subject: [PATCH] qcacmn: convert host to fw phymode enum During ML peer assoc info send, convert host to fw phymode enum. Change-Id: I3744b09f629d3c6b55394d56cd58042f86eec332 CRs-Fixed: 3557285 --- wmi/src/wmi_unified_11be_tlv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wmi/src/wmi_unified_11be_tlv.c b/wmi/src/wmi_unified_11be_tlv.c index 67478f5688..b1a97897cc 100644 --- a/wmi/src/wmi_unified_11be_tlv.c +++ b/wmi/src/wmi_unified_11be_tlv.c @@ -315,9 +315,13 @@ uint8_t *peer_assoc_add_mlo_params(uint8_t *buf_ptr, static inline void wmi_copy_chan_info(wmi_channel *dst_chan, struct wlan_channel *src_chan) { + WMI_HOST_WLAN_PHY_MODE fw_phy_mode; + dst_chan->mhz = src_chan->ch_freq; dst_chan->band_center_freq1 = src_chan->ch_cfreq1; dst_chan->band_center_freq2 = src_chan->ch_cfreq2; + fw_phy_mode = wmi_host_to_fw_phymode(src_chan->ch_phymode); + WMI_SET_CHANNEL_MODE(dst_chan, fw_phy_mode); } static inline void