Lines Matching +full:rates +full:- +full:mcs
48 #define BRCMS_MAXMCS 32 /* max valid mcs index */
49 #define MCS_TABLE_SIZE 33 /* Number of mcs entries in the table */
52 #define MCS_TXS_MASK 0xc0 /* num tx streams - 1 bit mask */
53 #define MCS_TXS_SHIFT 6 /* num tx streams - 1 bit shift */
55 /* returns num tx streams - 1 */
56 static inline u8 mcs_2_txstreams(u8 mcs) in mcs_2_txstreams() argument
58 return (mcs_table[mcs].tx_phy_ctl3 & MCS_TXS_MASK) >> MCS_TXS_SHIFT; in mcs_2_txstreams()
61 static inline uint mcs_2_rate(u8 mcs, bool is40, bool sgi) in mcs_2_rate() argument
65 return mcs_table[mcs].phy_rate_40_sgi; in mcs_2_rate()
66 return mcs_table[mcs].phy_rate_20_sgi; in mcs_2_rate()
69 return mcs_table[mcs].phy_rate_40; in mcs_2_rate()
71 return mcs_table[mcs].phy_rate_20; in mcs_2_rate()
86 /* Either 500Kbps units or MIMO MCS idx */
88 /* mimo MCS is stored in RSPEC_RATE_MASK */
190 static inline bool is_single_stream(u8 mcs) in is_single_stream() argument
192 return mcs <= HIGHEST_SINGLE_STREAM_MCS || mcs == 32; in is_single_stream()
200 /* Convert encoded rate value in plcp header to numerical rates in 500 KHz
212 /* Rates specified in brcms_c_rateset_filter() */
222 /* copy rateset src to dst as-is (no masking or sorting) */
231 u8 rates, uint xmask, bool mcsallow);