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:
Felix Fietkau
2024-08-22 22:43:43 +02:00
parent 65bbd4c394
commit 1f4ac8faa5
5 changed files with 13 additions and 12 deletions
+11
View File
@@ -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)
{