wl1251: Prepare for idle mode support
[pandora-wifi.git] / drivers / net / wireless / wl12xx / wl1251.h
index 85e4640..bdf6a76 100644 (file)
@@ -132,6 +132,11 @@ enum wl1251_partition_type {
        PART_TABLE_LEN
 };
 
+enum wl1251_station_mode {
+       STATION_ACTIVE_MODE,
+       STATION_POWER_SAVE_MODE,
+};
+
 struct wl1251_partition {
        u32 size;
        u32 start;
@@ -361,8 +366,7 @@ struct wl1251 {
        struct delayed_work elp_work;
        struct completion *elp_compl;
 
-       /* 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;