Lines Matching defs:il_priv
1112 struct il_priv { struct
1130 void (*handlers[IL_CN_MAX]) (struct il_priv *il, argument
1133 struct ieee80211_supported_band bands[NUM_NL80211_BANDS];
1136 struct il_spectrum_notification measure_report;
1137 u8 measurement_status;
1140 u32 ucode_beacon_time;
1141 int missed_beacon_threshold;
1144 u32 ibss_manager;
1147 struct il_force_reset force_reset;
1151 struct il_channel_info *channel_info; /* channel info array */
1152 u8 channel_count; /* # of channels */
1155 s32 temperature; /* degrees Kelvin */
1156 s32 last_temperature;
1159 unsigned long scan_start;
1160 unsigned long scan_start_tsf;
1161 void *scan_cmd;
1162 enum nl80211_band scan_band;
1163 struct cfg80211_scan_request *scan_request;
1164 struct ieee80211_vif *scan_vif;
1165 u8 scan_tx_ant[NUM_NL80211_BANDS];
1166 u8 mgmt_tx_ant;
1169 spinlock_t lock; /* protect general shared data */
1170 spinlock_t hcmd_lock; /* protect hcmd */
1171 spinlock_t reg_lock; /* protect hw register access */
1172 struct mutex mutex;
1175 struct pci_dev *pci_dev;
1178 void __iomem *hw_base;
1179 u32 hw_rev;
1180 u32 hw_wa_rev;
1181 u8 rev_id;
1184 u8 cmd_queue;
1187 u8 sta_key_max_num;
1190 struct mac_address addresses[1];
1193 int fw_idx; /* firmware we're trying to load */
1194 u32 ucode_ver; /* version of ucode, copy of
1196 struct fw_desc ucode_code; /* runtime inst */
1197 struct fw_desc ucode_data; /* runtime data original */
1198 struct fw_desc ucode_data_backup; /* runtime data save/restore */
1199 struct fw_desc ucode_init; /* initialization inst */
1200 struct fw_desc ucode_init_data; /* initialization data */
1201 struct fw_desc ucode_boot; /* bootstrap inst */
1202 enum ucode_type ucode_type;
1203 u8 ucode_write_complete; /* the image write is complete */
1204 char firmware_name[25];
1206 struct ieee80211_vif *vif;
1208 struct il_qos_info qos_data;
1210 struct {
1216 } ht;
1224 const struct il_rxon_cmd active;
1225 struct il_rxon_cmd staging;
1227 struct il_rxon_time_cmd timing;
1229 __le16 switch_channel;
1233 struct il_init_alive_resp card_alive_init;
1234 struct il_alive_resp card_alive;
1236 u16 active_rate;
1238 u8 start_calib;
1239 struct il_sensitivity_data sensitivity_data;
1240 struct il_chain_noise_data chain_noise_data;
1241 __le16 sensitivity_tbl[HD_TBL_SIZE];
1243 struct il_ht_config current_ht_config;
1246 u8 retry_rate;
1248 wait_queue_head_t wait_command_queue;
1250 int activity_timer_active;
1253 struct il_rx_queue rxq;
1254 struct il_tx_queue *txq;
1255 unsigned long txq_ctx_active_msk;
1256 struct il_dma_ptr kw; /* keep warm address */
1257 struct il_dma_ptr scd_bc_tbls;
1259 u32 scd_base_addr; /* scheduler sram base address */
1261 unsigned long status;
1264 struct traffic_stats tx_stats;
1265 struct traffic_stats rx_stats;
1268 struct isr_stats isr_stats;
1270 struct il_power_mgr power_data;
1273 u8 bssid[ETH_ALEN]; /* used only on 3945 but filled by core */
1278 spinlock_t sta_lock;
1279 int num_stations;
1280 struct il_station_entry stations[IL_STATION_COUNT];
1281 unsigned long ucode_key_table;
1285 unsigned long queue_stopped[BITS_TO_LONGS(IL_MAX_HW_QUEUES)];
1287 unsigned long stop_reason;
1289 atomic_t queue_stop_count[4];
1292 u8 is_open;
1294 u8 mac80211_registered;
1297 u8 *eeprom;
1298 struct il_eeprom_calib_info *calib_info;
1300 enum nl80211_iftype iw_mode;
1303 u64 timestamp;
1305 union {
1367 struct il_hw_params hw_params;
1369 u32 inta_mask;
1371 struct workqueue_struct *workqueue;
1373 struct work_struct restart;
1374 struct work_struct scan_completed;
1375 struct work_struct rx_replenish;
1376 struct work_struct abort_scan;
1378 bool beacon_enabled;
1379 struct sk_buff *beacon_skb;
1381 struct work_struct tx_flush;
1383 struct tasklet_struct irq_tasklet;
1385 struct delayed_work init_alive_start;
1386 struct delayed_work alive_start;
1387 struct delayed_work scan_check;
1390 s8 tx_power_user_lmt;
1391 s8 tx_power_device_lmt;
1392 s8 tx_power_next;
1396 u32 debug_level; /* per device debugging will override global
1422 }; /*il_priv */ argument