linux/drivers/net/wireless/mediatek/mt76/mt7921/mac.c

// SPDX-License-Identifier: ISC
/* Copyright (C) 2020 MediaTek Inc. */

#include <linux/devcoredump.h>
#include <linux/etherdevice.h>
#include <linux/timekeeping.h>
#include "mt7921.h"
#include "../dma.h"
#include "../mt76_connac2_mac.h"
#include "mcu.h"

#define MT_WTBL_TXRX_CAP_RATE_OFFSET
#define MT_WTBL_TXRX_RATE_G2_HE
#define MT_WTBL_TXRX_RATE_G2

#define MT_WTBL_AC0_CTT_OFFSET

bool mt7921_mac_wtbl_update(struct mt792x_dev *dev, int idx, u32 mask)
{}

static u32 mt7921_mac_wtbl_lmac_addr(int idx, u8 offset)
{}

static void mt7921_mac_sta_poll(struct mt792x_dev *dev)
{}

static int
mt7921_mac_fill_rx(struct mt792x_dev *dev, struct sk_buff *skb)
{}

void mt7921_mac_add_txs(struct mt792x_dev *dev, void *data)
{}

static void mt7921_mac_tx_free(struct mt792x_dev *dev, void *data, int len)
{}

bool mt7921_rx_check(struct mt76_dev *mdev, void *data, int len)
{}
EXPORT_SYMBOL_GPL();

void mt7921_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q,
			 struct sk_buff *skb, u32 *info)
{}
EXPORT_SYMBOL_GPL();

static void
mt7921_vif_connect_iter(void *priv, u8 *mac,
			struct ieee80211_vif *vif)
{}

/* system error recovery */
void mt7921_mac_reset_work(struct work_struct *work)
{}

void mt7921_coredump_work(struct work_struct *work)
{}

/* usb_sdio */
static void
mt7921_usb_sdio_write_txwi(struct mt792x_dev *dev, struct mt76_wcid *wcid,
			   enum mt76_txq_id qid, struct ieee80211_sta *sta,
			   struct ieee80211_key_conf *key, int pid,
			   struct sk_buff *skb)
{}

int mt7921_usb_sdio_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr,
				   enum mt76_txq_id qid, struct mt76_wcid *wcid,
				   struct ieee80211_sta *sta,
				   struct mt76_tx_info *tx_info)
{}
EXPORT_SYMBOL_GPL();

void mt7921_usb_sdio_tx_complete_skb(struct mt76_dev *mdev,
				     struct mt76_queue_entry *e)
{}
EXPORT_SYMBOL_GPL();

bool mt7921_usb_sdio_tx_status_data(struct mt76_dev *mdev, u8 *update)
{}
EXPORT_SYMBOL_GPL();

#if IS_ENABLED(CONFIG_IPV6)
void mt7921_set_ipv6_ns_work(struct work_struct *work)
{}
#endif