Lines Matching refs:ratespec

615 static uint brcms_c_calc_frame_time(struct brcms_c_info *wlc, u32 ratespec,  in brcms_c_calc_frame_time()  argument
619 uint rate = rspec2rate(ratespec); in brcms_c_calc_frame_time()
627 if (is_mcs_rate(ratespec)) { in brcms_c_calc_frame_time()
628 uint mcs = ratespec & RSPEC_RATE_MASK; in brcms_c_calc_frame_time()
629 int tot_streams = mcs_2_txstreams(mcs) + rspec_stc(ratespec); in brcms_c_calc_frame_time()
635 kNdps = mcs_2_rate(mcs, rspec_is40mhz(ratespec), in brcms_c_calc_frame_time()
636 rspec_issgi(ratespec)) * 4; in brcms_c_calc_frame_time()
638 if (rspec_stc(ratespec) == 0) in brcms_c_calc_frame_time()
5758 brcms_c_calc_frame_len(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_frame_len() argument
5762 uint rate = rspec2rate(ratespec); in brcms_c_calc_frame_len()
5764 if (is_mcs_rate(ratespec)) { in brcms_c_calc_frame_len()
5765 uint mcs = ratespec & RSPEC_RATE_MASK; in brcms_c_calc_frame_len()
5766 int tot_streams = mcs_2_txstreams(mcs) + rspec_stc(ratespec); in brcms_c_calc_frame_len()
5772 kNdps = mcs_2_rate(mcs, rspec_is40mhz(ratespec), in brcms_c_calc_frame_len()
5773 rspec_issgi(ratespec)) * 4; in brcms_c_calc_frame_len()
5778 } else if (is_ofdm_rate(ratespec)) { in brcms_c_calc_frame_len()
7146 brcms_c_calc_lsig_len(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_lsig_len() argument
7151 if (is_mcs_rate(ratespec)) { in brcms_c_calc_lsig_len()
7152 uint mcs = ratespec & RSPEC_RATE_MASK; in brcms_c_calc_lsig_len()
7154 rspec_stc(ratespec); in brcms_c_calc_lsig_len()
7161 kNdps = mcs_2_rate(mcs, rspec_is40mhz(ratespec), in brcms_c_calc_lsig_len()
7162 rspec_issgi(ratespec)) * 4; in brcms_c_calc_lsig_len()
7164 if (rspec_stc(ratespec) == 0) in brcms_c_calc_lsig_len()