linux/drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c

// SPDX-License-Identifier: ISC
/*
 * Copyright (C) 2018 Lorenzo Bianconi <[email protected]>
 */

#include "mt76x02_usb.h"

static void mt76x02u_remove_dma_hdr(struct sk_buff *skb)
{}

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

int mt76x02u_mac_start(struct mt76x02_dev *dev)
{}
EXPORT_SYMBOL_GPL();

int mt76x02u_skb_dma_info(struct sk_buff *skb, int port, u32 flags)
{}

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

/* Trigger pre-TBTT event 8 ms before TBTT */
#define PRE_TBTT_USEC

/* Beacon SRAM memory is limited to 8kB. We need to send PS buffered frames
 * (which can be 1500 bytes big) via beacon memory. That make limit of number
 * of slots to 5. TODO: dynamically calculate offsets in beacon SRAM.
 */
#define N_BCN_SLOTS

static void mt76x02u_start_pre_tbtt_timer(struct mt76x02_dev *dev)
{}

static void mt76x02u_restart_pre_tbtt_timer(struct mt76x02_dev *dev)
{}

static void mt76x02u_stop_pre_tbtt_timer(struct mt76x02_dev *dev)
{}

static void mt76x02u_pre_tbtt_work(struct work_struct *work)
{}

static enum hrtimer_restart mt76x02u_pre_tbtt_interrupt(struct hrtimer *timer)
{}

static void mt76x02u_pre_tbtt_enable(struct mt76x02_dev *dev, bool en)
{}

static void mt76x02u_beacon_enable(struct mt76x02_dev *dev, bool en)
{}

void mt76x02u_init_beacon_config(struct mt76x02_dev *dev)
{}
EXPORT_SYMBOL_GPL();

void mt76x02u_exit_beacon_config(struct mt76x02_dev *dev)
{}
EXPORT_SYMBOL_GPL();