/**
* This file contains definitions and data structures specific
* to Marvell 802.11 NIC. It contains the Device Information
- * structure lbs_adapter.
+ * structure struct lbs_adapter.
*/
#ifndef _LBS_DEV_H_
#define _LBS_DEV_H_
};
/** Private structure for the MV device */
-struct _lbs_private {
+struct lbs_private {
int open;
int mesh_open;
int infra_open;
char name[DEV_NAME_LEN];
void *card;
- lbs_adapter *adapter;
+ struct lbs_adapter *adapter;
struct net_device *dev;
struct net_device_stats stats;
struct work_struct sync_channel;
/** Hardware access */
- int (*hw_host_to_card) (lbs_private *priv, u8 type, u8 *payload, u16 nb);
- int (*hw_get_int_status) (lbs_private *priv, u8 *);
- int (*hw_read_event_cause) (lbs_private *);
+ int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb);
+ int (*hw_get_int_status) (struct lbs_private *priv, u8 *);
+ int (*hw_read_event_cause) (struct lbs_private *);
};
/** Association request
};
/** Wlan adapter data structure*/
-struct _lbs_adapter {
+struct lbs_adapter {
/** STATUS variables */
u8 fwreleasenumber[4];
u32 fwcapinfo;
struct list_head network_free_list;
struct bss_descriptor *networks;
+ u16 beacon_period;
+ u8 beacon_enable;
u8 adhoccreate;
/** capability Info used in Association, start, join */
struct cmd_ds_802_11_get_log logmsg;
u32 monitormode;
+ int last_scanned_channel;
u8 fw_ready;
-
- u8 last_scanned_channel;
};
#endif