]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: Move parameters in bus_params to hw_params
authorManikanta Pubbisetty <quic_mpubbise@quicinc.com>
Fri, 29 Apr 2022 17:04:55 +0000 (22:34 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 2 May 2022 13:59:06 +0000 (16:59 +0300)
commitb4fed5fe372c7a8ba00c3a98473b8e38c86f8cb6
treefe3f68ad80d33456a975585a02c636d5ec586798
parentc9ef26aa28fed310acfc8b8d24a6aae1d96237f4
ath11k: Move parameters in bus_params to hw_params

In ath11k, bus_params were added with an intention to hold
parameters related to bus (AHB/PCI), but this is not true
as some bus parameters being different between chipsets of
the same bus.

With the addition of WCN6750 to ath11k, bus parameters are
going to be entirely different among AHB devices. Therefore,
it is wise to move bus_params to hw_params and get rid of
bus_params entirely.

Also, mhi_support parameter is not used anywhere in the driver,
remove it from bus_params.

Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-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/20220429170502.20080-3-quic_mpubbise@quicinc.com
drivers/net/wireless/ath/ath11k/ahb.c
drivers/net/wireless/ath/ath11k/core.c
drivers/net/wireless/ath/ath11k/core.h
drivers/net/wireless/ath/ath11k/hw.h
drivers/net/wireless/ath/ath11k/pci.c
drivers/net/wireless/ath/ath11k/pcic.c
drivers/net/wireless/ath/ath11k/qmi.c