OSDN Git Service

wifi: ath11k: fix rssi station dump not updated in QCN9074
authorP Praneesh <quic_ppranees@quicinc.com>
Fri, 24 Mar 2023 14:57:00 +0000 (16:57 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 12 Apr 2023 09:58:51 +0000 (12:58 +0300)
commit031ffa6c2cd305a57ccc6d610f2decd956b2e7f6
treefee54062b5e6bab1e0361c45c104f51401c75575
parent813968c24126cc5c8320cd5db0e262069a535063
wifi: ath11k: fix rssi station dump not updated in QCN9074

In QCN9074, station dump signal values display default value which
is -95 dbm, since there is firmware header change for HAL_RX_MPDU_START
between QCN9074 and IPQ8074 which cause wrong peer_id fetch from msdu.
Fix this by updating hal_rx_mpdu_info with corresponding QCN9074 tlv
format.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01695-QCAHKSWPL_SILICONZ-1

Signed-off-by: P Praneesh <quic_ppranees@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230320110312.20639-1-quic_ppranees@quicinc.com
drivers/net/wireless/ath/ath11k/hal_rx.c
drivers/net/wireless/ath/ath11k/hal_rx.h
drivers/net/wireless/ath/ath11k/hw.c
drivers/net/wireless/ath/ath11k/hw.h