Defined in 2 files as a function:
- net/ieee802154/rdev-ops.h, line 110 (as a function)
- net/wireless/rdev-ops.h, line 593 (as a function)
Referenced in 4 files:
- net/ieee802154/nl802154.c, line 1061
- net/wireless/nl80211.c, line 4410
- net/wireless/trace.h, line 1796
- net/wireless/wext-compat.c, line 895
Smatch caller information:
net/ieee802154/nl802154.c nl802154_set_tx_power() -> rdev_set_tx_power()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->wpan_phy.flags | 2-u64max |
| PARAM_VALUE | 0 | rdev->wpan_phy.supported.tx_powers | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->wpan_phy.supported.tx_powers_size | 1-u64max |
| BUF_SIZE | 0 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rdev | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | power | 1 |
| DATA_SOURCE | 1 | power | r nla_get_s32 |
| BIT_INFO | 0 | rdev->wpan_phy.flags | 0x2,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| 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 |
net/wireless/nl80211.c nl80211_set_wiphy() -> rdev_set_tx_power()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->set_tx_power | 1-u64max |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | power | 0,4096-ptr_max |
| PARAM_VALUE | 1 | power->wiphy | 1-u64max |
| PARAM_VALUE | 2 | radio_idx | (-1) |
| DATA_SOURCE | 3 | type | r nla_get_u32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &rdev->wiphy.mtx | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| 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 &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct wiphy)->mtx |
net/wireless/wext-compat.c cfg80211_wext_siwtxpower() -> rdev_set_tx_power()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->set_tx_power | 1-u64max |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | rdev->wiphy.rfkill | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->wiphy.rfkill->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdev->wiphy.rfkill->registered | 0-1 |
| PARAM_VALUE | 1 | power | 4096-ptr_max |
| PARAM_VALUE | 1 | power->wiphy | 1-u64max |
| PARAM_VALUE | 2 | radio_idx | (-1) |
| PARAM_VALUE | 3 | type | 0-2 |
| DATA_SOURCE | 0 | rdev | r wiphy_to_rdev |
| FUZZY_MAX | 3 | type | 2 |
| HARD_MAX | 3 | type | 2 |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &rdev->wiphy.mtx | |
| TYPE_LOCK | (struct wiphy)->mtx |