Skip to contentSkip to conversation

ath11k: Fix TWT radio count

PATCH In review Aloka Dixit 2 participants 3 messages Apr 8, 2020 – Apr 14, 2020 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath11k: Fix TWT radio count

TWT feature fails on radio2 because physical device count is hardcoded to 2. Set value dynamically.

---
 drivers/net/wireless/ath/ath11k/wmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/wmi.c +1 -1
index 973b72a0ca69..c2a972377687 100644
@@ -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));
Signature · 6 lines
2.25.0

_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#1 lore raw
Quoted 5 lines · Aloka Dixit

TWT feature fails on radio2 because physical device count is hardcoded to 2. Set value dynamically.

Patch applied to ath-next branch of ath.git, thanks.

a3baa8f08419 ath11k: Fix TWT radio count

Signature · 8 lines
https://patchwork.kernel.org/patch/11480581/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#2 lore raw
In reply to Aloka Dixit
Quoted 5 lines · Aloka Dixit

TWT feature fails on radio2 because physical device count is hardcoded to 2. Set value dynamically.

Patch applied to ath-next branch of ath.git, thanks.

a3baa8f08419 ath11k: Fix TWT radio count

Signature · 3 lines
https://patchwork.kernel.org/patch/11480581/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches