Searched refs:rspec (Results 1 – 7 of 7) sorted by relevance
/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 | 358 static u8 brcms_basic_rate(struct brcms_c_info *wlc, u32 rspec) in brcms_basic_rate() argument 360 if (is_mcs_rate(rspec)) in brcms_basic_rate() 361 return wlc->band->basic_rate[mcs_table[rspec & RSPEC_RATE_MASK] in brcms_basic_rate() 363 return wlc->band->basic_rate[rspec & RSPEC_RATE_MASK]; in brcms_basic_rate() 366 static u16 frametype(u32 rspec, u8 mimoframe) in frametype() argument 368 if (is_mcs_rate(rspec)) in frametype() 370 return is_cck_rate(rspec) ? FT_CCK : FT_OFDM; in frametype() 5682 brcms_c_calc_ack_time(struct brcms_c_info *wlc, u32 rspec, in brcms_c_calc_ack_time() argument 5692 rspec = brcms_basic_rate(wlc, rspec); in brcms_c_calc_ack_time() 5695 brcms_c_calc_frame_time(wlc, rspec, preamble_type, in brcms_c_calc_ack_time() [all …]
|
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 | 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 | ampdu.c | 646 u32 rspec = 0, rspec_fallback = 0; in brcms_c_ampdu_finalize() local 723 rspec = RSPEC_MIMORATE; in brcms_c_ampdu_finalize() 724 rspec |= plcp[0] & ~MIMO_PLCP_40MHZ; in brcms_c_ampdu_finalize() 726 rspec |= (PHY_TXC1_BW_40MHZ << RSPEC_BW_SHIFT); in brcms_c_ampdu_finalize() 741 brcms_c_rspec_to_rts_rspec(wlc, rspec, in brcms_c_ampdu_finalize() 754 u16 mmodelen = brcms_c_calc_lsig_len(wlc, rspec, in brcms_c_ampdu_finalize() 788 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,
|