Path: blob/main/sys/contrib/dev/mediatek/mt76/mt76x02_usb.h
48378 views
/* SPDX-License-Identifier: ISC */1/*2* Copyright (C) 2018 Lorenzo Bianconi <[email protected]>3*/45#ifndef __MT76x02_USB_H6#define __MT76x02_USB_H78#include "mt76x02.h"910int mt76x02u_mac_start(struct mt76x02_dev *dev);11void mt76x02u_init_mcu(struct mt76_dev *dev);12void mt76x02u_mcu_fw_reset(struct mt76x02_dev *dev);13int mt76x02u_mcu_fw_send_data(struct mt76x02_dev *dev, const void *data,14int data_len, u32 max_payload, u32 offset);1516int mt76x02u_skb_dma_info(struct sk_buff *skb, int port, u32 flags);17int mt76x02u_tx_prepare_skb(struct mt76_dev *mdev, void *data,18enum mt76_txq_id qid, struct mt76_wcid *wcid,19struct ieee80211_sta *sta,20struct mt76_tx_info *tx_info);21void mt76x02u_tx_complete_skb(struct mt76_dev *mdev, struct mt76_queue_entry *e);22void mt76x02u_init_beacon_config(struct mt76x02_dev *dev);23void mt76x02u_exit_beacon_config(struct mt76x02_dev *dev);24#endif /* __MT76x02_USB_H */252627