]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix transmitting to stations in dynamic SMPS mode
authorFelix Fietkau <nbd@nbd.name>
Sun, 14 Feb 2021 18:49:11 +0000 (19:49 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 18 Feb 2021 06:07:25 +0000 (08:07 +0200)
commit3b9ea7206d7e1fdd7419cbd10badd3b2c80d04b4
tree5293a7c5876bca20285c01af9b0219024342e714
parent773dc50d71690202afd7b5017c060c6ca8c75dd9
ath9k: fix transmitting to stations in dynamic SMPS mode

When transmitting to a receiver in dynamic SMPS mode, all transmissions that
use multiple spatial streams need to be sent using CTS-to-self or RTS/CTS to
give the receiver's extra chains some time to wake up.
This fixes the tx rate getting stuck at <= MCS7 for some clients, especially
Intel ones, which make aggressive use of SMPS.

Cc: stable@vger.kernel.org
Reported-by: Martin Kennedy <hurricos@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210214184911.96702-1-nbd@nbd.name
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/xmit.c