PERFORCE change 135205 for review
Sepherosa Ziehau
sephe at FreeBSD.org
Mon Feb 11 02:33:00 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=135205
Change 135205 by sephe at sephe_zealot:sam_wifi on 2008/02/11 10:32:44
Before add real txpower limit support to 2560 part, force channel
TX power to 24(dBm?)
Affected files ...
.. //depot/projects/wifi/sys/dev/ral/rt2560.c#35 edit
Differences ...
==== //depot/projects/wifi/sys/dev/ral/rt2560.c#35 (text) ====
@@ -2230,6 +2230,7 @@
if (chan == 0 || chan == IEEE80211_CHAN_ANY)
return;
+#if 0
if (IEEE80211_IS_CHAN_2GHZ(c))
power = min(sc->txpow[chan - 1], 31);
else
@@ -2237,6 +2238,9 @@
/* adjust txpower using ifconfig settings */
power -= (100 - ic->ic_txpowlimit) / 8;
+#else
+ power = 24;
+#endif
DPRINTFN(2, ("setting channel to %u, txpower to %u\n", chan, power));
More information about the p4-projects
mailing list