Lines Matching defs:local_info
646 struct local_info { struct
647 struct module *hw_module;
648 int card_idx;
649 int dev_enabled;
650 int master_dev_auto_open; /* was master device opened automatically */
651 int num_dev_open; /* number of open devices */
652 struct net_device *dev; /* master radio device */
653 struct net_device *ddev; /* main data device */
654 struct list_head hostap_interfaces; /* Host AP interface list (contains
657 rwlock_t iface_lock; /* hostap_interfaces read lock; use write lock
660 spinlock_t cmdlock, baplock, lock, irq_init_lock;
661 struct mutex rid_bap_mtx;
662 u16 infofid; /* MAC buffer id for info frame */
665 spinlock_t txfidlock;
666 int txfid_len; /* length of allocated TX buffers */
667 u16 txfid[PRISM2_TXFID_COUNT]; /* buffer IDs for TX frames */
670 u16 intransmitfid[PRISM2_TXFID_COUNT];
671 int next_txfid; /* index to the next txfid to be checked for
673 int next_alloc; /* index to the next intransmitfid to be checked for
680 unsigned long bits;
682 struct ap_data *ap;
684 char essid[MAX_SSID_LEN + 1];
685 char name[MAX_NAME_LEN + 1];
686 int name_set;
687 u16 channel_mask; /* mask of allowed channels */
688 u16 scan_channel_mask; /* mask of channels to be scanned */
689 struct comm_tallies_sums comm_tallies;
690 struct proc_dir_entry *proc;
691 int iw_mode; /* operating mode (IW_MODE_*) */
692 int pseudo_adhoc; /* 0: IW_MODE_ADHOC is real 802.11 compliant IBSS
694 char bssid[ETH_ALEN];
695 int channel;
696 int beacon_int;
697 int dtim_period;
698 int mtu;
699 int frame_dump; /* dump RX/TX frame headers, PRISM2_DUMP_ flags */
700 int fw_tx_rate_control;
701 u16 tx_rate_control;
702 u16 basic_rates;
703 int hw_resetting;
704 int hw_ready;
705 int hw_reset_tries; /* how many times reset has been tried */
706 int hw_downloading;
707 int shutdown;
708 int pri_only;
709 int no_pri; /* no PRI f/w present */
710 int sram_type; /* 8 = x8 SRAM, 16 = x16 SRAM, -1 = unknown */
712 enum {
715 } txpower_type;
716 int txpower; /* if txpower_type == PRISM2_TXPOWER_FIXED */
719 struct list_head cmd_queue;
724 int cmd_queue_len; /* number of entries in cmd_queue */
728 struct work_struct reset_queue;
731 int is_promisc;
732 struct work_struct set_multicast_list_queue;
734 struct work_struct set_tim_queue;
735 struct list_head set_tim_list;
736 spinlock_t set_tim_lock;
738 int wds_max_connections;
739 int wds_connections;
743 u32 wds_type;
744 u16 tx_control; /* flags to be used in TX description */
745 int manual_retry_count; /* -1 = use f/w default; otherwise retry count
748 struct iw_statistics wstats;
749 unsigned long scan_timestamp; /* Time started to scan */
750 enum {
753 } monitor_type;
754 int monitor_allow_fcserr;
756 int hostapd; /* whether user space daemon, hostapd, is used for AP
758 int hostapd_sta; /* whether hostapd is used with an extra STA interface
760 struct net_device *apdev;
761 struct net_device_stats apdevstats;
763 char assoc_ap_addr[ETH_ALEN];
764 struct net_device *stadev;
765 struct net_device_stats stadevstats;
769 struct lib80211_crypt_info crypt_info;
771 int open_wep; /* allow unencrypted frames */
772 int host_encrypt;
773 int host_decrypt;
774 int privacy_invoked; /* force privacy invoked flag even if no keys are
776 int fw_encrypt_ok; /* whether firmware-based WEP encrypt is working
778 int bcrx_sta_key; /* use individual keys to override default keys even
781 struct prism2_frag_entry frag_cache[PRISM2_FRAG_CACHE_LEN];
782 unsigned int frag_next_idx;
784 int ieee_802_1x; /* is IEEE 802.1X used */
786 int antsel_tx, antsel_rx;
787 int rts_threshold; /* dot11RTSThreshold */
788 int fragm_threshold; /* dot11FragmentationThreshold */
789 int auth_algs; /* PRISM2_AUTH_ flags */
791 int enh_sec; /* cnfEnhSecurity options (broadcast SSID hide/ignore) */
792 int tallies32; /* 32-bit tallies in use */
794 struct prism2_helper_functions *func;
796 u8 *pda;
797 int fw_ap;
800 u32 sta_fw_ver;
804 struct tasklet_struct bap_tasklet;
806 struct tasklet_struct info_tasklet;
807 struct sk_buff_head info_list; /* info frames as skb's for
810 struct hostap_tx_callback_info *tx_callback; /* registered TX callbacks
813 struct tasklet_struct rx_tasklet;
814 struct sk_buff_head rx_list;
816 struct tasklet_struct sta_tx_exc_tasklet;
817 struct sk_buff_head sta_tx_exc_list;
819 int host_roaming;
820 unsigned long last_join_time; /* time of last JoinRequest */
821 struct hfa384x_hostscan_result *last_scan_results;
822 int last_scan_results_count;
823 enum { PRISM2_SCAN, PRISM2_HOSTSCAN } last_scan_type;
824 struct work_struct info_queue;
825 unsigned long pending_info; /* bit field of pending info_queue items */
828 int prev_link_status; /* previous received LinkStatus info */
829 int prev_linkstatus_connected;
830 u8 preferred_ap[ETH_ALEN]; /* use this AP if possible */
833 void *callback_data; /* Can be used in callbacks; e.g., allocate
838 wait_queue_head_t hostscan_wq;
841 struct timer_list passive_scan_timer;
842 int passive_scan_interval; /* in seconds, 0 = disabled */
843 int passive_scan_channel;
844 enum { PASSIVE_SCAN_WAIT, PASSIVE_SCAN_LISTEN } passive_scan_state;
846 struct timer_list tick_timer;
847 unsigned long last_tick_timer;
848 unsigned int sw_tick_stuck;
852 unsigned long last_comms_qual_update;
853 int comms_qual; /* in some odd unit.. */
854 int avg_signal; /* in dB (note: negative) */
855 int avg_noise; /* in dB (note: negative) */
856 struct work_struct comms_qual_update;
859 int rssi_to_dBm; /* subtract from RSSI to get approximate dBm value */
862 struct list_head bss_list;
863 int num_bss_info;
864 int wpa; /* WPA support enabled */
865 int tkip_countermeasures;
866 int drop_unencrypted;
869 u8 *generic_elem;
870 size_t generic_elem_len;
896 struct local_info *local; /* pointer to shared private data */ argument