linux/drivers/staging/rtl8712/rtl8712_xmit.h

/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
 *
 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
 *
 * Modifications for inclusion into the Linux staging tree are
 * Copyright(c) 2010 Larry Finger. All rights reserved.
 *
 * Contact information:
 * WLAN FAE <[email protected]>
 * Larry Finger <[email protected]>
 *
 ******************************************************************************/
#ifndef _RTL8712_XMIT_H_
#define _RTL8712_XMIT_H_

#define HWXMIT_ENTRY

#define VO_QUEUE_INX
#define VI_QUEUE_INX
#define BE_QUEUE_INX
#define BK_QUEUE_INX
#define TS_QUEUE_INX
#define MGT_QUEUE_INX
#define BMC_QUEUE_INX
#define BCN_QUEUE_INX

#define HW_QUEUE_ENTRY

#define TXDESC_SIZE
#define TXDESC_OFFSET

#define NR_AMSDU_XMITFRAME
#define NR_TXAGG_XMITFRAME

#define MAX_AMSDU_XMITBUF_SZ
#define MAX_TXAGG_XMITBUF_SZ

#define tx_cmd

/*
 *defined for TX DESC Operation
 */

#define MAX_TID

/*OFFSET 0*/
#define OFFSET_SZ
#define OFFSET_SHT
#define OWN
#define FSG
#define LSG
#define TYPE_SHT
#define TYPE_MSK

/*OFFSET 4*/
#define PKT_OFFSET_SZ
#define QSEL_SHT
#define HWPC

/*OFFSET 8*/
#define BMC
#define BK
#define AGG_EN
#define RTS_RC_SHT

/*OFFSET 12*/
#define SEQ_SHT

/*OFFSET 16*/
#define TXBW

/*OFFSET 20*/
#define DISFB
#define RSVD6_MSK
#define RSVD6_SHT

struct tx_desc {};

txdesc;

int r8712_xmitframe_complete(struct _adapter *padapter,
			     struct xmit_priv *pxmitpriv,
			     struct xmit_buf *pxmitbuf);
void r8712_do_queue_select(struct _adapter *padapter,
			   struct pkt_attrib *pattrib);

#ifdef CONFIG_R8712_TX_AGGR
void r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf,
			      struct xmit_frame *pxmitframe);
void r8712_dump_aggr_xframe(struct xmit_buf *pxmitbuf,
			    struct xmit_frame *pxmitframe);
#endif

#endif