]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - net/mac80211/iface.c
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)
commit0430c883470d0c9a23661ea9f02c56b1d91cf93c
tree719ac23c82a3ed725ad3e0155cf223720be02e75
parent74608aca4d82e2855b1a6a2cd60331d1a98f2d6a
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