ath11k: add hw_ops for pdev id to hw_mac mapping
authorAnilkumar Kolli <akolli@codeaurora.org>
Tue, 16 Jun 2020 14:00:47 +0000 (17:00 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 23 Jun 2020 07:51:42 +0000 (10:51 +0300)
commitd547ca4c8cc5638669b9942ad7284ebf7106f708
tree8ac5670aeb61709a1f6ee68beb9acaa70ba90a2e
parentb1cc29e97d1b96dfd3a7437083f7ba4aa5f32b88
ath11k: add hw_ops for pdev id to hw_mac mapping

pdev_id to hw_mac is different for ipq8074 and ipq6018
Below table has the mapping

pdev_id ipq8074 ipq6018
------- ------- -------
  0 0 0
  1 2 1
  2 1 Not applicable

No functional changes. Compile tested only.

Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1592316055-24958-5-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/Makefile
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.c [new file with mode: 0644]
drivers/net/wireless/ath/ath11k/hw.h
drivers/net/wireless/ath/ath11k/mac.c