Home
last modified time | relevance | path

Searched refs:rspec (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Drate.h122 return (rspec & 0xff00) >> 8; in rspec_phytxbyte2()
125 static inline u32 rspec_get_bw(u32 rspec) in rspec_get_bw() argument
137 u32 bw = rspec_get_bw(rspec); in rspec_is40mhz()
142 static inline uint rspec2rate(u32 rspec) in rspec2rate() argument
144 if (rspec & RSPEC_MIMORATE) in rspec2rate()
145 return mcs_2_rate(rspec & RSPEC_RATE_MASK, rspec_is40mhz(rspec), in rspec2rate()
146 rspec_issgi(rspec)); in rspec2rate()
147 return rspec & RSPEC_RATE_MASK; in rspec2rate()
152 return (rspec & 0xf00000) >> 16; in rspec_mimoplcp3()
160 static inline uint rspec_stc(u32 rspec) in rspec_stc() argument
[all …]
H A Drate.c346 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()
H A Dmain.c360 if (is_mcs_rate(rspec)) in brcms_basic_rate()
368 if (is_mcs_rate(rspec)) in frametype()
5690 rspec = brcms_basic_rate(wlc, rspec); in brcms_c_calc_ack_time()
5714 rspec = brcms_basic_rate(wlc, rspec); in brcms_c_calc_ba_time()
5841 u32 rspec; in mac80211_wlc_set_nrate() local
5915 rspec = rate; in mac80211_wlc_set_nrate()
5938 return rspec; in mac80211_wlc_set_nrate()
6257 rspec[k] = in brcms_c_d11hdrs_mac80211()
6323 rspec[k] |= in brcms_c_d11hdrs_mac80211()
6899 rts_rspec = rspec; in brcms_c_rspec_to_rts_rspec()
[all …]
H A Dstf.h33 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);
H A Dstf.c408 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()
H A Dampdu.c640 u32 rspec = 0, rspec_fallback = 0; in brcms_c_ampdu_finalize() local
717 rspec = RSPEC_MIMORATE; in brcms_c_ampdu_finalize()
718 rspec |= plcp[0] & ~MIMO_PLCP_40MHZ; in brcms_c_ampdu_finalize()
720 rspec |= (PHY_TXC1_BW_40MHZ << RSPEC_BW_SHIFT); in brcms_c_ampdu_finalize()
735 brcms_c_rspec_to_rts_rspec(wlc, rspec, in brcms_c_ampdu_finalize()
748 u16 mmodelen = brcms_c_calc_lsig_len(wlc, rspec, in brcms_c_ampdu_finalize()
782 rspec, rts_preamble_type, in brcms_c_ampdu_finalize()
H A Dmain.h627 u32 brcms_c_rspec_to_rts_rspec(struct brcms_c_info *wlc, u32 rspec,