]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: Fix RX de-fragmentation issue on WCN6750
authorManikanta Pubbisetty <quic_mpubbise@quicinc.com>
Wed, 4 May 2022 08:39:00 +0000 (14:09 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 6 May 2022 06:20:12 +0000 (09:20 +0300)
commit6dd530d7806801084f8c35a6e63c1201b5b016b5
treef34f6774b47d5e1eab0c65674a20c634e901cc64
parentf26be205215feaf26689f8b7095926e8bd82fb5a
ath11k: Fix RX de-fragmentation issue on WCN6750

The offset of REO register where the RX fragment destination ring
is configured is different in WCN6750 as compared to WCN6855.
Due to this differnce in offsets, on WCN6750, fragment destination
ring will be configured incorrectly, leading to RX fragments not
getting delivered to the driver. Fix this by defining HW specific
offsets for the REO MISC CTL register.

Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1
Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1
Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-00192-QCAHKSWPL_SILICONZ-1

Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220504083900.31513-1-quic_mpubbise@quicinc.com
drivers/net/wireless/ath/ath11k/hal.h
drivers/net/wireless/ath/ath11k/hw.c
drivers/net/wireless/ath/ath11k/hw.h