brcm80211: smac: use mac80211 channel data for tx power limits
authorSeth Forshee <seth.forshee@canonical.com>
Sat, 16 Jun 2012 12:47:54 +0000 (07:47 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 19:14:37 +0000 (15:14 -0400)
commit2cf5089ed5ae4a8f73427234cb83c42eaaf34d46
tree1c8ec1be87a852c01cf25d83e1af11caf64979ab
parent2ab631f48cac65864a61007215187cb7511b0846
brcm80211: smac: use mac80211 channel data for tx power limits

Currently the limits from the internal X2 domain are used, regardless
of what regulatory rules are in effect. Instead use the power limits set
by the higher-level regulatory support.

The rules for the MIMO power limits are still always derived from the
world domain, pending guidance from Broadcom as to how these need to be
handled. This will be fixed later, but using the limits from the world
domain works for now.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/channel.c