From 0b4ed14b52d23be9b4d33be078dfe30b1a0bb1f3 Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 11 Apr 2002 07:21:16 +0000 Subject: Integrate the hostap stuff that Thomas Skibo wrote. This code was for 4.5-release, so I've ported it to -current and made a few minor tweaks. The biggest non-style tweak was to not make access point the default. More changes will be needed to get this actually working, but I wanted to get a relatively pure baseline. This doesn't seem to break what works now. --- sys/dev/wi/if_wivar.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/dev/wi/if_wivar.h') diff --git a/sys/dev/wi/if_wivar.h b/sys/dev/wi/if_wivar.h index d86f0b7..cc1eaf8 100644 --- a/sys/dev/wi/if_wivar.h +++ b/sys/dev/wi/if_wivar.h @@ -136,6 +136,7 @@ struct wi_softc { u_int16_t wi_pm_enabled; u_int16_t wi_mor_enabled; u_int16_t wi_max_sleep; + u_int16_t wi_supprates; u_int16_t wi_authtype; u_int16_t wi_roaming; @@ -148,6 +149,7 @@ struct wi_softc { struct wi_counters wi_stats; int wi_has_wep; int wi_use_wep; + int wi_authmode; int wi_tx_key; struct wi_ltv_keys wi_keys; #ifdef WICACHE @@ -155,6 +157,10 @@ struct wi_softc { struct wi_sigcache wi_sigcache[MAXWICACHE]; int wi_nextitem; #endif +#ifdef WI_HOSTAP + struct wihap_info wi_hostap_info; + u_int32_t wi_icv; +#endif struct callout_handle wi_stat_ch; struct mtx wi_mtx; int wi_nic_type; @@ -193,3 +199,4 @@ void wi_shutdown(device_t); int wi_alloc(device_t, int); void wi_free(device_t); extern devclass_t wi_devclass; +int wi_mgmt_xmit(struct wi_softc *, caddr_t, int); -- cgit v1.1