aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/acx.h
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@nokia.com>2009-06-12 07:15:46 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 14:57:46 -0400
commit9f483dc3d1b0b1695c8177c1dea2e721954b10fb (patch)
tree000c5b1f96725d60815105c134ebaa1cbea3628b /drivers/net/wireless/wl12xx/acx.h
parent052a625a859ceba68022862eeee70511f56483a5 (diff)
wl12xx: pass the wake up condition when configuring the wake up event
Changed the function wl12xx_acx_wake_up_conditions() so that it receives an argument with the actual wake up condition, instead of having WAKE_UP_EVENT_DTIM_BITMAP hardcoded. This is needed because we have to use different conditions in 1271. Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Kalle Valo <kalle.valo@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/acx.h')
-rw-r--r--drivers/net/wireless/wl12xx/acx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/acx.h b/drivers/net/wireless/wl12xx/acx.h
index 549e537d2e6..92e724875ad 100644
--- a/drivers/net/wireless/wl12xx/acx.h
+++ b/drivers/net/wireless/wl12xx/acx.h
@@ -1112,7 +1112,8 @@ int wl12xx_acx_frame_rates(struct wl12xx *wl, u8 ctrl_rate, u8 ctrl_mod,
1112 u8 mgt_rate, u8 mgt_mod); 1112 u8 mgt_rate, u8 mgt_mod);
1113int wl12xx_acx_station_id(struct wl12xx *wl); 1113int wl12xx_acx_station_id(struct wl12xx *wl);
1114int wl12xx_acx_default_key(struct wl12xx *wl, u8 key_id); 1114int wl12xx_acx_default_key(struct wl12xx *wl, u8 key_id);
1115int wl12xx_acx_wake_up_conditions(struct wl12xx *wl, u8 listen_interval); 1115int wl12xx_acx_wake_up_conditions(struct wl12xx *wl, u8 wake_up_event,
1116 u8 listen_interval);
1116int wl12xx_acx_sleep_auth(struct wl12xx *wl, u8 sleep_auth); 1117int wl12xx_acx_sleep_auth(struct wl12xx *wl, u8 sleep_auth);
1117int wl12xx_acx_fw_version(struct wl12xx *wl, char *buf, size_t len); 1118int wl12xx_acx_fw_version(struct wl12xx *wl, char *buf, size_t len);
1118int wl12xx_acx_tx_power(struct wl12xx *wl, int power); 1119int wl12xx_acx_tx_power(struct wl12xx *wl, int power);