Lines Matching +full:mod +full:- +full:12 +full:b
45 /* MCS 0: SS 1, MOD: BPSK, CR 1/2 */
48 /* MCS 1: SS 1, MOD: QPSK, CR 1/2 */
51 /* MCS 2: SS 1, MOD: QPSK, CR 3/4 */
54 /* MCS 3: SS 1, MOD: 16QAM, CR 1/2 */
57 /* MCS 4: SS 1, MOD: 16QAM, CR 3/4 */
60 /* MCS 5: SS 1, MOD: 64QAM, CR 2/3 */
63 /* MCS 6: SS 1, MOD: 64QAM, CR 3/4 */
66 /* MCS 7: SS 1, MOD: 64QAM, CR 5/6 */
69 /* MCS 8: SS 2, MOD: BPSK, CR 1/2 */
72 /* MCS 9: SS 2, MOD: QPSK, CR 1/2 */
75 /* MCS 10: SS 2, MOD: QPSK, CR 3/4 */
78 /* MCS 11: SS 2, MOD: 16QAM, CR 1/2 */
81 /* MCS 12: SS 2, MOD: 16QAM, CR 3/4 */
84 /* MCS 13: SS 2, MOD: 64QAM, CR 2/3 */
87 /* MCS 14: SS 2, MOD: 64QAM, CR 3/4 */
90 /* MCS 15: SS 2, MOD: 64QAM, CR 5/6 */
93 /* MCS 16: SS 3, MOD: BPSK, CR 1/2 */
96 /* MCS 17: SS 3, MOD: QPSK, CR 1/2 */
99 /* MCS 18: SS 3, MOD: QPSK, CR 3/4 */
102 /* MCS 19: SS 3, MOD: 16QAM, CR 1/2 */
105 /* MCS 20: SS 3, MOD: 16QAM, CR 3/4 */
108 /* MCS 21: SS 3, MOD: 64QAM, CR 2/3 */
111 /* MCS 22: SS 3, MOD: 64QAM, CR 3/4 */
114 /* MCS 23: SS 3, MOD: 64QAM, CR 5/6 */
117 /* MCS 24: SS 4, MOD: BPSK, CR 1/2 */
120 /* MCS 25: SS 4, MOD: QPSK, CR 1/2 */
123 /* MCS 26: SS 4, MOD: QPSK, CR 3/4 */
126 /* MCS 27: SS 4, MOD: 16QAM, CR 1/2 */
129 /* MCS 28: SS 4, MOD: 16QAM, CR 3/4 */
132 /* MCS 29: SS 4, MOD: 64QAM, CR 2/3 */
135 /* MCS 30: SS 4, MOD: 64QAM, CR 3/4 */
138 /* MCS 31: SS 4, MOD: 64QAM, CR 5/6 */
141 /* MCS 32: SS 1, MOD: BPSK, CR 1/2 */
157 #define LEGACY_PHYCFG_TABLE_SIZE 12
174 /* OFDM 12Mbps, code rate 1/2, QPSK, 1 spatial stream */
178 /* OFDM 24Mbps, code rate 1/2, 16-QAM, 1 spatial stream */
180 /* OFDM 36Mbps, code rate 3/4, 16-QAM, 1 spatial stream */
182 /* OFDM 48Mbps, code rate 2/3, 64-QAM, 1 spatial stream */
184 /* OFDM 54Mbps, code rate 3/4, 64-QAM, 1 spatial stream */
191 12,
192 /* 1b, 2b, 5.5b, 6, 9, 11b, 12, 18, 24, 36, 48, */
203 /* 6b, 9, 12b, 18, 24b, 36, 48, 54 Mbps */
212 12,
213 /* 1b, 2b, 5.5b, 6, 9, 11b, 12, 18, 24, 36, 48 */
224 /* 6b, 9, 12b, 18, 24b, 36, 48, 54 Mbps */
232 12,
233 /* 1b, 2b, 5.5b, 6, 9, 11b, 12, 18, 24, 36, 48,*/
244 /* 1b, 2b, 5.5b, 11b Mbps */
253 /* 6b, 9, 12b, 18, 24b, 36, 48, 54 Mbps */
262 /* 1b, 2b, 5.5, 11 Mbps */
276 if (!rs->count) in brcms_c_rateset_valid()
283 for (idx = 0; idx < rs->count; idx++) { in brcms_c_rateset_valid()
284 if (rs->rates[idx] & BRCMS_RATE_FLAG) in brcms_c_rateset_valid()
294 rs->mcs[i] = 0; in brcms_c_rateset_mcs_upd()
312 count = rs->count; in brcms_c_rate_hwrs_filter_sort_validate()
316 r = (int)rs->rates[i] & BRCMS_RATE_MASK; in brcms_c_rate_hwrs_filter_sort_validate()
319 rateset[r] = rs->rates[i]; /* preserve basic bit! */ in brcms_c_rate_hwrs_filter_sort_validate()
324 for (i = 0; i < hw_rs->count; i++) { in brcms_c_rate_hwrs_filter_sort_validate()
325 r = hw_rs->rates[i] & BRCMS_RATE_MASK; in brcms_c_rate_hwrs_filter_sort_validate()
327 rs->rates[count++] = rateset[r]; in brcms_c_rate_hwrs_filter_sort_validate()
330 rs->count = count; in brcms_c_rate_hwrs_filter_sort_validate()
334 rs->mcs[i] = (rs->mcs[i] & hw_rs->mcs[i]); in brcms_c_rate_hwrs_filter_sort_validate()
349 ((rxh->RxChan & RXS_CHAN_PHYTYPE_MASK) >> RXS_CHAN_PHYTYPE_SHIFT); in brcms_c_compute_rspec()
353 switch (rxh->PhyRxStatus_0 & PRXS0_FT_MASK) { in brcms_c_compute_rspec()
357 ((struct cck_phy_hdr *) plcp)->signal); in brcms_c_compute_rspec()
362 ((struct ofdm_phy_hdr *) plcp)->rlpt[0]); in brcms_c_compute_rspec()
381 if ((phy_type == PHY_TYPE_A) || (rxh->PhyRxStatus_0 & PRXS0_OFDM)) in brcms_c_compute_rspec()
383 ((struct ofdm_phy_hdr *) plcp)->rlpt[0]); in brcms_c_compute_rspec()
386 ((struct cck_phy_hdr *) plcp)->signal); in brcms_c_compute_rspec()
391 /* copy rateset src to dst as-is (no masking or sorting) */
401 * 'rates' indicates cck (11b) and ofdm rates combinations.
402 * - 0: cck and ofdm
403 * - 1: cck only
404 * - 2: ofdm only
416 for (i = 0; i < src->count; i++) { in brcms_c_rateset_filter()
417 r = src->rates[i]; in brcms_c_rateset_filter()
426 dst->rates[count++] = r & xmask; in brcms_c_rateset_filter()
428 dst->count = count; in brcms_c_rateset_filter()
429 dst->htphy_membership = src->htphy_membership; in brcms_c_rateset_filter()
432 memcpy(&dst->mcs[0], &src->mcs[0], MCSSET_LEN); in brcms_c_rateset_filter()
491 return -1; in brcms_c_rate_legacy_phyctl()
498 rateset->mcs[i] = 0; in brcms_c_rateset_mcs_clear()
503 memcpy(&rateset->mcs[0], &cck_ofdm_mimo_rates.mcs[0], MCSSET_LEN); in brcms_c_rateset_mcs_build()
511 setbit(rateset->mcs, 32); in brcms_c_rateset_bw_mcs_filter()
513 clrbit(rateset->mcs, 32); in brcms_c_rateset_bw_mcs_filter()