mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: connac: move mt7615_mcu_del_wtbl_all to connac
Preparation for reusing it in mt7915 Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -2849,6 +2849,17 @@ int mt76_connac_mcu_restart(struct mt76_dev *dev)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mt76_connac_mcu_restart);
|
||||
|
||||
int mt76_connac_mcu_del_wtbl_all(struct mt76_dev *dev)
|
||||
{
|
||||
struct wtbl_req_hdr req = {
|
||||
.operation = WTBL_RESET_ALL,
|
||||
};
|
||||
|
||||
return mt76_mcu_send_msg(dev, MCU_EXT_CMD(WTBL_UPDATE),
|
||||
&req, sizeof(req), true);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mt76_connac_mcu_del_wtbl_all);
|
||||
|
||||
int mt76_connac_mcu_rdd_cmd(struct mt76_dev *dev, int cmd, u8 index,
|
||||
u8 rx_sel, u8 val)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user