diff options
Diffstat (limited to 'drivers/net/wireless/wl1251/wl1251.h')
-rw-r--r-- | drivers/net/wireless/wl1251/wl1251.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl1251/wl1251.h b/drivers/net/wireless/wl1251/wl1251.h index bb23cd522b2..a77f1bbbed0 100644 --- a/drivers/net/wireless/wl1251/wl1251.h +++ b/drivers/net/wireless/wl1251/wl1251.h | |||
@@ -129,6 +129,12 @@ enum wl1251_partition_type { | |||
129 | PART_TABLE_LEN | 129 | PART_TABLE_LEN |
130 | }; | 130 | }; |
131 | 131 | ||
132 | enum wl1251_station_mode { | ||
133 | STATION_ACTIVE_MODE, | ||
134 | STATION_POWER_SAVE_MODE, | ||
135 | STATION_IDLE, | ||
136 | }; | ||
137 | |||
132 | struct wl1251_partition { | 138 | struct wl1251_partition { |
133 | u32 size; | 139 | u32 size; |
134 | u32 start; | 140 | u32 start; |
@@ -358,8 +364,7 @@ struct wl1251 { | |||
358 | 364 | ||
359 | struct delayed_work elp_work; | 365 | struct delayed_work elp_work; |
360 | 366 | ||
361 | /* we can be in psm, but not in elp, we have to differentiate */ | 367 | enum wl1251_station_mode station_mode; |
362 | bool psm; | ||
363 | 368 | ||
364 | /* PSM mode requested */ | 369 | /* PSM mode requested */ |
365 | bool psm_requested; | 370 | bool psm_requested; |