From 51c8bf1aebf18e644d2c3354aa5e0e5048baab1e Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 20 Jul 2003 21:36:08 +0000 Subject: 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 --- sys/net80211/ieee80211_var.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/net80211/ieee80211_var.h') 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]; -- cgit v1.1