]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211/mac80211: use reduced txpower for 5 and 10 MHz
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Mon, 8 Jul 2013 14:55:55 +0000 (16:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jul 2013 06:58:08 +0000 (09:58 +0300)
commit94465902d1e476f8eda35544a407431c3e32190e
tree719ac23c82a3ed725ad3e0155cf223720be02e75
parent1b5200e13a3f08d8abb40134b7b66a7c8ffabb4d
cfg80211/mac80211: use reduced txpower for 5 and 10 MHz

Some regulations (like germany, but also FCC) express their transmission
power limit in dBm/MHz or mW/MHz. To cope with that and be on the safe
side, reduce the maximum power to half (10 MHz) or quarter (5 MHz)
when operating on these reduced bandwidth channels.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
include/net/cfg80211.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/mlme.c