linux/drivers/net/wireless/ti/wl1251/tx.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * This file is part of wl1251
 *
 * Copyright (c) 1998-2007 Texas Instruments Incorporated
 * Copyright (C) 2008 Nokia Corporation
 */

#include <linux/kernel.h>
#include <linux/module.h>

#include "wl1251.h"
#include "reg.h"
#include "tx.h"
#include "ps.h"
#include "io.h"
#include "event.h"

static bool wl1251_tx_double_buffer_busy(struct wl1251 *wl, u32 data_out_count)
{}

static int wl1251_tx_path_status(struct wl1251 *wl)
{}

static int wl1251_tx_id(struct wl1251 *wl, struct sk_buff *skb)
{}

static void wl1251_tx_control(struct tx_double_buffer_desc *tx_hdr,
			      struct ieee80211_tx_info *control, u16 fc)
{}

/* RSN + MIC = 8 + 8 = 16 bytes (worst case - AES). */
#define MAX_MSDU_SECURITY_LENGTH
#define MAX_MPDU_SECURITY_LENGTH
#define WLAN_QOS_HDR_LEN
#define MAX_MPDU_HEADER_AND_SECURITY
#define HW_BLOCK_SIZE
static void wl1251_tx_frag_block_num(struct tx_double_buffer_desc *tx_hdr)
{}

static int wl1251_tx_fill_hdr(struct wl1251 *wl, struct sk_buff *skb,
			      struct ieee80211_tx_info *control)
{}

/* We copy the packet to the target */
static int wl1251_tx_send_packet(struct wl1251 *wl, struct sk_buff *skb,
				 struct ieee80211_tx_info *control)
{}

static void wl1251_tx_trigger(struct wl1251 *wl)
{}

static void enable_tx_for_packet_injection(struct wl1251 *wl)
{}

/* caller must hold wl->mutex */
static int wl1251_tx_frame(struct wl1251 *wl, struct sk_buff *skb)
{}

void wl1251_tx_work(struct work_struct *work)
{}

static const char *wl1251_tx_parse_status(u8 status)
{}

static void wl1251_tx_packet_cb(struct wl1251 *wl,
				struct tx_result *result)
{}

/* Called upon reception of a TX complete interrupt */
void wl1251_tx_complete(struct wl1251 *wl)
{}

/* caller must hold wl->mutex */
void wl1251_tx_flush(struct wl1251 *wl)
{}