diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2008-12-12 20:58:49 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2008-12-12 20:58:49 +0000 |
commit | 53176d33e3b1e73edece5f958e5c2c5c9c4008a3 (patch) | |
tree | f505c08ffd83984e1f24bfe054a72bb81d724b87 /sys/dev/ic/rt2860var.h | |
parent | 9a4a4f78d1f634e6792adbffb22ad7f601037cf9 (diff) |
- fix HW crypto using group keys (this should fix the "ExtIV bit not set"
logged by some WPA supplicants when connecting to a ral(4) WPA AP.)
- get rid of the ugly ack_rate, rate2mcs functions (pre-compute ACKs
duration for all rates at node association time.)
- lot of clean up, prepare for future enhancements
Diffstat (limited to 'sys/dev/ic/rt2860var.h')
-rw-r--r-- | sys/dev/ic/rt2860var.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/dev/ic/rt2860var.h b/sys/dev/ic/rt2860var.h index b0b8bb4372a..f65838ada69 100644 --- a/sys/dev/ic/rt2860var.h +++ b/sys/dev/ic/rt2860var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2860var.h,v 1.8 2008/07/21 19:41:44 damien Exp $ */ +/* $OpenBSD: rt2860var.h,v 1.9 2008/12/12 20:58:48 damien Exp $ */ /*- * Copyright (c) 2007 @@ -95,6 +95,12 @@ struct rt2860_rx_ring { struct rt2860_rx_data data[RT2860_RX_RING_COUNT]; }; +struct rt2860_node { + struct ieee80211_node ni; + uint8_t ridx[IEEE80211_RATE_MAXSIZE]; + uint8_t ctl_ridx[IEEE80211_RATE_MAXSIZE]; +}; + struct rt2860_softc { struct device sc_dev; @@ -117,10 +123,10 @@ struct rt2860_softc { int sc_flags; #define RT2860_ENABLED (1 << 0) #define RT2860_FWLOADED (1 << 1) -#define RT2860_UPD_BEACON (1 << 2) -#define RT2860_ADVANCED_PS (1 << 3) +#define RT2860_ADVANCED_PS (1 << 2) uint32_t sc_ic_flags; + int fixed_ridx; struct rt2860_tx_ring txq[6]; struct rt2860_rx_ring rxq; @@ -134,6 +140,7 @@ struct rt2860_softc { int sc_tx_timer; int mgtqid; int sifs; + uint8_t qfullmsk; uint32_t mac_rev; uint8_t rf_rev; |