Merge branch 'linus' into perf/urgent
[pandora-kernel.git] / drivers / net / wireless / wl1251 / wl1251.h
index bb23cd5..a77f1bb 100644 (file)
@@ -129,6 +129,12 @@ enum wl1251_partition_type {
        PART_TABLE_LEN
 };
 
+enum wl1251_station_mode {
+       STATION_ACTIVE_MODE,
+       STATION_POWER_SAVE_MODE,
+       STATION_IDLE,
+};
+
 struct wl1251_partition {
        u32 size;
        u32 start;
@@ -358,8 +364,7 @@ struct wl1251 {
 
        struct delayed_work elp_work;
 
-       /* we can be in psm, but not in elp, we have to differentiate */
-       bool psm;
+       enum wl1251_station_mode station_mode;
 
        /* PSM mode requested */
        bool psm_requested;