]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: Save original maximum regulatory transmission power for the calucation...
authorHong Wu <Hong.Wu@dspg.com>
Wed, 11 Jan 2012 18:33:39 +0000 (20:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:16:54 +0000 (14:16 -0500)
commit77dc7c65b6b24e013be38f70cc95b92d57d35fd9
tree399c387868028130d6d9ca530cb23557103de4dc
parentbf00ab0127e9dcca4300cf438b25a4d7d3dbb1b7
wireless: Save original maximum regulatory transmission power for the calucation of the local maximum transmit power

The local maximum transmit power is the maximum power a wireless device
allowed to transmit. If Power Constraint is presented, the local maximum
power equals to the maximum allowed power defined in regulatory domain
minus power constraint.

The maximum transmit power is maximum power a wireless device capable of
transmitting, and should be used in Power Capability element (7.3.2.16
IEEE802.11 2007).

The transmit power from a wireless device should not greater than the
local maximum transmit power.

The maximum transmit power was not calculated correctly in the current
Linux wireless/mac80211 when Power Constraint is presented.

Signed-off-by: Hong Wu <hong.wu@dspg.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/wireless/reg.c