Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/mac80211/tx.c ieee80211_duration() -> ieee80211_frame_duration()

Type Parameter Key Value
PARAM_VALUE 0 band 0-3,5-u32max
PARAM_VALUE 1 len 10
PARAM_VALUE 2 rate 0-u16max
PARAM_VALUE 3 erp 0,16
CAPPED_DATA 2 rate 1
BIT_INFO 3 erp 0x0,0x10
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/mac80211/tx.c ieee80211_duration() -> ieee80211_frame_duration()

Type Parameter Key Value
PARAM_VALUE 0 band 0-3,5-u32max
PARAM_VALUE 1 len 1-s32max,18446744071562067968-u64max
PARAM_VALUE 3 erp 0,16
DATA_SOURCE 1 len $3
BIT_INFO 3 erp 0x0,0x10
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 len unit_byte
HALF_LOCKED2 rcu_read

net/mac80211/util.c ieee80211_ctstoself_duration() -> ieee80211_frame_duration()

Type Parameter Key Value
PARAM_VALUE 2 rate 0-u16max
PARAM_VALUE 3 erp 0,16
DATA_SOURCE 1 len $2
FUZZY_MAX 3 erp 0
BIT_INFO 3 erp 0x0,0x10
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 len 14-u32max[c]
NO_OVERFLOW_SIMPLE 1 len
UNITS 1 len unit_byte

net/mac80211/util.c ieee80211_ctstoself_duration() -> ieee80211_frame_duration()

Type Parameter Key Value
PARAM_VALUE 1 len 10
PARAM_VALUE 2 rate 0-u16max
PARAM_VALUE 3 erp 0,16
FUZZY_MAX 3 erp 0
BIT_INFO 3 erp 0x0,0x10
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

net/mac80211/util.c ieee80211_generic_frame_duration() -> ieee80211_frame_duration()

Type Parameter Key Value
PARAM_VALUE 3 erp 0,16
DATA_SOURCE 0 band $2
DATA_SOURCE 1 len $3
FUZZY_MAX 3 erp 0
BIT_INFO 3 erp 0x0,0x10
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 len 14-u32max[c]
USER_DATA 1 len 38-550[c][u]
UNITS 0 band unit_byte
UNITS 1 len unit_byte
HALF_LOCKED2 &ah->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &wl->mutex

net/mac80211/util.c ieee80211_rts_duration() -> ieee80211_frame_duration()

Type Parameter Key Value
PARAM_VALUE 1 len 10
PARAM_VALUE 2 rate 0-u16max
PARAM_VALUE 3 erp 0,16
FUZZY_MAX 3 erp 0
BIT_INFO 3 erp 0x0,0x10
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

net/mac80211/util.c ieee80211_rts_duration() -> ieee80211_frame_duration()

Type Parameter Key Value
PARAM_VALUE 2 rate 0-u16max
PARAM_VALUE 3 erp 0,16
DATA_SOURCE 1 len $2
FUZZY_MAX 3 erp 0
BIT_INFO 3 erp 0x0,0x10
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 len 14-u32max[c]
NO_OVERFLOW_SIMPLE 1 len
UNITS 1 len unit_byte

net/mac80211/util.c ieee80211_rts_duration() -> ieee80211_frame_duration()

Type Parameter Key Value
PARAM_VALUE 1 len 10
PARAM_VALUE 2 rate 0-u16max
PARAM_VALUE 3 erp 0,16
FUZZY_MAX 3 erp 0
BIT_INFO 3 erp 0x0,0x10
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

net/mac80211/rc80211_minstrel_ht.c minstrel_ht_update_caps() -> ieee80211_frame_duration()

Type Parameter Key Value
PARAM_VALUE 1 len 10
PARAM_VALUE 2 rate 60
PARAM_VALUE 3 erp 1
PARAM_VALUE 4 short_preamble 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sta->rate_ctrl_lock
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &sta->mesh->plink_lock
TYPE_LOCK (struct sta_info)->rate_ctrl_lock

net/mac80211/rc80211_minstrel_ht.c minstrel_ht_update_caps() -> ieee80211_frame_duration()

Type Parameter Key Value
PARAM_VALUE 1 len 0
PARAM_VALUE 2 rate 60
PARAM_VALUE 3 erp 1
PARAM_VALUE 4 short_preamble 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sta->rate_ctrl_lock
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &sta->mesh->plink_lock
TYPE_LOCK (struct sta_info)->rate_ctrl_lock

net/mac80211/rc80211_minstrel_ht.c minstrel_ht_update_caps() -> ieee80211_frame_duration()

Type Parameter Key Value
PARAM_VALUE 1 len 10
PARAM_VALUE 4 short_preamble 1
BIT_INFO 3 erp 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sta->rate_ctrl_lock
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &sta->mesh->plink_lock
TYPE_LOCK (struct sta_info)->rate_ctrl_lock