Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/wireless/nl80211.c nl80211_build_scan_msg() -> nl80211_prep_scan_msg()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 1 rdev 4096-ptr_max
PARAM_VALUE 1 rdev->scan_msg 0
PARAM_VALUE 1 rdev->scan_req 4096-ptr_max
PARAM_VALUE 1 rdev->scan_req->req.wdev 4096-ptr_max
PARAM_VALUE 1 rdev->scan_req->req.wdev->netdev->ieee80211_ptr->conn->state 0-4294967295
PARAM_VALUE 1 rdev->scan_req->req.wdev->netdev->ieee80211_ptr->wiphy 1-u64max
PARAM_VALUE 1 rdev->wiphy.flags 4-u32max
PARAM_VALUE 2 wdev 4096-ptr_max
PARAM_VALUE 2 wdev->netdev 0,4096-ptr_max
PARAM_VALUE 2 wdev->netdev->ieee80211_ptr 4096-ptr_max
PARAM_VALUE 2 wdev->netdev->ieee80211_ptr->conn->state 0-4294967295
PARAM_VALUE 2 wdev->netdev->ieee80211_ptr->wiphy 1-u64max
PARAM_VALUE 3 portid 0
PARAM_VALUE 4 seq 0
PARAM_VALUE 5 flags 0
PARAM_VALUE 6 cmd 34-35
BUF_SIZE 0 msg 0-s32max
BUF_SIZE 0 msg 0-s32max
BUF_SIZE 1 rdev s32min-(-1),1-s32max
BUF_SIZE 1 rdev s32min-(-1),1-s32max
DATA_SOURCE 0 msg r nlmsg_new
DATA_SOURCE 1 rdev $0
DATA_SOURCE 2 wdev $1
FUZZY_MAX 6 cmd 35
BIT_INFO 6 cmd 0x22,0x23
HARD_MAX 6 cmd 35
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 rdev->int_scan_req->req.n_ssids
HALF_LOCKED2 1 &rdev->wiphy.mtx

net/wireless/nl80211.c nl80211_send_scan_start() -> nl80211_prep_scan_msg()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 1 rdev 4096-ptr_max
PARAM_VALUE 1 rdev->scan_msg 0
PARAM_VALUE 1 rdev->scan_req 4096-ptr_max
PARAM_VALUE 1 rdev->scan_req->req.n_channels 0-s32max
PARAM_VALUE 1 rdev->scan_req->req.n_ssids 0-255
PARAM_VALUE 1 rdev->scan_req->req.wdev 4096-ptr_max
PARAM_VALUE 1 rdev->scan_req->req.wiphy 4096-ptr_max
PARAM_VALUE 2 wdev->wiphy 4096-ptr_max
PARAM_VALUE 3 portid 0
PARAM_VALUE 4 seq 0
PARAM_VALUE 5 flags 0
PARAM_VALUE 6 cmd 33
BUF_SIZE 0 msg 0-s32max
BUF_SIZE 0 msg 0-s32max
BUF_SIZE 1 rdev s32min-(-1),1-s32max
BUF_SIZE 1 rdev s32min-(-1),1-s32max
BUF_SIZE 2 wdev s32min-(-1),1-s32max
BUF_SIZE 2 wdev s32min-(-1),1-s32max
BUF_SIZE 2 wdev->conn (-1),424
BUF_SIZE 2 wdev->conn->params.bssid (-1),6
BUF_SIZE 2 wdev->conn->params.ssid (-1),32
BUF_SIZE 2 wdev->connect_keys (-1)-0,280
CAPPED_DATA 1 rdev->scan_req->req.n_channels 1
CAPPED_DATA 1 rdev->scan_req->req.n_ssids 1
CAPPED_DATA 1 rdev->scan_req->req.wdev 1
DATA_SOURCE 0 msg r nlmsg_new
DATA_SOURCE 1 rdev $0
DATA_SOURCE 2 wdev $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 rdev->int_scan_req->req.n_channels
NO_OVERFLOW_SIMPLE 1 rdev->int_scan_req->req.n_ssids
NO_OVERFLOW_SIMPLE 1 rdev->scan_req->req.n_ssids
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 1 &rdev->wiphy.mtx