]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: Change max TX power to be in mBm instead of dBm
authorJouni Malinen <j@w1.fi>
Sat, 22 Nov 2008 20:00:31 +0000 (22:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 26 Nov 2008 14:47:48 +0000 (09:47 -0500)
commit19362b48efdd927f309c67c7f23079103508de43
tree9ec81c268e2e16585a4b604237a36fc2728805fb
parent3805049ac41996c3d74a55c4685575217a4d3a88
nl80211: Change max TX power to be in mBm instead of dBm

In order to be consistent with NL80211_ATTR_POWER_RULE_MAX_EIRP,
change NL80211_FREQUENCY_ATTR_MAX_TX_POWER to use mBm and U32 instead
of dBm and U8. This is a userspace interface change, but the previous
version had not yet been pushed upstream and there are no userspace
programs using this yet, so there is justification to get this change in
as long as it goes in before the previous version gets out.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
net/wireless/nl80211.c