airport extreme with openbsd hostap mode

Ben Lovett <[email protected]> Thu, 13 Feb 2003 19:00:14 -0800
Newsgroups gmane.network.wireless.bsd.general
Message-ID <[email protected]>
For those of you who are interested.. This allows my airport extreme 
card to associate and talk to the network now. It has not been 
committed yet however.

Regards,

Ben

Begin forwarded message:

> From: "Todd C. Miller" <[email protected]>
> Date: Thu Feb 13, 2003  12:38:56 PM US/Pacific
> To: Ben Lovett <[email protected]>
> Cc: [email protected]
> Subject: Re: HostAP mode and 802.11g (specifically Airport Extreme)
>
> The HostAP code currently in NetBSD and FreeBSD has no relationship
> to what is in OpenBSD.  However, the fix may be as simple as the
> following.  Please let me know if this makes things work.
>
>  - todd
>
> Index: sys/dev/ic/if_wi_hostap.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/ic/if_wi_hostap.c,v
> retrieving revision 1.23
> diff -u -r1.23 if_wi_hostap.c
> --- sys/dev/ic/if_wi_hostap.c	21 Jan 2003 20:09:39 -0000	1.23
> +++ sys/dev/ic/if_wi_hostap.c	13 Feb 2003 20:37:04 -0000
> @@ -728,7 +728,7 @@
>  	struct wi_80211_hdr	*resp_hdr;
>  	u_int16_t		capinfo;
>  	u_int16_t		lstintvl;
> -	u_int8_t		rates[8];
> +	u_int8_t		rates[32];
>  	int			ssid_len, rates_len;
>  	struct ieee80211_nwid	ssid;
>  	u_int16_t		status;
>
>

--
*bsd wireless list, a bawug thing <http://www.bawug.org/>
[un]subscribe: http://lists.bawug.org/mailman/listinfo/bsd-wireless/