diff mbox series

ath11k: support HE max rx aggregation subframes

Message ID 1557275593-2994-1-git-send-email-rmanohar@codeaurora.org (mailing list archive)
State Accepted
Commit cf0dc8a12521222a53d13e66dbd06976129e7831
Delegated to: Kalle Valo
Headers show
Series ath11k: support HE max rx aggregation subframes | expand

Commit Message

Rajkumar Manoharan May 8, 2019, 12:33 a.m. UTC
HE supports upto 256 subframes in an A-MPDU. Hence update
max_rx_aggregation_subframes to 256 at device registration.
Since tx A-MPDU aggregation is offloaded to HW, no need to
update tx aggregation subframes size.

Signed-off-by: Rajkumar Manoharan <rmanohar@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/mac.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Kalle Valo May 13, 2019, 2:47 p.m. UTC | #1
Rajkumar Manoharan <rmanohar@codeaurora.org> wrote:

> HE supports upto 256 subframes in an A-MPDU. Hence update
> max_rx_aggregation_subframes to 256 at device registration.
> Since tx A-MPDU aggregation is offloaded to HW, no need to
> update tx aggregation subframes size.
> 
> Signed-off-by: Rajkumar Manoharan <rmanohar@codeaurora.org>

Patch applied to ath.git, thanks.

cf0dc8a12521 ath11k: support HE max rx aggregation subframes
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index 2ee0650fe9c1..6b5a466e27ef 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -4961,6 +4961,7 @@  static int ath11k_mac_register(struct ath11k *ar)
 
 	ar->hw->queues = ATH11K_HW_MAX_QUEUES;
 	ar->hw->offchannel_tx_hw_queue = ATH11K_HW_MAX_QUEUES - 1;
+	ar->hw->max_rx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF;
 
 	ar->hw->vif_data_size = sizeof(struct ath11k_vif);
 	ar->hw->sta_data_size = sizeof(struct ath11k_sta);