Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_set_key() -> ath_key_config()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 1 vif 4096-ptr_max
PARAM_VALUE 2 sta 0,4096-ptr_max
PARAM_VALUE 3 key 4096-ptr_max
BUF_SIZE 0 common 1048
BUF_SIZE 2 sta 0,600
BUF_SIZE 2 sta 0,600
DATA_SOURCE 0 common r ath9k_hw_common
DATA_SOURCE 1 vif $2
DATA_SOURCE 2 sta $3
DATA_SOURCE 3 key $4
BIT_INFO 3 key->cipher 0x0,0xfffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 &priv->mutex
TYPE_LOCK (struct ath9k_htc_priv)->mutex

drivers/net/wireless/ath/ath9k/main.c ath9k_set_key() -> ath_key_config()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 1 vif 4096-ptr_max
PARAM_VALUE 2 sta 0,4096-ptr_max
PARAM_VALUE 2 sta->drv_priv 4096-ptr_max
PARAM_VALUE 2 sta->drv_priv->ps_key 0
PARAM_VALUE 3 key 4096-ptr_max
PARAM_VALUE 3 key->hw_key_idx 0
BUF_SIZE 0 common 1048
BUF_SIZE 2 sta 0,600
BUF_SIZE 2 sta 0,600
DATA_SOURCE 0 common r ath9k_hw_common
DATA_SOURCE 1 vif $2
DATA_SOURCE 2 sta $3
DATA_SOURCE 3 key $4
BIT_INFO 3 key->cipher 0x0,0xfffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sc->mutex
TYPE_LOCK (struct ath_softc)->mutex

drivers/net/wireless/ath/ath9k/main.c ath9k_sta_add() -> ath_key_config()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 1 vif 4096-ptr_max
PARAM_VALUE 1 vif->type 3-4
PARAM_VALUE 2 sta 4096-ptr_max
PARAM_VALUE 2 sta->drv_priv 4096-ptr_max
PARAM_VALUE 2 sta->drv_priv->ackto s32min-s32max
PARAM_VALUE 3 key 3672726746137399296
PARAM_VALUE 3 key->cipher 0
PARAM_VALUE 3 key->flags 0
PARAM_VALUE 3 key->icv_len 0
PARAM_VALUE 3 key->iv_len 0
PARAM_VALUE 3 key->keyidx 0
PARAM_VALUE 3 key->keylen 0
PARAM_VALUE 3 key->link_id 0
BUF_SIZE 0 common 1048
DATA_SOURCE 0 common r ath9k_hw_common
DATA_SOURCE 1 vif $1
DATA_SOURCE 2 sta $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 vif->bss_conf.qos 0-1[c]
USER_DATA 2 sta->drv_priv->sta->mfp 0-1
USER_DATA 2 sta->drv_priv->sta->spp_amsdu 0-1[c]
USER_DATA 2 sta->drv_priv->sta->wme 0-1[c]
USER_DATA 2 sta->drv_priv->vif->bss_conf.qos 0-1[c]
USER_DATA 2 sta->mfp 0-1
USER_DATA 2 sta->spp_amsdu 0-1[c]
USER_DATA 2 sta->wme 0-1[c]
NO_OVERFLOW_SIMPLE 1 vif->active_links
NO_OVERFLOW_SIMPLE 2 sta->valid_links
USER_PTR 2 sta->addr
HALF_LOCKED2 global &rtnl_mutex

drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_set_key() -> ath_key_config()

Type Parameter Key Value
PARAM_VALUE 0 common->crypt_caps 1-u32max
PARAM_VALUE 1 vif 4096-ptr_max
PARAM_VALUE 2 sta 0,4096-ptr_max
PARAM_VALUE 3 key 4096-ptr_max
PARAM_VALUE 3 key->cipher 1027073-1027074,1027076-1027077
BUF_SIZE 0 common 1048
BUF_SIZE 2 sta 0,600
BUF_SIZE 2 sta 0,600
DATA_SOURCE 0 common r ath5k_hw_common
DATA_SOURCE 1 vif $2
DATA_SOURCE 2 sta $3
DATA_SOURCE 3 key $4
BIT_INFO 3 key->flags 0x0,0xffbf
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ah->lock
TYPE_LOCK (struct ath5k_hw)->lock