Lines Matching defs:lbs_private
38 struct lbs_private { struct
41 struct net_device *dev;
42 u32 connect_status;
43 struct work_struct mcast_work;
44 u32 nr_of_multicastmacaddr;
45 u8 multicastlist[MRVDRV_MAX_MULTICAST_LIST_SIZE][ETH_ALEN];
48 struct wireless_dev *wdev;
49 bool wiphy_registered;
50 struct cfg80211_scan_request *scan_req;
51 u8 assoc_bss[ETH_ALEN];
52 u8 country_code[IEEE80211_COUNTRY_STRING_LEN];
53 u8 disassoc_reason;
56 struct net_device *mesh_dev; /* Virtual device */
58 struct lbs_mesh_stats mstats;
59 uint16_t mesh_tlv;
60 u8 mesh_ssid[IEEE80211_MAX_SSID_LEN + 1];
61 u8 mesh_ssid_len;
62 u8 mesh_channel;
66 struct dentry *debugfs_dir;
67 struct dentry *debugfs_debug;
68 struct dentry *debugfs_files[6];
69 struct dentry *events_dir;
70 struct dentry *debugfs_events_files[6];
71 struct dentry *regs_dir;
72 struct dentry *debugfs_regs_files[6];
75 u32 mac_offset;
76 u32 bbp_offset;
77 u32 rf_offset;
80 u16 psmode;
81 u32 psstate;
105 int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb); argument
106 void (*reset_card) (struct lbs_private *priv); argument
107 int (*power_save) (struct lbs_private *priv); argument
108 int (*power_restore) (struct lbs_private *priv); argument
109 int (*enter_deep_sleep) (struct lbs_private *priv); argument
110 int (*exit_deep_sleep) (struct lbs_private *priv); argument
111 int (*reset_deep_sleep_wakeup) (struct lbs_private *priv); argument
114 u32 fwrelease;
115 u32 fwcapinfo;
116 u16 regioncode;
117 u8 current_addr[ETH_ALEN];
118 u8 copied_hwaddr;
121 u8 dnld_sent;
125 u16 seqnum;
126 struct cmd_ctrl_node *cmd_array;
127 struct cmd_ctrl_node *cur_cmd;
128 struct list_head cmdfreeq; /* free command buffers */
129 struct list_head cmdpendingq; /* pending command buffers */
130 struct timer_list command_timer;
131 int cmd_timed_out;
134 u8 resp_idx;
135 u8 resp_buf[2][LBS_UPLD_SIZE];
136 u32 resp_len[2];
139 struct kfifo event_fifo;
142 struct task_struct *main_thread;
143 wait_queue_head_t waitq;
144 struct workqueue_struct *work_thread;
147 u8 authtype_auto;
148 u8 wep_tx_key;
149 u8 wep_key[4][WLAN_KEY_LEN_WEP104];
150 u8 wep_key_len[4];
153 uint32_t wol_criteria;
154 uint8_t wol_gpio;
155 uint8_t wol_gap;
156 bool ehs_remove_supported;
159 int tx_pending_len; /* -1 while building packet */
160 u8 tx_pending_buf[LBS_UPLD_SIZE];
162 u8 txretrycount;
163 struct sk_buff *currenttxskb;
164 struct timer_list tx_lockup_timer;
167 struct mutex lock;
168 spinlock_t driver_lock;
171 u16 mac_control;
172 u8 radio_on;
173 u8 cur_rate;
174 u8 channel;
175 s16 txpower_cur;
176 s16 txpower_min;
200 static inline int lbs_iface_active(struct lbs_private *priv) in lbs_iface_active() argument