ieee80211_node.h (118887) | ieee80211_node.h (119150) |
---|---|
1/*- 2 * Copyright (c) 2001 Atsushi Onoe 3 * Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 15 unchanged lines hidden (view full) --- 24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * | 1/*- 2 * Copyright (c) 2001 Atsushi Onoe 3 * Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 15 unchanged lines hidden (view full) --- 24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/net80211/ieee80211_node.h 118887 2003-08-13 22:09:44Z sam $ | 32 * $FreeBSD: head/sys/net80211/ieee80211_node.h 119150 2003-08-19 22:17:04Z sam $ |
33 */ 34#ifndef _NET80211_IEEE80211_NODE_H_ 35#define _NET80211_IEEE80211_NODE_H_ 36 37#define IEEE80211_PSCAN_WAIT 5 /* passive scan wait */ 38#define IEEE80211_TRANS_WAIT 5 /* transition wait */ 39#define IEEE80211_INACT_WAIT 5 /* inactivity timer interval */ 40#define IEEE80211_INACT_MAX (300/IEEE80211_INACT_WAIT) --- 18 unchanged lines hidden (view full) --- 59 * the ieee80211com structure. 60 */ 61struct ieee80211_node { 62 TAILQ_ENTRY(ieee80211_node) ni_list; 63 LIST_ENTRY(ieee80211_node) ni_hash; 64 u_int ni_refcnt; 65 66 /* hardware */ | 33 */ 34#ifndef _NET80211_IEEE80211_NODE_H_ 35#define _NET80211_IEEE80211_NODE_H_ 36 37#define IEEE80211_PSCAN_WAIT 5 /* passive scan wait */ 38#define IEEE80211_TRANS_WAIT 5 /* transition wait */ 39#define IEEE80211_INACT_WAIT 5 /* inactivity timer interval */ 40#define IEEE80211_INACT_MAX (300/IEEE80211_INACT_WAIT) --- 18 unchanged lines hidden (view full) --- 59 * the ieee80211com structure. 60 */ 61struct ieee80211_node { 62 TAILQ_ENTRY(ieee80211_node) ni_list; 63 LIST_ENTRY(ieee80211_node) ni_hash; 64 u_int ni_refcnt; 65 66 /* hardware */ |
67 u_int8_t ni_rssi; /* recv ssi */ | |
68 u_int32_t ni_rstamp; /* recv timestamp */ | 67 u_int32_t ni_rstamp; /* recv timestamp */ |
69 u_int8_t ni_rantenna; /* recv antenna */ | 68 u_int8_t ni_rssi; /* recv ssi */ |
70 71 /* header */ 72 u_int8_t ni_macaddr[IEEE80211_ADDR_LEN]; 73 u_int8_t ni_bssid[IEEE80211_ADDR_LEN]; 74 75 /* beacon, probe response */ 76 u_int8_t ni_tstamp[8]; /* from last rcv'd beacon */ 77 u_int16_t ni_intval; /* beacon interval */ --- 71 unchanged lines hidden --- | 69 70 /* header */ 71 u_int8_t ni_macaddr[IEEE80211_ADDR_LEN]; 72 u_int8_t ni_bssid[IEEE80211_ADDR_LEN]; 73 74 /* beacon, probe response */ 75 u_int8_t ni_tstamp[8]; /* from last rcv'd beacon */ 76 u_int16_t ni_intval; /* beacon interval */ --- 71 unchanged lines hidden --- |