mt76: get station pointer by wcid and pass it to mac80211
authorFelix Fietkau <nbd@nbd.name>
Wed, 24 Jan 2018 15:19:13 +0000 (16:19 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 26 Jan 2018 09:18:34 +0000 (11:18 +0200)
commit9c68a57bc22d8c952688d54781b55e7cd9bea238
treef704e5c6bbcd0f779a6bd97774f15d701926b349
parent4e34249e9565dc123ceb349b31acb9305673313e
mt76: get station pointer by wcid and pass it to mac80211

Avoids the rhashtable lookup based on the MAC address inside mac80211

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/dma.c
drivers/net/wireless/mediatek/mt76/mac80211.c
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/mt76x2_mac.c
drivers/net/wireless/mediatek/mt76/mt76x2_main.c