mcs 436 arch/x86/xen/enlighten_pv.c struct multicall_space mcs = xen_mc_entry(sizeof(*op)); mcs 440 arch/x86/xen/enlighten_pv.c op = mcs.args; mcs 445 arch/x86/xen/enlighten_pv.c MULTI_mmuext_op(mcs.mc, op, 1, NULL, DOMID_SELF); mcs 832 arch/x86/xen/enlighten_pv.c struct multicall_space mcs; mcs 834 arch/x86/xen/enlighten_pv.c mcs = xen_mc_entry(0); mcs 835 arch/x86/xen/enlighten_pv.c MULTI_stack_switch(mcs.mc, __KERNEL_DS, sp0); mcs 869 arch/x86/xen/enlighten_pv.c struct multicall_space mcs; mcs 875 arch/x86/xen/enlighten_pv.c mcs = xen_mc_entry(0); mcs 877 arch/x86/xen/enlighten_pv.c MULTI_fpu_taskswitch(mcs.mc, (cr0 & X86_CR0_TS) != 0); mcs 185 arch/x86/xen/mmu_pv.c struct multicall_space mcs; mcs 188 arch/x86/xen/mmu_pv.c mcs = xen_mc_extend_args(__HYPERVISOR_mmu_update, sizeof(*u)); mcs 190 arch/x86/xen/mmu_pv.c if (mcs.mc != NULL) { mcs 191 arch/x86/xen/mmu_pv.c mcs.mc->args[1]++; mcs 193 arch/x86/xen/mmu_pv.c mcs = __xen_mc_entry(sizeof(*u)); mcs 194 arch/x86/xen/mmu_pv.c MULTI_mmu_update(mcs.mc, mcs.args, 1, NULL, DOMID_SELF); mcs 197 arch/x86/xen/mmu_pv.c u = mcs.args; mcs 203 arch/x86/xen/mmu_pv.c struct multicall_space mcs; mcs 206 arch/x86/xen/mmu_pv.c mcs = xen_mc_extend_args(__HYPERVISOR_mmuext_op, sizeof(*u)); mcs 208 arch/x86/xen/mmu_pv.c if (mcs.mc != NULL) { mcs 209 arch/x86/xen/mmu_pv.c mcs.mc->args[1]++; mcs 211 arch/x86/xen/mmu_pv.c mcs = __xen_mc_entry(sizeof(*u)); mcs 212 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, mcs.args, 1, NULL, DOMID_SELF); mcs 215 arch/x86/xen/mmu_pv.c u = mcs.args; mcs 740 arch/x86/xen/mmu_pv.c struct multicall_space mcs = __xen_mc_entry(0); mcs 769 arch/x86/xen/mmu_pv.c MULTI_update_va_mapping(mcs.mc, (unsigned long)pt, mcs 888 arch/x86/xen/mmu_pv.c struct multicall_space mcs; mcs 904 arch/x86/xen/mmu_pv.c mcs = __xen_mc_entry(0); mcs 906 arch/x86/xen/mmu_pv.c MULTI_update_va_mapping(mcs.mc, (unsigned long)pt, mcs 1313 arch/x86/xen/mmu_pv.c struct multicall_space mcs; mcs 1317 arch/x86/xen/mmu_pv.c mcs = xen_mc_entry(sizeof(*op)); mcs 1319 arch/x86/xen/mmu_pv.c op = mcs.args; mcs 1321 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, op, 1, NULL, DOMID_SELF); mcs 1331 arch/x86/xen/mmu_pv.c struct multicall_space mcs; mcs 1337 arch/x86/xen/mmu_pv.c mcs = xen_mc_entry(sizeof(*op)); mcs 1338 arch/x86/xen/mmu_pv.c op = mcs.args; mcs 1341 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, op, 1, NULL, DOMID_SELF); mcs 1355 arch/x86/xen/mmu_pv.c struct multicall_space mcs; mcs 1364 arch/x86/xen/mmu_pv.c mcs = xen_mc_entry(mc_entry_size); mcs 1365 arch/x86/xen/mmu_pv.c args = mcs.args; mcs 1379 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, &args->op, 1, NULL, DOMID_SELF); mcs 1609 arch/x86/xen/mmu_pv.c struct multicall_space mcs; mcs 1612 arch/x86/xen/mmu_pv.c mcs = __xen_mc_entry(sizeof(*op)); mcs 1613 arch/x86/xen/mmu_pv.c op = mcs.args; mcs 1617 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, mcs.args, 1, NULL, DOMID_SELF); mcs 1622 arch/x86/xen/mmu_pv.c struct multicall_space mcs; mcs 1625 arch/x86/xen/mmu_pv.c mcs = __xen_mc_entry(0); mcs 1626 arch/x86/xen/mmu_pv.c MULTI_update_va_mapping(mcs.mc, (unsigned long)addr, mcs 2480 arch/x86/xen/mmu_pv.c struct multicall_space mcs; mcs 2484 arch/x86/xen/mmu_pv.c mcs = __xen_mc_entry(0); mcs 2489 arch/x86/xen/mmu_pv.c MULTI_update_va_mapping(mcs.mc, vaddr, VOID_PTE, 0); mcs 2514 arch/x86/xen/mmu_pv.c struct multicall_space mcs; mcs 2517 arch/x86/xen/mmu_pv.c mcs = __xen_mc_entry(0); mcs 2532 arch/x86/xen/mmu_pv.c MULTI_update_va_mapping(mcs.mc, vaddr, mcs 2666 arch/x86/xen/mmu_pv.c struct multicall_space mcs; mcs 2670 arch/x86/xen/mmu_pv.c mcs = xen_mc_entry(sizeof(*op)); mcs 2672 arch/x86/xen/mmu_pv.c op = mcs.args; mcs 2674 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, op, 1, NULL, DOMID_SELF); mcs 236 drivers/clk/mediatek/clk-mtk.c void mtk_clk_register_composites(const struct mtk_composite *mcs, mcs 244 drivers/clk/mediatek/clk-mtk.c const struct mtk_composite *mc = &mcs[i]; mcs 148 drivers/clk/mediatek/clk-mtk.h void mtk_clk_register_composites(const struct mtk_composite *mcs, mcs 467 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].mcs = (raw->msg[idx] >> 7) & 0x1; mcs 1658 drivers/gpu/drm/drm_dp_mst_topology.c port->mcs = port_msg->mcs; mcs 1739 drivers/gpu/drm/drm_dp_mst_topology.c port->mcs = conn_stat->message_capability_status; mcs 2137 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].mcs, mcs 1353 drivers/net/wireless/ath/ath10k/htt.h __le32 mcs[10]; mcs 940 drivers/net/wireless/ath/ath10k/htt_rx.c u8 cck, rate, bw, sgi, mcs, nss; mcs 969 drivers/net/wireless/ath/ath10k/htt_rx.c mcs = info2 & 0x1F; mcs 970 drivers/net/wireless/ath/ath10k/htt_rx.c nss = mcs >> 3; mcs 974 drivers/net/wireless/ath/ath10k/htt_rx.c status->rate_idx = mcs; mcs 991 drivers/net/wireless/ath/ath10k/htt_rx.c mcs = (info3 >> 4) & 0x0F; mcs 1004 drivers/net/wireless/ath/ath10k/htt_rx.c mcs = 0; mcs 1008 drivers/net/wireless/ath/ath10k/htt_rx.c if (mcs > 0x09) { mcs 1009 drivers/net/wireless/ath/ath10k/htt_rx.c ath10k_warn(ar, "invalid MCS received %u\n", mcs); mcs 1031 drivers/net/wireless/ath/ath10k/htt_rx.c status->rate_idx = mcs; mcs 3336 drivers/net/wireless/ath/ath10k/htt_rx.c int idx, ht_idx, gi, mcs, bw, nss; mcs 3345 drivers/net/wireless/ath/ath10k/htt_rx.c mcs = ATH10K_HW_MCS_RATE(pstats->ratecode); mcs 3348 drivers/net/wireless/ath/ath10k/htt_rx.c ht_idx = mcs + (nss - 1) * 8; mcs 3349 drivers/net/wireless/ath/ath10k/htt_rx.c idx = mcs * 8 + 8 * 10 * (nss - 1); mcs 3355 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(SUCC).vht[0][mcs] += pstats->succ_bytes; mcs 3356 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(SUCC).vht[1][mcs] += pstats->succ_pkts; mcs 3357 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(FAIL).vht[0][mcs] += pstats->failed_bytes; mcs 3358 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(FAIL).vht[1][mcs] += pstats->failed_pkts; mcs 3359 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(RETRY).vht[0][mcs] += pstats->retry_bytes; mcs 3360 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(RETRY).vht[1][mcs] += pstats->retry_pkts; mcs 3369 drivers/net/wireless/ath/ath10k/htt_rx.c mcs = legacy_rate_idx; mcs 3371 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(SUCC).legacy[0][mcs] += pstats->succ_bytes; mcs 3372 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(SUCC).legacy[1][mcs] += pstats->succ_pkts; mcs 3373 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(FAIL).legacy[0][mcs] += pstats->failed_bytes; mcs 3374 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(FAIL).legacy[1][mcs] += pstats->failed_pkts; mcs 3375 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(RETRY).legacy[0][mcs] += pstats->retry_bytes; mcs 3376 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(RETRY).legacy[1][mcs] += pstats->retry_pkts; mcs 3388 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(AMPDU).vht[0][mcs] += mcs 3390 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(AMPDU).vht[1][mcs] += mcs 3467 drivers/net/wireless/ath/ath10k/htt_rx.c txrate.mcs = ATH10K_HW_MCS_RATE(peer_stats->ratecode); mcs 3477 drivers/net/wireless/ath/ath10k/htt_rx.c if (txrate.flags == WMI_RATE_PREAMBLE_VHT && txrate.mcs > 9) { mcs 3478 drivers/net/wireless/ath/ath10k/htt_rx.c ath10k_warn(ar, "Invalid VHT mcs %hhd peer stats", txrate.mcs); mcs 3483 drivers/net/wireless/ath/ath10k/htt_rx.c (txrate.mcs > 7 || txrate.nss < 1)) { mcs 3485 drivers/net/wireless/ath/ath10k/htt_rx.c txrate.mcs, txrate.nss); mcs 3503 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->txrate.mcs = txrate.mcs + 8 * (txrate.nss - 1); mcs 3506 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->txrate.mcs = txrate.mcs; mcs 3525 drivers/net/wireless/ath/ath10k/htt_rx.c txrate.mcs + ((txrate.nss - 1) * 8); mcs 3533 drivers/net/wireless/ath/ath10k/htt_rx.c txrate.mcs, txrate.nss); mcs 2351 drivers/net/wireless/ath/ath10k/mac.c if (ht_cap->mcs.rx_mask[1] && ht_cap->mcs.rx_mask[2]) mcs 2353 drivers/net/wireless/ath/ath10k/mac.c else if (ht_cap->mcs.rx_mask[1]) mcs 2357 drivers/net/wireless/ath/ath10k/mac.c if ((ht_cap->mcs.rx_mask[i / 8] & BIT(i % 8)) && mcs 2462 drivers/net/wireless/ath/ath10k/mac.c u16 mcs; mcs 2486 drivers/net/wireless/ath/ath10k/mac.c mcs = IEEE80211_VHT_MCS_NOT_SUPPORTED; mcs 2489 drivers/net/wireless/ath/ath10k/mac.c mcs = IEEE80211_VHT_MCS_SUPPORT_0_7; mcs 2492 drivers/net/wireless/ath/ath10k/mac.c mcs = IEEE80211_VHT_MCS_SUPPORT_0_8; mcs 2495 drivers/net/wireless/ath/ath10k/mac.c mcs = IEEE80211_VHT_MCS_SUPPORT_0_9; mcs 2500 drivers/net/wireless/ath/ath10k/mac.c tx_mcs_set |= mcs << (nss * 2); mcs 4650 drivers/net/wireless/ath/ath10k/mac.c ht_cap.mcs.rx_mask[i] = 0xFF; mcs 4653 drivers/net/wireless/ath/ath10k/mac.c ht_cap.mcs.tx_params |= IEEE80211_HT_MCS_TX_DEFINED; mcs 7241 drivers/net/wireless/ath/ath10k/mac.c sband->ht_cap.mcs.rx_mask[i]) mcs 8175 drivers/net/wireless/ath/ath10k/mac.c sinfo->txrate.mcs = arsta->txrate.mcs; mcs 1728 drivers/net/wireless/ath/ath6kl/cfg80211.c static bool is_rate_ht20(s32 rate, u8 *mcs, bool *sgi) mcs 1743 drivers/net/wireless/ath/ath6kl/cfg80211.c *mcs = i; mcs 1750 drivers/net/wireless/ath/ath6kl/cfg80211.c static bool is_rate_ht40(s32 rate, u8 *mcs, bool *sgi) mcs 1766 drivers/net/wireless/ath/ath6kl/cfg80211.c *mcs = i; mcs 1783 drivers/net/wireless/ath/ath6kl/cfg80211.c u8 mcs; mcs 1833 drivers/net/wireless/ath/ath6kl/cfg80211.c } else if (is_rate_ht20(rate, &mcs, &sgi)) { mcs 1836 drivers/net/wireless/ath/ath6kl/cfg80211.c sinfo->txrate.mcs = mcs - 1; mcs 1838 drivers/net/wireless/ath/ath6kl/cfg80211.c sinfo->txrate.mcs = mcs; mcs 1843 drivers/net/wireless/ath/ath6kl/cfg80211.c } else if (is_rate_ht40(rate, &mcs, &sgi)) { mcs 1846 drivers/net/wireless/ath/ath6kl/cfg80211.c sinfo->txrate.mcs = mcs - 1; mcs 1848 drivers/net/wireless/ath/ath6kl/cfg80211.c sinfo->txrate.mcs = mcs; mcs 3943 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_band_2ghz.ht_cap.mcs.rx_mask[0] = 0xff; mcs 3944 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_band_5ghz.ht_cap.mcs.rx_mask[0] = 0xff; mcs 3945 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_band_2ghz.ht_cap.mcs.rx_mask[1] = 0xff; mcs 3946 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_band_5ghz.ht_cap.mcs.rx_mask[1] = 0xff; mcs 3950 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_band_2ghz.ht_cap.mcs.rx_mask[0] = 0xff; mcs 3951 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_band_5ghz.ht_cap.mcs.rx_mask[0] = 0xff; mcs 210 drivers/net/wireless/ath/ath9k/common-init.c memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); mcs 218 drivers/net/wireless/ath/ath9k/common-init.c ht_info->mcs.tx_params |= IEEE80211_HT_MCS_TX_RX_DIFF; mcs 219 drivers/net/wireless/ath/ath9k/common-init.c ht_info->mcs.tx_params |= ((tx_streams - 1) << mcs 224 drivers/net/wireless/ath/ath9k/common-init.c ht_info->mcs.rx_mask[i] = 0xff; mcs 226 drivers/net/wireless/ath/ath9k/common-init.c ht_info->mcs.tx_params |= IEEE80211_HT_MCS_TX_DEFINED; mcs 615 drivers/net/wireless/ath/ath9k/htc_drv_main.c if (sta->ht_cap.mcs.rx_mask[i/8] & (1<<(i%8))) mcs 625 drivers/net/wireless/ath/ath9k/htc_drv_main.c if (sta->ht_cap.mcs.rx_mask[1]) mcs 1092 drivers/net/wireless/ath/ath9k/xmit.c static int ath_max_framelen(int usec, int mcs, bool ht40, bool sgi) mcs 1094 drivers/net/wireless/ath/ath9k/xmit.c int streams = HT_RC_2_STREAMS(mcs); mcs 1100 drivers/net/wireless/ath/ath9k/xmit.c bits = symbols * bits_per_symbol[mcs % 8][ht40] * streams; mcs 1112 drivers/net/wireless/ath/ath9k/xmit.c int mcs; mcs 1122 drivers/net/wireless/ath/ath9k/xmit.c for (mcs = 0; mcs < 32; mcs++) { mcs 1123 drivers/net/wireless/ath/ath9k/xmit.c cur_ht20[mcs] = ath_max_framelen(txop, mcs, false, false); mcs 1124 drivers/net/wireless/ath/ath9k/xmit.c cur_ht20_sgi[mcs] = ath_max_framelen(txop, mcs, false, true); mcs 1125 drivers/net/wireless/ath/ath9k/xmit.c cur_ht40[mcs] = ath_max_framelen(txop, mcs, true, false); mcs 1126 drivers/net/wireless/ath/ath9k/xmit.c cur_ht40_sgi[mcs] = ath_max_framelen(txop, mcs, true, true); mcs 161 drivers/net/wireless/ath/carl9170/main.c .mcs = { \ mcs 1936 drivers/net/wireless/ath/carl9170/main.c carl9170_band_2GHz.ht_cap.mcs.tx_params |= tx_params; mcs 1937 drivers/net/wireless/ath/carl9170/main.c carl9170_band_5GHz.ht_cap.mcs.tx_params |= tx_params; mcs 227 drivers/net/wireless/ath/carl9170/wlan.h u8 mcs:7; mcs 141 drivers/net/wireless/ath/wcn36xx/main.c .mcs = { mcs 164 drivers/net/wireless/ath/wcn36xx/main.c .mcs = { mcs 742 drivers/net/wireless/ath/wcn36xx/main.c BUILD_BUG_ON(sizeof(sta->ht_cap.mcs.rx_mask) > mcs 745 drivers/net/wireless/ath/wcn36xx/main.c sta->ht_cap.mcs.rx_mask, mcs 746 drivers/net/wireless/ath/wcn36xx/main.c sizeof(sta->ht_cap.mcs.rx_mask)); mcs 275 drivers/net/wireless/ath/wil6210/cfg80211.c .mcs = { mcs 499 drivers/net/wireless/ath/wil6210/cfg80211.c sinfo->txrate.mcs = le16_to_cpu(reply.evt.bf_mcs); mcs 500 drivers/net/wireless/ath/wil6210/cfg80211.c sinfo->rxrate.mcs = stats->last_mcs_rx; mcs 1457 drivers/net/wireless/ath/wil6210/debugfs.c seq_printf(s, " Tx_mcs = %d\n", sinfo->txrate.mcs); mcs 1458 drivers/net/wireless/ath/wil6210/debugfs.c seq_printf(s, " Rx_mcs = %d\n", sinfo->rxrate.mcs); mcs 1627 drivers/net/wireless/ath/wil6210/debugfs.c int i, tid, mcs; mcs 1695 drivers/net/wireless/ath/wil6210/debugfs.c for (mcs = 0; mcs < ARRAY_SIZE(p->stats.rx_per_mcs); mcs 1696 drivers/net/wireless/ath/wil6210/debugfs.c mcs++) mcs 1698 drivers/net/wireless/ath/wil6210/debugfs.c p->stats.rx_per_mcs[mcs]); mcs 172 drivers/net/wireless/ath/wil6210/trace.h __field(u8, mcs) mcs 183 drivers/net/wireless/ath/wil6210/trace.h __entry->mcs = wil_rxdesc_mcs(d); mcs 187 drivers/net/wireless/ath/wil6210/trace.h __entry->mid, __entry->cid, __entry->tid, __entry->mcs, mcs 204 drivers/net/wireless/ath/wil6210/trace.h __field(u8, mcs) mcs 216 drivers/net/wireless/ath/wil6210/trace.h __entry->mcs = wil_rx_status_get_mcs(msg); mcs 221 drivers/net/wireless/ath/wil6210/trace.h __entry->mid, __entry->cid, __entry->tid, __entry->mcs, mcs 273 drivers/net/wireless/ath/wil6210/trace.h __field(u8, mcs) mcs 281 drivers/net/wireless/ath/wil6210/trace.h __entry->mcs = wil_tx_status_get_mcs(msg); mcs 286 drivers/net/wireless/ath/wil6210/trace.h __entry->num_descs, __entry->status, __entry->mcs) mcs 865 drivers/net/wireless/ath/wil6210/wmi.c data->info.channel, data->info.mcs, data->info.rssi, mcs 1436 drivers/net/wireless/ath/wil6210/wmi.c data->info.channel, data->info.mcs, data->info.rssi); mcs 1404 drivers/net/wireless/ath/wil6210/wmi.h s8 mcs; mcs 1629 drivers/net/wireless/ath/wil6210/wmi.h u8 mcs; mcs 1956 drivers/net/wireless/ath/wil6210/wmi.h u8 mcs; mcs 2434 drivers/net/wireless/ath/wil6210/wmi.h u8 mcs; mcs 3140 drivers/net/wireless/ath/wil6210/wmi.h u8 mcs; mcs 3164 drivers/net/wireless/ath/wil6210/wmi.h u8 mcs; mcs 3999 drivers/net/wireless/ath/wil6210/wmi.h u8 mcs; mcs 3295 drivers/net/wireless/broadcom/b43/tables_nphy.c check(mcs, MCS); mcs 6276 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memset(band->ht_cap.mcs.rx_mask, 0xff, nchain); mcs 6277 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->ht_cap.mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 600 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h u8 mcs[BRCMF_MCSSET_LEN]; /* supported mcs index bit map */ mcs 614 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h u8 mcs[BRCMF_MCSSET_LEN]; /* supported mcs index bit map */ mcs 154 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c u32 rate, mcs; mcs 156 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c for (mcs = 0; mcs < MCS_TABLE_SIZE; mcs++) { mcs 159 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c rate = mcs_2_rate(mcs, false, false); mcs 160 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c ampdu->max_txlen[mcs][0][0] = (rate * dur) >> 3; mcs 162 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c rate = mcs_2_rate(mcs, true, false); mcs 163 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c ampdu->max_txlen[mcs][1][0] = (rate * dur) >> 3; mcs 165 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c rate = mcs_2_rate(mcs, false, true); mcs 166 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c ampdu->max_txlen[mcs][0][1] = (rate * dur) >> 3; mcs 168 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c rate = mcs_2_rate(mcs, true, true); mcs 169 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c ampdu->max_txlen[mcs][1][1] = (rate * dur) >> 3; mcs 582 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c u8 plcp0, plcp3, is40, sgi, mcs; mcs 598 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c mcs = plcp0 & ~MIMO_PLCP_40MHZ; mcs 600 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c ampdu->max_txlen[mcs][is40][sgi]); mcs 603 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c if (mcs_2_rate(mcs, true, false) >= f->dmaxferrate) { mcs 605 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c min_t(u16, f->mcs2ampdu_table[mcs], mcs 648 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c u8 plcp0, plcp3, is40, sgi, mcs; mcs 716 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c mcs = plcp0 & ~MIMO_PLCP_40MHZ; mcs 770 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c if (mcs_2_rate(mcs, true, false) >= f->dmaxferrate) { mcs 824 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c struct tx_status *txs, u8 mcs) mcs 849 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c u8 mcs = 0; mcs 949 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c mcs = plcp[0] & MIMO_PLCP_MCS_MASK; mcs 972 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c mcs); mcs 232 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c .mcs = { mcs 253 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c .mcs = { mcs 1064 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c band->ht_cap.mcs.rx_mask[1] = 0; mcs 1065 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c band->ht_cap.mcs.rx_highest = cpu_to_le16(72); mcs 628 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c uint mcs = ratespec & RSPEC_RATE_MASK; mcs 629 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c int tot_streams = mcs_2_txstreams(mcs) + rspec_stc(ratespec); mcs 635 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c kNdps = mcs_2_rate(mcs, rspec_is40mhz(ratespec), mcs 5352 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c memcpy(wlc->bandstate[i]->hw_rateset.mcs, mcs 5353 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->default_bss->rateset.mcs, MCSSET_LEN); mcs 5505 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c memcpy(internal_rs.mcs, &mcsset_bss->rateset.mcs[0], mcs 5804 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c uint mcs = ratespec & RSPEC_RATE_MASK; mcs 5805 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c int tot_streams = mcs_2_txstreams(mcs) + rspec_stc(ratespec); mcs 5811 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c kNdps = mcs_2_rate(mcs, rspec_is40mhz(ratespec), mcs 5861 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c return isset(hw_rateset->mcs, (rspec & RSPEC_RATE_MASK)); mcs 6049 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c u8 mcs = (u8) (rspec & RSPEC_RATE_MASK); mcs 6050 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c plcp[0] = mcs; mcs 6051 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (rspec_is40mhz(rspec) || (mcs == 32)) mcs 6167 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c uint mcs = rspec & RSPEC_RATE_MASK; mcs 6172 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c phyctl1 |= (mcs_table[mcs].tx_phy_ctl3 << 8); mcs 7204 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c uint mcs = ratespec & RSPEC_RATE_MASK; mcs 7205 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c int tot_streams = (mcs_2_txstreams(mcs) + 1) + mcs 7213 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c kNdps = mcs_2_rate(mcs, rspec_is40mhz(ratespec), mcs 116 drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h u8 mcs[MCSSET_LEN]; /* supported mcs index bit map */ mcs 294 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c rs->mcs[i] = 0; mcs 334 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c rs->mcs[i] = (rs->mcs[i] & hw_rs->mcs[i]); mcs 432 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c memcpy(&dst->mcs[0], &src->mcs[0], MCSSET_LEN); mcs 498 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c rateset->mcs[i] = 0; mcs 503 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c memcpy(&rateset->mcs[0], &cck_ofdm_mimo_rates.mcs[0], MCSSET_LEN); mcs 511 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c setbit(rateset->mcs, 32); mcs 513 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c clrbit(rateset->mcs, 32); mcs 56 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h static inline u8 mcs_2_txstreams(u8 mcs) mcs 58 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h return (mcs_table[mcs].tx_phy_ctl3 & MCS_TXS_MASK) >> MCS_TXS_SHIFT; mcs 61 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h static inline uint mcs_2_rate(u8 mcs, bool is40, bool sgi) mcs 65 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h return mcs_table[mcs].phy_rate_40_sgi; mcs 66 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h return mcs_table[mcs].phy_rate_20_sgi; mcs 69 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h return mcs_table[mcs].phy_rate_40; mcs 71 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h return mcs_table[mcs].phy_rate_20; mcs 190 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h static inline bool is_single_stream(u8 mcs) mcs 192 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h return mcs <= HIGHEST_SINGLE_STREAM_MCS || mcs == 32; mcs 543 drivers/net/wireless/intel/iwlegacy/4965-rs.c u8 mcs; mcs 579 drivers/net/wireless/intel/iwlegacy/4965-rs.c mcs = il4965_rs_extract_rate(rate_n_flags); mcs 582 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (mcs <= RATE_SISO_60M_PLCP) { mcs 2314 drivers/net/wireless/intel/iwlegacy/4965-rs.c lq_sta->active_siso_rate = ht_cap->mcs.rx_mask[0] << 1; mcs 2315 drivers/net/wireless/intel/iwlegacy/4965-rs.c lq_sta->active_siso_rate |= ht_cap->mcs.rx_mask[0] & 0x1; mcs 2320 drivers/net/wireless/intel/iwlegacy/4965-rs.c lq_sta->active_mimo2_rate = ht_cap->mcs.rx_mask[1] << 1; mcs 2321 drivers/net/wireless/intel/iwlegacy/4965-rs.c lq_sta->active_mimo2_rate |= ht_cap->mcs.rx_mask[1] & 0x1; mcs 2658 drivers/net/wireless/intel/iwlegacy/4965-rs.c il_rate_mcs[idx].mcs); mcs 3380 drivers/net/wireless/intel/iwlegacy/common.c memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); mcs 3389 drivers/net/wireless/intel/iwlegacy/common.c ht_info->mcs.rx_mask[4] = 0x01; mcs 3399 drivers/net/wireless/intel/iwlegacy/common.c ht_info->mcs.rx_mask[0] = 0xFF; mcs 3401 drivers/net/wireless/intel/iwlegacy/common.c ht_info->mcs.rx_mask[1] = 0xFF; mcs 3403 drivers/net/wireless/intel/iwlegacy/common.c ht_info->mcs.rx_mask[2] = 0xFF; mcs 3408 drivers/net/wireless/intel/iwlegacy/common.c ht_info->mcs.rx_highest = cpu_to_le16(max_bit_rate); mcs 3411 drivers/net/wireless/intel/iwlegacy/common.c ht_info->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 3413 drivers/net/wireless/intel/iwlegacy/common.c ht_info->mcs.tx_params |= IEEE80211_HT_MCS_TX_RX_DIFF; mcs 3414 drivers/net/wireless/intel/iwlegacy/common.c ht_info->mcs.tx_params |= mcs 5239 drivers/net/wireless/intel/iwlegacy/common.c (ht_cap->mcs. mcs 5244 drivers/net/wireless/intel/iwlegacy/common.c if (ht_cap->mcs.rx_mask[1] == 0 && mcs 5245 drivers/net/wireless/intel/iwlegacy/common.c ht_cap->mcs.rx_mask[2] == 0) mcs 2726 drivers/net/wireless/intel/iwlegacy/common.h char mcs[IL_MAX_MCS_DISPLAY_SIZE]; mcs 590 drivers/net/wireless/intel/iwlwifi/dvm/rs.c u8 mcs; mcs 626 drivers/net/wireless/intel/iwlwifi/dvm/rs.c mcs = rs_extract_rate(rate_n_flags); mcs 629 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (mcs <= IWL_RATE_SISO_60M_PLCP) { mcs 633 drivers/net/wireless/intel/iwlwifi/dvm/rs.c } else if (mcs <= IWL_RATE_MIMO2_60M_PLCP) { mcs 2824 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_sta->active_siso_rate = ht_cap->mcs.rx_mask[0] << 1; mcs 2825 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_sta->active_siso_rate |= ht_cap->mcs.rx_mask[0] & 0x1; mcs 2830 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_sta->active_mimo2_rate = ht_cap->mcs.rx_mask[1] << 1; mcs 2831 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_sta->active_mimo2_rate |= ht_cap->mcs.rx_mask[1] & 0x1; mcs 2835 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_sta->active_mimo3_rate = ht_cap->mcs.rx_mask[2] << 1; mcs 2836 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_sta->active_mimo3_rate |= ht_cap->mcs.rx_mask[2] & 0x1; mcs 3170 drivers/net/wireless/intel/iwlwifi/dvm/rs.c iwl_rate_mcs[index].mbps, iwl_rate_mcs[index].mcs); mcs 274 drivers/net/wireless/intel/iwlwifi/dvm/rs.h char mcs[IWL_MAX_MCS_DISPLAY_SIZE]; mcs 1296 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (ht_cap->mcs.rx_mask[1] == 0 && mcs 1297 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c ht_cap->mcs.rx_mask[2] == 0) { mcs 1299 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c } else if (!(ht_cap->mcs.tx_params & mcs 1303 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c } else if (ht_cap->mcs.tx_params & mcs 1314 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c maxstreams = (ht_cap->mcs.tx_params & mcs 777 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c ht_info->mcs.rx_mask[0] = 0xFF; mcs 779 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c ht_info->mcs.rx_mask[1] = 0xFF; mcs 781 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c ht_info->mcs.rx_mask[2] = 0xFF; mcs 798 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c ht_info->mcs.rx_highest = cpu_to_le16(max_bit_rate); mcs 801 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c ht_info->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 803 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c ht_info->mcs.tx_params |= IEEE80211_HT_MCS_TX_RX_DIFF; mcs 804 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c ht_info->mcs.tx_params |= ((tx_chains - 1) << mcs 220 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c static u16 rs_fw_he_ieee80211_mcs_to_rs_mcs(u16 mcs) mcs 222 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c switch (mcs) { mcs 233 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c WARN(1, "invalid HE MCS %d\n", mcs); mcs 316 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c cpu_to_le16(ht_cap->mcs.rx_mask[0]); mcs 324 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c cpu_to_le16(ht_cap->mcs.rx_mask[1]); mcs 2842 drivers/net/wireless/intel/iwlwifi/mvm/rs.c lq_sta->active_siso_rate = ht_cap->mcs.rx_mask[0] << 1; mcs 2843 drivers/net/wireless/intel/iwlwifi/mvm/rs.c lq_sta->active_siso_rate |= ht_cap->mcs.rx_mask[0] & 0x1; mcs 2847 drivers/net/wireless/intel/iwlwifi/mvm/rs.c lq_sta->active_mimo2_rate = ht_cap->mcs.rx_mask[1] << 1; mcs 2848 drivers/net/wireless/intel/iwlwifi/mvm/rs.c lq_sta->active_mimo2_rate |= ht_cap->mcs.rx_mask[1] & 0x1; mcs 3691 drivers/net/wireless/intel/iwlwifi/mvm/rs.c u8 mcs = 0, nss = 0; mcs 3707 drivers/net/wireless/intel/iwlwifi/mvm/rs.c mcs = rate & RATE_VHT_MCS_RATE_CODE_MSK; mcs 3712 drivers/net/wireless/intel/iwlwifi/mvm/rs.c mcs = rate & RATE_HT_MCS_INDEX_MSK; mcs 3717 drivers/net/wireless/intel/iwlwifi/mvm/rs.c mcs = rate & RATE_VHT_MCS_RATE_CODE_MSK; mcs 3743 drivers/net/wireless/intel/iwlwifi/mvm/rs.c type, rs_pretty_ant(ant), bw, mcs, nss, mcs 218 drivers/net/wireless/intel/iwlwifi/mvm/rs.h char mcs[IWL_MAX_MCS_DISPLAY_SIZE]; mcs 2984 drivers/net/wireless/mac80211_hwsim.c memset(&sband->ht_cap.mcs, 0, mcs 2985 drivers/net/wireless/mac80211_hwsim.c sizeof(sband->ht_cap.mcs)); mcs 2986 drivers/net/wireless/mac80211_hwsim.c sband->ht_cap.mcs.rx_mask[0] = 0xff; mcs 2987 drivers/net/wireless/mac80211_hwsim.c sband->ht_cap.mcs.rx_mask[1] = 0xff; mcs 2988 drivers/net/wireless/mac80211_hwsim.c sband->ht_cap.mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 58 drivers/net/wireless/marvell/mwifiex/11ac.c u8 i, nss, mcs; mcs 71 drivers/net/wireless/marvell/mwifiex/11ac.c mcs = GET_VHTNSSMCS(mcs_map, i); mcs 72 drivers/net/wireless/marvell/mwifiex/11ac.c if (mcs < IEEE80211_VHT_MCS_NOT_SUPPORTED) mcs 75 drivers/net/wireless/marvell/mwifiex/11ac.c mcs = GET_VHTNSSMCS(mcs_map, nss); mcs 78 drivers/net/wireless/marvell/mwifiex/11ac.c if (mcs == IEEE80211_VHT_MCS_NOT_SUPPORTED) mcs 79 drivers/net/wireless/marvell/mwifiex/11ac.c mcs = IEEE80211_VHT_MCS_SUPPORT_0_9; mcs 83 drivers/net/wireless/marvell/mwifiex/11ac.c max_rate = max_rate_lgi_160MHZ[nss - 1][mcs]; mcs 86 drivers/net/wireless/marvell/mwifiex/11ac.c max_rate = max_rate_lgi_160MHZ[nss - 1][mcs - 1]; mcs 88 drivers/net/wireless/marvell/mwifiex/11ac.c max_rate = max_rate_lgi_80MHZ[nss - 1][mcs]; mcs 91 drivers/net/wireless/marvell/mwifiex/11ac.c max_rate = max_rate_lgi_80MHZ[nss - 1][mcs - 1]; mcs 56 drivers/net/wireless/marvell/mwifiex/11n.c memcpy((u8 *)&ht_cap->mcs, &sband->ht_cap.mcs, mcs 57 drivers/net/wireless/marvell/mwifiex/11n.c sizeof(sband->ht_cap.mcs)); mcs 64 drivers/net/wireless/marvell/mwifiex/11n.c SETHT_MCS32(ht_cap->mcs.rx_mask); mcs 1296 drivers/net/wireless/marvell/mwifiex/cfg80211.c rate->mcs = rateinfo; mcs 1301 drivers/net/wireless/marvell/mwifiex/cfg80211.c rate->mcs = rateinfo & 0x0F; mcs 1336 drivers/net/wireless/marvell/mwifiex/cfg80211.c rate->mcs = rateinfo; mcs 1914 drivers/net/wireless/marvell/mwifiex/cfg80211.c memset(&ht_info->mcs, 0, adapter->number_of_antenna); mcs 1915 drivers/net/wireless/marvell/mwifiex/cfg80211.c memset(&ht_info->mcs, 0xff, rx_mcs_supp); mcs 2815 drivers/net/wireless/marvell/mwifiex/cfg80211.c u8 *mcs = (u8 *)&mcs_set; mcs 2822 drivers/net/wireless/marvell/mwifiex/cfg80211.c memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); mcs 2870 drivers/net/wireless/marvell/mwifiex/cfg80211.c memset(mcs, 0xff, rx_mcs_supp); mcs 2872 drivers/net/wireless/marvell/mwifiex/cfg80211.c memset(&mcs[rx_mcs_supp], 0, mcs 2879 drivers/net/wireless/marvell/mwifiex/cfg80211.c memcpy((u8 *) &ht_info->mcs, mcs, sizeof(struct ieee80211_mcs_info)); mcs 2881 drivers/net/wireless/marvell/mwifiex/cfg80211.c ht_info->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 1135 drivers/net/wireless/marvell/mwifiex/tdls.c struct ieee80211_mcs_info mcs; mcs 1146 drivers/net/wireless/marvell/mwifiex/tdls.c mcs = sta_ptr->tdls_cap.ht_capb.mcs; mcs 1147 drivers/net/wireless/marvell/mwifiex/tdls.c if (mcs.rx_mask[0] != 0xff) mcs 642 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(&htcap->ht_cap.mcs, &bss_cfg->ht_cap.mcs, mcs 2416 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.rx_mask[0] = 0xff; mcs 2418 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.rx_mask[1] = 0xff; mcs 2420 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.rx_mask[2] = 0xff; mcs 2421 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.rx_mask[4] = 0x01; mcs 2422 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 2425 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.tx_params |= IEEE80211_HT_MCS_TX_RX_DIFF; mcs 2426 drivers/net/wireless/marvell/mwl8k.c band->ht_cap.mcs.tx_params |= (tx_streams - 1) << mcs 4116 drivers/net/wireless/marvell/mwl8k.c cmd->ht_rates[0] = sta->ht_cap.mcs.rx_mask[0]; mcs 4117 drivers/net/wireless/marvell/mwl8k.c cmd->ht_rates[1] = sta->ht_cap.mcs.rx_mask[1]; mcs 4118 drivers/net/wireless/marvell/mwl8k.c cmd->ht_rates[2] = sta->ht_cap.mcs.rx_mask[2]; mcs 4119 drivers/net/wireless/marvell/mwl8k.c cmd->ht_rates[3] = sta->ht_cap.mcs.rx_mask[3]; mcs 4550 drivers/net/wireless/marvell/mwl8k.c memcpy(p->ht_rates, sta->ht_cap.mcs.rx_mask, 16); mcs 5032 drivers/net/wireless/marvell/mwl8k.c memcpy(ap_mcs_rates, ap->ht_cap.mcs.rx_mask, 16); mcs 126 drivers/net/wireless/mediatek/mt76/mac80211.c ht_cap->mcs.rx_mask[i] = i < nstream ? 0xff : 0; mcs 192 drivers/net/wireless/mediatek/mt76/mac80211.c ht_cap->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 414 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u8 mcs, nss; mcs 423 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mcs = ieee80211_rate_get_vht_mcs(rates); mcs 426 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (mcs == 0) mcs 429 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mcs--; mcs 431 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ieee80211_rate_set_vht(rates + 1, mcs, nss); mcs 63 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c u8 mcs = ieee80211_rate_get_vht_mcs(rate); mcs 65 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c if (mcs == 8 || mcs == 9) { mcs 71 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c idx = ((nss - 1) << 3) + mcs; mcs 544 drivers/net/wireless/mediatek/mt7601u/init.c ht_cap->mcs.rx_mask[0] = 0xff; mcs 545 drivers/net/wireless/mediatek/mt7601u/init.c ht_cap->mcs.rx_mask[4] = 0x1; mcs 546 drivers/net/wireless/mediatek/mt7601u/init.c ht_cap->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 462 drivers/net/wireless/quantenna/qtnfmac/commands.c rate_dst->mcs = rate_src->mcs; mcs 1284 drivers/net/wireless/quantenna/qtnfmac/commands.c memcpy(&bcap->mcs, &ht_cap->mcs, sizeof(bcap->mcs)); mcs 1437 drivers/net/wireless/quantenna/qtnfmac/qlink.h u8 mcs; mcs 796 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(&word, TXWI_W0_MCS, txdesc->u.ht.mcs); mcs 1004 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u16 mcs, real_mcs; mcs 1013 drivers/net/wireless/ralink/rt2x00/rt2800lib.c mcs = rt2x00_get_field32(word, TXWI_W0_MCS); mcs 1041 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (unlikely((aggr == 1 && ampdu == 0 && real_mcs != mcs)) || !match) { mcs 1043 drivers/net/wireless/ralink/rt2x00/rt2800lib.c mcs = real_mcs; mcs 1065 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txdesc.retry = ((mcs > real_mcs) ? mcs - real_mcs : 0); mcs 10098 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->ht.mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 10100 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->ht.mcs.tx_params |= IEEE80211_HT_MCS_TX_RX_DIFF; mcs 10101 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->ht.mcs.tx_params |= mcs 10107 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->ht.mcs.rx_mask[2] = 0xff; mcs 10110 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->ht.mcs.rx_mask[1] = 0xff; mcs 10113 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->ht.mcs.rx_mask[0] = 0xff; mcs 10114 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->ht.mcs.rx_mask[4] = 0x1; /* MCS32 */ mcs 718 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c (rate->mcs == signal))) { mcs 885 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c .mcs = RATE_MCS(RATE_MODE_CCK, 0), mcs 892 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c .mcs = RATE_MCS(RATE_MODE_CCK, 1), mcs 899 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c .mcs = RATE_MCS(RATE_MODE_CCK, 2), mcs 906 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c .mcs = RATE_MCS(RATE_MODE_CCK, 3), mcs 913 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c .mcs = RATE_MCS(RATE_MODE_OFDM, 0), mcs 920 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c .mcs = RATE_MCS(RATE_MODE_OFDM, 1), mcs 927 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c .mcs = RATE_MCS(RATE_MODE_OFDM, 2), mcs 934 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c .mcs = RATE_MCS(RATE_MODE_OFDM, 3), mcs 941 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c .mcs = RATE_MCS(RATE_MODE_OFDM, 4), mcs 948 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c .mcs = RATE_MCS(RATE_MODE_OFDM, 5), mcs 955 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c .mcs = RATE_MCS(RATE_MODE_OFDM, 6), mcs 962 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c .mcs = RATE_MCS(RATE_MODE_OFDM, 7), mcs 39 drivers/net/wireless/ralink/rt2x00/rt2x00lib.h unsigned short mcs; mcs 314 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.mcs = txrate->idx; mcs 320 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c if (sta && txdesc->u.ht.mcs > 7 && mcs 324 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.mcs = rt2x00_get_rate_mcs(hwrate->mcs); mcs 326 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.mcs |= 0x08; mcs 309 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h u16 mcs; mcs 484 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c u32 val32, ofdm, mcs; mcs 515 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c mcs = mcsbase | mcsbase << 8 | mcsbase << 16 | mcsbase << 24; mcs 517 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write32(priv, REG_TX_AGC_A_MCS03_MCS00, mcs); mcs 518 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write32(priv, REG_TX_AGC_A_MCS07_MCS04, mcs); mcs 519 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write32(priv, REG_TX_AGC_A_MCS11_MCS08, mcs); mcs 520 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write32(priv, REG_TX_AGC_A_MCS15_MCS12, mcs); mcs 548 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c mcs = mcsbase | mcsbase << 8 | mcsbase << 16 | mcsbase << 24; mcs 550 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write32(priv, REG_TX_AGC_B_MCS03_MCS00, mcs); mcs 551 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write32(priv, REG_TX_AGC_B_MCS07_MCS04, mcs); mcs 552 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write32(priv, REG_TX_AGC_B_MCS11_MCS08, mcs); mcs 553 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write32(priv, REG_TX_AGC_B_MCS15_MCS12, mcs); mcs 360 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c u32 val32, ofdm, mcs; mcs 390 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c mcs = mcsbase | mcsbase << 8 | mcsbase << 16 | mcsbase << 24; mcs 392 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write32(priv, REG_TX_AGC_A_MCS03_MCS00, mcs); mcs 393 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write32(priv, REG_TX_AGC_A_MCS07_MCS04, mcs); mcs 4519 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c sta->ht_cap.mcs.rx_mask[0] << 12 | mcs 4520 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c sta->ht_cap.mcs.rx_mask[1] << 20; mcs 6105 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c memset(&sband->ht_cap.mcs, 0, sizeof(sband->ht_cap.mcs)); mcs 6106 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c sband->ht_cap.mcs.rx_mask[0] = 0xff; mcs 6107 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c sband->ht_cap.mcs.rx_mask[4] = 0x01; mcs 6109 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c sband->ht_cap.mcs.rx_mask[1] = 0xff; mcs 6112 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c sband->ht_cap.mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 176 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 190 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.rx_mask[0] = 0xFF; mcs 191 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.rx_mask[1] = 0xFF; mcs 192 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.rx_mask[4] = 0x01; mcs 194 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.rx_highest = cpu_to_le16(MAX_BIT_RATE_40MHZ_MCS15); mcs 200 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.rx_mask[0] = 0xFF; mcs 201 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.rx_mask[1] = 0xFF; mcs 202 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.rx_mask[4] = 0x01; mcs 204 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.rx_highest = mcs 209 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.rx_mask[0] = 0xFF; mcs 210 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.rx_mask[1] = 0x00; mcs 211 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.rx_mask[4] = 0x01; mcs 213 drivers/net/wireless/realtek/rtlwifi/base.c ht_cap->mcs.rx_highest = mcs 947 drivers/net/wireless/realtek/rtlwifi/base.c sta->ht_cap.mcs.rx_mask[1] != 0) mcs 1993 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 1994 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 2093 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 2094 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 1782 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 1783 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 1882 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 1883 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 1933 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 1934 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 2032 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 2033 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 1815 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 1816 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 1907 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 1908 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 2283 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 2284 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 2033 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 2034 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 2148 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 2149 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 1858 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 1859 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 1958 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 1959 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 2344 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 2345 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 3316 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 3317 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 3547 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 | mcs 3548 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c sta->ht_cap.mcs.rx_mask[0] << 12); mcs 1533 drivers/net/wireless/realtek/rtlwifi/wifi.h u8 mcs[16]; /* 16 bytes mcs for HT rates. */ mcs 559 drivers/net/wireless/realtek/rtw88/main.c ra_mask |= (sta->ht_cap.mcs.rx_mask[1] << 20) | mcs 560 drivers/net/wireless/realtek/rtw88/main.c (sta->ht_cap.mcs.rx_mask[0] << 12); mcs 781 drivers/net/wireless/realtek/rtw88/main.c ht_cap->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 783 drivers/net/wireless/realtek/rtw88/main.c ht_cap->mcs.rx_mask[0] = 0xFF; mcs 784 drivers/net/wireless/realtek/rtw88/main.c ht_cap->mcs.rx_mask[1] = 0xFF; mcs 785 drivers/net/wireless/realtek/rtw88/main.c ht_cap->mcs.rx_mask[4] = 0x01; mcs 786 drivers/net/wireless/realtek/rtw88/main.c ht_cap->mcs.rx_highest = cpu_to_le16(300); mcs 788 drivers/net/wireless/realtek/rtw88/main.c ht_cap->mcs.rx_mask[0] = 0xFF; mcs 789 drivers/net/wireless/realtek/rtw88/main.c ht_cap->mcs.rx_mask[1] = 0x00; mcs 790 drivers/net/wireless/realtek/rtw88/main.c ht_cap->mcs.rx_mask[4] = 0x01; mcs 791 drivers/net/wireless/realtek/rtw88/main.c ht_cap->mcs.rx_highest = cpu_to_le16(150); mcs 85 drivers/net/wireless/realtek/rtw88/tx.c if (rtwdev->hal.rf_type == RF_2T2R && sta->ht_cap.mcs.rx_mask[1] != 0) mcs 227 drivers/net/wireless/rsi/rsi_91x_mac80211.c sbands->ht_cap.mcs.rx_mask[0] = 0xff; mcs 228 drivers/net/wireless/rsi/rsi_91x_mac80211.c sbands->ht_cap.mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 265 drivers/net/wireless/rsi/rsi_91x_mgmt.c static u16 mcs[] = {13, 26, 39, 52, 78, 104, 117, 130}; mcs 1273 drivers/net/wireless/rsi/rsi_91x_mgmt.c if (rate == mcs[kk]) { mcs 1382 drivers/net/wireless/rsi/rsi_91x_mgmt.c for (ii = 0; ii < ARRAY_SIZE(mcs); ii++) mcs 1383 drivers/net/wireless/rsi/rsi_91x_mgmt.c selected_rates[jj++] = mcs[ii]; mcs 1384 drivers/net/wireless/rsi/rsi_91x_mgmt.c num_supported_rates += ARRAY_SIZE(mcs); mcs 1385 drivers/net/wireless/rsi/rsi_91x_mgmt.c rate_offset += ARRAY_SIZE(mcs); mcs 170 drivers/net/wireless/st/cw1200/main.c .mcs = { mcs 190 drivers/net/wireless/st/cw1200/main.c .mcs = { mcs 1729 drivers/net/wireless/ti/wl12xx/main.c .mcs = { mcs 1763 drivers/net/wireless/ti/wl18xx/main.c .mcs = { mcs 1778 drivers/net/wireless/ti/wl18xx/main.c .mcs = { mcs 1792 drivers/net/wireless/ti/wl18xx/main.c .mcs = { mcs 1806 drivers/net/wireless/ti/wl18xx/main.c .mcs = { mcs 1561 drivers/net/wireless/ti/wlcore/cmd.c (sta->ht_cap.mcs.rx_mask[0] << HW_HT_RATES_OFFSET) | mcs 1562 drivers/net/wireless/ti/wlcore/cmd.c (sta->ht_cap.mcs.rx_mask[1] << HW_MIMO_RATES_OFFSET); mcs 4438 drivers/net/wireless/ti/wlcore/main.c u8 *rx_mask = sta->ht_cap.mcs.rx_mask; mcs 57 drivers/net/wireless/virt_wifi.c .mcs = { mcs 110 drivers/net/wireless/virt_wifi.c .mcs = { mcs 357 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta_ht->ht_cap.mcs.rx_mask[0] & BIT(i)) mcs 923 drivers/staging/rtl8188eu/core/rtw_ap.c pht_cap->mcs.rx_mask[0] = 0xff; mcs 924 drivers/staging/rtl8188eu/core/rtw_ap.c pht_cap->mcs.rx_mask[1] = 0x0; mcs 566 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c pmlmeinfo->HT_caps.mcs.rx_mask mcs 1957 drivers/staging/rtl8188eu/core/rtw_mlme.c ((u8 *)&pmlmeinfo->HT_caps.mcs)[i] &= MCS_rate_1R[i]; mcs 1137 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy((u8 *)&pmlmeinfo->HT_caps.mcs, MCS_rate_1R, 16); mcs 707 drivers/staging/rtl8188eu/core/rtw_wlan_util.c ((u8 *)&pmlmeinfo->HT_caps.mcs)[i] &= MCS_rate_1R[i]; mcs 1134 drivers/staging/rtl8188eu/core/rtw_wlan_util.c return (pHT_caps->mcs.rx_mask[0] << 12) | mcs 1135 drivers/staging/rtl8188eu/core/rtw_wlan_util.c (pHT_caps->mcs.rx_mask[1] << 20); mcs 130 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(&mcs_rate, pht_capie->mcs.rx_mask, 2); mcs 3271 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ht_cap->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; mcs 3285 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ht_cap->mcs.rx_mask[0] = 0xFF; mcs 3286 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ht_cap->mcs.rx_mask[1] = 0x00; mcs 3287 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ht_cap->mcs.rx_mask[4] = 0x01; mcs 3289 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ht_cap->mcs.rx_highest = cpu_to_le16(MAX_BIT_RATE_40MHZ_MCS7); mcs 3293 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ht_cap->mcs.rx_mask[0] = 0xFF; mcs 3294 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ht_cap->mcs.rx_mask[1] = 0xFF; mcs 3295 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ht_cap->mcs.rx_mask[4] = 0x01; mcs 3297 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ht_cap->mcs.rx_highest = cpu_to_le16(MAX_BIT_RATE_40MHZ_MCS15); mcs 1886 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.ht_cap.mcs.rx_mask[0] = 0xff; mcs 484 drivers/usb/serial/mos7840.c static int mos7840_get_reg(struct moschip_port *mcs, __u16 Wval, __u16 reg, mcs 487 drivers/usb/serial/mos7840.c struct usb_device *dev = mcs->port->serial->dev; mcs 488 drivers/usb/serial/mos7840.c struct usb_ctrlrequest *dr = mcs->dr; mcs 489 drivers/usb/serial/mos7840.c unsigned char *buffer = mcs->ctrl_buf; mcs 492 drivers/usb/serial/mos7840.c if (test_and_set_bit_lock(MOS7840_FLAG_CTRL_BUSY, &mcs->flags)) mcs 501 drivers/usb/serial/mos7840.c usb_fill_control_urb(mcs->control_urb, dev, usb_rcvctrlpipe(dev, 0), mcs 503 drivers/usb/serial/mos7840.c mos7840_control_callback, mcs); mcs 504 drivers/usb/serial/mos7840.c mcs->control_urb->transfer_buffer_length = 2; mcs 505 drivers/usb/serial/mos7840.c ret = usb_submit_urb(mcs->control_urb, GFP_ATOMIC); mcs 507 drivers/usb/serial/mos7840.c clear_bit_unlock(MOS7840_FLAG_CTRL_BUSY, &mcs->flags); mcs 531 drivers/usb/serial/mos7840.c static void mos7840_set_led_async(struct moschip_port *mcs, __u16 wval, mcs 534 drivers/usb/serial/mos7840.c struct usb_device *dev = mcs->port->serial->dev; mcs 535 drivers/usb/serial/mos7840.c struct usb_ctrlrequest *dr = mcs->led_dr; mcs 543 drivers/usb/serial/mos7840.c usb_fill_control_urb(mcs->led_urb, dev, usb_sndctrlpipe(dev, 0), mcs 546 drivers/usb/serial/mos7840.c usb_submit_urb(mcs->led_urb, GFP_ATOMIC); mcs 560 drivers/usb/serial/mos7840.c struct moschip_port *mcs = from_timer(mcs, t, led_timer1); mcs 563 drivers/usb/serial/mos7840.c mos7840_set_led_async(mcs, 0x0300, MODEM_CONTROL_REGISTER); mcs 564 drivers/usb/serial/mos7840.c mod_timer(&mcs->led_timer2, mcs 570 drivers/usb/serial/mos7840.c struct moschip_port *mcs = from_timer(mcs, t, led_timer2); mcs 572 drivers/usb/serial/mos7840.c clear_bit_unlock(MOS7840_FLAG_LED_BUSY, &mcs->flags); mcs 84 include/drm/drm_dp_mst_helper.h bool mcs; mcs 193 include/drm/drm_dp_mst_helper.h bool mcs; mcs 1324 include/linux/ieee80211.h struct ieee80211_mcs_info mcs; mcs 1742 include/linux/ieee80211.h int mcs, bool ext_nss_bw_capable); mcs 279 include/net/cfg80211.h struct ieee80211_mcs_info mcs; mcs 1312 include/net/cfg80211.h u8 mcs; mcs 939 include/net/mac80211.h u8 mcs, u8 nss) mcs 941 include/net/mac80211.h WARN_ON(mcs & ~0xF); mcs 943 include/net/mac80211.h rate->idx = ((nss - 1) << 4) | mcs; mcs 4562 include/uapi/linux/nl80211.h __u16 mcs[NL80211_VHT_NSS_MAX]; mcs 81 kernel/locking/qspinlock.c struct mcs_spinlock mcs; mcs 129 kernel/locking/qspinlock.c return per_cpu_ptr(&qnodes[idx].mcs, cpu); mcs 135 kernel/locking/qspinlock.c return &((struct qnode *)base + idx)->mcs; mcs 399 kernel/locking/qspinlock.c node = this_cpu_ptr(&qnodes[0].mcs); mcs 559 kernel/locking/qspinlock.c __this_cpu_dec(qnodes[0].mcs.count); mcs 51 kernel/locking/qspinlock_paravirt.h struct mcs_spinlock mcs; mcs 690 net/mac80211/cfg.c rinfo->mcs = rate->idx; mcs 693 net/mac80211/cfg.c rinfo->mcs = ieee80211_rate_get_vht_mcs(rate); mcs 433 net/mac80211/debugfs_sta.c htc->mcs.rx_mask[i]); mcs 437 net/mac80211/debugfs_sta.c if (le16_to_cpu(htc->mcs.rx_highest)) { mcs 440 net/mac80211/debugfs_sta.c le16_to_cpu(htc->mcs.rx_highest)); mcs 444 net/mac80211/debugfs_sta.c htc->mcs.tx_params); mcs 68 net/mac80211/ht.c scaps = (u8 *)(&ht_capa->mcs.rx_mask); mcs 69 net/mac80211/ht.c smask = (u8 *)(&ht_capa_mask->mcs.rx_mask); mcs 80 net/mac80211/ht.c ht_cap->mcs.rx_mask[i] &= ~m; /* turn off all masked bits */ mcs 82 net/mac80211/ht.c ht_cap->mcs.rx_mask[i] |= (m & scaps[i]); mcs 198 net/mac80211/ht.c tx_mcs_set_cap = own_cap.mcs.tx_params; mcs 201 net/mac80211/ht.c ht_cap.mcs.tx_params = ht_cap_ie->mcs.tx_params; mcs 223 net/mac80211/ht.c ht_cap.mcs.rx_mask[i] = mcs 224 net/mac80211/ht.c own_cap.mcs.rx_mask[i] & ht_cap_ie->mcs.rx_mask[i]; mcs 229 net/mac80211/ht.c ht_cap.mcs.rx_mask[i] = mcs 230 net/mac80211/ht.c own_cap.mcs.rx_mask[i] & mcs 231 net/mac80211/ht.c ht_cap_ie->mcs.rx_mask[i]; mcs 234 net/mac80211/ht.c if (own_cap.mcs.rx_mask[32/8] & ht_cap_ie->mcs.rx_mask[32/8] & 1) mcs 235 net/mac80211/ht.c ht_cap.mcs.rx_mask[32/8] |= 1; mcs 238 net/mac80211/ht.c ht_cap.mcs.rx_highest = ht_cap_ie->mcs.rx_highest; mcs 1838 net/mac80211/ieee80211_i.h u8 ieee80211_mcs_to_chains(const struct ieee80211_mcs_info *mcs); mcs 1844 net/mac80211/iface.c sband->ht_cap.mcs.rx_mask, mcs 483 net/mac80211/main.c .mcs = { mcs 983 net/mac80211/main.c max(ieee80211_mcs_to_chains(&sband->ht_cap.mcs), mcs 4645 net/mac80211/mlme.c chains = ieee80211_mcs_to_chains(&ht_cap->mcs); mcs 764 net/mac80211/rate.c mcs_mask[i] &= sta->ht_cap.mcs.rx_mask[i]; mcs 1389 net/mac80211/rc80211_minstrel_ht.c struct ieee80211_mcs_info *mcs = &sta->ht_cap.mcs; mcs 1484 net/mac80211/rc80211_minstrel_ht.c mi->supported[i] = mcs->rx_mask[nss - 1]; mcs 2021 net/mac80211/sta_info.c if (ht_cap->mcs.rx_mask[3]) mcs 2023 net/mac80211/sta_info.c else if (ht_cap->mcs.rx_mask[2]) mcs 2025 net/mac80211/sta_info.c else if (ht_cap->mcs.rx_mask[1]) mcs 2030 net/mac80211/sta_info.c if (!(ht_cap->mcs.tx_params & IEEE80211_HT_MCS_TX_RX_DIFF)) mcs 2033 net/mac80211/sta_info.c return ((ht_cap->mcs.tx_params & IEEE80211_HT_MCS_TX_MAX_STREAMS_MASK) mcs 2067 net/mac80211/sta_info.c rinfo->mcs = STA_STATS_GET(VHT_MCS, rate); mcs 2074 net/mac80211/sta_info.c rinfo->mcs = STA_STATS_GET(HT_MCS, rate); mcs 2098 net/mac80211/sta_info.c rinfo->mcs = STA_STATS_GET(HE_MCS, rate); mcs 380 net/mac80211/status.c pos[2] = status->rate->mcs; mcs 420 net/mac80211/status.c *pos = (status->rate->mcs << 4) | status->rate->nss; mcs 458 net/mac80211/status.c he->data3 |= HE_PREP(DATA3_DATA_MCS, status->rate->mcs); mcs 2686 net/mac80211/util.c memcpy(pos, &ht_cap->mcs, sizeof(ht_cap->mcs)); mcs 2687 net/mac80211/util.c pos += sizeof(ht_cap->mcs); mcs 2848 net/mac80211/util.c memcpy(&ht_oper->basic_set, &ht_cap->mcs, 10); mcs 3206 net/mac80211/util.c u8 ieee80211_mcs_to_chains(const struct ieee80211_mcs_info *mcs) mcs 3208 net/mac80211/util.c if (!mcs) mcs 3213 net/mac80211/util.c if (mcs->rx_mask[3]) mcs 3215 net/mac80211/util.c if (mcs->rx_mask[2]) mcs 3217 net/mac80211/util.c if (mcs->rx_mask[1]) mcs 3252 net/mac80211/util.c ri.mcs = status->rate_idx; mcs 3259 net/mac80211/util.c ri.mcs = status->rate_idx; mcs 468 net/mac80211/vht.c if (sta->sta.ht_cap.mcs.rx_mask[0]) mcs 470 net/mac80211/vht.c if (sta->sta.ht_cap.mcs.rx_mask[1]) mcs 472 net/mac80211/vht.c if (sta->sta.ht_cap.mcs.rx_mask[2]) mcs 474 net/mac80211/vht.c if (sta->sta.ht_cap.mcs.rx_mask[3]) mcs 486 net/mac80211/vht.c u8 mcs = (rx_mcs_map >> (2 * i)) & 3; mcs 488 net/mac80211/vht.c if (mcs != IEEE80211_VHT_MCS_NOT_SUPPORTED) { mcs 1575 net/wireless/nl80211.c sizeof(sband->ht_cap.mcs), mcs 1576 net/wireless/nl80211.c &sband->ht_cap.mcs) || mcs 4138 net/wireless/nl80211.c u8 mcs[IEEE80211_HT_MCS_MASK_LEN]) mcs 4142 net/wireless/nl80211.c memset(mcs, 0, IEEE80211_HT_MCS_MASK_LEN); mcs 4156 net/wireless/nl80211.c if (sband->ht_cap.mcs.rx_mask[ridx] & rbit) mcs 4157 net/wireless/nl80211.c mcs[ridx] |= rbit; mcs 4201 net/wireless/nl80211.c u16 mcs[NL80211_VHT_NSS_MAX]) mcs 4210 net/wireless/nl80211.c memset(mcs, 0, sizeof(u16) * NL80211_VHT_NSS_MAX); mcs 4216 net/wireless/nl80211.c if ((tx_mcs_mask[i] & txrate->mcs[i]) == txrate->mcs[i]) mcs 4217 net/wireless/nl80211.c mcs[i] = txrate->mcs[i]; mcs 4257 net/wireless/nl80211.c sband->ht_cap.mcs.rx_mask, mcs 5005 net/wireless/nl80211.c if (nla_put_u8(msg, NL80211_RATE_INFO_MCS, info->mcs)) mcs 5011 net/wireless/nl80211.c if (nla_put_u8(msg, NL80211_RATE_INFO_VHT_MCS, info->mcs)) mcs 5019 net/wireless/nl80211.c if (nla_put_u8(msg, NL80211_RATE_INFO_HE_MCS, info->mcs)) mcs 203 net/wireless/util.c WARN_ON((sband->ht_cap.mcs.rx_mask[0] & 0x1e) != 0x1e); mcs 1028 net/wireless/util.c if (WARN_ON_ONCE(rate->mcs >= 32)) mcs 1031 net/wireless/util.c modulation = rate->mcs & 7; mcs 1032 net/wireless/util.c streams = (rate->mcs >> 3) + 1; mcs 1093 net/wireless/util.c if (WARN_ON_ONCE(rate->mcs >= ARRAY_SIZE(__mcs2bitrate))) mcs 1096 net/wireless/util.c return __mcs2bitrate[rate->mcs]; mcs 1127 net/wireless/util.c if (WARN_ON_ONCE(rate->mcs >= ARRAY_SIZE(__mcs2bitrate))) mcs 1130 net/wireless/util.c return __mcs2bitrate[rate->mcs] * rate->n_bonded_ch; mcs 1185 net/wireless/util.c if (rate->mcs > 9) mcs 1206 net/wireless/util.c bitrate = base[idx][rate->mcs]; mcs 1216 net/wireless/util.c rate->bw, rate->mcs, rate->nss); mcs 1247 net/wireless/util.c if (WARN_ON_ONCE(rate->mcs > 11)) mcs 1290 net/wireless/util.c do_div(tmp, mcs_divisors[rate->mcs]); mcs 2028 net/wireless/util.c int mcs, bool ext_nss_bw_capable) mcs 2039 net/wireless/util.c if (WARN_ON(mcs > 9)) mcs 2041 net/wireless/util.c if (mcs <= 7) mcs 2043 net/wireless/util.c else if (mcs == 8) mcs 267 sound/soc/codecs/adau1977.c unsigned int mcs; mcs 280 sound/soc/codecs/adau1977.c mcs = adau1977->sysclk / rate; mcs 283 sound/soc/codecs/adau1977.c if (mcs < 1 || mcs > 6 || mcs == 5) mcs 286 sound/soc/codecs/adau1977.c mcs = mcs - 1; mcs 287 sound/soc/codecs/adau1977.c if (mcs == 5) mcs 288 sound/soc/codecs/adau1977.c mcs = 4; mcs 290 sound/soc/codecs/adau1977.c return mcs; mcs 302 sound/soc/codecs/adau1977.c int mcs, fs; mcs 310 sound/soc/codecs/adau1977.c mcs = adau1977_lookup_mcs(adau1977, rate, fs); mcs 311 sound/soc/codecs/adau1977.c if (mcs < 0) mcs 312 sound/soc/codecs/adau1977.c return mcs; mcs 314 sound/soc/codecs/adau1977.c mcs = 0; mcs 373 sound/soc/codecs/adau1977.c ADAU1977_PLL_MCS_MASK, mcs); mcs 780 sound/soc/codecs/adau1977.c unsigned int mcs; mcs 785 sound/soc/codecs/adau1977.c mcs = mclk / (128 * base_freq); mcs 786 sound/soc/codecs/adau1977.c if (mcs < 1 || mcs > 6 || mcs == 5) mcs 342 sound/soc/codecs/ssm2518.c int mcs; mcs 345 sound/soc/codecs/ssm2518.c mcs = ssm2518_lookup_mcs(ssm2518, rate); mcs 346 sound/soc/codecs/ssm2518.c if (mcs < 0) mcs 347 sound/soc/codecs/ssm2518.c return mcs; mcs 388 sound/soc/codecs/ssm2518.c SSM2518_POWER1_MCS_MASK, mcs << 1); mcs 654 sound/soc/codecs/sta32x.c int i, mcs = -EINVAL, ir = -EINVAL; mcs 683 sound/soc/codecs/sta32x.c mcs = i; mcs 688 sound/soc/codecs/sta32x.c if (mcs < 0) { mcs 694 sound/soc/codecs/sta32x.c (mcs << STA32X_CONFA_MCS_SHIFT); mcs 683 sound/soc/codecs/sta350.c int i, mcs = -EINVAL, ir = -EINVAL; mcs 712 sound/soc/codecs/sta350.c mcs = i; mcs 717 sound/soc/codecs/sta350.c if (mcs < 0) { mcs 723 sound/soc/codecs/sta350.c (mcs << STA350_CONFA_MCS_SHIFT);