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)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 27 Aug 2020 13:12:19 +0000 (16:12 +0300)
commitd1c9da9e4c938e8bbf8b0ef9e5772b97db5639e9
tree79519047954066a426d853c8a038e0487c38aa98
parent9a2a0862d973c9eab6a1f3efa0d4d18dcedbaf1a
mt76: mt7615: use v1 MCU API on MT7615 to fix issues with adding/removing stations

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
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c