Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 2007 07:43:54 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 112416 for review
Message-ID:  <200701020743.l027hshV059030@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112416

Change 112416 by kmacy@kmacy_serendipity:sam_wifi on 2007/01/02 07:43:09

	set beacon interval in scan results
	try to set a rate :-/

Affected files ...

.. //depot/projects/wifi/sys/dev/wi/if_wi.c#26 edit

Differences ...

==== //depot/projects/wifi/sys/dev/wi/if_wi.c#26 (text+ko) ====

@@ -3098,9 +3098,10 @@
 		ap->noise   = le16toh(ws_dat.wi_noise);
 		ap->quality = ap->signal - ap->noise;
 		sp.capinfo = ap->capinfo = le16toh(ws_dat.wi_capinfo);
-		ap->interval = le16toh(ws_dat.wi_interval);
-		rates[0] = ap->rate    = le16toh(ws_dat.wi_rate);
-		rates[1] = 0;
+		sp.bintval = ap->interval = le16toh(ws_dat.wi_interval);
+		ap->rate = le16toh(ws_dat.wi_rate);
+		rates[1] = 1;
+		rates[2] = (uint8_t)ap->rate;
 		ap->namelen = le16toh(ws_dat.wi_namelen);
 		if (ap->namelen > sizeof(ap->name))
 			ap->namelen = sizeof(ap->name);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701020743.l027hshV059030>