Skip to contentSkip to conversation

ath11k: support HE max rx aggregation subframes

PATCH In review Rajkumar Manoharan 2 participants 2 messages May 8, 2019 – May 13, 2019 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath11k: support HE max rx aggregation subframes

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.

---
 drivers/net/wireless/ath/ath11k/mac.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/ath11k/mac.c +1 -0
index 2ee0650fe9c1..6b5a466e27ef 100644
@@ -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);
Signature · 7 lines
1.9.1


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

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.

Patch applied to ath.git, thanks.

cf0dc8a12521 ath11k: support HE max rx aggregation subframes

Signature · 9 lines
https://patchwork.kernel.org/patch/10934009/

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


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k