mt76: mt7915: rely on mt76_connac_mcu_alloc_sta_req
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 19 Dec 2021 17:40:08 +0000 (18:40 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 3 Feb 2022 12:57:56 +0000 (13:57 +0100)
commite2c93b68cb54448c2fef24bb719a244dcef3b79e
tree5d9e8905133c48f1a3b8fbedef57b4fabec74546
parent74c337ec0905d99111fc63a15f2e0784b9ed5503
mt76: mt7915: rely on mt76_connac_mcu_alloc_sta_req

Rely on mt76_connac_mcu_alloc_sta_req routine and remove
duplicated code.
Add MT76_CONNAC_LIB module dependency in mt7915 module

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac.h
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
drivers/net/wireless/mediatek/mt76/mt7915/Kconfig
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h