wl12xx: add power_level field to wlvif
authorEliad Peller <eliad@wizery.com>
Mon, 10 Oct 2011 08:13:11 +0000 (10:13 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Oct 2011 12:12:13 +0000 (15:12 +0300)
commit6bd650299046f00df6d7374c7f61c5afe6df6696
treed4b386acb9909478100cdb0f8c8876507b8bb83f
parent61f845f4f441a90e5328a78c6c4e0646d99fc2f0
wl12xx: add power_level field to wlvif

move power_level into the per-interface data.

mac80211 configures some values (e.g. band, channel)
globally, while we configure them per-interface.

In order to make it easier to keep track of the
configured value for each value while keeping sync
with mac80211, save these values both globally
and per-vif.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/init.c
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/wl12xx.h