summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_var.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-07-20 21:36:08 +0000
committersam <sam@FreeBSD.org>2003-07-20 21:36:08 +0000
commit51c8bf1aebf18e644d2c3354aa5e0e5048baab1e (patch)
tree6b4b08b659abfee0261b08146037555ec5351239 /sys/net80211/ieee80211_var.h
parent6d201c6f71fac3e288a6c52e28186f84237bdb36 (diff)
downloadFreeBSD-src-51c8bf1aebf18e644d2c3354aa5e0e5048baab1e.zip
FreeBSD-src-51c8bf1aebf18e644d2c3354aa5e0e5048baab1e.tar.gz
o change ieee80211_new_state handling to use a proper method that drivers
override in their sub-class; this eliminates the hack of interpreting the EINPROGRESS return value to mean "don't do any of the normal work" o correct active scanning so the first channel is only scanned once and so per-channel passive mode is properly honored o expose 802.11 FSM state names so every driver doesn't keep a private copy o eliminate node parameter to ieee80211_begin_scan; it was not being used
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r--sys/net80211/ieee80211_var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h
index 6956c37..2b2f0b0 100644
--- a/sys/net80211/ieee80211_var.h
+++ b/sys/net80211/ieee80211_var.h
@@ -137,7 +137,8 @@ struct ieee80211com {
struct mbuf *, int, int, u_int32_t, u_int);
int (*ic_send_mgmt)(struct ieee80211com *,
struct ieee80211_node *, int, int);
- int (*ic_newstate)(void *, enum ieee80211_state);
+ int (*ic_newstate)(struct ieee80211com *,
+ enum ieee80211_state, int);
void (*ic_newassoc)(struct ieee80211com *,
struct ieee80211_node *, int);
u_int8_t ic_myaddr[IEEE80211_ADDR_LEN];
OpenPOWER on IntegriCloud