Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/wireless/intel/iwlegacy/3945-mac.c il3945_get_channels_for_scan() -> il_get_hw_mode()

Type Parameter Key Value
PARAM_VALUE 0 il 4096-ptr_max
PARAM_VALUE 1 band 0-1
BUF_SIZE 0 il->scan_cmd (-1),1240
BUF_SIZE 0 il->scan_request 136
CAPPED_DATA 0 il->scan_request->ie_len 1
CAPPED_DATA 0 il->scan_request->n_ssids 1
DATA_SOURCE 0 il $0
DATA_SOURCE 1 band $1
FUZZY_MAX 1 band 1
HARD_MAX 1 band 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 il->scan_request->n_channels
NO_OVERFLOW_SIMPLE 0 il->scan_vif->active_links
LOCK2 0 &il->mutex
HALF_LOCKED2 &rdev->wiphy.mtx
TYPE_LOCK (struct il_priv)->mutex

drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_get_channels_for_scan() -> il_get_hw_mode()

Type Parameter Key Value
PARAM_VALUE 0 il 4096-ptr_max
PARAM_VALUE 1 band 0-1
BUF_SIZE 0 il->scan_cmd (-1),1788
BUF_SIZE 0 il->scan_request 136
CAPPED_DATA 0 il->scan_request->ie_len 1
CAPPED_DATA 0 il->scan_request->n_ssids 1
DATA_SOURCE 0 il $0
DATA_SOURCE 1 band $2
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 il->scan_request->n_channels
NO_OVERFLOW_SIMPLE 0 il->scan_vif->active_links
LOCK2 0 &il->mutex
HALF_LOCKED2 &rdev->wiphy.mtx
TYPE_LOCK (struct il_priv)->mutex

drivers/net/wireless/intel/iwlegacy/common.c il_set_rate() -> il_get_hw_mode()

Type Parameter Key Value
PARAM_VALUE 0 il 4096-ptr_max
DATA_SOURCE 0 il $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 band unit_byte
LOCK2 0 &il->mutex
TYPE_LOCK (struct il_priv)->mutex

drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_channels_read() -> il_get_hw_mode()

Type Parameter Key Value
PARAM_VALUE 0 il 4096-ptr_max
PARAM_VALUE 1 band 0
BUF_SIZE 0 il s32min-(-2),1-s32max
BUF_SIZE 0 il s32min-(-2),1-s32max

drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_channels_read() -> il_get_hw_mode()

Type Parameter Key Value
PARAM_VALUE 0 il 4096-ptr_max
PARAM_VALUE 0 il->hw 4096-ptr_max
PARAM_VALUE 0 il->hw->wiphy 4096-ptr_max
PARAM_VALUE 1 band 1
BUF_SIZE 0 il s32min-(-2),1-s32max
BUF_SIZE 0 il s32min-(-2),1-s32max