Lines Matching defs:il_priv
1115 struct il_priv { struct
1133 void (*handlers[IL_CN_MAX]) (struct il_priv *il, argument
1136 struct ieee80211_supported_band bands[NUM_NL80211_BANDS];
1139 struct il_spectrum_notification measure_report;
1140 u8 measurement_status;
1143 u32 ucode_beacon_time;
1144 int missed_beacon_threshold;
1147 u32 ibss_manager;
1150 struct il_force_reset force_reset;
1154 struct il_channel_info *channel_info; /* channel info array */
1155 u8 channel_count; /* # of channels */
1158 s32 temperature; /* degrees Kelvin */
1159 s32 last_temperature;
1162 unsigned long scan_start;
1163 unsigned long scan_start_tsf;
1164 void *scan_cmd;
1165 enum nl80211_band scan_band;
1166 struct cfg80211_scan_request *scan_request;
1167 struct ieee80211_vif *scan_vif;
1168 u8 scan_tx_ant[NUM_NL80211_BANDS];
1169 u8 mgmt_tx_ant;
1172 spinlock_t lock; /* protect general shared data */
1173 spinlock_t hcmd_lock; /* protect hcmd */
1174 spinlock_t reg_lock; /* protect hw register access */
1175 struct mutex mutex;
1178 struct pci_dev *pci_dev;
1181 void __iomem *hw_base;
1182 u32 hw_rev;
1183 u32 hw_wa_rev;
1184 u8 rev_id;
1187 u8 cmd_queue;
1190 u8 sta_key_max_num;
1193 struct mac_address addresses[1];
1196 int fw_idx; /* firmware we're trying to load */
1197 u32 ucode_ver; /* version of ucode, copy of
1199 struct fw_desc ucode_code; /* runtime inst */
1200 struct fw_desc ucode_data; /* runtime data original */
1201 struct fw_desc ucode_data_backup; /* runtime data save/restore */
1202 struct fw_desc ucode_init; /* initialization inst */
1203 struct fw_desc ucode_init_data; /* initialization data */
1204 struct fw_desc ucode_boot; /* bootstrap inst */
1205 enum ucode_type ucode_type;
1206 u8 ucode_write_complete; /* the image write is complete */
1207 char firmware_name[25];
1209 struct ieee80211_vif *vif;
1211 struct il_qos_info qos_data;
1213 struct {
1219 } ht;
1227 const struct il_rxon_cmd active;
1228 struct il_rxon_cmd staging;
1230 struct il_rxon_time_cmd timing;
1232 __le16 switch_channel;
1236 struct il_init_alive_resp card_alive_init;
1237 struct il_alive_resp card_alive;
1239 u16 active_rate;
1241 u8 start_calib;
1242 struct il_sensitivity_data sensitivity_data;
1243 struct il_chain_noise_data chain_noise_data;
1244 __le16 sensitivity_tbl[HD_TBL_SIZE];
1246 struct il_ht_config current_ht_config;
1249 u8 retry_rate;
1251 wait_queue_head_t wait_command_queue;
1253 int activity_timer_active;
1256 struct il_rx_queue rxq;
1257 struct il_tx_queue *txq;
1258 unsigned long txq_ctx_active_msk;
1259 struct il_dma_ptr kw; /* keep warm address */
1260 struct il_dma_ptr scd_bc_tbls;
1262 u32 scd_base_addr; /* scheduler sram base address */
1264 unsigned long status;
1267 struct traffic_stats tx_stats;
1268 struct traffic_stats rx_stats;
1271 struct isr_stats isr_stats;
1273 struct il_power_mgr power_data;
1276 u8 bssid[ETH_ALEN]; /* used only on 3945 but filled by core */
1281 spinlock_t sta_lock;
1282 int num_stations;
1283 struct il_station_entry stations[IL_STATION_COUNT];
1284 unsigned long ucode_key_table;
1288 unsigned long queue_stopped[BITS_TO_LONGS(IL_MAX_HW_QUEUES)];
1290 unsigned long stop_reason;
1292 atomic_t queue_stop_count[4];
1295 u8 is_open;
1297 u8 mac80211_registered;
1300 u8 *eeprom;
1301 struct il_eeprom_calib_info *calib_info;
1303 enum nl80211_iftype iw_mode;
1306 u64 timestamp;
1308 union {
1370 struct il_hw_params hw_params;
1372 u32 inta_mask;
1374 struct workqueue_struct *workqueue;
1376 struct work_struct restart;
1377 struct work_struct scan_completed;
1378 struct work_struct rx_replenish;
1379 struct work_struct abort_scan;
1381 bool beacon_enabled;
1382 struct sk_buff *beacon_skb;
1384 struct work_struct tx_flush;
1386 struct tasklet_struct irq_tasklet;
1388 struct delayed_work init_alive_start;
1389 struct delayed_work alive_start;
1390 struct delayed_work scan_check;
1393 s8 tx_power_user_lmt;
1394 s8 tx_power_device_lmt;
1395 s8 tx_power_next;
1399 u32 debug_level; /* per device debugging will override global
1425 }; /*il_priv */ argument