Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/ath/ath10k/mac.c ath10k_bss_assoc() -> ath10k_wmi_peer_set_param()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->htc.ar->ce_priv->ce_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc.ar->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 ar->htc.ar->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 ar->htc.ar->drv_priv->wr_async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc.ar->state 0-3,5-u32max
PARAM_VALUE 0 ar->hw_ce_regs->upd 0,4096-ptr_max
PARAM_VALUE 0 ar->state 0-3,5-u32max
PARAM_VALUE 0 ar->wmi.cmd->pdev_set_param_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->peer_assoc_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->peer_flush_tids_cmdid 24579,36894,36900
PARAM_VALUE 0 ar->wmi.cmd->start_scan_cmdid 12289,36864
PARAM_VALUE 0 ar->wmi.cmd->vdev_down_cmdid 20487,36886-36887,36889
PARAM_VALUE 0 ar->wmi.cmd->vdev_set_param_cmdid 20488,36889-36890,36892
PARAM_VALUE 0 ar->wmi.cmd->vdev_start_request_cmdid 20483,36882-36883,36885
PARAM_VALUE 0 ar->wmi.cmd->vdev_stop_cmdid 20486,36885-36886,36888
PARAM_VALUE 0 ar->wmi.cmd->vdev_up_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.eid s32min-8
PARAM_VALUE 0 ar->wmi.ops 4096-ptr_max
PARAM_VALUE 0 ar->wmi.pdev_param 4096-ptr_max
PARAM_VALUE 0 ar->wmi.pdev_param->txpower_limit2g 3
PARAM_VALUE 0 ar->wmi.pdev_param->txpower_limit5g 4
PARAM_VALUE 0 ar->wmi.peer_param 4096-ptr_max
PARAM_VALUE 0 ar->wmi.vdev_param->txbf 0,45,47
PARAM_VALUE 2 peer_addr 4096-ptr_max
PARAM_VALUE 4 param_value 1
BUF_SIZE 2 peer_addr 6
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ar->conf_mutex
TYPE_LOCK (struct ath10k)->conf_mutex

drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_clr_bitrate_mask_iter() -> ath10k_wmi_peer_set_param()

Type Parameter Key Value
PARAM_VALUE 3 param_id 9
PARAM_VALUE 4 param_value 255
BUF_SIZE 2 peer_addr 6
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &ar->conf_mutex
HALF_LOCKED2 &dev->mt76.mutex
HALF_LOCKED2 &file->lock
HALF_LOCKED2 &local->hw.wiphy->mtx
HALF_LOCKED2 &mvm->mutex
HALF_LOCKED2 &mvmsta->deflink.lq_sta.rs_drv.pers.lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &priv->sta_mutex
HALF_LOCKED2 &rtwdev->hw->wiphy->mtx
HALF_LOCKED2 &rtwdev->mutex
HALF_LOCKED2 bh
HALF_LOCKED2 global &rtnl_mutex

drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_set_vht_bitrate_mask_fixup() -> ath10k_wmi_peer_set_param()

Type Parameter Key Value
PARAM_VALUE 3 param_id 9
BUF_SIZE 2 peer_addr 6
DATA_SOURCE 0 ar $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &ar->conf_mutex
HALF_LOCKED2 &dev->mt76.mutex
HALF_LOCKED2 &file->lock
HALF_LOCKED2 &local->hw.wiphy->mtx
HALF_LOCKED2 &mvm->mutex
HALF_LOCKED2 &mvmsta->deflink.lq_sta.rs_drv.pers.lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &priv->sta_mutex
HALF_LOCKED2 &rtwdev->hw->wiphy->mtx
HALF_LOCKED2 &rtwdev->mutex
HALF_LOCKED2 bh
HALF_LOCKED2 global &rtnl_mutex

drivers/net/wireless/ath/ath10k/mac.c ath10k_set_key() -> ath10k_wmi_peer_set_param()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ar->conf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->conf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ar->data_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->wmi.cmd->vdev_set_param_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.peer_param 4096-ptr_max
PARAM_VALUE 4 param_value 1
BUF_SIZE 2 peer_addr 6
CAPPED_DATA 0 &ar->conf_mutex 1
CAPPED_DATA 1 vdev_id 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &ar->conf_mutex
TYPE_LOCK (struct ath10k)->conf_mutex

