Lines Matching defs:local_info

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