Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_initialize_lq() -> rs_fill_lq_cmd()

Type Parameter Key Value
PARAM_VALUE 0 mvm 4096-ptr_max
PARAM_VALUE 0 mvm->cfg 4096-ptr_max
PARAM_VALUE 0 mvm->drv_rx_stats.agg_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.ampdu_count 0
PARAM_VALUE 0 mvm->drv_rx_stats.bw_160_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.bw_20_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.bw_40_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.bw_80_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.fail_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.ht_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.last_frame_idx 0
PARAM_VALUE 0 mvm->drv_rx_stats.legacy_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.mimo2_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.ngi_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.sgi_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.siso_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.success_frames 0
PARAM_VALUE 0 mvm->drv_rx_stats.vht_frames 0
PARAM_VALUE 0 mvm->drv_stats_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mvm->fw 4096-ptr_max
PARAM_VALUE 0 mvm->fw->ucode_capa._capa 4096-ptr_max
PARAM_VALUE 0 mvm->fwrt.trans->cfg->dccm2_len 0,32768
PARAM_VALUE 0 mvm->fwrt.trans->cfg->dccm_len 0,65536,81920,96768,98304
PARAM_VALUE 0 mvm->fwrt.trans->cfg->dccm_offset 0,8388608
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->d3_debug_data_base_addr 0,4198400
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->d3_debug_data_length 0,61440,94208
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dbgi_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dbgi_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dbgi_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dram_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dram_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dram_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_smem_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_smem_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_smem_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->num_of_queues 20,31,512
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->smem_len 0,425984
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->ucode_api_min 0,30,77,89,1102
PARAM_VALUE 0 mvm->hw 4096-ptr_max
PARAM_VALUE 0 mvm->hw->wiphy 4096-ptr_max
PARAM_VALUE 0 mvm->hw->wiphy->bands 4096-ptr_max
PARAM_VALUE 0 mvm->nvm_data 0,4096-ptr_max
PARAM_VALUE 0 mvm->trans->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 mvm->trans->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 mvm->trans->dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 mvm->trans->dev->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mvm->trans->dev->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mvm->trans->dev->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 mvm->trans->mac_cfg->base->max_tfd_queue_size 256,65536
PARAM_VALUE 0 mvm->trans->mac_cfg->base->min_txq_size 0,128
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dbgi_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dbgi_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dbgi_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dram_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dram_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dram_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_smem_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_smem_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_smem_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->num_of_queues 20,31,512
PARAM_VALUE 0 mvm->trans->mac_cfg->base->wd_timeout 0,2500,10000
PARAM_VALUE 1 sta 4096-ptr_max
PARAM_VALUE 1 sta->cur 4096-ptr_max
PARAM_VALUE 1 sta->deflink.bandwidth 0-3
PARAM_VALUE 1 sta->deflink.supp_rates 4096-ptr_max
PARAM_VALUE 1 sta->drv_priv->amsdu_enabled 0
PARAM_VALUE 1 sta->drv_priv->deflink.lq_sta.rs_drv.active_mimo2_rate 0,16-4048
PARAM_VALUE 1 sta->drv_priv->deflink.lq_sta.rs_drv.active_siso_rate 0,16-4048
PARAM_VALUE 1 sta->drv_priv->deflink.lq_sta.rs_drv.bfer_capable 1
PARAM_VALUE 1 sta->drv_priv->deflink.lq_sta.rs_drv.ldpc 1
PARAM_VALUE 1 sta->drv_priv->deflink.lq_sta.rs_drv.stbc_capable 1
PARAM_VALUE 2 lq_sta 4096-ptr_max
PARAM_VALUE 2 lq_sta->active_mimo2_rate 0,16-4048
PARAM_VALUE 2 lq_sta->active_siso_rate 0,16-4048
PARAM_VALUE 2 lq_sta->active_tbl 0
PARAM_VALUE 2 lq_sta->flush_timer 0
PARAM_VALUE 2 lq_sta->is_agg 0
PARAM_VALUE 2 lq_sta->ldpc 1
PARAM_VALUE 2 lq_sta->lq.dual_stream_ant_msk 3
PARAM_VALUE 2 lq_sta->max_legacy_rate_idx 0-64
PARAM_VALUE 2 lq_sta->max_mimo2_rate_idx 0-64
PARAM_VALUE 2 lq_sta->max_siso_rate_idx 0-64
PARAM_VALUE 2 lq_sta->missed_rate_counter 15
PARAM_VALUE 2 lq_sta->optimal_nentries 8,10
PARAM_VALUE 2 lq_sta->optimal_rate.bw 0,2048,4096,6144
PARAM_VALUE 2 lq_sta->optimal_rate.type 1,3-4
PARAM_VALUE 2 lq_sta->optimal_rate_mask 0,16-4048
PARAM_VALUE 2 lq_sta->optimal_rates 22988984552038400,3702038544427524096
PARAM_VALUE 2 lq_sta->optimal_rates->rate_idx 0-14
PARAM_VALUE 2 lq_sta->optimal_rates->rssi (-128),(-90),(-88)-(-84),(-80),(-72),(-68),(-64),(-60)
PARAM_VALUE 2 lq_sta->search_better_tbl 0
PARAM_VALUE 2 lq_sta->stbc_capable 1
PARAM_VALUE 2 lq_sta->tx_agg_tid_en 255
PARAM_VALUE 3 initial_rate 4096-ptr_max
PARAM_VALUE 3 initial_rate->bw 0
PARAM_VALUE 3 initial_rate->index 0-64
PARAM_VALUE 3 initial_rate->ldpc 0
PARAM_VALUE 3 initial_rate->sgi 0
PARAM_VALUE 3 initial_rate->type 1-2
BUF_SIZE 1 sta (-1)-0,600
BUF_SIZE 1 sta (-1)-0,600
BUF_SIZE 2 lq_sta 4168
BUF_SIZE 3 initial_rate 20
DATA_SOURCE 0 mvm $0
DATA_SOURCE 1 sta $1
DATA_SOURCE 2 lq_sta $2
MEM_ZERO 0 &mvm->drv_rx_stats
MEM_ZERO 2 lq_sta
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 sta->mfp 0-1
USER_DATA 1 sta->spp_amsdu 0-1[c]
USER_DATA 1 sta->wme 0-1[c]
NO_OVERFLOW_SIMPLE 0 mvm->trans->info.num_rxqs
NO_OVERFLOW_SIMPLE 1 sta->valid_links
USER_PTR 1 sta->addr
LOCK2 &mvmsta->deflink.lq_sta.rs_drv.pers.lock
LOCK2 bh
HALF_LOCKED2 &sta->rate_ctrl_lock
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &mvm->mutex
TYPE_LOCK (struct lq_sta_pers)->lock

drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_program_fix_rate() -> rs_fill_lq_cmd()

Type Parameter Key Value
PARAM_VALUE 0 mvm 4096-ptr_max
PARAM_VALUE 1 sta 0
PARAM_VALUE 2 lq_sta 4096-ptr_max
PARAM_VALUE 2 lq_sta->active_legacy_rate 4095
PARAM_VALUE 2 lq_sta->active_mimo2_rate 8144
PARAM_VALUE 2 lq_sta->active_siso_rate 8144
PARAM_VALUE 2 lq_sta->pers.dbg_fixed_rate 1-u32max
PARAM_VALUE 3 initial_rate 0
BUF_SIZE 2 lq_sta s32min-(-2),1-s32max
BUF_SIZE 2 lq_sta s32min-(-2),1-s32max
DATA_SOURCE 0 mvm $0
DATA_SOURCE 2 lq_sta $1
NOCHECK_CALL

drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_update_rate_tbl() -> rs_fill_lq_cmd()

Type Parameter Key Value
PARAM_VALUE 0 mvm 4096-ptr_max
PARAM_VALUE 0 mvm->fwrt.dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 mvm->fwrt.trans->cfg->dccm2_len 0,32768
PARAM_VALUE 0 mvm->fwrt.trans->cfg->dccm_len 0,65536,81920,96768,98304
PARAM_VALUE 0 mvm->fwrt.trans->cfg->dccm_offset 0,8388608
PARAM_VALUE 0 mvm->fwrt.trans->dev->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mvm->fwrt.trans->dev->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mvm->fwrt.trans->dev->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->d3_debug_data_base_addr 0,4198400
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->d3_debug_data_length 0,61440,94208
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dbgi_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dbgi_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dbgi_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dram_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dram_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dram_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_smem_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_smem_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_smem_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->num_of_queues 20,31,512
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->smem_len 0,425984
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->ucode_api_min 0,30,77,89,1102
PARAM_VALUE 0 mvm->fwrt.trans->restart.wk.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mvm->fwrt.trans->restart.wk.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mvm->fwrt.trans->restart.wk.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 mvm->trans->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 mvm->trans->dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 mvm->trans->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 mvm->trans->dev->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mvm->trans->dev->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mvm->trans->dev->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dbgi_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dbgi_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dbgi_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dram_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dram_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dram_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_smem_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_smem_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_smem_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 1 sta 4096-ptr_max
PARAM_VALUE 1 sta->deflink.supp_rates 4096-ptr_max
PARAM_VALUE 2 lq_sta 4096-ptr_max
PARAM_VALUE 2 lq_sta->is_agg 0-1
PARAM_VALUE 2 lq_sta->last_rate_n_flags 1-u32max
PARAM_VALUE 2 lq_sta->lq.rs_table 4096-ptr_max
PARAM_VALUE 2 lq_sta->lq_info 4096-ptr_max
PARAM_VALUE 2 lq_sta->missed_rate_counter 0
PARAM_VALUE 2 lq_sta->pers.dbg_fixed_rate 0
PARAM_VALUE 2 lq_sta->pers.drv 1-u64max
PARAM_VALUE 2 lq_sta->search_better_tbl 0-1
PARAM_VALUE 3 initial_rate 4096-ptr_max
BUF_SIZE 1 sta (-1)-0,600
BUF_SIZE 1 sta (-1)-0,600
BUF_SIZE 2 lq_sta 4168
CAPPED_DATA 2 lq_sta->is_agg 1
DATA_SOURCE 0 mvm $0
DATA_SOURCE 1 sta $1
DATA_SOURCE 2 lq_sta $2
FUZZY_MAX 2 lq_sta->is_agg 1
HARD_MAX 2 lq_sta->is_agg 1
HARD_MAX 2 lq_sta->search_better_tbl 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mvmsta->deflink.lq_sta.rs_drv.pers.lock
LOCK2 bh
HALF_LOCKED2 &sta->rate_ctrl_lock
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &mvm->mutex
TYPE_LOCK (struct lq_sta_pers)->lock