Lines Matching defs:il_priv

1129 struct il_priv {  struct
1147 void (*handlers[IL_CN_MAX]) (struct il_priv *il, argument
1150 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS];
1153 struct il_spectrum_notification measure_report;
1154 u8 measurement_status;
1157 u32 ucode_beacon_time;
1158 int missed_beacon_threshold;
1161 u32 ibss_manager;
1164 struct il_force_reset force_reset;
1168 struct il_channel_info *channel_info; /* channel info array */
1169 u8 channel_count; /* # of channels */
1172 s32 temperature; /* degrees Kelvin */
1173 s32 last_temperature;
1176 unsigned long scan_start;
1177 unsigned long scan_start_tsf;
1178 void *scan_cmd;
1179 enum ieee80211_band scan_band;
1180 struct cfg80211_scan_request *scan_request;
1181 struct ieee80211_vif *scan_vif;
1182 u8 scan_tx_ant[IEEE80211_NUM_BANDS];
1183 u8 mgmt_tx_ant;
1186 spinlock_t lock; /* protect general shared data */
1187 spinlock_t hcmd_lock; /* protect hcmd */
1188 spinlock_t reg_lock; /* protect hw register access */
1189 struct mutex mutex;
1192 struct pci_dev *pci_dev;
1195 void __iomem *hw_base;
1196 u32 hw_rev;
1197 u32 hw_wa_rev;
1198 u8 rev_id;
1201 u8 cmd_queue;
1204 u8 sta_key_max_num;
1207 struct mac_address addresses[1];
1210 int fw_idx; /* firmware we're trying to load */
1211 u32 ucode_ver; /* version of ucode, copy of
1213 struct fw_desc ucode_code; /* runtime inst */
1214 struct fw_desc ucode_data; /* runtime data original */
1215 struct fw_desc ucode_data_backup; /* runtime data save/restore */
1216 struct fw_desc ucode_init; /* initialization inst */
1217 struct fw_desc ucode_init_data; /* initialization data */
1218 struct fw_desc ucode_boot; /* bootstrap inst */
1219 enum ucode_type ucode_type;
1220 u8 ucode_write_complete; /* the image write is complete */
1221 char firmware_name[25];
1223 struct ieee80211_vif *vif;
1225 struct il_qos_info qos_data;
1227 struct {
1233 } ht;
1241 const struct il_rxon_cmd active;
1242 struct il_rxon_cmd staging;
1244 struct il_rxon_time_cmd timing;
1246 __le16 switch_channel;
1250 struct il_init_alive_resp card_alive_init;
1251 struct il_alive_resp card_alive;
1253 u16 active_rate;
1255 u8 start_calib;
1256 struct il_sensitivity_data sensitivity_data;
1257 struct il_chain_noise_data chain_noise_data;
1258 __le16 sensitivity_tbl[HD_TBL_SIZE];
1260 struct il_ht_config current_ht_config;
1263 u8 retry_rate;
1265 wait_queue_head_t wait_command_queue;
1267 int activity_timer_active;
1270 struct il_rx_queue rxq;
1271 struct il_tx_queue *txq;
1272 unsigned long txq_ctx_active_msk;
1273 struct il_dma_ptr kw; /* keep warm address */
1274 struct il_dma_ptr scd_bc_tbls;
1276 u32 scd_base_addr; /* scheduler sram base address */
1278 unsigned long status;
1281 struct traffic_stats tx_stats;
1282 struct traffic_stats rx_stats;
1285 struct isr_stats isr_stats;
1287 struct il_power_mgr power_data;
1290 u8 bssid[ETH_ALEN]; /* used only on 3945 but filled by core */
1295 spinlock_t sta_lock;
1296 int num_stations;
1297 struct il_station_entry stations[IL_STATION_COUNT];
1298 unsigned long ucode_key_table;
1302 unsigned long queue_stopped[BITS_TO_LONGS(IL_MAX_HW_QUEUES)];
1304 unsigned long stop_reason;
1306 atomic_t queue_stop_count[4];
1309 u8 is_open;
1311 u8 mac80211_registered;
1314 u8 *eeprom;
1315 struct il_eeprom_calib_info *calib_info;
1317 enum nl80211_iftype iw_mode;
1320 u64 timestamp;
1322 union {
1384 struct il_hw_params hw_params;
1386 u32 inta_mask;
1388 struct workqueue_struct *workqueue;
1390 struct work_struct restart;
1391 struct work_struct scan_completed;
1392 struct work_struct rx_replenish;
1393 struct work_struct abort_scan;
1395 bool beacon_enabled;
1396 struct sk_buff *beacon_skb;
1398 struct work_struct tx_flush;
1400 struct tasklet_struct irq_tasklet;
1402 struct delayed_work init_alive_start;
1403 struct delayed_work alive_start;
1404 struct delayed_work scan_check;
1407 s8 tx_power_user_lmt;
1408 s8 tx_power_device_lmt;
1409 s8 tx_power_next;
1413 u32 debug_level; /* per device debugging will override global
1439 }; /*il_priv */ argument