Searched refs:mcs (Results 1 – 14 of 14) sorted by relevance
/net/mac80211/ |
D | ht.c | 71 scaps = (u8 *)(&ht_capa->mcs.rx_mask); in ieee80211_apply_htcap_overrides() 72 smask = (u8 *)(&ht_capa_mask->mcs.rx_mask); in ieee80211_apply_htcap_overrides() 83 ht_cap->mcs.rx_mask[i] &= ~m; /* turn off all masked bits */ in ieee80211_apply_htcap_overrides() 85 ht_cap->mcs.rx_mask[i] |= (m & scaps[i]); in ieee80211_apply_htcap_overrides() 192 tx_mcs_set_cap = own_cap.mcs.tx_params; in ieee80211_ht_cap_ie_to_sta_ht_cap() 195 ht_cap.mcs.tx_params = ht_cap_ie->mcs.tx_params; in ieee80211_ht_cap_ie_to_sta_ht_cap() 217 ht_cap.mcs.rx_mask[i] = in ieee80211_ht_cap_ie_to_sta_ht_cap() 218 own_cap.mcs.rx_mask[i] & ht_cap_ie->mcs.rx_mask[i]; in ieee80211_ht_cap_ie_to_sta_ht_cap() 223 ht_cap.mcs.rx_mask[i] = in ieee80211_ht_cap_ie_to_sta_ht_cap() 224 own_cap.mcs.rx_mask[i] & in ieee80211_ht_cap_ie_to_sta_ht_cap() [all …]
|
D | vht.c | 403 if (sta->sta.ht_cap.mcs.rx_mask[0]) in ieee80211_sta_set_rx_nss() 405 if (sta->sta.ht_cap.mcs.rx_mask[1]) in ieee80211_sta_set_rx_nss() 407 if (sta->sta.ht_cap.mcs.rx_mask[2]) in ieee80211_sta_set_rx_nss() 409 if (sta->sta.ht_cap.mcs.rx_mask[3]) in ieee80211_sta_set_rx_nss() 421 u8 mcs = (rx_mcs_map >> (2 * i)) & 3; in ieee80211_sta_set_rx_nss() local 423 if (mcs != IEEE80211_VHT_MCS_NOT_SUPPORTED) { in ieee80211_sta_set_rx_nss()
|
D | debugfs_sta.c | 370 htc->mcs.rx_mask[i]); in sta_ht_capa_read() 374 if (le16_to_cpu(htc->mcs.rx_highest)) { in sta_ht_capa_read() 377 le16_to_cpu(htc->mcs.rx_highest)); in sta_ht_capa_read() 381 htc->mcs.tx_params); in sta_ht_capa_read()
|
D | util.c | 2342 memcpy(pos, &ht_cap->mcs, sizeof(ht_cap->mcs)); in ieee80211_ie_build_ht_cap() 2343 pos += sizeof(ht_cap->mcs); in ieee80211_ie_build_ht_cap() 2417 memcpy(&ht_oper->basic_set, &ht_cap->mcs, 10); in ieee80211_ie_build_ht_oper() 2719 u8 ieee80211_mcs_to_chains(const struct ieee80211_mcs_info *mcs) in ieee80211_mcs_to_chains() argument 2721 if (!mcs) in ieee80211_mcs_to_chains() 2726 if (mcs->rx_mask[3]) in ieee80211_mcs_to_chains() 2728 if (mcs->rx_mask[2]) in ieee80211_mcs_to_chains() 2730 if (mcs->rx_mask[1]) in ieee80211_mcs_to_chains() 2763 ri.mcs = status->rate_idx; in ieee80211_calculate_rx_timestamp() 2771 ri.mcs = status->rate_idx; in ieee80211_calculate_rx_timestamp()
|
D | sta_info.c | 1941 if (ht_cap->mcs.rx_mask[3]) in sta_info_tx_streams() 1943 else if (ht_cap->mcs.rx_mask[2]) in sta_info_tx_streams() 1945 else if (ht_cap->mcs.rx_mask[1]) in sta_info_tx_streams() 1950 if (!(ht_cap->mcs.tx_params & IEEE80211_HT_MCS_TX_RX_DIFF)) in sta_info_tx_streams() 1953 return ((ht_cap->mcs.tx_params & IEEE80211_HT_MCS_TX_MAX_STREAMS_MASK) in sta_info_tx_streams() 1987 rinfo->mcs = STA_STATS_GET(VHT_MCS, rate); in sta_stats_decode_rate() 1994 rinfo->mcs = STA_STATS_GET(HT_MCS, rate); in sta_stats_decode_rate()
|
D | rc80211_minstrel_ht.c | 1138 struct ieee80211_mcs_info *mcs = &sta->ht_cap.mcs; in minstrel_ht_update_caps() local 1229 mi->supported[i] = mcs->rx_mask[nss - 1]; in minstrel_ht_update_caps()
|
D | main.c | 478 .mcs = { 939 max(ieee80211_mcs_to_chains(&sband->ht_cap.mcs), in ieee80211_register_hw()
|
D | rate.c | 774 mcs_mask[i] &= sta->ht_cap.mcs.rx_mask[i]; in rate_control_cap_mask()
|
D | ieee80211_i.h | 1793 u8 ieee80211_mcs_to_chains(const struct ieee80211_mcs_info *mcs);
|
D | cfg.c | 653 rinfo->mcs = rate->idx; in sta_set_rate_info_tx() 656 rinfo->mcs = ieee80211_rate_get_vht_mcs(rate); in sta_set_rate_info_tx()
|
D | iface.c | 1863 sband->ht_cap.mcs.rx_mask, in ieee80211_if_add()
|
D | mlme.c | 4308 chains = ieee80211_mcs_to_chains(&ht_cap->mcs); in ieee80211_ht_vht_rx_chains()
|
/net/wireless/ |
D | util.c | 191 WARN_ON((sband->ht_cap.mcs.rx_mask[0] & 0x1e) != 0x1e); in set_mandatory_flags_band() 1101 if (WARN_ON_ONCE(rate->mcs >= 32)) in cfg80211_calculate_bitrate_ht() 1104 modulation = rate->mcs & 7; in cfg80211_calculate_bitrate_ht() 1105 streams = (rate->mcs >> 3) + 1; in cfg80211_calculate_bitrate_ht() 1166 if (WARN_ON_ONCE(rate->mcs >= ARRAY_SIZE(__mcs2bitrate))) in cfg80211_calculate_bitrate_60g() 1169 return __mcs2bitrate[rate->mcs]; in cfg80211_calculate_bitrate_60g() 1224 if (rate->mcs > 9) in cfg80211_calculate_bitrate_vht() 1245 bitrate = base[idx][rate->mcs]; in cfg80211_calculate_bitrate_vht() 1255 rate->bw, rate->mcs, rate->nss); in cfg80211_calculate_bitrate_vht()
|
D | nl80211.c | 1266 sizeof(sband->ht_cap.mcs), in nl80211_send_band_rateinfo() 1267 &sband->ht_cap.mcs) || in nl80211_send_band_rateinfo() 3507 u8 mcs[IEEE80211_HT_MCS_MASK_LEN]) in ht_rateset_to_mask() 3511 memset(mcs, 0, IEEE80211_HT_MCS_MASK_LEN); in ht_rateset_to_mask() 3525 if (sband->ht_cap.mcs.rx_mask[ridx] & rbit) in ht_rateset_to_mask() 3526 mcs[ridx] |= rbit; in ht_rateset_to_mask() 3570 u16 mcs[NL80211_VHT_NSS_MAX]) in vht_set_mcs_mask() 3579 memset(mcs, 0, sizeof(u16) * NL80211_VHT_NSS_MAX); in vht_set_mcs_mask() 3585 if ((tx_mcs_mask[i] & txrate->mcs[i]) == txrate->mcs[i]) in vht_set_mcs_mask() 3586 mcs[i] = txrate->mcs[i]; in vht_set_mcs_mask() [all …]
|