mac80211: Accept auto txpower setting
authorMattias Nissler <mattias.nissler@gmx.de>
Wed, 24 Oct 2007 21:30:36 +0000 (23:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:19 +0000 (14:54 -0800)
commit6a4329554c527e86c2745bc001c29bb8d1b8efaf
treee85887daee02c3df9af312c83b085a39c414b218
parentc7b6ea24b43afb5749cb704e143df19d70e23dea
mac80211: Accept auto txpower setting

This changes the SIWTXPOWER ioctl to also accept a txpower setting of
"automatic". Since mac80211 currently cannot tell drivers to automatically
adjust tx power, we select the tx power level of the current channel. While
this is kind of a hack, it certainly saves some iwconfig users from headaches.

Signed-off-by: Mattias Nissler <mattias.nissler@gmx.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/ieee80211_ioctl.c
This page took 0.025206 seconds and 5 git commands to generate.