mt76: mt7615: provide aid info to the mcu
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 17 Apr 2020 11:10:04 +0000 (13:10 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 12 May 2020 17:52:31 +0000 (19:52 +0200)
commit60cb9843f33480d52eaa41ac2fc72940f3bfa17b
treef64506a4c883b1171825bf258c1b6ba30ea41519
parent450affca7b3d1964a6181e9acc033897bd8bab55
mt76: mt7615: provide aid info to the mcu

For sta mode mac80211 provides aid in vif->bss_conf.aid.
In order to properly support 802.11 power-save, configure correct aid
to mcu during sta association

Co-developed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c