PART_TABLE_LEN
};
+enum wl1251_station_mode {
+ STATION_ACTIVE_MODE,
+ STATION_POWER_SAVE_MODE,
+ STATION_IDLE,
+};
+
struct wl1251_partition {
u32 size;
u32 start;
struct dentry *retry_count;
struct dentry *excessive_retries;
+
+ struct dentry *dump_nvs;
+ struct dentry *dump_full;
};
struct wl1251_if_operations {
void (*set_power)(bool enable);
int irq;
bool use_eeprom;
+ bool dump_eeprom;
spinlock_t wl_lock;
bool tx_queue_stopped;
struct work_struct tx_work;
- struct work_struct filter_work;
/* Pending TX frames */
struct sk_buff *tx_frames[16];
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;
/* Most recently reported noise in dBm */
s8 noise;
+
+ void *eeprom_dump;
};
int wl1251_plt_start(struct wl1251 *wl);