Lines Matching defs:lbs_private
39 struct lbs_private { struct
42 struct net_device *dev;
43 u32 connect_status;
44 struct work_struct mcast_work;
45 u32 nr_of_multicastmacaddr;
46 u8 multicastlist[MRVDRV_MAX_MULTICAST_LIST_SIZE][ETH_ALEN];
49 struct wireless_dev *wdev;
50 bool wiphy_registered;
51 struct cfg80211_scan_request *scan_req;
52 u8 assoc_bss[ETH_ALEN];
53 u8 country_code[IEEE80211_COUNTRY_STRING_LEN];
54 u8 disassoc_reason;
57 struct net_device *mesh_dev; /* Virtual device */
59 struct lbs_mesh_stats mstats;
60 uint16_t mesh_tlv;
61 u8 mesh_ssid[IEEE80211_MAX_SSID_LEN + 1];
62 u8 mesh_ssid_len;
63 u8 mesh_channel;
67 struct dentry *debugfs_dir;
68 struct dentry *debugfs_debug;
69 struct dentry *debugfs_files[6];
70 struct dentry *events_dir;
71 struct dentry *debugfs_events_files[6];
72 struct dentry *regs_dir;
73 struct dentry *debugfs_regs_files[6];
76 u32 mac_offset;
77 u32 bbp_offset;
78 u32 rf_offset;
81 u16 psmode;
82 u32 psstate;
83 u8 needtowakeup;
108 int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb); argument
109 void (*reset_card) (struct lbs_private *priv); argument
110 int (*power_save) (struct lbs_private *priv); argument
111 int (*power_restore) (struct lbs_private *priv); argument
112 int (*enter_deep_sleep) (struct lbs_private *priv); argument
113 int (*exit_deep_sleep) (struct lbs_private *priv); argument
114 int (*reset_deep_sleep_wakeup) (struct lbs_private *priv); argument
117 u32 fwrelease;
118 u32 fwcapinfo;
119 u16 regioncode;
120 u8 current_addr[ETH_ALEN];
121 u8 copied_hwaddr;
124 u8 dnld_sent;
128 u16 seqnum;
129 struct cmd_ctrl_node *cmd_array;
130 struct cmd_ctrl_node *cur_cmd;
131 struct list_head cmdfreeq; /* free command buffers */
132 struct list_head cmdpendingq; /* pending command buffers */
133 struct timer_list command_timer;
134 int cmd_timed_out;
137 u8 resp_idx;
138 u8 resp_buf[2][LBS_UPLD_SIZE];
139 u32 resp_len[2];
142 struct kfifo event_fifo;
145 struct task_struct *main_thread;
146 wait_queue_head_t waitq;
147 struct workqueue_struct *work_thread;
150 u8 authtype_auto;
151 u8 wep_tx_key;
152 u8 wep_key[4][WLAN_KEY_LEN_WEP104];
153 u8 wep_key_len[4];
156 uint32_t wol_criteria;
157 uint8_t wol_gpio;
158 uint8_t wol_gap;
159 bool ehs_remove_supported;
162 int tx_pending_len; /* -1 while building packet */
163 u8 tx_pending_buf[LBS_UPLD_SIZE];
165 u8 txretrycount;
166 struct sk_buff *currenttxskb;
167 struct timer_list tx_lockup_timer;
170 struct mutex lock;
171 spinlock_t driver_lock;
174 u16 mac_control;
175 u8 radio_on;
176 u8 cur_rate;
177 u8 channel;
178 s16 txpower_cur;
179 s16 txpower_min;
203 static inline int lbs_iface_active(struct lbs_private *priv) in lbs_iface_active() argument