Adjust tx power based on user preferences.
This commit is contained in:
parent
0cfa855f81
commit
7563bf8d6a
@ -2326,6 +2326,9 @@ ral_set_chan(struct ral_softc *sc, struct ieee80211_channel *c)
|
||||
else
|
||||
power = 31;
|
||||
|
||||
/* adjust txpower using ifconfig settings */
|
||||
power -= (100 - ic->ic_txpowlimit) / 8;
|
||||
|
||||
DPRINTFN(2, ("setting channel to %u, txpower to %u\n", chan, power));
|
||||
|
||||
switch (sc->rf_rev) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user