1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
21 #define DEFAULT_MSDU_LIFETIME_RES_64us 8000 /* 64us */
22 #define DEFAULT_MGN_LIFETIME_RES_64us 125 /* 64us */
25 /*--------------------- Export Definitions -------------------------*/
27 /*--------------------- Export Variables --------------------------*/
29 /*--------------------- Export Functions --------------------------*/
31 /* MIC HDR data header */
35 u8 mic_addr2
[ETH_ALEN
];
36 u8 ccmp_pn
[IEEE80211_CCMP_PN_LEN
];
45 u16 packing
; /* packing to 48 bytes */
48 /* RsvTime buffer header */
49 struct vnt_rrv_time_rts
{
50 __le16 rts_rrv_time_ba
;
51 __le16 rts_rrv_time_aa
;
52 __le16 rts_rrv_time_bb
;
58 struct vnt_rrv_time_cts
{
59 __le16 cts_rrv_time_ba
;
65 struct vnt_rrv_time_ab
{
71 struct vnt_tx_datahead_g
{
72 struct vnt_phy_field b
;
73 struct vnt_phy_field a
;
76 __le16 time_stamp_off_b
;
77 __le16 time_stamp_off_a
;
80 struct vnt_tx_datahead_g_fb
{
81 struct vnt_phy_field b
;
82 struct vnt_phy_field a
;
87 __le16 time_stamp_off_b
;
88 __le16 time_stamp_off_a
;
91 struct vnt_tx_datahead_ab
{
92 struct vnt_phy_field ab
;
94 __le16 time_stamp_off
;
97 struct vnt_tx_datahead_a_fb
{
98 struct vnt_phy_field a
;
100 __le16 time_stamp_off
;
105 /* RTS buffer header */
107 struct vnt_phy_field b
;
108 struct vnt_phy_field a
;
113 struct ieee80211_rts data
;
116 struct vnt_rts_g_fb
{
117 struct vnt_phy_field b
;
118 struct vnt_phy_field a
;
123 __le16 rts_duration_ba_f0
;
124 __le16 rts_duration_aa_f0
;
125 __le16 rts_duration_ba_f1
;
126 __le16 rts_duration_aa_f1
;
127 struct ieee80211_rts data
;
131 struct vnt_phy_field ab
;
134 struct ieee80211_rts data
;
137 struct vnt_rts_a_fb
{
138 struct vnt_phy_field a
;
141 __le16 rts_duration_f0
;
142 __le16 rts_duration_f1
;
143 struct ieee80211_rts data
;
146 /* CTS buffer header */
148 struct vnt_phy_field b
;
151 struct ieee80211_cts data
;
156 struct vnt_phy_field b
;
159 __le16 cts_duration_ba_f0
;
160 __le16 cts_duration_ba_f1
;
161 struct ieee80211_cts data
;
165 struct vnt_tx_fifo_head
{
166 u8 tx_key
[WLAN_KEY_LEN_CCMP
];
173 struct vnt_tx_short_buf_head
{
176 struct vnt_phy_field ab
;
178 __le16 time_stamp_off
;
181 int vnt_generate_fifo_header(struct vnt_private
*priv
, u32 dma_idx
,
182 struct vnt_tx_desc
*head_td
, struct sk_buff
*skb
);
183 int vnt_beacon_make(struct vnt_private
*priv
, struct ieee80211_vif
*vif
);
184 int vnt_beacon_enable(struct vnt_private
*priv
, struct ieee80211_vif
*vif
,
185 struct ieee80211_bss_conf
*conf
);
187 #endif /* __RXTX_H__ */