]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1b45418e22f8fe3a8b5b28008d3f0a4f68c3c23
tree1c8ec1be87a852c01cf25d83e1af11caf64979ab
parent5abae2913fe12c77dd63e51ae2dc167fa1109d05
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