OSDN Git Service

mac80211: wait for beacon before enabling powersave
[uclinux-h8/linux.git] / drivers / net / wireless / wl12xx / wl1251.h
index 998e4b6..37c61c1 100644 (file)
@@ -247,6 +247,7 @@ struct wl1251_debugfs {
        struct dentry *rxpipe_tx_xfr_host_int_trig_rx_data;
 
        struct dentry *tx_queue_len;
+       struct dentry *tx_queue_status;
 
        struct dentry *retry_count;
        struct dentry *excessive_retries;
@@ -269,6 +270,7 @@ struct wl1251 {
 
        void (*set_power)(bool enable);
        int irq;
+       bool use_eeprom;
 
        enum wl1251_state state;
        struct mutex mutex;
@@ -339,9 +341,6 @@ struct wl1251 {
        /* Are we currently scanning */
        bool scanning;
 
-       /* Our association ID */
-       u16 aid;
-
        /* Default key (for WEP) */
        u32 default_key;
 
@@ -354,6 +353,8 @@ struct wl1251 {
        /* is firmware in elp mode */
        bool elp;
 
+       struct delayed_work elp_work;
+
        /* we can be in psm, but not in elp, we have to differentiate */
        bool psm;
 
@@ -374,6 +375,8 @@ struct wl1251 {
        u8 buffer_busyword[WL1251_BUSY_WORD_LEN];
        struct wl1251_rx_descriptor *rx_descriptor;
 
+       struct ieee80211_vif *vif;
+
        u32 chip_id;
        char fw_ver[21];
 };