Lines Matching refs:dur
618 uint nsyms, dur = 0, Ndps, kNdps; in brcms_c_calc_frame_time() local
631 dur = PREN_PREAMBLE + (tot_streams * PREN_PREAMBLE_EXT); in brcms_c_calc_frame_time()
633 dur += PREN_MM_EXT; in brcms_c_calc_frame_time()
649 dur += APHY_SYMBOL_TIME * nsyms; in brcms_c_calc_frame_time()
651 dur += DOT11_OFDM_SIGNAL_EXTENSION; in brcms_c_calc_frame_time()
653 dur = APHY_PREAMBLE_TIME; in brcms_c_calc_frame_time()
654 dur += APHY_SIGNAL_TIME; in brcms_c_calc_frame_time()
661 dur += APHY_SYMBOL_TIME * nsyms; in brcms_c_calc_frame_time()
663 dur += DOT11_OFDM_SIGNAL_EXTENSION; in brcms_c_calc_frame_time()
671 dur = (mac_len + rate - 1) / rate; in brcms_c_calc_frame_time()
673 dur += BPHY_PLCP_SHORT_TIME; in brcms_c_calc_frame_time()
675 dur += BPHY_PLCP_TIME; in brcms_c_calc_frame_time()
677 return dur; in brcms_c_calc_frame_time()
5685 uint dur = 0; in brcms_c_calc_ack_time() local
5694 dur = in brcms_c_calc_ack_time()
5697 return dur; in brcms_c_calc_ack_time()
5737 u16 dur, sifs; in brcms_c_compute_frame_dur() local
5741 dur = sifs; in brcms_c_compute_frame_dur()
5742 dur += (u16) brcms_c_calc_ack_time(wlc, rate, preamble_type); in brcms_c_compute_frame_dur()
5746 dur *= 2; in brcms_c_compute_frame_dur()
5748 dur += sifs; in brcms_c_compute_frame_dur()
5749 dur += in brcms_c_compute_frame_dur()
5753 return dur; in brcms_c_compute_frame_dur()
5759 u8 preamble_type, uint dur) in brcms_c_calc_frame_len() argument
5767 dur -= PREN_PREAMBLE + (tot_streams * PREN_PREAMBLE_EXT); in brcms_c_calc_frame_len()
5770 dur -= DOT11_OFDM_SIGNAL_EXTENSION; in brcms_c_calc_frame_len()
5774 nsyms = dur / APHY_SYMBOL_TIME; in brcms_c_calc_frame_len()
5779 dur -= APHY_PREAMBLE_TIME; in brcms_c_calc_frame_len()
5780 dur -= APHY_SIGNAL_TIME; in brcms_c_calc_frame_len()
5783 nsyms = dur / APHY_SYMBOL_TIME; in brcms_c_calc_frame_len()
5789 dur -= BPHY_PLCP_SHORT_TIME; in brcms_c_calc_frame_len()
5791 dur -= BPHY_PLCP_TIME; in brcms_c_calc_frame_len()
5792 mac_len = dur * rate; in brcms_c_calc_frame_len()
6073 u16 dur, sifs; in brcms_c_compute_rtscts_dur() local
6079 dur = 3 * sifs; in brcms_c_compute_rtscts_dur()
6080 dur += in brcms_c_compute_rtscts_dur()
6085 dur = 2 * sifs; in brcms_c_compute_rtscts_dur()
6088 dur += in brcms_c_compute_rtscts_dur()
6092 dur += in brcms_c_compute_rtscts_dur()
6096 dur += in brcms_c_compute_rtscts_dur()
6099 return dur; in brcms_c_compute_rtscts_dur()
6707 uint frag_dur, dur, dur_fallback; in brcms_c_d11hdrs_mac80211() local
6717 dur = in brcms_c_d11hdrs_mac80211()
6724 dur += le16_to_cpu(rts->duration); in brcms_c_d11hdrs_mac80211()
6728 dur = frag_dur; in brcms_c_d11hdrs_mac80211()
6732 dur = frag_dur; in brcms_c_d11hdrs_mac80211()
6733 dur += in brcms_c_d11hdrs_mac80211()
6746 txh->TxFesTimeNormal = cpu_to_le16((u16) dur); in brcms_c_d11hdrs_mac80211()
6758 if (wlc->edcf_txop[ac] >= (dur - frag_dur)) { in brcms_c_d11hdrs_mac80211()
6765 (dur - frag_dur))); in brcms_c_d11hdrs_mac80211()
6786 if (dur > wlc->edcf_txop[ac]) in brcms_c_d11hdrs_mac80211()
6792 dur, wlc->edcf_txop[ac]); in brcms_c_d11hdrs_mac80211()
7196 u16 dur, sifs; in brcms_c_mod_prb_rsp_rate_table() local
7222 dur = (u16) brcms_c_calc_frame_time(wlc, rate, in brcms_c_mod_prb_rsp_rate_table()
7224 dur += sifs; in brcms_c_mod_prb_rsp_rate_table()
7231 brcms_b_write_shm(wlc->hw, entry_ptr + M_RT_PRS_DUR_POS, dur); in brcms_c_mod_prb_rsp_rate_table()