drivers/net/wireless/ath/ath10k/mac.c ath10k_set_key() -> ath10k_wmi_peer_set_param()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ar->conf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->conf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ar->data_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->wmi.cmd->vdev_set_param_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.peer_param 4096-ptr_max
PARAM_VALUE 4 param_value 1
BUF_SIZE 2 peer_addr 6
BUF_SIZE 2 peer_addr 6
CAPPED_DATA 0 &ar->conf_mutex 1
CAPPED_DATA 1 vdev_id 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &ar->conf_mutex
TYPE_LOCK (struct ath10k)->conf_mutex

drivers/net/wireless/ath/ath10k/mac.c ath10k_setup_peer_smps() -> ath10k_wmi_peer_set_param()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->hif.ops->resume 0,2297356133199454208,6656459558253826048,8319381249370562560,8998271695536312320
PARAM_VALUE 0 ar->hif.ops->suspend 0,4309317116845916160,4788745187938140160,5856773654724616192,6698100404480032768
PARAM_VALUE 0 ar->htc.ar->ce_priv->ce_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc.ar->dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 ar->htc.ar->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 ar->htc.ar->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 ar->htc.ar->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ar->htc.ar->drv_priv->wr_async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc.ar->state 0-3,5-u32max
PARAM_VALUE 0 ar->state 0-3,5-u32max
PARAM_VALUE 0 ar->wmi.cmd->peer_assoc_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->peer_flush_tids_cmdid 24579,36894,36900
PARAM_VALUE 0 ar->wmi.cmd->peer_set_param_cmdid 24580,36895,36901
PARAM_VALUE 0 ar->wmi.cmd->start_scan_cmdid 12289,36864
PARAM_VALUE 0 ar->wmi.cmd->vdev_down_cmdid 20487,36886-36887,36889
PARAM_VALUE 0 ar->wmi.cmd->vdev_set_param_cmdid 20488,36889-36890,36892
PARAM_VALUE 0 ar->wmi.cmd->vdev_start_request_cmdid 20483,36882-36883,36885
PARAM_VALUE 0 ar->wmi.cmd->vdev_stop_cmdid 20486,36885-36886,36888
PARAM_VALUE 0 ar->wmi.eid s32min-8
PARAM_VALUE 0 ar->wmi.ops 4096-ptr_max
PARAM_VALUE 0 ar->wmi.peer_param 4096-ptr_max
PARAM_VALUE 2 peer_addr 4096-ptr_max
PARAM_VALUE 4 param_value 0-2
BUF_SIZE 2 peer_addr 6
BUF_SIZE 2 peer_addr 6
DATA_SOURCE 0 ar $0
DATA_SOURCE 2 peer_addr $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *peer_addr 0-255
USER_PTR 2 peer_addr
HALF_LOCKED2 &ar->conf_mutex
HALF_LOCKED2 0 &ar->conf_mutex
TYPE_LOCK (struct ath10k)->conf_mutex

drivers/net/wireless/ath/ath10k/mac.c ath10k_sta_rc_update_wk() -> ath10k_wmi_peer_set_param()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ar->conf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->conf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ar->data_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->wmi.peer_param 4096-ptr_max
PARAM_VALUE 4 param_value 0-2,4-7,10,14-16
BUF_SIZE 2 peer_addr 6
CAPPED_DATA 0 &ar->conf_mutex 1
DATA_SOURCE 4 param_value r chan_to_phymode
LOCK2 0 &ar->conf_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ath10k)->conf_mutex

drivers/net/wireless/ath/ath10k/mac.c ath10k_sta_rc_update_wk() -> ath10k_wmi_peer_set_param()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ar->conf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->conf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ar->data_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc.ar->ce_priv->ce_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc.ar->dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 ar->htc.ar->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 ar->htc.ar->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 ar->htc.ar->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ar->htc.ar->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ar->htc.ar->drv_priv->wr_async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc.ar->state 0-3,5-u32max
PARAM_VALUE 0 ar->hw_ce_regs->upd 0,4096-ptr_max
PARAM_VALUE 0 ar->state 0-3,5-u32max
PARAM_VALUE 0 ar->wmi.cmd->peer_flush_tids_cmdid 24579,36894,36900
PARAM_VALUE 0 ar->wmi.cmd->peer_set_param_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->start_scan_cmdid 12289,36864
PARAM_VALUE 0 ar->wmi.cmd->vdev_down_cmdid 20487,36886-36887,36889
PARAM_VALUE 0 ar->wmi.cmd->vdev_set_param_cmdid 20488,36889-36890,36892
PARAM_VALUE 0 ar->wmi.cmd->vdev_start_request_cmdid 20483,36882-36883,36885
PARAM_VALUE 0 ar->wmi.cmd->vdev_stop_cmdid 20486,36885-36886,36888
PARAM_VALUE 0 ar->wmi.eid s32min-8
PARAM_VALUE 0 ar->wmi.ops 4096-ptr_max
PARAM_VALUE 0 ar->wmi.peer_param 4096-ptr_max
BUF_SIZE 2 peer_addr 6
CAPPED_DATA 0 &ar->conf_mutex 1
LOCK2 0 &ar->conf_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ath10k)->conf_mutex

