Deleted Added
full compact
ieee80211_ht.h (187797) ieee80211_ht.h (191756)
1/*-
2 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 8 unchanged lines hidden (view full) ---

17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
1/*-
2 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 8 unchanged lines hidden (view full) ---

17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 * $FreeBSD: head/sys/net80211/ieee80211_ht.h 187797 2009-01-27 23:00:38Z sam $
25 * $FreeBSD: head/sys/net80211/ieee80211_ht.h 191756 2009-05-02 20:25:22Z sam $
26 */
27#ifndef _NET80211_IEEE80211_HT_H_
28#define _NET80211_IEEE80211_HT_H_
29
30/*
31 * 802.11n protocol implementation definitions.
32 */
33
34#define IEEE80211_AGGR_BAWMAX 64 /* max block ack window size */
35/* threshold for aging overlapping non-HT bss */
36#define IEEE80211_NONHT_PRESENT_AGE msecs_to_ticks(60*1000)
37
26 */
27#ifndef _NET80211_IEEE80211_HT_H_
28#define _NET80211_IEEE80211_HT_H_
29
30/*
31 * 802.11n protocol implementation definitions.
32 */
33
34#define IEEE80211_AGGR_BAWMAX 64 /* max block ack window size */
35/* threshold for aging overlapping non-HT bss */
36#define IEEE80211_NONHT_PRESENT_AGE msecs_to_ticks(60*1000)
37
38typedef uint16_t ieee80211_seq;
39
40struct ieee80211_tx_ampdu {
41 struct ieee80211_node *txa_ni; /* back pointer */
42 u_short txa_flags;
43#define IEEE80211_AGGR_IMMEDIATE 0x0001 /* BA policy */
44#define IEEE80211_AGGR_XCHGPEND 0x0002 /* ADDBA response pending */
45#define IEEE80211_AGGR_RUNNING 0x0004 /* ADDBA response received */
46#define IEEE80211_AGGR_SETUP 0x0008 /* deferred state setup */
47#define IEEE80211_AGGR_NAK 0x0010 /* peer NAK'd ADDBA request */

--- 159 unchanged lines hidden ---
38struct ieee80211_tx_ampdu {
39 struct ieee80211_node *txa_ni; /* back pointer */
40 u_short txa_flags;
41#define IEEE80211_AGGR_IMMEDIATE 0x0001 /* BA policy */
42#define IEEE80211_AGGR_XCHGPEND 0x0002 /* ADDBA response pending */
43#define IEEE80211_AGGR_RUNNING 0x0004 /* ADDBA response received */
44#define IEEE80211_AGGR_SETUP 0x0008 /* deferred state setup */
45#define IEEE80211_AGGR_NAK 0x0010 /* peer NAK'd ADDBA request */

--- 159 unchanged lines hidden ---