Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/net/wireless/intel/iwlwifi/mld/scan.c, line 272
- drivers/net/wireless/intel/iwlwifi/mvm/scan.c, line 718
- drivers/net/wireless/marvell/mwl8k.c, line 2999
- net/mac80211/mlme.c
- net/mac80211/tdls.c
- net/mac80211/util.c
- net/wireless/sme.c, line 529
Smatch caller information:
drivers/net/wireless/marvell/mwl8k.c mwl8k_beacon_copy_inject_ds_params() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ielen | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 2 |
| PARAM_VALUE | 4 | offset | 0 |
| BUF_SIZE | 2 | ids | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
net/mac80211/tdls.c ieee80211_tdls_add_chan_switch_req_ies() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ies | 4096-ptr_max |
| PARAM_VALUE | 1 | ielen | 1-u16max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 1 |
| PARAM_VALUE | 4 | offset | 0 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| DATA_SOURCE | 0 | ies | $4 |
| DATA_SOURCE | 1 | ielen | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ies | 0-255 |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
| USER_PTR | 0 | ies | |
| LOCK2 | rcu_read |
net/mac80211/tdls.c ieee80211_tdls_add_setup_cfm_ies() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ies | 4096-ptr_max |
| PARAM_VALUE | 1 | ielen | 1-u16max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 1 |
| PARAM_VALUE | 4 | offset | 0 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| DATA_SOURCE | 0 | ies | $4 |
| DATA_SOURCE | 1 | ielen | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ies | 0-255 |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
| USER_PTR | 0 | ies | |
| LOCK2 | rcu_read |
net/mac80211/tdls.c ieee80211_tdls_add_setup_cfm_ies() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ies | 4096-ptr_max |
| PARAM_VALUE | 1 | ielen | 1-u16max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 4 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 2 | ids | 4 |
| DATA_SOURCE | 0 | ies | $4 |
| DATA_SOURCE | 1 | ielen | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ies | 0-255 |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
| USER_PTR | 0 | ies | |
| LOCK2 | rcu_read |
net/mac80211/tdls.c ieee80211_tdls_add_setup_start_ies() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ies | 4096-ptr_max |
| PARAM_VALUE | 1 | ielen | 1-u16max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 5 |
| PARAM_VALUE | 4 | offset | 0 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 2 | ids | 5 |
| DATA_SOURCE | 0 | ies | $5 |
| DATA_SOURCE | 1 | ielen | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ies | 0-255 |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
| USER_PTR | 0 | ies | |
| LOCK2 | rcu_read |
net/mac80211/tdls.c ieee80211_tdls_add_setup_start_ies() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ies | 4096-ptr_max |
| PARAM_VALUE | 1 | ielen | 1-u16max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 10 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 2 | ids | 10 |
| DATA_SOURCE | 0 | ies | $5 |
| DATA_SOURCE | 1 | ielen | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ies | 0-255 |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
| USER_PTR | 0 | ies | |
| LOCK2 | rcu_read |
net/mac80211/tdls.c ieee80211_tdls_add_setup_start_ies() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ies | 4096-ptr_max |
| PARAM_VALUE | 1 | ielen | 1-u16max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 11 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 2 | ids | 11 |
| DATA_SOURCE | 0 | ies | $5 |
| DATA_SOURCE | 1 | ielen | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ies | 0-255 |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
| USER_PTR | 0 | ies | |
| LOCK2 | rcu_read |
net/mac80211/tdls.c ieee80211_tdls_add_setup_start_ies() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ies | 4096-ptr_max |
| PARAM_VALUE | 1 | ielen | 1-u16max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 3 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 2 | ids | 3 |
| DATA_SOURCE | 0 | ies | $5 |
| DATA_SOURCE | 1 | ielen | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ies | 0-255 |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
| USER_PTR | 0 | ies | |
| LOCK2 | rcu_read |
net/mac80211/tdls.c ieee80211_tdls_add_setup_start_ies() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ies | 4096-ptr_max |
| PARAM_VALUE | 1 | ielen | 1-u16max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 3 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 0 | ies | (-1),6,9 |
| BUF_SIZE | 2 | ids | 3 |
| DATA_SOURCE | 0 | ies | $5 |
| DATA_SOURCE | 1 | ielen | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ies | 0-255 |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
| USER_PTR | 0 | ies | |
| LOCK2 | rcu_read |
net/mac80211/util.c ieee80211_put_preq_ies_band() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ies | 1-u64max |
| PARAM_VALUE | 1 | ielen | 1-u64max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 3 |
| PARAM_VALUE | 4 | offset | 0 |
| BUF_SIZE | 2 | ids | 3 |
| DATA_SOURCE | 0 | ies | $2 |
| DATA_SOURCE | 1 | ielen | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | ielen | |
| UNITS | 0 | ies | unit_byte |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
net/mac80211/util.c ieee80211_put_preq_ies_band() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ies | 1-u64max |
| PARAM_VALUE | 1 | ielen | 1-u64max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 2 |
| BUF_SIZE | 2 | ids | 2 |
| DATA_SOURCE | 0 | ies | $2 |
| DATA_SOURCE | 1 | ielen | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | ielen | |
| UNITS | 0 | ies | unit_byte |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
net/mac80211/util.c ieee80211_put_preq_ies_band() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ies | 1-u64max |
| PARAM_VALUE | 1 | ielen | 1-u64max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 6 |
| BUF_SIZE | 2 | ids | 6 |
| DATA_SOURCE | 0 | ies | $2 |
| DATA_SOURCE | 1 | ielen | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | ielen | |
| UNITS | 0 | ies | unit_byte |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
net/mac80211/util.c ieee80211_put_preq_ies_band() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ies | 1-u64max |
| PARAM_VALUE | 1 | ielen | 1-u64max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 3 |
| BUF_SIZE | 2 | ids | 3 |
| DATA_SOURCE | 0 | ies | $2 |
| DATA_SOURCE | 1 | ielen | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | ielen | |
| UNITS | 0 | ies | unit_byte |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
net/mac80211/mlme.c ieee80211_add_before_he_elems() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ielen | 1-u64max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 13 |
| BUF_SIZE | 2 | ids | 13 |
| DATA_SOURCE | 0 | ies | $1 |
| DATA_SOURCE | 1 | ielen | $2 |
| DATA_SOURCE | 4 | offset | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 4 | offset | |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
net/mac80211/mlme.c ieee80211_add_before_reg_conn() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ielen | 1-u64max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 4 |
| BUF_SIZE | 2 | ids | 4 |
| DATA_SOURCE | 0 | ies | $1 |
| DATA_SOURCE | 1 | ielen | $2 |
| DATA_SOURCE | 4 | offset | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 4 | offset | |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
net/mac80211/mlme.c ieee80211_add_before_vht_elems() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ielen | 1-u64max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 5 |
| BUF_SIZE | 2 | ids | 5 |
| DATA_SOURCE | 0 | ies | $1 |
| DATA_SOURCE | 1 | ielen | $2 |
| DATA_SOURCE | 4 | offset | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 4 | offset | |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
drivers/net/wireless/intel/iwlwifi/mld/scan.c iwl_mld_scan_add_2ghz_elems() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 4 |
| PARAM_VALUE | 4 | offset | 0 |
| BUF_SIZE | 2 | ids | 4 |
| DATA_SOURCE | 0 | ies | $1 |
| DATA_SOURCE | 1 | ielen | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | n_ids | unit_byte |
| HALF_LOCKED2 | &mld->wiphy->mtx |
net/wireless/sme.c cfg80211_sme_get_conn_ies() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ielen | 1-u64max |
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 6 |
| PARAM_VALUE | 4 | offset | 0 |
| BUF_SIZE | 0 | ies | 1-u16max |
| BUF_SIZE | 0 | ies | 1-u16max |
| BUF_SIZE | 2 | ids | 6 |
| DATA_SOURCE | 0 | ies | $1 |
| DATA_SOURCE | 1 | ielen | $2 |
| UNITS | 1 | ielen | unit_byte |
| UNITS | 3 | n_ids | unit_byte |
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |
drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_copy_and_insert_ds_elem() -> ieee80211_ie_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ids | 4096-ptr_max |
| PARAM_VALUE | 3 | n_ids | 4 |
| PARAM_VALUE | 4 | offset | 0 |
| BUF_SIZE | 2 | ids | 4 |
| DATA_SOURCE | 0 | ies | $1 |
| DATA_SOURCE | 1 | ielen | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | n_ids | unit_byte |
| LOCK2 | &mvm->mutex | ||
| TYPE_LOCK | (struct iwl_mvm)->mutex |