wl1251: use ELP wakeup interrupt instead of polling
[pandora-wifi.git] / drivers / net / wireless / wl12xx / wl1251.h
index 46dd160..85e4640 100644 (file)
@@ -359,6 +359,7 @@ struct wl1251 {
        bool elp;
 
        struct delayed_work elp_work;
+       struct completion *elp_compl;
 
        /* we can be in psm, but not in elp, we have to differentiate */
        bool psm;
@@ -394,6 +395,7 @@ int wl1251_free_hw(struct wl1251 *wl);
 int wl1251_init_ieee80211(struct wl1251 *wl);
 void wl1251_enable_interrupts(struct wl1251 *wl);
 void wl1251_disable_interrupts(struct wl1251 *wl);
+void wl1251_irq(struct wl1251 *wl);
 
 #define DEFAULT_HW_GEN_MODULATION_TYPE    CCK_LONG /* Long Preamble */
 #define DEFAULT_HW_GEN_TX_RATE          RATE_2MBPS