Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_get_lower_rate() -> il4965_rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | il | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl | 1584199555129364480 |
| PARAM_VALUE | 1 | tbl->action | 0 |
| PARAM_VALUE | 1 | tbl->ant_type | 0-7 |
| PARAM_VALUE | 1 | tbl->is_SGI | 0-1 |
| PARAM_VALUE | 1 | tbl->is_dup | 0-1 |
| PARAM_VALUE | 1 | tbl->is_ht40 | 0-1 |
| PARAM_VALUE | 1 | tbl->lq_type | 0-4 |
| PARAM_VALUE | 1 | tbl->max_search | 5 |
| PARAM_VALUE | 2 | idx | 0-12,14-255 |
| DATA_SOURCE | 1 | tbl | $1 |
| FUZZY_MAX | 1 | tbl->is_SGI | 0 |
| FUZZY_MAX | 1 | tbl->is_ht40 | 0 |
| FUZZY_MAX | 1 | tbl->lq_type | 2 |
| MEM_ZERO | 1 | tbl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &il->mutex | ||
| HALF_LOCKED2 | &sta->rate_ctrl_lock | ||
| HALF_LOCKED2 | bh |
drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_initialize_lq() -> il4965_rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | il | 4096-ptr_max |
| PARAM_VALUE | 0 | il->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | il->hw->conf.chandef.chan | 4096-ptr_max |
| PARAM_VALUE | 0 | il->hw->wiphy | 4096-ptr_max |
| PARAM_VALUE | 0 | il->hw->wiphy->bands | 4096-ptr_max |
| PARAM_VALUE | 0 | il->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | il->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | il->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | il->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | il->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | il->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | il->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | il->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | il->pci_dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | il->pci_dev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | il->pci_dev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | il->pci_dev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | il->sta_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | il->stations->sta.add_immediate_ba_tid | 0-15 |
| PARAM_VALUE | 0 | il->stations->sta.remove_immediate_ba_tid | 0-15 |
| PARAM_VALUE | 1 | tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl->action | 0 |
| PARAM_VALUE | 1 | tbl->ant_type | 0-7 |
| PARAM_VALUE | 1 | tbl->current_rate | 0 |
| PARAM_VALUE | 1 | tbl->expected_tpt | 0 |
| PARAM_VALUE | 1 | tbl->is_SGI | 0-1 |
| PARAM_VALUE | 1 | tbl->is_dup | 0-1 |
| PARAM_VALUE | 1 | tbl->is_ht40 | 0-1 |
| PARAM_VALUE | 1 | tbl->lq_type | 0-4 |
| PARAM_VALUE | 1 | tbl->max_search | 5 |
| PARAM_VALUE | 2 | idx | (-1)-12 |
| PARAM_VALUE | 3 | use_green | 0-1 |
| DATA_SOURCE | 0 | il | $0 |
| DATA_SOURCE | 3 | use_green | r il4965_rs_use_green |
| MEM_ZERO | 1 | tbl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &il->mutex | |
| TYPE_LOCK | (struct il_priv)->mutex |
drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_move_mimo2_to_other() -> il4965_rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | il | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl->action | 5 |
| PARAM_VALUE | 1 | tbl->is_SGI | 0-1 |
| PARAM_VALUE | 1 | tbl->is_ht40 | 0-1 |
| PARAM_VALUE | 1 | tbl->max_search | 0,5 |
| PARAM_VALUE | 3 | use_green | 0-1 |
| DATA_SOURCE | 0 | il | $0 |
| DATA_SOURCE | 2 | idx | $4 |
| FUZZY_MAX | 1 | tbl->is_SGI | 1 |
| HARD_MAX | 1 | tbl->is_SGI | 1 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &sta->rate_ctrl_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &dev->mac_lock | ||
| HALF_LOCKED2 | &dev->mt76.rx_lock | ||
| HALF_LOCKED2 | &dev->rx_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct sta_info)->rate_ctrl_lock |
drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_move_siso_to_other() -> il4965_rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | il | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl->action | 5 |
| PARAM_VALUE | 1 | tbl->is_SGI | 0-1 |
| PARAM_VALUE | 1 | tbl->is_ht40 | 0-1 |
| PARAM_VALUE | 1 | tbl->max_search | 0,5 |
| PARAM_VALUE | 3 | use_green | 0-1 |
| DATA_SOURCE | 0 | il | $0 |
| DATA_SOURCE | 2 | idx | $4 |
| FUZZY_MAX | 1 | tbl->is_SGI | 1 |
| HARD_MAX | 1 | tbl->is_SGI | 1 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &sta->rate_ctrl_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &dev->mac_lock | ||
| HALF_LOCKED2 | &dev->mt76.rx_lock | ||
| HALF_LOCKED2 | &dev->rx_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct sta_info)->rate_ctrl_lock |
drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_rate_scale_perform() -> il4965_rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | il | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl->win | 4096-ptr_max |
| PARAM_VALUE | 3 | use_green | 0-1 |
| DATA_SOURCE | 0 | il | $0 |
| FUZZY_MAX | 3 | use_green | 0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &sta->rate_ctrl_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &dev->mac_lock | ||
| HALF_LOCKED2 | &dev->mt76.rx_lock | ||
| HALF_LOCKED2 | &dev->rx_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct sta_info)->rate_ctrl_lock |
drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_switch_to_mimo2() -> il4965_rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | il | 4096-ptr_max |
| PARAM_VALUE | 0 | il->hw_params.tx_chains_num | 2-255 |
| PARAM_VALUE | 0 | il->pci_dev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl->action | 0 |
| PARAM_VALUE | 1 | tbl->ant_type | 3,5-6 |
| PARAM_VALUE | 1 | tbl->expected_tpt | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl->is_SGI | 0 |
| PARAM_VALUE | 1 | tbl->is_ht40 | 0-1 |
| PARAM_VALUE | 1 | tbl->lq_type | 4 |
| PARAM_VALUE | 1 | tbl->max_search | 5 |
| PARAM_VALUE | 2 | idx | (-128)-12,14-127 |
| PARAM_VALUE | 3 | use_green | 0-1 |
| CAPPED_DATA | 1 | tbl->ant_type | 1 |
| DATA_SOURCE | 0 | il | $0 |
| DATA_SOURCE | 1 | tbl | $4 |
| DATA_SOURCE | 2 | idx | r il4965_rs_get_best_rate |
| FUZZY_MAX | 0 | il->hw_params.tx_chains_num | 2 |
| FUZZY_MAX | 1 | tbl->ant_type | 6 |
| FUZZY_MAX | 1 | tbl->is_ht40 | 1 |
| HARD_MAX | 1 | tbl->ant_type | 6 |
| HARD_MAX | 1 | tbl->is_ht40 | 1 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &sta->rate_ctrl_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &dev->mac_lock | ||
| HALF_LOCKED2 | &dev->mt76.rx_lock | ||
| HALF_LOCKED2 | &dev->rx_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct sta_info)->rate_ctrl_lock |
drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_switch_to_siso() -> il4965_rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | il | 4096-ptr_max |
| PARAM_VALUE | 0 | il->pci_dev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl->action | 0 |
| PARAM_VALUE | 1 | tbl->ant_type | 0-7 |
| PARAM_VALUE | 1 | tbl->expected_tpt | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl->is_SGI | 0-1 |
| PARAM_VALUE | 1 | tbl->is_ht40 | 0-1 |
| PARAM_VALUE | 1 | tbl->lq_type | 3 |
| PARAM_VALUE | 1 | tbl->max_search | 5 |
| PARAM_VALUE | 2 | idx | (-128)-12,14-127 |
| PARAM_VALUE | 3 | use_green | 0-1 |
| CAPPED_DATA | 1 | tbl->ant_type | 1 |
| DATA_SOURCE | 0 | il | $0 |
| DATA_SOURCE | 1 | tbl | $4 |
| DATA_SOURCE | 2 | idx | r il4965_rs_get_best_rate |
| FUZZY_MAX | 1 | tbl->ant_type | 4 |
| FUZZY_MAX | 1 | tbl->is_SGI | 0 |
| FUZZY_MAX | 1 | tbl->is_ht40 | 1 |
| HARD_MAX | 1 | tbl->is_ht40 | 1 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &sta->rate_ctrl_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &dev->mac_lock | ||
| HALF_LOCKED2 | &dev->mt76.rx_lock | ||
| HALF_LOCKED2 | &dev->rx_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct sta_info)->rate_ctrl_lock |
drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_update_rate_tbl() -> il4965_rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | il | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | (-128)-255 |
| PARAM_VALUE | 3 | use_green | 0-1 |
| CAPPED_DATA | 2 | idx | 1 |
| DATA_SOURCE | 0 | il | $0 |
| DATA_SOURCE | 1 | tbl | $2 |
| DATA_SOURCE | 2 | idx | $3 |
| DATA_SOURCE | 3 | use_green | $4 |
| FUZZY_MAX | 3 | use_green | 0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &sta->rate_ctrl_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &dev->mac_lock | ||
| HALF_LOCKED2 | &dev->mt76.rx_lock | ||
| HALF_LOCKED2 | &dev->rx_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct sta_info)->rate_ctrl_lock |