0001
0002
0003
0004
0005
0006 #ifndef __MT76x02_USB_H
0007 #define __MT76x02_USB_H
0008
0009 #include "mt76x02.h"
0010
0011 int mt76x02u_mac_start(struct mt76x02_dev *dev);
0012 void mt76x02u_init_mcu(struct mt76_dev *dev);
0013 void mt76x02u_mcu_fw_reset(struct mt76x02_dev *dev);
0014 int mt76x02u_mcu_fw_send_data(struct mt76x02_dev *dev, const void *data,
0015 int data_len, u32 max_payload, u32 offset);
0016
0017 int mt76x02u_skb_dma_info(struct sk_buff *skb, int port, u32 flags);
0018 int mt76x02u_tx_prepare_skb(struct mt76_dev *mdev, void *data,
0019 enum mt76_txq_id qid, struct mt76_wcid *wcid,
0020 struct ieee80211_sta *sta,
0021 struct mt76_tx_info *tx_info);
0022 void mt76x02u_tx_complete_skb(struct mt76_dev *mdev, struct mt76_queue_entry *e);
0023 void mt76x02u_init_beacon_config(struct mt76x02_dev *dev);
0024 void mt76x02u_exit_beacon_config(struct mt76x02_dev *dev);
0025 #endif