rtw88: disable TX-AMSDU on 2.4G band
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Tue, 4 Feb 2020 12:06:14 +0000 (20:06 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 12 Feb 2020 16:22:01 +0000 (18:22 +0200)
commit74c3d72cc13401f9eb3e3c712855e9f8f2d2682b
treef9bf66de0c62788aa6b201728c563c3f9abe8831
parent9c714b7caa1750d2832591286d3c071f1160b5d7
rtw88: disable TX-AMSDU on 2.4G band

Some tests shows that using AMSDU to aggregate TCP ACKs to specific
APs will degrade the throughput on 2.4G band in 20MHz bandwidth
(< 10 Mbps, should be ~100 Mbps for 2x2). Also found that there's
barely no negative impact if we disable TX AMSDU on 2.4G to connect
to other APs. So it seems like we can just tell mac80211 to not to
aggregate MSDUs when transmitting on 2.4G band.

Note that we still can TX AMSDU on 5G band and benefit from it by
having 50 ~ 70 Mbps throughput improvement.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Reviewed-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/mac80211.c