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()
5683 uint dur = 0; in brcms_c_calc_ack_time() local
5692 dur = in brcms_c_calc_ack_time()
5695 return dur; in brcms_c_calc_ack_time()
5735 u16 dur, sifs; in brcms_c_compute_frame_dur() local
5739 dur = sifs; in brcms_c_compute_frame_dur()
5740 dur += (u16) brcms_c_calc_ack_time(wlc, rate, preamble_type); in brcms_c_compute_frame_dur()
5744 dur *= 2; in brcms_c_compute_frame_dur()
5746 dur += sifs; in brcms_c_compute_frame_dur()
5747 dur += in brcms_c_compute_frame_dur()
5751 return dur; in brcms_c_compute_frame_dur()
5757 u8 preamble_type, uint dur) in brcms_c_calc_frame_len() argument
5765 dur -= PREN_PREAMBLE + (tot_streams * PREN_PREAMBLE_EXT); in brcms_c_calc_frame_len()
5768 dur -= DOT11_OFDM_SIGNAL_EXTENSION; in brcms_c_calc_frame_len()
5772 nsyms = dur / APHY_SYMBOL_TIME; in brcms_c_calc_frame_len()
5777 dur -= APHY_PREAMBLE_TIME; in brcms_c_calc_frame_len()
5778 dur -= APHY_SIGNAL_TIME; in brcms_c_calc_frame_len()
5781 nsyms = dur / APHY_SYMBOL_TIME; in brcms_c_calc_frame_len()
5787 dur -= BPHY_PLCP_SHORT_TIME; in brcms_c_calc_frame_len()
5789 dur -= BPHY_PLCP_TIME; in brcms_c_calc_frame_len()
5790 mac_len = dur * rate; in brcms_c_calc_frame_len()
6071 u16 dur, sifs; in brcms_c_compute_rtscts_dur() local
6077 dur = 3 * sifs; in brcms_c_compute_rtscts_dur()
6078 dur += in brcms_c_compute_rtscts_dur()
6083 dur = 2 * sifs; in brcms_c_compute_rtscts_dur()
6086 dur += in brcms_c_compute_rtscts_dur()
6090 dur += in brcms_c_compute_rtscts_dur()
6094 dur += in brcms_c_compute_rtscts_dur()
6097 return dur; in brcms_c_compute_rtscts_dur()
6705 uint frag_dur, dur, dur_fallback; in brcms_c_d11hdrs_mac80211() local
6715 dur = in brcms_c_d11hdrs_mac80211()
6722 dur += le16_to_cpu(rts->duration); in brcms_c_d11hdrs_mac80211()
6726 dur = frag_dur; in brcms_c_d11hdrs_mac80211()
6730 dur = frag_dur; in brcms_c_d11hdrs_mac80211()
6731 dur += in brcms_c_d11hdrs_mac80211()
6744 txh->TxFesTimeNormal = cpu_to_le16((u16) dur); in brcms_c_d11hdrs_mac80211()
6756 if (wlc->edcf_txop[ac] >= (dur - frag_dur)) { in brcms_c_d11hdrs_mac80211()
6763 (dur - frag_dur))); in brcms_c_d11hdrs_mac80211()
6784 if (dur > wlc->edcf_txop[ac]) in brcms_c_d11hdrs_mac80211()
6790 dur, wlc->edcf_txop[ac]); in brcms_c_d11hdrs_mac80211()
7194 u16 dur, sifs; in brcms_c_mod_prb_rsp_rate_table() local
7220 dur = (u16) brcms_c_calc_frame_time(wlc, rate, in brcms_c_mod_prb_rsp_rate_table()
7222 dur += sifs; in brcms_c_mod_prb_rsp_rate_table()
7229 brcms_b_write_shm(wlc->hw, entry_ptr + M_RT_PRS_DUR_POS, dur); in brcms_c_mod_prb_rsp_rate_table()