projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30ba002
)
wifi: ath11k: add support DT ieee80211-freq-limit
author
Christian Lamparter
<chunkeey@gmail.com>
Sun, 11 Jun 2023 12:37:32 +0000
(14:37 +0200)
committer
Kalle Valo
<quic_kvalo@quicinc.com>
Thu, 18 Apr 2024 15:19:09 +0000
(18:19 +0300)
The common DT property can be used to limit the available
channels/frequencies. But ath11k has to manually call
wiphy_read_of_freq_limits().
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link:
https://msgid.link/ed266944c721de8dbf0fe35f387a3a71b2c84037.1686486468.git.chunkeey@gmail.com
drivers/net/wireless/ath/ath11k/mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath11k/mac.c
b/drivers/net/wireless/ath/ath11k/mac.c
index c32be587000dbd70c457ae43568cfa62c49a1269..59bde128d351646a312a2b690494c61a296c478c 100644
(file)
--- a/
drivers/net/wireless/ath/ath11k/mac.c
+++ b/
drivers/net/wireless/ath/ath11k/mac.c
@@
-10124,6
+10124,7
@@
static int __ath11k_mac_register(struct ath11k *ar)
if (ret)
goto err;
+ wiphy_read_of_freq_limits(ar->hw->wiphy);
ath11k_mac_setup_ht_vht_cap(ar, cap, &ht_cap);
ath11k_mac_setup_he_cap(ar, cap);