]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8xxxu: Fix the handling of TX A-MPDU aggregation
authorChris Chiu <chris.chiu@canonical.com>
Wed, 4 Aug 2021 15:13:25 +0000 (23:13 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 21 Aug 2021 18:17:20 +0000 (21:17 +0300)
commit1796e16f228930e215c9f82b4d3e9eac3a14b8ad
treef889aeecc1175bf7e979a4d6667c71f37ecd481e
parente60249622bcca92ffb5dd8cf919aa4284f142656
rtl8xxxu: Fix the handling of TX A-MPDU aggregation

The TX A-MPDU aggregation is not handled in the driver since the
ieee80211_start_tx_ba_session has never been started properly.
Start and stop the TX BA session by tracking the TX aggregation
status of each TID. Fix the ampdu_action and the tx descriptor
accordingly with the given TID.

Signed-off-by: Chris Chiu <chris.chiu@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210804151325.86600-1-chris.chiu@canonical.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c