Searched refs:ratespec (Results 1 – 4 of 4) sorted by relevance
170 static inline bool is_mcs_rate(u32 ratespec) in is_mcs_rate() argument172 return (ratespec & RSPEC_MIMORATE) != 0; in is_mcs_rate()175 static inline bool is_ofdm_rate(u32 ratespec) in is_ofdm_rate() argument177 return !is_mcs_rate(ratespec) && in is_ofdm_rate()178 (rate_info[ratespec & RSPEC_RATE_MASK] & BRCMS_RATE_FLAG); in is_ofdm_rate()181 static inline bool is_cck_rate(u32 ratespec) in is_cck_rate() argument183 u32 rate = (ratespec & BRCMS_RATE_MASK); in is_cck_rate()185 return !is_mcs_rate(ratespec) && ( in is_cck_rate()
608 static uint brcms_c_calc_frame_time(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_frame_time() argument612 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() argument5753 uint rate = rspec2rate(ratespec); in brcms_c_calc_frame_len()[all …]
626 u16 brcms_c_calc_lsig_len(struct brcms_c_info *wlc, u32 ratespec, uint mac_len);
169 ``tc-ratespec`` struct definition for both the ``rate`` and the ``peakrate``181 struct: tc-ratespec185 struct: tc-ratespec