Lines Matching refs:ratespec
608 static uint brcms_c_calc_frame_time(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_frame_time() argument
612 uint rate = rspec2rate(ratespec); in brcms_c_calc_frame_time()
620 if (is_mcs_rate(ratespec)) { in brcms_c_calc_frame_time()
621 uint mcs = ratespec & RSPEC_RATE_MASK; in brcms_c_calc_frame_time()
622 int tot_streams = mcs_2_txstreams(mcs) + rspec_stc(ratespec); in brcms_c_calc_frame_time()
628 kNdps = mcs_2_rate(mcs, rspec_is40mhz(ratespec), in brcms_c_calc_frame_time()
629 rspec_issgi(ratespec)) * 4; in brcms_c_calc_frame_time()
631 if (rspec_stc(ratespec) == 0) in brcms_c_calc_frame_time()
5749 brcms_c_calc_frame_len(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_frame_len() argument
5753 uint rate = rspec2rate(ratespec); in brcms_c_calc_frame_len()
5755 if (is_mcs_rate(ratespec)) { in brcms_c_calc_frame_len()
5756 uint mcs = ratespec & RSPEC_RATE_MASK; in brcms_c_calc_frame_len()
5757 int tot_streams = mcs_2_txstreams(mcs) + rspec_stc(ratespec); in brcms_c_calc_frame_len()
5763 kNdps = mcs_2_rate(mcs, rspec_is40mhz(ratespec), in brcms_c_calc_frame_len()
5764 rspec_issgi(ratespec)) * 4; in brcms_c_calc_frame_len()
5769 } else if (is_ofdm_rate(ratespec)) { in brcms_c_calc_frame_len()
7138 brcms_c_calc_lsig_len(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_lsig_len() argument
7143 if (is_mcs_rate(ratespec)) { in brcms_c_calc_lsig_len()
7144 uint mcs = ratespec & RSPEC_RATE_MASK; in brcms_c_calc_lsig_len()
7146 rspec_stc(ratespec); in brcms_c_calc_lsig_len()
7153 kNdps = mcs_2_rate(mcs, rspec_is40mhz(ratespec), in brcms_c_calc_lsig_len()
7154 rspec_issgi(ratespec)) * 4; in brcms_c_calc_lsig_len()
7156 if (rspec_stc(ratespec) == 0) in brcms_c_calc_lsig_len()