Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Drate.h115 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()
142 rspec2rate(u32 rspec) rspec2rate() argument
150 rspec_mimoplcp3(u32 rspec) rspec_mimoplcp3() argument
160 rspec_stc(u32 rspec) rspec_stc() argument
165 rspec_stf(u32 rspec) rspec_stf() 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()
367 /* indicate rspec is for 40 MHz mode */ 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 in brcms_c_compute_rspec()
[all...]
H A Dmain.c352 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()
5692 brcms_c_calc_cts_time(struct brcms_c_info * wlc,u32 rspec,u8 preamble_type) brcms_c_calc_cts_time() argument
5699 brcms_c_calc_ba_time(struct brcms_c_info * wlc,u32 rspec,u8 preamble_type) brcms_c_calc_ba_time() argument
5794 brcms_c_valid_rate(struct brcms_c_info * wlc,u32 rspec,int band,bool verbose) brcms_c_valid_rate() argument
5834 u32 rspec; mac80211_wlc_set_nrate() local
5991 brcms_c_compute_mimo_plcp(u32 rspec,uint length,u8 * plcp) brcms_c_compute_mimo_plcp() argument
6006 brcms_c_compute_ofdm_plcp(u32 rspec,u32 length,u8 * plcp) brcms_c_compute_ofdm_plcp() argument
6027 brcms_c_compute_cck_plcp(struct brcms_c_info * wlc,u32 rspec,uint length,u8 * plcp) brcms_c_compute_cck_plcp() argument
6036 brcms_c_compute_plcp(struct brcms_c_info * wlc,u32 rspec,uint length,u8 * plcp) brcms_c_compute_plcp() argument
6093 brcms_c_phytxctl1_calc(struct brcms_c_info * wlc,u32 rspec) brcms_c_phytxctl1_calc() argument
6163 u32 rspec[2] = { BRCM_RATE_1M, BRCM_RATE_1M }; brcms_c_d11hdrs_mac80211() local
6885 brcms_c_rspec_to_rts_rspec(struct brcms_c_info * wlc,u32 rspec,bool use_rspec,u16 mimo_ctlchbw) brcms_c_rspec_to_rts_rspec() argument
6997 u32 rspec; prep_mac80211_status() local
[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 Dmain.h627 u32 brcms_c_rspec_to_rts_rspec(struct brcms_c_info *wlc, u32 rspec,