| /freebsd/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | rs-fw.c | 142 u8 max_nss = link_sta->rx_nss; in rs_fw_vht_set_enabled_rates() 206 u8 nss = link_sta->rx_nss; in rs_fw_he_set_enabled_rates() 242 static u8 rs_fw_eht_max_nss(u8 rx_nss, u8 tx_nss) in rs_fw_eht_max_nss() argument 245 u8 rx = u8_get_bits(rx_nss, IEEE80211_EHT_MCS_NSS_RX); in rs_fw_eht_max_nss() 361 link_sta->rx_nss < 2) in rs_fw_eht_set_enabled_rates()
|
| H A D | sf.c | 125 max_rx_nss = max(max_rx_nss, link_sta->rx_nss); in iwl_mvm_fill_sf_command()
|
| H A D | mld-sta.c | 442 switch (link_sta->rx_nss) { in iwl_mvm_mld_cfg_sta()
|
| /freebsd/sys/contrib/dev/iwlwifi/mld/ |
| H A D | tlc.c | 165 u8 max_nss = link_sta->rx_nss; in iwl_mld_fill_vht_rates() 228 u8 nss = link_sta->rx_nss; in iwl_mld_fill_he_rates() 292 static u8 iwl_mld_get_eht_max_nss(u8 rx_nss, u8 tx_nss) in iwl_mld_get_eht_max_nss() argument 295 u8 rx = u8_get_bits(rx_nss, IEEE80211_EHT_MCS_NSS_RX); in iwl_mld_get_eht_max_nss() 398 link_sta->rx_nss < 2) in iwl_mld_fill_eht_rates()
|
| H A D | sta.c | 446 switch (link_sta->rx_nss) { in iwl_mld_add_modify_sta_cmd()
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | rtw8922a.c | 1685 static int rtw8922a_cfg_rx_nss_limit(struct rtw89_dev *rtwdev, u8 rx_nss, in rtw8922a_cfg_rx_nss_limit() argument 1688 if (rx_nss == 1) { in rtw8922a_cfg_rx_nss_limit() 1700 } else if (rx_nss == 2) { in rtw8922a_cfg_rx_nss_limit() 1743 u8 rx_nss = (rx_path == RF_PATH_AB) ? 2 : 1; in rtw8922a_ctrl_rx_path_tmac() local 1751 rtw8922a_cfg_rx_nss_limit(rtwdev, rx_nss, phy_idx); in rtw8922a_ctrl_rx_path_tmac() 1756 rtw8922a_cfg_rx_nss_limit(rtwdev, rx_nss, phy_idx); in rtw8922a_ctrl_rx_path_tmac() 1761 rtw8922a_cfg_rx_nss_limit(rtwdev, rx_nss, phy_idx); in rtw8922a_ctrl_rx_path_tmac() 2334 enum rtw89_rf_path rx_path, u8 rx_nss) in rtw8922a_ctrl_trx_path() argument 2341 rtw8922a_cfg_rx_nss_limit(rtwdev, rx_nss, phy_idx); in rtw8922a_ctrl_trx_path() 2401 u8 rx_nss = 2; in rtw8922a_bb_cfg_txrx_path() local [all …]
|
| H A D | rtw8852b_common.c | 1748 u8 rx_nss = rtwdev->hal.rx_nss; in __rtw8852bx_bb_cfg_txrx_path() local 1751 rx_nss = 1; in __rtw8852bx_bb_cfg_txrx_path() 1756 if (rx_nss == 1) { in __rtw8852bx_bb_cfg_txrx_path()
|
| H A D | rtw8852c.c | 2504 u8 rx_nss = hal->rx_nss; in rtw8852c_bb_cfg_txrx_path() local 2512 rx_nss = 1; in rtw8852c_bb_cfg_txrx_path() 2516 if (rx_nss == 1) { in rtw8852c_bb_cfg_txrx_path() 3178 .rx_nss = 2,
|
| H A D | mac.c | 3122 u8 rx_nss; in rtw89_mac_setup_phycap_part0() local 3134 rx_nss = u32_get_bits(phycap->w0, RTW89_C2HREG_PHYCAP_W0_RX_NSS); in rtw89_mac_setup_phycap_part0() 3139 hal->rx_nss = rx_nss ? min_t(u8, rx_nss, chip->rx_nss) : chip->rx_nss; in rtw89_mac_setup_phycap_part0() 3161 hal->rx_nss, rx_nss, chip->rx_nss); in rtw89_mac_setup_phycap_part0()
|
| H A D | rtw8852bt.c | 820 .rx_nss = 2,
|
| H A D | rtw8852b.c | 981 .rx_nss = 2,
|
| H A D | core.c | 939 le32_encode_bits(hal->rx_nss - 1, RTW89_HTC_MASK_HTC_OM_RX_NSS) | in rtw89_core_get_no_ul_ofdma_htc() 5257 u8 nss = hal->rx_nss; in rtw89_init_ht_cap() 5301 if (i < hal->rx_nss) in rtw89_init_vht_cap() 5324 vht_cap->vht_mcs.rx_highest = highest[hal->rx_nss - 1]; in rtw89_init_vht_cap() 5342 int nss = hal->rx_nss; in rtw89_init_he_cap() 5518 val = u8_encode_bits(hal->rx_nss, IEEE80211_EHT_MCS_NSS_RX) | in rtw89_init_eht_cap()
|
| H A D | rtw8851b.c | 2046 if (rtwdev->hal.rx_nss == 1) { in rtw8851b_bb_cfg_txrx_path() 2648 .rx_nss = 1,
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | mac.c | 2052 arg->peer_nss = min(sta->deflink.rx_nss, max_nss); in ath11k_peer_assoc_h_ht() 2163 u32 rx_nss, tx_nss, nss_160; in ath11k_peer_assoc_h_vht() local 2208 if (vht_nss > sta->deflink.rx_nss) { in ath11k_peer_assoc_h_vht() 2210 for (nss_idx = sta->deflink.rx_nss - 1; nss_idx >= 0; nss_idx--) { in ath11k_peer_assoc_h_vht() 2220 sta->deflink.rx_nss, sta->addr); in ath11k_peer_assoc_h_vht() 2221 vht_mcs_mask[sta->deflink.rx_nss - 1] = vht_mcs_mask[vht_nss - 1]; in ath11k_peer_assoc_h_vht() 2235 arg->peer_nss = min(sta->deflink.rx_nss, max_nss); in ath11k_peer_assoc_h_vht() 2259 rx_nss = min(arg->peer_nss, tx_nss); in ath11k_peer_assoc_h_vht() 2262 if (!rx_nss) { in ath11k_peer_assoc_h_vht() 2268 nss_160 = FIELD_PREP(ATH11K_PEER_RX_NSS_160MHZ, rx_nss - 1); in ath11k_peer_assoc_h_vht() [all …]
|
| H A D | debugfs_htt_stats.h | 502 u32 rx_nss[HTT_RX_PEER_STATS_NUM_SPATIAL_STREAMS]; member 1350 u32 rx_nss[HTT_RX_PDEV_STATS_NUM_SPATIAL_STREAMS]; member
|
| /freebsd/sys/compat/linuxkpi/common/src/ |
| H A D | linux_80211.c | 547 int i, rx_nss; in lkpi_sta_sync_ht_from_ni() local 583 rx_nss = 0; in lkpi_sta_sync_ht_from_ni() 592 rx_nss++; in lkpi_sta_sync_ht_from_ni() 594 if (rx_nss > 0) { in lkpi_sta_sync_ht_from_ni() 595 TRACEOK("HT rx_nss = max(%d, %d)", rx_nss, sta->deflink.rx_nss); in lkpi_sta_sync_ht_from_ni() 596 sta->deflink.rx_nss = MAX(rx_nss, sta->deflink.rx_nss); in lkpi_sta_sync_ht_from_ni() 632 int rx_nss; lkpi_sta_sync_vht_from_ni() local [all...] |
| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | mac.c | 2268 arg->peer_nss = min(link_sta->rx_nss, max_nss); in ath12k_peer_assoc_h_ht() 2381 u32 rx_nss, tx_nss, nss_160; in ath12k_peer_assoc_h_vht() local 2436 if (vht_nss > link_sta->rx_nss) { in ath12k_peer_assoc_h_vht() 2438 for (nss_idx = link_sta->rx_nss - 1; nss_idx >= 0; nss_idx--) { in ath12k_peer_assoc_h_vht() 2449 link_sta->rx_nss, arsta->addr); in ath12k_peer_assoc_h_vht() 2450 vht_mcs_mask[link_sta->rx_nss - 1] = vht_mcs_mask[vht_nss - 1]; in ath12k_peer_assoc_h_vht() 2464 arg->peer_nss = min(link_sta->rx_nss, max_nss); in ath12k_peer_assoc_h_vht() 2488 rx_nss = min(arg->peer_nss, tx_nss); in ath12k_peer_assoc_h_vht() 2491 if (!rx_nss) { in ath12k_peer_assoc_h_vht() 2496 nss_160 = u32_encode_bits(rx_nss - 1, ATH12K_PEER_RX_NSS_160MHZ); in ath12k_peer_assoc_h_vht() [all …]
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | mac.c | 2422 arg->peer_num_spatial_streams = min(sta->deflink.rx_nss, in ath10k_peer_assoc_h_ht() 2639 arg->peer_num_spatial_streams = min(sta->deflink.rx_nss, max_nss); in ath10k_peer_assoc_h_vht() 2654 u32 rx_nss; in ath10k_peer_assoc_h_vht() local 2658 rx_nss = get_160mhz_nss_from_maxrate(max_rate); in ath10k_peer_assoc_h_vht() 2660 if (rx_nss == 0) in ath10k_peer_assoc_h_vht() 2661 rx_nss = arg->peer_num_spatial_streams; in ath10k_peer_assoc_h_vht() 2663 rx_nss = min(arg->peer_num_spatial_streams, rx_nss); in ath10k_peer_assoc_h_vht() 2666 rx_nss = min(rx_nss, get_160mhz_nss_from_maxrate(max_rate)); in ath10k_peer_assoc_h_vht() 2670 FIELD_PREP(WMI_PEER_NSS_160MHZ_MASK, (rx_nss - 1)); in ath10k_peer_assoc_h_vht() 2674 FIELD_PREP(WMI_PEER_NSS_80_80MHZ_MASK, (rx_nss - 1)); in ath10k_peer_assoc_h_vht() [all …]
|
| /freebsd/contrib/wpa/src/ap/ |
| H A D | beacon.c | 1837 u8 rx_nss, tx_nss, max_nss = 0, i; in hostapd_gen_fils_discovery_nss() local 1851 rx_nss = mcs[3 * i] & 0x0F; in hostapd_gen_fils_discovery_nss() 1852 if (rx_nss > max_nss) in hostapd_gen_fils_discovery_nss() 1853 max_nss = rx_nss; in hostapd_gen_fils_discovery_nss()
|
| H A D | drv_callbacks.c | 1054 enum chan_width chan_width, u8 rx_nss) in hostapd_event_sta_opmode_changed() argument 1115 if (rx_nss != 0xff) { in hostapd_event_sta_opmode_changed() 1117 MACSTR " %d", MAC2STR(addr), rx_nss); in hostapd_event_sta_opmode_changed() 2724 data->sta_opmode.rx_nss); in wpa_supplicant_event()
|
| H A D | hostapd.h | 807 enum chan_width chan_width, u8 rx_nss);
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
| H A D | mcu.c | 69 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_he_mcs() 123 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_vht_mcs() 154 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_ht_mcs()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
| H A D | mcu.c | 132 int nss, max_nss = link_sta->rx_nss > 3 ? 4 : link_sta->rx_nss; in mt7996_mcu_set_sta_he_mcs() 181 int nss, max_nss = link_sta->rx_nss > 3 ? 4 : link_sta->rx_nss; in mt7996_mcu_set_sta_vht_mcs() 206 int nss, max_nss = link_sta->rx_nss > 3 ? 4 : link_sta->rx_nss; in mt7996_mcu_set_sta_ht_mcs()
|
| /freebsd/contrib/wpa/src/drivers/ |
| H A D | driver.h | 6764 u8 rx_nss; member
|
| /freebsd/sys/compat/linuxkpi/common/include/net/ |
| H A D | mac80211.h | 738 uint8_t rx_nss; member
|