summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi/if_wivar.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-12-08 17:36:28 +0000
committersam <sam@FreeBSD.org>2004-12-08 17:36:28 +0000
commit0c82ed616510db58f8cd9df461314ab8010dbd72 (patch)
tree49bda71e25be5e467b14d54d0f1023a59baa051a /sys/dev/wi/if_wivar.h
parent302c94fa293881d3ac8c99a87d95ea2adb449fbb (diff)
downloadFreeBSD-src-0c82ed616510db58f8cd9df461314ab8010dbd72.zip
FreeBSD-src-0c82ed616510db58f8cd9df461314ab8010dbd72.tar.gz
o Update for net80211 changes
o Import some minor fixes from netbsd
Diffstat (limited to 'sys/dev/wi/if_wivar.h')
-rw-r--r--sys/dev/wi/if_wivar.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/wi/if_wivar.h b/sys/dev/wi/if_wivar.h
index 0a8388e..facc42b 100644
--- a/sys/dev/wi/if_wivar.h
+++ b/sys/dev/wi/if_wivar.h
@@ -59,7 +59,10 @@
#define WI_RID_ROAMING_MODE 0xFC2D
#define WI_RID_CUR_TX_RATE 0xFD44 /* current TX rate */
+#define WI_MAX_AID 256 /* max stations for ap operation */
+
struct wi_softc {
+ struct arpcom sc_arp;
struct ieee80211com sc_ic;
int (*sc_newstate)(struct ieee80211com *,
enum ieee80211_state, int);
@@ -134,7 +137,6 @@ struct wi_softc {
int sc_txcur; /* index of current TX*/
int sc_tx_timer;
int sc_scan_timer;
- int sc_syn_timer;
struct wi_counters sc_stats;
u_int16_t sc_ibss_port;
@@ -160,6 +162,7 @@ struct wi_softc {
u_int16_t wi_confbits_param0;
} wi_debug;
+ struct timeval sc_last_syn;
int sc_false_syns;
u_int16_t sc_txbuf[IEEE80211_MAX_LEN/2];
@@ -175,7 +178,7 @@ struct wi_softc {
} u_rx_rt;
int sc_rx_th_len;
};
-#define sc_if sc_ic.ic_if
+#define sc_if sc_arp.ac_if
#define sc_tx_th u_tx_rt.th
#define sc_rx_th u_rx_rt.th
OpenPOWER on IntegriCloud