Deleted Added
full compact
if_urtwnvar.h (289168) if_urtwnvar.h (289758)
1/*-
2 * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
3 *
4 * Permission to use, copy, modify, and 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.
7 *
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
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 *
16 * $OpenBSD: if_urtwnreg.h,v 1.3 2010/11/16 18:02:59 damien Exp $
1/*-
2 * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
3 *
4 * Permission to use, copy, modify, and 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.
7 *
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
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 *
16 * $OpenBSD: if_urtwnreg.h,v 1.3 2010/11/16 18:02:59 damien Exp $
17 * $FreeBSD: head/sys/dev/usb/wlan/if_urtwnvar.h 289168 2015-10-12 05:21:51Z adrian $
17 * $FreeBSD: head/sys/dev/usb/wlan/if_urtwnvar.h 289758 2015-10-22 15:42:53Z avos $
18 */
19
20#define URTWN_RX_LIST_COUNT 1
21#define URTWN_TX_LIST_COUNT 8
22#define URTWN_HOST_CMD_RING_COUNT 32
23
24#define URTWN_RXBUFSZ (16 * 1024)
25#define URTWN_TXBUFSZ (sizeof(struct r92c_tx_desc) + IEEE80211_MAX_LEN)
26#define URTWN_RX_DESC_SIZE (sizeof(struct r92c_rx_stat))
27#define URTWN_TX_DESC_SIZE (sizeof(struct r92c_tx_desc))
28
18 */
19
20#define URTWN_RX_LIST_COUNT 1
21#define URTWN_TX_LIST_COUNT 8
22#define URTWN_HOST_CMD_RING_COUNT 32
23
24#define URTWN_RXBUFSZ (16 * 1024)
25#define URTWN_TXBUFSZ (sizeof(struct r92c_tx_desc) + IEEE80211_MAX_LEN)
26#define URTWN_RX_DESC_SIZE (sizeof(struct r92c_rx_stat))
27#define URTWN_TX_DESC_SIZE (sizeof(struct r92c_tx_desc))
28
29#define URTWN_RIDX_COUNT 28
30
31#define URTWN_TX_TIMEOUT 5000 /* ms */
32
33#define URTWN_LED_LINK 0
34#define URTWN_LED_DATA 1
35
36struct urtwn_rx_radiotap_header {
37 struct ieee80211_radiotap_header wr_ihdr;
38 uint8_t wr_flags;

--- 165 unchanged lines hidden ---
29#define URTWN_TX_TIMEOUT 5000 /* ms */
30
31#define URTWN_LED_LINK 0
32#define URTWN_LED_DATA 1
33
34struct urtwn_rx_radiotap_header {
35 struct ieee80211_radiotap_header wr_ihdr;
36 uint8_t wr_flags;

--- 165 unchanged lines hidden ---