Defined in 1 files as a function:
Referenced in 7 files:
- net/wireless/ap.c, line 40
- net/wireless/ibss.c, line 167
- net/wireless/mesh.c, line 284
- net/wireless/nl80211.c, line 18253
- net/wireless/sme.c, line 1393
- net/wireless/trace.h, line 2599
- net/wireless/util.c, line 1297
Smatch caller information:
net/wireless/ibss.c cfg80211_clear_ibss() -> rdev_set_qos_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->conn_owner_nlportid | 0 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->connect_keys | 0 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->u.ibss.ssid_len | 1-255 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->wiphy | 1-u64max |
| PARAM_VALUE | 1 | dev->priv->ar->wmi->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev->priv->ar->wmi->parent_dev->cookie_count | 0-4294967295 |
| PARAM_VALUE | 1 | dev->priv->ar->wmi->parent_dev->cookie_list->map_no | 0-256 |
| PARAM_VALUE | 1 | dev->priv->ar->wmi->parent_dev->htc_target->credit_info->cur_free_credits | s32min-s32max |
| PARAM_VALUE | 1 | dev->priv->ar->wmi->parent_dev->htc_target->tx_bndl_mask | 0-4294967295 |
| PARAM_VALUE | 1 | dev->priv->ar->wmi->parent_dev->total_tx_data_pend | s32min-s32max |
| PARAM_VALUE | 1 | dev->priv->ar->wmi->traffic_class | 100 |
| PARAM_VALUE | 1 | dev->priv->ssid_len | 0 |
| PARAM_VALUE | 1 | dev->wireless_handlers->num_private_args | 0,8-9 |
| PARAM_VALUE | 1 | dev->wireless_handlers->standard | 0,4096-ptr_max |
| PARAM_VALUE | 1 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | *dev->priv->ssid | 0-255 |
| PARAM_VALUE | 2 | qos_map | 0 |
| BUF_SIZE | 1 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | dev | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | dev | 1 |
| DATA_SOURCE | 0 | rdev | r wiphy_to_rdev |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | dev | unit_byte |
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/wireless/ap.c ___cfg80211_stop_ap() -> rdev_set_qos_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->stop_ap | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->conn_owner_nlportid | 0 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->iftype | 3,9 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->u.ap.ssid_len | 0 |
| PARAM_VALUE | 2 | qos_map | 0 |
| BUF_SIZE | 0 | rdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rdev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rdev | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| BIT_INFO | 1 | dev->ieee80211_ptr->iftype | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | dev | unit_byte |
| HALF_LOCKED2 | 0 | &rdev->wiphy.mtx |
net/wireless/mesh.c cfg80211_leave_mesh() -> rdev_set_qos_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->leave_mesh | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->conn_owner_nlportid | 0 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->iftype | 7 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->u.mesh.id_len | 0 |
| PARAM_VALUE | 2 | qos_map | 0 |
| BUF_SIZE | 0 | rdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rdev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rdev | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &rdev->wiphy.mtx |
net/wireless/nl80211.c nl80211_set_qos_map() -> rdev_set_qos_map()
| 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_qos_map | 1-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->iftype | 1-4,7-9,12-14,16-u32max |
| PARAM_VALUE | 2 | qos_map | 0,4096-ptr_max |
| BUF_SIZE | 0 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | qos_map | 0,59 |
| BUF_SIZE | 2 | qos_map | 0,59 |
| 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/util.c cfg80211_change_iface() -> rdev_set_qos_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->change_virtual_intf | 1-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->iftype | 0-3,5-11,13-u32max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->use_4addr | 0 |
| PARAM_VALUE | 1 | dev->priv_flags | 512-u32max |
| PARAM_VALUE | 1 | dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,3720,9688-u64max |
| PARAM_VALUE | 1 | dev->wireless_handlers->num_private_args | 0,8-9 |
| PARAM_VALUE | 2 | qos_map | 0 |
| BUF_SIZE | 0 | rdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rdev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rdev | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wdev->wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/wireless/sme.c __cfg80211_disconnected() -> rdev_set_qos_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->del_key | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->conn_owner_nlportid | 0 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->connect_keys | 0 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->connected | 0 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->iftype | 2,8 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links->ap.beacon_interval | 0-4294967295 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links->ap.chandef.center_freq1 | 0-4294967295 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links->ap.chandef.center_freq2 | 0-4294967295 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links->ap.chandef.edmg.bw_config | 0-4294967295 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links->ap.chandef.edmg.channels | 0-255 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links->ap.chandef.freq1_offset | 0-u16max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links->ap.chandef.npca_punctured | 0-u16max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links->ap.chandef.punctured | 0-u16max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links->ap.chandef.s1g_primary_2mhz | 0-1 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links->ap.chandef.width | 0-4294967295 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links->cac_started | 0-1 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->links->cac_time_ms | 0-4294967295 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->u.client.ssid_len | 0 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->valid_links | 0 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->wiphy | 1-u64max |
| PARAM_VALUE | 2 | qos_map | 0 |
| DATA_SOURCE | 0 | rdev | r wiphy_to_rdev |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_PTR | 1 | dev->ieee80211_ptr->u.client.ssid |