Home
last modified time | relevance | path

Searched refs:ratespec (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Drate.h170 static inline bool is_mcs_rate(u32 ratespec) in is_mcs_rate() argument
172 return (ratespec & RSPEC_MIMORATE) != 0; in is_mcs_rate()
175 static inline bool is_ofdm_rate(u32 ratespec) in is_ofdm_rate() argument
177 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() argument
183 u32 rate = (ratespec & BRCMS_RATE_MASK); in is_cck_rate()
185 return !is_mcs_rate(ratespec) && ( in is_cck_rate()
Dmain.c615 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()
[all …]
Dmain.h626 u16 brcms_c_calc_lsig_len(struct brcms_c_info *wlc, u32 ratespec, uint mac_len);