mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: move mt76_mmio_wed_offload_{enable,disable} in common code
mt76_mmio_wed_offload_enable and mt76_mmio_wed_offload_disable routines will be reused by mt7996 driver for wed support. Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
ea28142891
commit
9fb0277d7e
@@ -1059,6 +1059,8 @@ static inline u16 mt76_rev(struct mt76_dev *dev)
|
||||
#ifdef CONFIG_NET_MEDIATEK_SOC_WED
|
||||
u32 mt76_mmio_wed_init_rx_buf(struct mtk_wed_device *wed, int size);
|
||||
void mt76_mmio_wed_release_rx_buf(struct mtk_wed_device *wed);
|
||||
int mt76_mmio_wed_offload_enable(struct mtk_wed_device *wed);
|
||||
void mt76_mmio_wed_offload_disable(struct mtk_wed_device *wed);
|
||||
#endif /*CONFIG_NET_MEDIATEK_SOC_WED */
|
||||
|
||||
#define mt76xx_chip(dev) mt76_chip(&((dev)->mt76))
|
||||
|
||||
Reference in New Issue
Block a user