Lines Matching defs:local_info
644 struct local_info { struct
645 struct module *hw_module;
646 int card_idx;
647 int dev_enabled;
648 int master_dev_auto_open; /* was master device opened automatically */
649 int num_dev_open; /* number of open devices */
650 struct net_device *dev; /* master radio device */
651 struct net_device *ddev; /* main data device */
652 struct list_head hostap_interfaces; /* Host AP interface list (contains
655 rwlock_t iface_lock; /* hostap_interfaces read lock; use write lock
658 spinlock_t cmdlock, baplock, lock, irq_init_lock;
659 struct mutex rid_bap_mtx;
660 u16 infofid; /* MAC buffer id for info frame */
663 spinlock_t txfidlock;
664 int txfid_len; /* length of allocated TX buffers */
665 u16 txfid[PRISM2_TXFID_COUNT]; /* buffer IDs for TX frames */
668 u16 intransmitfid[PRISM2_TXFID_COUNT];
669 int next_txfid; /* index to the next txfid to be checked for
671 int next_alloc; /* index to the next intransmitfid to be checked for
678 unsigned long bits;
680 struct ap_data *ap;
682 char essid[MAX_SSID_LEN + 1];
683 char name[MAX_NAME_LEN + 1];
684 int name_set;
685 u16 channel_mask; /* mask of allowed channels */
686 u16 scan_channel_mask; /* mask of channels to be scanned */
687 struct comm_tallies_sums comm_tallies;
688 struct proc_dir_entry *proc;
689 int iw_mode; /* operating mode (IW_MODE_*) */
690 int pseudo_adhoc; /* 0: IW_MODE_ADHOC is real 802.11 compliant IBSS
692 char bssid[ETH_ALEN];
693 int channel;
694 int beacon_int;
695 int dtim_period;
696 int mtu;
697 int frame_dump; /* dump RX/TX frame headers, PRISM2_DUMP_ flags */
698 int fw_tx_rate_control;
699 u16 tx_rate_control;
700 u16 basic_rates;
701 int hw_resetting;
702 int hw_ready;
703 int hw_reset_tries; /* how many times reset has been tried */
704 int hw_downloading;
705 int shutdown;
706 int pri_only;
707 int no_pri; /* no PRI f/w present */
708 int sram_type; /* 8 = x8 SRAM, 16 = x16 SRAM, -1 = unknown */
710 enum {
713 } txpower_type;
714 int txpower; /* if txpower_type == PRISM2_TXPOWER_FIXED */
717 struct list_head cmd_queue;
722 int cmd_queue_len; /* number of entries in cmd_queue */
726 struct work_struct reset_queue;
729 int is_promisc;
730 struct work_struct set_multicast_list_queue;
732 struct work_struct set_tim_queue;
733 struct list_head set_tim_list;
734 spinlock_t set_tim_lock;
736 int wds_max_connections;
737 int wds_connections;
741 u32 wds_type;
742 u16 tx_control; /* flags to be used in TX description */
743 int manual_retry_count; /* -1 = use f/w default; otherwise retry count
746 struct iw_statistics wstats;
747 unsigned long scan_timestamp; /* Time started to scan */
748 enum {
751 } monitor_type;
752 int monitor_allow_fcserr;
754 int hostapd; /* whether user space daemon, hostapd, is used for AP
756 int hostapd_sta; /* whether hostapd is used with an extra STA interface
758 struct net_device *apdev;
759 struct net_device_stats apdevstats;
761 char assoc_ap_addr[ETH_ALEN];
762 struct net_device *stadev;
763 struct net_device_stats stadevstats;
767 struct lib80211_crypt_info crypt_info;
769 int open_wep; /* allow unencrypted frames */
770 int host_encrypt;
771 int host_decrypt;
772 int privacy_invoked; /* force privacy invoked flag even if no keys are
774 int fw_encrypt_ok; /* whether firmware-based WEP encrypt is working
776 int bcrx_sta_key; /* use individual keys to override default keys even
779 struct prism2_frag_entry frag_cache[PRISM2_FRAG_CACHE_LEN];
780 unsigned int frag_next_idx;
782 int ieee_802_1x; /* is IEEE 802.1X used */
784 int antsel_tx, antsel_rx;
785 int rts_threshold; /* dot11RTSThreshold */
786 int fragm_threshold; /* dot11FragmentationThreshold */
787 int auth_algs; /* PRISM2_AUTH_ flags */
789 int enh_sec; /* cnfEnhSecurity options (broadcast SSID hide/ignore) */
790 int tallies32; /* 32-bit tallies in use */
792 struct prism2_helper_functions *func;
794 u8 *pda;
795 int fw_ap;
798 u32 sta_fw_ver;
802 struct tasklet_struct bap_tasklet;
804 struct tasklet_struct info_tasklet;
805 struct sk_buff_head info_list; /* info frames as skb's for
808 struct hostap_tx_callback_info *tx_callback; /* registered TX callbacks
811 struct tasklet_struct rx_tasklet;
812 struct sk_buff_head rx_list;
814 struct tasklet_struct sta_tx_exc_tasklet;
815 struct sk_buff_head sta_tx_exc_list;
817 int host_roaming;
818 unsigned long last_join_time; /* time of last JoinRequest */
819 struct hfa384x_hostscan_result *last_scan_results;
820 int last_scan_results_count;
821 enum { PRISM2_SCAN, PRISM2_HOSTSCAN } last_scan_type;
822 struct work_struct info_queue;
823 unsigned long pending_info; /* bit field of pending info_queue items */
826 int prev_link_status; /* previous received LinkStatus info */
827 int prev_linkstatus_connected;
828 u8 preferred_ap[6]; /* use this AP if possible */
831 void *callback_data; /* Can be used in callbacks; e.g., allocate
836 wait_queue_head_t hostscan_wq;
839 struct timer_list passive_scan_timer;
840 int passive_scan_interval; /* in seconds, 0 = disabled */
841 int passive_scan_channel;
842 enum { PASSIVE_SCAN_WAIT, PASSIVE_SCAN_LISTEN } passive_scan_state;
844 struct timer_list tick_timer;
845 unsigned long last_tick_timer;
846 unsigned int sw_tick_stuck;
850 unsigned long last_comms_qual_update;
851 int comms_qual; /* in some odd unit.. */
852 int avg_signal; /* in dB (note: negative) */
853 int avg_noise; /* in dB (note: negative) */
854 struct work_struct comms_qual_update;
857 int rssi_to_dBm; /* subtract from RSSI to get approximate dBm value */
860 struct list_head bss_list;
861 int num_bss_info;
862 int wpa; /* WPA support enabled */
863 int tkip_countermeasures;
864 int drop_unencrypted;
867 u8 *generic_elem;
868 size_t generic_elem_len;
894 struct local_info *local; /* pointer to shared private data */ argument