Lines Matching defs:at76_priv

369 struct at76_priv {  struct
370 struct usb_device *udev; /* USB device pointer */
372 struct sk_buff *rx_skb; /* skbuff for receiving data */
373 struct sk_buff *tx_skb; /* skbuff for transmitting data */
374 void *bulk_out_buffer; /* buffer for sending data */
376 struct urb *tx_urb; /* URB for sending data */
377 struct urb *rx_urb; /* URB for receiving data */
379 unsigned int tx_pipe; /* bulk out pipe */
380 unsigned int rx_pipe; /* bulk in pipe */
382 struct mutex mtx; /* locks this structure */
385 struct work_struct work_set_promisc;
386 struct work_struct work_submit_rx;
387 struct work_struct work_join_bssid;
388 struct delayed_work dwork_hw_scan;
390 struct tasklet_struct rx_tasklet;
393 int wep_enabled; /* 1 if WEP is enabled */
394 int wep_key_id; /* key id to be used */
395 u8 wep_keys[WEP_KEYS][WEP_LARGE_KEY_LEN]; /* WEP keys */
396 u8 wep_keys_len[WEP_KEYS]; /* length of WEP keys */
398 int channel;
399 int iw_mode;
400 u8 bssid[ETH_ALEN];
401 u8 essid[IW_ESSID_MAX_SIZE];
402 int essid_size;
403 int radio_on;
404 int promisc;
406 int preamble_type; /* 0 - long, 1 - short, 2 - auto */
407 int auth_mode; /* authentication type: 0 open, 1 shared key */
408 int txrate; /* 0,1,2,3 = 1,2,5.5,11 Mbps, 4 is auto */
409 int frag_threshold; /* threshold for fragmentation of tx packets */
410 int rts_threshold; /* threshold for RTS mechanism */
411 int short_retry_limit;
413 int scan_min_time; /* scan min channel time */
414 int scan_max_time; /* scan max channel time */
415 int scan_mode; /* SCAN_TYPE_ACTIVE, SCAN_TYPE_PASSIVE */
416 int scan_need_any; /* if set, need to scan for any ESSID */
417 bool scanning; /* if set, the scan is running */
419 u16 assoc_id; /* current association ID, if associated */
421 u8 pm_mode; /* power management mode */
422 u32 pm_period; /* power management period in microseconds */
424 struct reg_domain const *domain; /* reg domain description */
428 u8 mac_addr[ETH_ALEN];
429 u8 regulatory_domain;
431 struct at76_card_config card_config;
433 enum board_type board_type;
434 struct mib_fw_version fw_version;
436 unsigned int device_unplugged:1;
437 unsigned int netdev_registered:1;
438 struct set_mib_buffer mib_buf; /* global buffer for set_mib calls */
440 int beacon_period; /* period of mgmt beacons, Kus */
442 struct ieee80211_hw *hw;
443 int mac80211_registered;