ath11k: Align bss_chan_info structure with firmware
authorSeevalamuthu Mariappan <seevalam@codeaurora.org>
Tue, 20 Jul 2021 21:49:22 +0000 (00:49 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 16 Sep 2021 09:19:45 +0000 (12:19 +0300)
commitfeab5bb8f1d4621025dceae7eef62d5f92de34ac
treec5b8c5c5306380bc899013185821a5689f7b0bc2
parent9b4dd38b46cf24d8cb3ab433661cdc23a35160d0
ath11k: Align bss_chan_info structure with firmware

pdev_id in structure 'wmi_pdev_bss_chan_info_event' is wrongly placed
at the beginning. This causes invalid values in survey dump. Hence, align
the structure with the firmware.

Note: The firmware releases follow this order since the feature was
implemented. Also, it is not changing across the branches including
QCA6390.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01228-QCAHKSWPL_SILICONZ-1

Signed-off-by: Ritesh Singh <ritesi@codeaurora.org>
Signed-off-by: Seevalamuthu Mariappan <seevalam@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210720214922.118078-3-jouni@codeaurora.org
drivers/net/wireless/ath/ath11k/wmi.c
drivers/net/wireless/ath/ath11k/wmi.h