summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi/if_wivar.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-04-11 07:21:16 +0000
committerimp <imp@FreeBSD.org>2002-04-11 07:21:16 +0000
commit0b4ed14b52d23be9b4d33be078dfe30b1a0bb1f3 (patch)
treeb390bad81164cedb04a4ef4eb55f523388a229a7 /sys/dev/wi/if_wivar.h
parentf9f60207318d6373f0da852a06b1463e95641fec (diff)
downloadFreeBSD-src-0b4ed14b52d23be9b4d33be078dfe30b1a0bb1f3.zip
FreeBSD-src-0b4ed14b52d23be9b4d33be078dfe30b1a0bb1f3.tar.gz
Integrate the hostap stuff that Thomas Skibo <skibo@packbell.net>
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.
Diffstat (limited to 'sys/dev/wi/if_wivar.h')
-rw-r--r--sys/dev/wi/if_wivar.h7
1 files changed, 7 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud