Skip to content

Commit ef103e5

Browse files
P Praneeshgregkh
authored andcommitted
wifi: ath12k: match WMI BSS chan info structure with firmware definition
[ Upstream commit dd98d54 ] struct wmi_pdev_bss_chan_info_event is not similar to the firmware struct definition, this will cause some random failures. Fix by matching the struct wmi_pdev_bss_chan_info_event with the firmware structure definition. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 Fixes: d889913 ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices") Signed-off-by: P Praneesh <quic_ppranees@quicinc.com> Signed-off-by: Karthikeyan Kathirvel <quic_kathirve@quicinc.com> Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://patch.msgid.link/20240331183232.2158756-3-quic_kathirve@quicinc.com Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 7654aa1 commit ef103e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/wireless/ath/ath12k

drivers/net/wireless/ath/ath12k/wmi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4086,7 +4086,6 @@ struct wmi_vdev_stopped_event {
40864086
} __packed;
40874087

40884088
struct wmi_pdev_bss_chan_info_event {
4089-
__le32 pdev_id;
40904089
__le32 freq; /* Units in MHz */
40914090
__le32 noise_floor; /* units are dBm */
40924091
/* rx clear - how often the channel was unused */
@@ -4104,6 +4103,7 @@ struct wmi_pdev_bss_chan_info_event {
41044103
/*rx_cycle cnt for my bss in 64bits format */
41054104
__le32 rx_bss_cycle_count_low;
41064105
__le32 rx_bss_cycle_count_high;
4106+
__le32 pdev_id;
41074107
} __packed;
41084108

41094109
#define WMI_VDEV_INSTALL_KEY_COMPL_STATUS_SUCCESS 0

0 commit comments

Comments
 (0)