#include "mt7601u.h"
#include "trace.h"
#include <linux/etherdevice.h>
void mt7601u_set_macaddr(struct mt7601u_dev *dev, const u8 *addr)
{ … }
static void
mt76_mac_process_tx_rate(struct ieee80211_tx_rate *txrate, u16 rate)
{ … }
static void
mt76_mac_fill_tx_status(struct mt7601u_dev *dev, struct ieee80211_tx_info *info,
struct mt76_tx_status *st)
{ … }
u16 mt76_mac_tx_rate_val(struct mt7601u_dev *dev,
const struct ieee80211_tx_rate *rate, u8 *nss_val)
{ … }
void mt76_mac_wcid_set_rate(struct mt7601u_dev *dev, struct mt76_wcid *wcid,
const struct ieee80211_tx_rate *rate)
{ … }
struct mt76_tx_status mt7601u_mac_fetch_tx_status(struct mt7601u_dev *dev)
{ … }
void mt76_send_tx_status(struct mt7601u_dev *dev, struct mt76_tx_status *stat)
{ … }
void mt7601u_mac_set_protection(struct mt7601u_dev *dev, bool legacy_prot,
int ht_mode)
{ … }
void mt7601u_mac_set_short_preamble(struct mt7601u_dev *dev, bool short_preamb)
{ … }
void mt7601u_mac_config_tsf(struct mt7601u_dev *dev, bool enable, int interval)
{ … }
static void mt7601u_check_mac_err(struct mt7601u_dev *dev)
{ … }
void mt7601u_mac_work(struct work_struct *work)
{ … }
void
mt7601u_mac_wcid_setup(struct mt7601u_dev *dev, u8 idx, u8 vif_idx, u8 *mac)
{ … }
void mt7601u_mac_set_ampdu_factor(struct mt7601u_dev *dev)
{ … }
static void
mt76_mac_process_rate(struct ieee80211_rx_status *status, u16 rate)
{ … }
static void
mt7601u_rx_monitor_beacon(struct mt7601u_dev *dev, struct mt7601u_rxwi *rxwi,
u16 rate, int rssi)
{ … }
static int
mt7601u_rx_is_our_beacon(struct mt7601u_dev *dev, u8 *data)
{ … }
u32 mt76_mac_process_rx(struct mt7601u_dev *dev, struct sk_buff *skb,
u8 *data, void *rxi)
{ … }
static enum mt76_cipher_type
mt76_mac_get_key_info(struct ieee80211_key_conf *key, u8 *key_data)
{ … }
int mt76_mac_wcid_set_key(struct mt7601u_dev *dev, u8 idx,
struct ieee80211_key_conf *key)
{ … }
int mt76_mac_shared_key_setup(struct mt7601u_dev *dev, u8 vif_idx, u8 key_idx,
struct ieee80211_key_conf *key)
{ … }