kernel_optimize_test/net/wireless
Stanislaw Gruszka 5e31fc0815 wireless: reg: restore previous behaviour of chan->max_power calculations
commit eccc068e8e
Author: Hong Wu <Hong.Wu@dspg.com>
Date:   Wed Jan 11 20:33:39 2012 +0200

    wireless: Save original maximum regulatory transmission power for the calucation of the local maximum transmit pow

changed the way we calculate chan->max_power as min(chan->max_power,
chan->max_reg_power). That broke rt2x00 (and perhaps some other
drivers) that do not set chan->max_power. It is not so easy to fix this
problem correctly in rt2x00.

According to commit eccc068e8 changelog, change claim only to save
maximum regulatory power - changing setting of chan->max_power was side
effect. This patch restore previous calculations of chan->max_power and
do not touch chan->max_reg_power.

Cc: stable@vger.kernel.org # 3.4+
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2012-07-25 16:11:12 +02:00
..
.gitignore
chan.c cfg80211: fix cfg80211_can_beacon_sec_chan prototype 2012-05-16 13:08:15 -04:00
core.c Net: wireless: core.c: fixed checkpatch warnings 2012-05-16 12:46:32 -04:00
core.h cfg80211: remove double prototype 2012-05-16 12:46:33 -04:00
db.txt
debugfs.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debugfs.h
ethtool.c cfg80211: Add framework to support ethtool stats. 2012-05-08 21:53:49 -04:00
ethtool.h
genregdb.awk cfg80211: relicense reg.c reg.h and genregdb.awk to ISC 2012-01-04 14:30:41 -05:00
ibss.c cfg80211: use sme_state in ibss start/join path 2012-06-04 15:21:28 -04:00
Kconfig
lib80211_crypt_ccmp.c net: Convert net_ratelimit uses to net_<level>_ratelimited 2012-05-15 13:45:03 -04:00
lib80211_crypt_tkip.c net: Convert net_ratelimit uses to net_<level>_ratelimited 2012-05-15 13:45:03 -04:00
lib80211_crypt_wep.c
lib80211.c
Makefile
mesh.c {nl,cfg,mac}80211: Allow user to see/configure HT protection mode 2012-05-08 21:53:59 -04:00
mlme.c wireless: Convert compare_ether_addr to ether_addr_equal 2012-05-09 20:49:19 -04:00
nl80211.c nl80211: refactor valid channel type check 2012-05-16 13:08:16 -04:00
nl80211.h cfg80211: add channel switch notify event 2012-04-11 16:23:59 -04:00
radiotap.c
reg.c wireless: reg: restore previous behaviour of chan->max_power calculations 2012-07-25 16:11:12 +02:00
reg.h cfg80211: relicense reg.c reg.h and genregdb.awk to ISC 2012-01-04 14:30:41 -05:00
regdb.h cfg80211: relicense reg.c reg.h and genregdb.awk to ISC 2012-01-04 14:30:41 -05:00
scan.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next 2012-05-14 18:00:48 -04:00
sme.c cfg80211: stop tracking authenticated state 2012-02-06 14:50:37 -05:00
sysfs.c
sysfs.h
util.c cfg80211: check iface combinations only when iface is running 2012-06-09 10:31:56 +02:00
wext-compat.c cfg80211: Add channel information to NL80211_CMD_GET_INTERFACE 2012-04-13 14:32:49 -04:00
wext-compat.h
wext-core.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
wext-priv.c
wext-proc.c
wext-sme.c wireless: Convert compare_ether_addr to ether_addr_equal 2012-05-09 20:49:19 -04:00
wext-spy.c wireless: Convert compare_ether_addr to ether_addr_equal 2012-05-09 20:49:19 -04:00