Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_get_lower_rate() -> rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->nvm_data | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl | 7679950860277583872 |
| 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-5 |
| PARAM_VALUE | 1 | tbl->max_search | 0,6,8 |
| PARAM_VALUE | 2 | index | 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 |
| FUZZY_MAX | 1 | tbl->max_search | 6 |
| MEM_ZERO | 1 | tbl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->mutex | ||
| HALF_LOCKED2 | &sta->rate_ctrl_lock | ||
| HALF_LOCKED2 | bh |
drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_initialize_lq() -> rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw->conf.chandef.chan | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw->wiphy | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw->wiphy->bands | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->nvm_data | 4096-ptr_max |
| 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-5 |
| PARAM_VALUE | 1 | tbl->max_search | 0,6,8 |
| PARAM_VALUE | 2 | index | (-1)-12 |
| PARAM_VALUE | 3 | use_green | 0 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 3 | use_green | r rs_use_green |
| MEM_ZERO | 1 | tbl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &priv->mutex | |
| TYPE_LOCK | (struct iwl_priv)->mutex |
drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_move_mimo2_to_other() -> rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->lib->bt_params->agg_time_limit | 1200 |
| PARAM_VALUE | 0 | priv->nvm_data | 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,6,8 |
| PARAM_VALUE | 3 | use_green | 0 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | index | $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/iwlwifi/dvm/rs.c rs_move_mimo3_to_other() -> rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->lib->bt_params->agg_time_limit | 1200 |
| PARAM_VALUE | 0 | priv->nvm_data | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl->action | 8 |
| PARAM_VALUE | 1 | tbl->is_SGI | 0-1 |
| PARAM_VALUE | 1 | tbl->is_ht40 | 0-1 |
| PARAM_VALUE | 1 | tbl->max_search | 0,6,8 |
| PARAM_VALUE | 3 | use_green | 0 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | index | $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/iwlwifi/dvm/rs.c rs_move_siso_to_other() -> rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->lib->bt_params->agg_time_limit | 1200 |
| PARAM_VALUE | 0 | priv->nvm_data | 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,6,8 |
| PARAM_VALUE | 3 | use_green | 0 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | index | $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/iwlwifi/dvm/rs.c rs_rate_scale_perform() -> rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->lib->bt_params->agg_time_limit | 1200 |
| PARAM_VALUE | 1 | tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl->win | 4096-ptr_max |
| PARAM_VALUE | 3 | use_green | 0 |
| DATA_SOURCE | 0 | priv | $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/iwlwifi/dvm/rs.c rs_switch_to_mimo2() -> rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw_params.tx_chains_num | 2-255 |
| PARAM_VALUE | 0 | priv->nvm_data | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->trans->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | priv->trans->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 | 6 |
| PARAM_VALUE | 2 | index | (-128)-12,14-127 |
| PARAM_VALUE | 3 | use_green | 0 |
| CAPPED_DATA | 1 | tbl->ant_type | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | tbl | $4 |
| DATA_SOURCE | 2 | index | r rs_get_best_rate |
| FUZZY_MAX | 0 | priv->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/iwlwifi/dvm/rs.c rs_switch_to_mimo3() -> rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw_params.tx_chains_num | 3-255 |
| PARAM_VALUE | 0 | priv->nvm_data | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->trans->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | priv->trans->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 | 7 |
| 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 | 5 |
| PARAM_VALUE | 1 | tbl->max_search | 8 |
| PARAM_VALUE | 2 | index | (-128)-12,14-127 |
| PARAM_VALUE | 3 | use_green | 0 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | tbl | $4 |
| DATA_SOURCE | 2 | index | r rs_get_best_rate |
| FUZZY_MAX | 0 | priv->hw_params.tx_chains_num | 3 |
| 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/iwlwifi/dvm/rs.c rs_switch_to_siso() -> rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->nvm_data | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->trans->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | priv->trans->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 | 6 |
| PARAM_VALUE | 2 | index | (-128)-12,14-127 |
| PARAM_VALUE | 3 | use_green | 0 |
| CAPPED_DATA | 1 | tbl->ant_type | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | tbl | $4 |
| DATA_SOURCE | 2 | index | r 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/iwlwifi/dvm/rs.c rs_update_rate_tbl() -> rate_n_flags_from_tbl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | tbl | 4096-ptr_max |
| PARAM_VALUE | 2 | index | (-128)-(-2),0-255 |
| PARAM_VALUE | 3 | use_green | 0 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | tbl | $3 |
| DATA_SOURCE | 2 | index | $4 |
| DATA_SOURCE | 3 | use_green | $5 |
| 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 |