Home
last modified time | relevance | path

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

/linux-6.12.1/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.c608 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()
[all …]
Dmain.h626 u16 brcms_c_calc_lsig_len(struct brcms_c_info *wlc, u32 ratespec, uint mac_len);
/linux-6.12.1/Documentation/userspace-api/netlink/
Dnetlink-raw.rst169 ``tc-ratespec`` struct definition for both the ``rate`` and the ``peakrate``
181 struct: tc-ratespec
185 struct: tc-ratespec