Lines Matching defs:at76_priv

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