Subject: Re: wiconfig ap_scan fix
To: Martin Husemann <martin@duskware.de>
From: Matt Doughty <mdoughty@japan.ea.com>
List: current-users
Date: 04/03/2002 01:22:48
You are correct it seems I'm the one who can't count. I think this
should be the correct patch (I think):
--- wiconfig.c.original Wed Apr 3 17:51:47 2002
+++ wiconfig.c Wed Apr 3 17:52:13 2002
@@ -180,7 +180,7 @@
wreq.wi_type = WI_RID_SCAN_APS;
wreq.wi_len = 4;
/* note chan. 1 is the least significant bit */
- wreq.wi_val[0] = 0x7ff; /* 1 bit per channel, 1-11 */
+ wreq.wi_val[0] = 0x3fff; /* 1 bit per channel, 1-14 */
wreq.wi_val[1] = 3; /* tx rate */
/* write the request */
If I'm wrong this time I have just forgotten how to do base conversions
and someone with better brains or a calculator will have to fix it. :)
--Matt
On Tue, Apr 02, 2002 at 06:00:54PM +0200, Martin Husemann wrote:
> > - wreq.wi_val[0] = 0x7ff; /* 1 bit per channel, 1-11 */
> > + wreq.wi_val[0] = 0x7fff; /* 1 bit per channel, 1-14 */
>
> Either I can not count or you are now enabling channels 1-15.
>
> Otherwise this looks good (and the additional channels are needed for parts
> of europe too)
>
>
> Martin
--
"Take away them collisions and the common channel and it's like Christianity
without Christ." -Jim Breen (speaking about "full-duplex" Ethernet)