2 * Copyright (c) 2013 Eugene Krasnikov <k.eugene.e@gmail.com>
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
14 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20 #include <linux/etherdevice.h>
23 /* TODO describe all properties */
24 #define WCN36XX_802_11_HEADER_LEN 24
25 #define WCN36XX_BMU_WQ_TX 25
28 #define WCN36XX_TX_B_WQ_ID 0xA
29 #define WCN36XX_TX_U_WQ_ID 0x9
31 #define WCN36XX_BD_RATE_DATA 0
32 #define WCN36XX_BD_RATE_MGMT 2
33 #define WCN36XX_BD_RATE_CTRL 3
47 u32 mpdu_header_off
:8;
48 u32 mpdu_header_len
:8;
57 struct wcn36xx_rx_bd
{
76 struct wcn36xx_pdu pdu
;
98 u32 reorder_slot_id
:6;
106 u32 fr_type_subtype
:8;
119 struct wcn36xx_tx_bd
{
132 struct wcn36xx_pdu pdu
;
147 /*u32 tcp_udp_start_off:10;
155 int wcn36xx_rx_skb(struct wcn36xx
*wcn
, struct sk_buff
*skb
);
156 int wcn36xx_start_tx(struct wcn36xx
*wcn
,
157 struct wcn36xx_sta
*sta_priv
,
158 struct sk_buff
*skb
);
160 #endif /* _TXRX_H_ */