]> 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)
commit0fb204512d59bd453abe692cdf5f0c29f0cec91b
tree399c387868028130d6d9ca530cb23557103de4dc
parent591e1de11ed3a9565181ef892b806363a30b88fd
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