Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_calc_ack_time() -> brcms_c_calc_frame_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->band | 4096-ptr_max |
| PARAM_VALUE | 1 | ratespec | 0-255 |
| PARAM_VALUE | 2 | preamble_type | 0-1 |
| PARAM_VALUE | 3 | mac_len | 14 |
| DATA_SOURCE | 0 | wlc | $0 |
| DATA_SOURCE | 1 | ratespec | r brcms_basic_rate |
| DATA_SOURCE | 2 | preamble_type | $2 |
| FUZZY_MAX | 2 | preamble_type | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ratespec | 0-255[c][u] |
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_calc_ba_time() -> brcms_c_calc_frame_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->band | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->hw | 4096-ptr_max |
| PARAM_VALUE | 1 | ratespec | 0-255 |
| PARAM_VALUE | 2 | preamble_type | 1 |
| PARAM_VALUE | 3 | mac_len | 136 |
| DATA_SOURCE | 0 | wlc | $0 |
| DATA_SOURCE | 1 | ratespec | r brcms_basic_rate |
| DATA_SOURCE | 2 | preamble_type | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_compute_frame_dur() -> brcms_c_calc_frame_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->band | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->pub | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->stf | 4096-ptr_max |
| PARAM_VALUE | 1 | ratespec | 2 |
| PARAM_VALUE | 2 | preamble_type | 0 |
| DATA_SOURCE | 0 | wlc | $0 |
| DATA_SOURCE | 1 | ratespec | $1 |
| DATA_SOURCE | 2 | preamble_type | $2 |
| DATA_SOURCE | 3 | mac_len | $3 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &local->handle_wake_tx_queue_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_compute_rtscts_dur() -> brcms_c_calc_frame_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->band | 4096-ptr_max |
| PARAM_VALUE | 1 | ratespec | 0-127,134217728-134217855,134218752-134218879 |
| PARAM_VALUE | 2 | preamble_type | 0,2,4 |
| DATA_SOURCE | 0 | wlc | $0 |
| DATA_SOURCE | 1 | ratespec | $3 |
| DATA_SOURCE | 2 | preamble_type | $5 |
| DATA_SOURCE | 3 | mac_len | $6 |
| FUZZY_MAX | 2 | preamble_type | 4 |
| BIT_INFO | 1 | ratespec | 0x0,0x800047f |
| BIT_INFO | 2 | preamble_type | 0x0,0x6 |
| HARD_MAX | 2 | preamble_type | 4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ratespec | 134217728-134217855,134218752-134218879[c][u] |
| USER_DATA | 3 | mac_len | 0-u16max[u] |
| UNITS | 3 | mac_len | unit_byte |
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_d11hdrs_mac80211() -> brcms_c_calc_frame_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->pub | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->stf | 4096-ptr_max |
| PARAM_VALUE | 1 | ratespec | 2 |
| PARAM_VALUE | 2 | preamble_type | 0 |
| PARAM_VALUE | 3 | mac_len | 2346 |
| DATA_SOURCE | 0 | wlc | $0 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &local->handle_wake_tx_queue_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_d11hdrs_mac80211() -> brcms_c_calc_frame_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->band | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->edcf_txop | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->pub | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->stf | 4096-ptr_max |
| PARAM_VALUE | 1 | ratespec | 2 |
| PARAM_VALUE | 2 | preamble_type | 0 |
| DATA_SOURCE | 0 | wlc | $0 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | mac_len | unit_byte |
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &local->handle_wake_tx_queue_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_d11hdrs_mac80211() -> brcms_c_calc_frame_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->band | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->edcf_txop | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->pub | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->stf | 4096-ptr_max |
| PARAM_VALUE | 1 | ratespec | 2 |
| PARAM_VALUE | 2 | preamble_type | 0 |
| DATA_SOURCE | 0 | wlc | $0 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | mac_len | unit_byte |
| LOCK2 | &wl->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &local->handle_wake_tx_queue_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct brcms_info)->lock |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_mod_prb_rsp_rate_table() -> brcms_c_calc_frame_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wlc | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->ampdu->ba_rx_wsize | 0-255 |
| PARAM_VALUE | 0 | wlc->ampdu->ba_tx_wsize | 0-255 |
| PARAM_VALUE | 0 | wlc->ampdu->dur | 0-255 |
| PARAM_VALUE | 0 | wlc->ampdu->ffpld_rsvd | 0-4294967295 |
| PARAM_VALUE | 0 | wlc->ampdu->max_pdu | (-128)-127 |
| PARAM_VALUE | 0 | wlc->ampdu->mfbr | 0-1 |
| PARAM_VALUE | 0 | wlc->ampdu->mpdu_density | 0-255 |
| PARAM_VALUE | 0 | wlc->ampdu->retry_limit | 0-255 |
| PARAM_VALUE | 0 | wlc->ampdu->rr_retry_limit | 0-255 |
| PARAM_VALUE | 0 | wlc->ampdu->rx_factor | 0-255 |
| PARAM_VALUE | 0 | wlc->ampdu->tx_max_funl | 0-4294967295 |
| PARAM_VALUE | 0 | wlc->asi->antcfg_11n.num_antcfg | 0,3-4 |
| PARAM_VALUE | 0 | wlc->asi->antcfg_cur.num_antcfg | 0,3-4 |
| PARAM_VALUE | 0 | wlc->band | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->bsscfg | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->bsscfg->type | 1-2 |
| PARAM_VALUE | 0 | wlc->bsscfg->wlc->hw->d11core->bus->ops->read32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->bsscfg->wlc->hw->d11core->bus->ops->write16 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->bsscfg->wlc->hw->d11core->bus->ops->write32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->cmi->world_regd | 0-s64max |
| PARAM_VALUE | 0 | wlc->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->hw->d11core | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->hw->d11core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->hw->d11core->bus->drv_pcie2.reqsize | 0,128,1024 |
| PARAM_VALUE | 0 | wlc->hw->d11core->bus->mapped_core->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->hw->d11core->bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->hw->d11core->bus->ops->read16 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->hw->d11core->bus->ops->read32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->hw->d11core->bus->ops->write16 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->hw->d11core->bus->ops->write32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->hw->phy_sh->corerev | 0-4294967295 |
| PARAM_VALUE | 0 | wlc->hw->phy_sh->fast_timer | 0-4294967295 |
| PARAM_VALUE | 0 | wlc->hw->phy_sh->glacial_timer | 0-4294967295 |
| PARAM_VALUE | 0 | wlc->hw->phy_sh->hw_phyrxchain | 0-255 |
| PARAM_VALUE | 0 | wlc->hw->phy_sh->hw_phytxchain | 0-255 |
| PARAM_VALUE | 0 | wlc->hw->phy_sh->phy_noise_index | 0-4294967295 |
| PARAM_VALUE | 0 | wlc->hw->phy_sh->phytxchain | 0-255 |
| PARAM_VALUE | 0 | wlc->hw->phy_sh->slow_timer | 0-4294967295 |
| PARAM_VALUE | 0 | wlc->hw->sih->chip | 0-u16max |
| PARAM_VALUE | 0 | wlc->probe_resp | 1-u64max |
| PARAM_VALUE | 0 | wlc->pub | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->pub->sih->boardtype | 0-u16max |
| PARAM_VALUE | 0 | wlc->pub->sih->boardvendor | 0-u16max |
| PARAM_VALUE | 0 | wlc->pub->sih->ccrev | 0-255 |
| PARAM_VALUE | 0 | wlc->pub->sih->chip | 0-u16max |
| PARAM_VALUE | 0 | wlc->pub->sih->chippkg | 0-15 |
| PARAM_VALUE | 0 | wlc->pub->sih->chiprev | 0-15 |
| PARAM_VALUE | 0 | wlc->pub->sih->pmurev | 0-255 |
| PARAM_VALUE | 0 | wlc->pub->up | 1 |
| PARAM_VALUE | 0 | wlc->stf | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->wl->wlc->hw->d11core->bus->ops->read16 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->wl->wlc->hw->d11core->bus->ops->read32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->wl->wlc->hw->d11core->bus->ops->write16 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->wl->wlc->hw->d11core->bus->ops->write32 | 4096-ptr_max |
| PARAM_VALUE | 0 | wlc->wl->wlc->hw->phy_sh->phy_noise_index | 0-4294967295 |
| PARAM_VALUE | 0 | wlc->wl->wlc->hw->phy_sh->phytxchain | 0-255 |
| PARAM_VALUE | 0 | wlc->wl->wlc->hw->sih->pmurev | 0-255 |
| PARAM_VALUE | 0 | *wlc->fragthresh | 0-u16max |
| PARAM_VALUE | 1 | ratespec | 0-127 |
| PARAM_VALUE | 2 | preamble_type | 0 |
| PARAM_VALUE | 3 | mac_len | 0-510,4294967294-u32max |
| BUF_SIZE | 0 | wlc->bsscfg->wlc | (-1),912 |
| BUF_SIZE | 0 | wlc->probe_resp | (-1)-s32max |
| CAPPED_DATA | 0 | wlc->hw->d11core | 1 |
| CAPPED_DATA | 3 | mac_len | 1 |
| DATA_SOURCE | 0 | wlc | $0 |
| DATA_SOURCE | 3 | mac_len | $1 |
| FUZZY_MAX | 0 | wlc->bsscfg->type | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | wlc->hw->machwcap | 0-u32max |
| HOST_DATA | 0 | wlc->hw->machwcap_backup | 0-u32max |
| HOST_DATA | 0 | wlc->wl->wlc->ucode_rev | 0-s32max |
| UNITS | 3 | mac_len | unit_byte |
| USER_PTR | 0 | wlc->probe_resp->data | |
| HALF_LOCKED2 | &wl->lock | ||
| HALF_LOCKED2 | bh |