OSDN Git Service

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)
commit95a581ab3592082c60a08090aabe09ac7d0bd650
treef889aeecc1175bf7e979a4d6667c71f37ecd481e
parentf62cdab7f5db4552067996f888d3874e2171c604
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