drivers/net/wireless/ath/ath10k/mac.c ath10k_sta_rc_update_wk() -> ath10k_wmi_peer_set_param()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ar->conf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->conf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ar->data_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->hw_ce_regs->upd 0,4096-ptr_max
PARAM_VALUE 0 ar->wmi.cmd->peer_flush_tids_cmdid 24579,36894,36900
PARAM_VALUE 0 ar->wmi.cmd->peer_set_param_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->start_scan_cmdid 12289,36864
PARAM_VALUE 0 ar->wmi.cmd->vdev_down_cmdid 20487,36886-36887,36889
PARAM_VALUE 0 ar->wmi.cmd->vdev_set_param_cmdid 20488,36889-36890,36892
PARAM_VALUE 0 ar->wmi.cmd->vdev_start_request_cmdid 20483,36882-36883,36885
PARAM_VALUE 0 ar->wmi.cmd->vdev_stop_cmdid 20486,36885-36886,36888
PARAM_VALUE 0 ar->wmi.peer_param 4096-ptr_max
PARAM_VALUE 4 param_value 1-10
BUF_SIZE 2 peer_addr 6
CAPPED_DATA 0 &ar->conf_mutex 1
CAPPED_DATA 4 param_value 1
UNITS 4 param_value unit_byte
LOCK2 0 &ar->conf_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ath10k)->conf_mutex

drivers/net/wireless/ath/ath10k/mac.c ath10k_sta_rc_update_wk() -> ath10k_wmi_peer_set_param()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ar->conf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->conf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ar->data_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->hw_ce_regs->upd 0,4096-ptr_max
PARAM_VALUE 0 ar->wmi.cmd->peer_flush_tids_cmdid 24579,36894,36900
PARAM_VALUE 0 ar->wmi.cmd->peer_set_param_cmdid 1-u32max
PARAM_VALUE 0 ar->wmi.cmd->start_scan_cmdid 12289,36864
PARAM_VALUE 0 ar->wmi.cmd->vdev_down_cmdid 20487,36886-36887,36889
PARAM_VALUE 0 ar->wmi.cmd->vdev_set_param_cmdid 20488,36889-36890,36892
PARAM_VALUE 0 ar->wmi.cmd->vdev_start_request_cmdid 20483,36882-36883,36885
PARAM_VALUE 0 ar->wmi.cmd->vdev_stop_cmdid 20486,36885-36886,36888
PARAM_VALUE 0 ar->wmi.peer_param 4096-ptr_max
BUF_SIZE 2 peer_addr 6
CAPPED_DATA 0 &ar->conf_mutex 1
LOCK2 0 &ar->conf_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ath10k)->conf_mutex

drivers/net/wireless/ath/ath10k/mac.c ath10k_sta_set_txpwr() -> ath10k_wmi_peer_set_param()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ar->conf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->conf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ar->wmi.peer_param 4096-ptr_max
PARAM_VALUE 4 param_value 0-70
BUF_SIZE 2 peer_addr 6
CAPPED_DATA 0 &ar->conf_mutex 1
TASK_NOT_RUNNING
USER_DATA 2 *peer_addr 0-255
USER_PTR 2 peer_addr
LOCK2 0 &ar->conf_mutex
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct ath10k)->conf_mutex

drivers/net/wireless/ath/ath10k/debugfs_sta.c ath10k_dbg_sta_write_peer_debug_trigger() -> ath10k_wmi_peer_set_param()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ar->conf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ar->conf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->conf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ar->conf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ar->state 1
PARAM_VALUE 0 ar->wmi.peer_param 4096-ptr_max
PARAM_VALUE 4 param_value 1
BUF_SIZE 2 peer_addr 6
CAPPED_DATA 0 &ar->conf_mutex 1
LOCK2 0 &ar->conf_mutex
TYPE_LOCK (struct ath10k)->conf_mutex