linux/drivers/staging/vt6655/rxtx.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
 * All rights reserved.
 *
 * Purpose:
 *
 * Author: Jerry Chen
 *
 * Date: Jun. 27, 2002
 *
 */

#ifndef __RXTX_H__
#define __RXTX_H__

#include "device.h"

#define DEFAULT_MSDU_LIFETIME_RES_64us
#define DEFAULT_MGN_LIFETIME_RES_64us

/*---------------------  Export Definitions -------------------------*/

/*---------------------  Export Variables  --------------------------*/

/*---------------------  Export Functions  --------------------------*/

/* MIC HDR data header */
struct vnt_mic_hdr {} __packed;

/* RsvTime buffer header */
struct vnt_rrv_time_rts {} __packed;

struct vnt_rrv_time_cts {} __packed;

struct vnt_rrv_time_ab {} __packed;

/* TX data header */
struct vnt_tx_datahead_g {} __packed;

struct vnt_tx_datahead_g_fb {} __packed;

struct vnt_tx_datahead_ab {} __packed;

struct vnt_tx_datahead_a_fb {} __packed;

/* RTS buffer header */
struct vnt_rts_g {} __packed __aligned();

struct vnt_rts_g_fb {} __packed __aligned();

struct vnt_rts_ab {} __packed __aligned();

struct vnt_rts_a_fb {} __packed __aligned();

/* CTS buffer header */
struct vnt_cts {} __packed __aligned();

struct vnt_cts_fb {} __packed __aligned();

struct vnt_tx_fifo_head {} __packed;

struct vnt_tx_short_buf_head {} __packed;

int vnt_generate_fifo_header(struct vnt_private *priv, u32 dma_idx,
			     struct vnt_tx_desc *head_td, struct sk_buff *skb);
int vnt_beacon_make(struct vnt_private *priv, struct ieee80211_vif *vif);
int vnt_beacon_enable(struct vnt_private *priv, struct ieee80211_vif *vif,
		      struct ieee80211_bss_conf *conf);

#endif /* __RXTX_H__ */