Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/net/wireless/intel/ipw2x00/libipw_rx.c, line 1325 (as a function)
- drivers/staging/rtl8723bs/core/rtw_mlme.c, line 349 (as a function)
Referenced in 3 files:
- drivers/net/wireless/intel/ipw2x00/libipw_rx.c, line 1466
- drivers/staging/rtl8723bs/core/rtw_mlme.c
- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c, line 272
Smatch caller information:
drivers/net/wireless/intel/ipw2x00/libipw_rx.c libipw_process_probe_response() -> is_same_network()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 5532402441834291200 |
| PARAM_VALUE | 1 | dst->atim_window | 0-255 |
| PARAM_VALUE | 1 | dst->csa.mode | 0 |
| PARAM_VALUE | 1 | dst->flags | 0,2-u32max |
| PARAM_VALUE | 1 | dst->listen_interval | 10 |
| PARAM_VALUE | 1 | dst->mode | 1-2,4,6 |
| PARAM_VALUE | 1 | dst->qos_data.param_count | 0-15 |
| PARAM_VALUE | 1 | dst->qos_data.supported | 0-1 |
| PARAM_VALUE | 1 | dst->rates_ex_len | 0-16 |
| PARAM_VALUE | 1 | dst->rates_len | 0-12 |
| PARAM_VALUE | 1 | dst->rsn_ie_len | 0,2-64 |
| PARAM_VALUE | 1 | dst->ssid_len | 0-32 |
| PARAM_VALUE | 1 | dst->stats.freq | 0-2 |
| PARAM_VALUE | 1 | dst->stats.len | 10-u16max |
| PARAM_VALUE | 1 | dst->stats.mask | 0-15 |
| PARAM_VALUE | 1 | dst->stats.rate | 0-255 |
| PARAM_VALUE | 1 | dst->wpa_ie_len | 0,6-64 |
| CAPPED_DATA | 0 | &src->list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dst->atim_window | 0-255 |
| USER_DATA | 1 | dst->beacon_interval | 0-u16max[u] |
| USER_DATA | 1 | dst->capability | 0-u16max[u] |
| USER_DATA | 1 | dst->channel | 0-255 |
| USER_DATA | 1 | dst->erp_value | 0-255 |
| USER_DATA | 1 | dst->power_constraint | 0-255 |
| USER_DATA | 1 | dst->quiet.count | 0-255 |
| USER_DATA | 1 | dst->quiet.duration | 0-255 |
| USER_DATA | 1 | dst->quiet.offset | 0-255 |
| USER_DATA | 1 | dst->quiet.period | 0-255 |
| USER_DATA | 1 | dst->stats.len | 10-u16max |
| USER_DATA | 1 | dst->stats.noise | 0-255[u] |
| USER_DATA | 1 | dst->stats.rate | 0-255[u] |
| USER_DATA | 1 | dst->stats.received_channel | 0-255[u] |
| USER_DATA | 1 | dst->stats.rssi | (-128)-127 |
| USER_DATA | 1 | dst->stats.signal | 0-255[c] |
| USER_DATA | 1 | dst->tim.tim_count | 0-255 |
| USER_DATA | 1 | dst->tim.tim_period | 0-255 |
| USER_DATA | 1 | dst->tpc_report.link_margin | 0-255 |
| USER_DATA | 1 | dst->tpc_report.transmit_power | 0-255 |
| LOCK2 | &ieee->lock | ||
| LOCK2 | flags | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | &priv->low_lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct libipw_device)->lock |
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_cfg80211_inform_bss() -> is_same_network()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->ie_length | 0-976 |
| PARAM_VALUE | 2 | feature | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pmlmepriv->scanned_queue.lock | ||
| HALF_LOCKED2 | bh |
drivers/staging/rtl8723bs/core/rtw_mlme.c _rtw_find_same_network() -> is_same_network()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PARAM_VALUE | 0 | src->length | 0-872 |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | feature | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pmlmepriv->lock | ||
| LOCK2 | &pmlmepriv->scanned_queue.lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct __queue)->lock | ||
| TYPE_LOCK | (struct mlme_priv)->lock |
drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_update_scanned_network() -> is_same_network()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->ssid.ssid | 4096-ptr_max |
| PARAM_VALUE | 2 | feature | 0 |
| DATA_SOURCE | 1 | dst | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &pmlmepriv->lock | ||
| LOCK2 | &queue->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct __queue)->lock | ||
| TYPE_LOCK | (struct mlme_priv)->lock |
drivers/staging/rtl8723bs/core/rtw_mlme.c update_current_network() -> is_same_network()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->ssid.ssid | 4096-ptr_max |
| PARAM_VALUE | 2 | feature | 0 |
| DATA_SOURCE | 1 | dst | $1 |
| PREEMPT_ADD | |||
| LOCK2 | &pmlmepriv->lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct mlme_priv)->lock |
drivers/staging/rtl8723bs/core/rtw_mlme.c update_network() -> is_same_network()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->supported_rates | 0 |
| PARAM_VALUE | 2 | feature | 0 |
| BUF_SIZE | 1 | dst | (-1),872 |
| BUF_SIZE | 1 | dst | (-1),872 |
| CAPPED_DATA | 1 | dst->ssid.ssid_length | 1 |
| DATA_SOURCE | 1 | dst | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dst->ssid.ssid_length | 1-255[c] |
| HALF_LOCKED2 | &queue->lock | ||
| HALF_LOCKED2 | bh |