Searched refs:rspec (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | rate.h | 115 static inline bool rspec_active(u32 rspec) in rspec_active() argument 117 return rspec & (RSPEC_RATE_MASK | RSPEC_MIMORATE); in rspec_active() 120 static inline u8 rspec_phytxbyte2(u32 rspec) in rspec_phytxbyte2() argument 122 return (rspec & 0xff00) >> 8; in rspec_phytxbyte2() 125 static inline u32 rspec_get_bw(u32 rspec) in rspec_get_bw() argument 127 return (rspec & RSPEC_BW_MASK) >> RSPEC_BW_SHIFT; in rspec_get_bw() 130 static inline bool rspec_issgi(u32 rspec) in rspec_issgi() argument 132 return (rspec & RSPEC_SHORT_GI) == RSPEC_SHORT_GI; in rspec_issgi() 135 static inline bool rspec_is40mhz(u32 rspec) in rspec_is40mhz() argument 137 u32 bw = rspec_get_bw(rspec); in rspec_is40mhz() [all …]
|
D | rate.c | 346 u32 rspec = PHY_TXC1_BW_20MHZ << RSPEC_BW_SHIFT; in brcms_c_compute_rspec() local 355 rspec = in brcms_c_compute_rspec() 360 rspec = in brcms_c_compute_rspec() 365 rspec = (plcp[0] & MIMO_PLCP_MCS_MASK) | RSPEC_MIMORATE; in brcms_c_compute_rspec() 368 rspec &= ~RSPEC_BW_MASK; in brcms_c_compute_rspec() 369 rspec |= (PHY_TXC1_BW_40MHZ << RSPEC_BW_SHIFT); in brcms_c_compute_rspec() 379 rspec |= RSPEC_SHORT_GI; in brcms_c_compute_rspec() 382 rspec = ofdm_phy2mac_rate( in brcms_c_compute_rspec() 385 rspec = cck_phy2mac_rate( in brcms_c_compute_rspec() 388 return rspec; in brcms_c_compute_rspec()
|
D | main.c | 352 static u8 brcms_basic_rate(struct brcms_c_info *wlc, u32 rspec) in brcms_basic_rate() argument 354 if (is_mcs_rate(rspec)) in brcms_basic_rate() 355 return wlc->band->basic_rate[mcs_table[rspec & RSPEC_RATE_MASK] in brcms_basic_rate() 357 return wlc->band->basic_rate[rspec & RSPEC_RATE_MASK]; in brcms_basic_rate() 360 static u16 frametype(u32 rspec, u8 mimoframe) in frametype() argument 362 if (is_mcs_rate(rspec)) in frametype() 364 return is_cck_rate(rspec) ? FT_CCK : FT_OFDM; in frametype() 5673 brcms_c_calc_ack_time(struct brcms_c_info *wlc, u32 rspec, in brcms_c_calc_ack_time() argument 5683 rspec = brcms_basic_rate(wlc, rspec); in brcms_c_calc_ack_time() 5686 brcms_c_calc_frame_time(wlc, rspec, preamble_type, in brcms_c_calc_ack_time() [all …]
|
D | stf.h | 33 u16 brcms_c_stf_phytxchain_sel(struct brcms_c_info *wlc, u32 rspec); 34 u16 brcms_c_stf_d11hdrs_phyctl_txant(struct brcms_c_info *wlc, u32 rspec);
|
D | stf.c | 408 u32 rspec) in _brcms_c_stf_phytxchain_sel() argument 412 if (rspec_stf(rspec) != PHY_TXC1_MODE_SISO) in _brcms_c_stf_phytxchain_sel() 420 u16 brcms_c_stf_phytxchain_sel(struct brcms_c_info *wlc, u32 rspec) in brcms_c_stf_phytxchain_sel() argument 422 return _brcms_c_stf_phytxchain_sel(wlc, rspec); in brcms_c_stf_phytxchain_sel() 425 u16 brcms_c_stf_d11hdrs_phyctl_txant(struct brcms_c_info *wlc, u32 rspec) in brcms_c_stf_d11hdrs_phyctl_txant() argument 432 phytxant = _brcms_c_stf_phytxchain_sel(wlc, rspec); in brcms_c_stf_d11hdrs_phyctl_txant()
|
D | ampdu.c | 614 u32 rspec = 0, rspec_fallback = 0; in brcms_c_ampdu_finalize() local 691 rspec = RSPEC_MIMORATE; in brcms_c_ampdu_finalize() 692 rspec |= plcp[0] & ~MIMO_PLCP_40MHZ; in brcms_c_ampdu_finalize() 694 rspec |= (PHY_TXC1_BW_40MHZ << RSPEC_BW_SHIFT); in brcms_c_ampdu_finalize() 709 brcms_c_rspec_to_rts_rspec(wlc, rspec, in brcms_c_ampdu_finalize() 722 u16 mmodelen = brcms_c_calc_lsig_len(wlc, rspec, in brcms_c_ampdu_finalize() 756 rspec, rts_preamble_type, in brcms_c_ampdu_finalize()
|
D | main.h | 627 u32 brcms_c_rspec_to_rts_rspec(struct brcms_c_info *wlc, u32 rspec,
|