Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_cfg80211_add_key() -> mwifiex_set_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | kp | 4096-ptr_max |
| PARAM_VALUE | 1 | kp->ltf_keyseed_len | 0-u16max |
| PARAM_VALUE | 1 | kp->mode | 0-255 |
| PARAM_VALUE | 4 | key_index | 0-7 |
| PARAM_VALUE | 5 | mac_addr | 0,4096-ptr_max |
| PARAM_VALUE | 6 | disable | 0 |
| BUF_SIZE | 1 | kp->key | (-1),1-s32max |
| BUF_SIZE | 1 | kp->seq | (-1)-0,8 |
| BUF_SIZE | 2 | key | (-1),1-s32max |
| BUF_SIZE | 2 | key | (-1),1-s32max |
| BUF_SIZE | 5 | mac_addr | (-1)-0,6,14 |
| BUF_SIZE | 5 | mac_addr | (-1)-0,6,14 |
| CAPPED_DATA | 4 | key_index | 1 |
| DATA_SOURCE | 0 | priv | r mwifiex_netdev_get_priv |
| DATA_SOURCE | 1 | kp | $6 |
| DATA_SOURCE | 4 | key_index | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | kp->key_len | 0-u16max[u] |
| USER_DATA | 3 | key_len | 0-u16max[u] |
| USER_DATA | 5 | *mac_addr | 0-255 |
| UNITS | 3 | key_len | unit_byte |
| USER_PTR | 1 | kp->key | |
| USER_PTR | 1 | kp->ltf_keyseed | |
| USER_PTR | 1 | kp->seq | |
| USER_PTR | 2 | key | |
| USER_PTR | 5 | mac_addr | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_cfg80211_assoc() -> mwifiex_set_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->sec_info.encryption_mode | 0 |
| PARAM_VALUE | 0 | priv->sec_info.is_authtype_auto | 0 |
| PARAM_VALUE | 0 | priv->sec_info.wpa2_enabled | 0 |
| PARAM_VALUE | 0 | priv->sec_info.wpa_enabled | 0 |
| PARAM_VALUE | 0 | priv->wep_key_curr_index | 0 |
| PARAM_VALUE | 1 | kp | 0 |
| PARAM_VALUE | 2 | key | 0 |
| PARAM_VALUE | 3 | key_len | 0 |
| PARAM_VALUE | 4 | key_index | 0 |
| PARAM_VALUE | 5 | mac_addr | 0 |
| PARAM_VALUE | 6 | disable | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_cfg80211_assoc() -> mwifiex_set_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->adapter->hs_activated_manually | 0 |
| PARAM_VALUE | 0 | priv->adapter->hs_cfg.conditions | 0-4294967294 |
| PARAM_VALUE | 0 | priv->sec_info.encryption_mode | 1027073,1027077 |
| PARAM_VALUE | 0 | priv->wep_key_curr_index | 0-255 |
| PARAM_VALUE | 0 | *priv->aes_key->key_param_set.key | 0-255 |
| PARAM_VALUE | 1 | kp | 0 |
| PARAM_VALUE | 2 | key | 1-u64max |
| PARAM_VALUE | 5 | mac_addr | 0 |
| PARAM_VALUE | 6 | disable | 0 |
| BUF_SIZE | 2 | key | (-1)-s32max |
| BUF_SIZE | 2 | key | (-1)-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| UNITS | 3 | key_len | unit_byte |
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_cfg80211_associate() -> mwifiex_set_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->sec_info.encryption_mode | 0 |
| PARAM_VALUE | 0 | priv->sec_info.is_authtype_auto | 0 |
| PARAM_VALUE | 0 | priv->sec_info.wpa2_enabled | 0 |
| PARAM_VALUE | 0 | priv->sec_info.wpa_enabled | 0 |
| PARAM_VALUE | 0 | priv->wep_key_curr_index | 0 |
| PARAM_VALUE | 1 | kp | 0 |
| PARAM_VALUE | 2 | key | 0 |
| PARAM_VALUE | 3 | key_len | 0 |
| PARAM_VALUE | 4 | key_index | 0 |
| PARAM_VALUE | 5 | mac_addr | 0 |
| PARAM_VALUE | 6 | disable | 1 |
| DATA_SOURCE | 0 | priv | r mwifiex_netdev_get_priv |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_cfg80211_del_key() -> mwifiex_set_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | kp | 0 |
| PARAM_VALUE | 2 | key | 0 |
| PARAM_VALUE | 3 | key_len | 0 |
| PARAM_VALUE | 4 | key_index | 0-7 |
| PARAM_VALUE | 5 | mac_addr | 0,4096-ptr_max |
| PARAM_VALUE | 6 | disable | 1 |
| BUF_SIZE | 5 | mac_addr | (-1)-0,6,14 |
| BUF_SIZE | 5 | mac_addr | (-1)-0,6,14 |
| CAPPED_DATA | 4 | key_index | 1 |
| DATA_SOURCE | 0 | priv | r mwifiex_netdev_get_priv |
| DATA_SOURCE | 4 | key_index | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 5 | *mac_addr | 0-255 |
| USER_PTR | 5 | mac_addr | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_cfg80211_set_default_key() -> mwifiex_set_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->bss_type | 0,2-255 |
| PARAM_VALUE | 0 | priv->sec_info.wep_enabled | 1-255 |
| PARAM_VALUE | 1 | kp | 0 |
| PARAM_VALUE | 2 | key | 0 |
| PARAM_VALUE | 3 | key_len | 0 |
| PARAM_VALUE | 4 | key_index | 0-127 |
| PARAM_VALUE | 5 | mac_addr | 0 |
| PARAM_VALUE | 6 | disable | 0 |
| CAPPED_DATA | 4 | key_index | 1 |
| DATA_SOURCE | 0 | priv | r mwifiex_netdev_get_priv |
| DATA_SOURCE | 4 | key_index | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |