All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath11k: Fix TWT radio count
@ 2020-04-08 17:41 ` Aloka Dixit
  0 siblings, 0 replies; 4+ messages in thread
From: Aloka Dixit @ 2020-04-08 17:41 UTC (permalink / raw)
  To: ath11k; +Cc: linux-wireless, Aloka Dixit

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

Signed-off-by: Aloka Dixit <alokad@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/wmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c
index 973b72a0ca69..c2a972377687 100644
--- 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));
-- 
2.25.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ath11k: Fix TWT radio count
@ 2020-04-08 17:41 ` Aloka Dixit
  0 siblings, 0 replies; 4+ messages in thread
From: Aloka Dixit @ 2020-04-08 17:41 UTC (permalink / raw)
  To: ath11k; +Cc: Aloka Dixit, linux-wireless

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

Signed-off-by: Aloka Dixit <alokad@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/wmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c
index 973b72a0ca69..c2a972377687 100644
--- 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));
-- 
2.25.0

_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ath11k: Fix TWT radio count
  2020-04-08 17:41 ` Aloka Dixit
  (?)
  (?)
@ 2020-04-14  8:32 ` Kalle Valo
  -1 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2020-04-14  8:32 UTC (permalink / raw)
  To: Aloka Dixit; +Cc: ath11k, linux-wireless, Aloka Dixit

Aloka Dixit <alokad@codeaurora.org> wrote:

> 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>

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

a3baa8f08419 ath11k: Fix TWT radio count

-- 
https://patchwork.kernel.org/patch/11480581/

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ath11k: Fix TWT radio count
  2020-04-08 17:41 ` Aloka Dixit
  (?)
@ 2020-04-14  8:32 ` Kalle Valo
  -1 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2020-04-14  8:32 UTC (permalink / raw)
  To: Aloka Dixit; +Cc: linux-wireless, ath11k

Aloka Dixit <alokad@codeaurora.org> wrote:

> 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>

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

a3baa8f08419 ath11k: Fix TWT radio count

-- 
https://patchwork.kernel.org/patch/11480581/

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

_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-14  8:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-08 17:41 [PATCH] ath11k: Fix TWT radio count Aloka Dixit
2020-04-08 17:41 ` Aloka Dixit
2020-04-14  8:32 ` Kalle Valo
2020-04-14  8:32 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.