]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mt76: mt7615: use v1 MCU API on MT7615 to fix issues with adding/removing stations
authorFelix Fietkau <nbd@nbd.name>
Wed, 12 Aug 2020 10:23:32 +0000 (12:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Oct 2020 15:36:33 +0000 (17:36 +0200)
commit6540544b78f8973bb16400ce3a90b5ebe0b793f6
tree99d5c9d1a83eb5117a33ea88137453b56f496e98
parentf176cd6084b2688b529eaed2b4e3eaa3445f41e4
mt76: mt7615: use v1 MCU API on MT7615 to fix issues with adding/removing stations

commit d1c9da9e4c938e8bbf8b0ef9e5772b97db5639e9 upstream.

The implementation of embedding WTBL update inside the STA_REC update is buggy
on the MT7615 v2 firmware. This leads to connection issues after a station has
connected and disconnected again.

Switch to the v1 MCU API ops, since they have received much more testing and
should be more stable.

On MT7622 and later, the v2 API is more actively used, so we should keep using
it as well.

Fixes: 6849e29ed92e ("mt76: mt7615: add starec operating flow for firmware v2")
Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200812102332.11812-1-nbd@nbd.name
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c