wifi: mt76: mt7915: allocate vif wcid in the same range as stations
authorFelix Fietkau <nbd@nbd.name>
Tue, 27 Aug 2024 09:29:55 +0000 (11:29 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 6 Sep 2024 12:23:06 +0000 (14:23 +0200)
commitf3049b88b2b32326df97461813ae73e8bbc296fc
treeb27220054f625cb6fdad7a1a8ad57d713fdb4e7e
parent256cbd26fbafb30ba3314339106e5c594e9bd5f9
wifi: mt76: mt7915: allocate vif wcid in the same range as stations

Reduces the amount of unnecessary WTBL bank switching, while still reserving
WTBL entries for vifs.

Link: https://patch.msgid.link/20240827093011.18621-8-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/main.c