projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd902b1
)
ath11k: Fix TWT radio count
author
Aloka Dixit
<alokad@codeaurora.org>
Wed, 8 Apr 2020 17:41:17 +0000
(10:41 -0700)
committer
Kalle Valo
<kvalo@codeaurora.org>
Tue, 14 Apr 2020 08:31:55 +0000
(11:31 +0300)
TWT feature fails on radio2 because physical device count is
hardcoded to 2. Set value dynamically.
Signed-off-by: Aloka Dixit <alokad@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link:
https://lore.kernel.org/r/20200408174117.22957-1-alokad@codeaurora.org
drivers/net/wireless/ath/ath11k/wmi.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath11k/wmi.c
b/drivers/net/wireless/ath/ath11k/wmi.c
index 973b72a0ca69fc3fec3c30de7fde8279ae7c6fd3..c2a97237768740656e833187c242b4d76f4ab049 100644
(file)
--- a/
drivers/net/wireless/ath/ath11k/wmi.c
+++ b/
drivers/net/wireless/ath/ath11k/wmi.c
@@
-3245,7
+3245,7
@@
int ath11k_wmi_cmd_init(struct ath11k_base *ab)
config.beacon_tx_offload_max_vdev = ab->num_radios * TARGET_MAX_BCN_OFFLD;
config.rx_batchmode = TARGET_RX_BATCHMODE;
config.peer_map_unmap_v2_support = 1;
- config.twt_ap_pdev_count =
2
;
+ config.twt_ap_pdev_count =
ab->num_radios
;
config.twt_ap_sta_count = 1000;
memcpy(&wmi_sc->wlan_resource_config, &config, sizeof(config));