/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | eeprom.c | 190 u8 path, nss, nss_max = 4, *eeprom = dev->mt76.eeprom.data; in mt7915_eeprom_parse_hw_cap() local 209 nss = path; in mt7915_eeprom_parse_hw_cap() 213 nss = FIELD_GET(MT_EE_WIFI_CONF3_TX_PATH_B0, in mt7915_eeprom_parse_hw_cap() 216 nss = FIELD_GET(MT_EE_WIFI_CONF3_TX_PATH_B1, in mt7915_eeprom_parse_hw_cap() 219 nss = FIELD_GET(MT_EE_WIFI_CONF_STREAM_NUM, in mt7915_eeprom_parse_hw_cap() 227 if (!nss) in mt7915_eeprom_parse_hw_cap() 228 nss = nss_max; in mt7915_eeprom_parse_hw_cap() 229 nss = min_t(u8, min_t(u8, nss_max, nss), path); in mt7915_eeprom_parse_hw_cap() 234 mphy->antenna_mask = BIT(nss) - 1; in mt7915_eeprom_parse_hw_cap()
|
H A D | mcu.c | 45 u8 nss; in mt7915_mcu_get_sta_nss() local 47 for (nss = 8; nss > 0; nss--) { in mt7915_mcu_get_sta_nss() 48 u8 nss_mcs = (mcs_map >> (2 * (nss - 1))) & 3; in mt7915_mcu_get_sta_nss() 54 return nss - 1; in mt7915_mcu_get_sta_nss() 65 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_he_mcs() local 67 for (nss = 0; nss < max_nss; nss++) { in mt7915_mcu_set_sta_he_mcs() 70 switch ((mcs_map >> (2 * nss)) & 0x3) { in mt7915_mcu_set_sta_he_mcs() 84 mcs = mcs ? fls(mcs & mask[nss]) - 1 : -1; in mt7915_mcu_set_sta_he_mcs() 100 mcs_map &= ~(0x3 << (nss * 2)); in mt7915_mcu_set_sta_he_mcs() 101 mcs_map |= mcs << (nss * 2); in mt7915_mcu_set_sta_he_mcs() [all …]
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | debugfs_sta.c | 21 int gi, mcs, bw, nss; in ath11k_debugfs_sta_add_tx_stats() local 30 nss = txrate->nss - 1; in ath11k_debugfs_sta_add_tx_stats() 87 STATS_OP_FMT(AMPDU).nss[0][nss] += in ath11k_debugfs_sta_add_tx_stats() 93 STATS_OP_FMT(AMPDU).nss[1][nss] += in ath11k_debugfs_sta_add_tx_stats() 102 STATS_OP_FMT(SUCC).nss[0][nss] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats() 106 STATS_OP_FMT(SUCC).nss[1][nss] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats() 110 STATS_OP_FMT(FAIL).nss[0][nss] += peer_stats->failed_bytes; in ath11k_debugfs_sta_add_tx_stats() 114 STATS_OP_FMT(FAIL).nss[1][nss] += peer_stats->failed_pkts; in ath11k_debugfs_sta_add_tx_stats() 118 STATS_OP_FMT(RETRY).nss[0][nss] += peer_stats->retry_bytes; in ath11k_debugfs_sta_add_tx_stats() 122 STATS_OP_FMT(RETRY).nss[1][nss] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats() [all …]
|
H A D | mac.c | 438 int nss; in ath11k_mac_max_ht_nss() local 440 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath11k_mac_max_ht_nss() 441 if (ht_mcs_mask[nss]) in ath11k_mac_max_ht_nss() 442 return nss + 1; in ath11k_mac_max_ht_nss() 450 int nss; in ath11k_mac_max_vht_nss() local 452 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_vht_nss() 453 if (vht_mcs_mask[nss]) in ath11k_mac_max_vht_nss() 454 return nss + 1; in ath11k_mac_max_vht_nss() 462 int nss; in ath11k_mac_max_he_nss() local 464 for (nss = NL80211_HE_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_he_nss() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/ |
H A D | rs.c | 117 u32 nss = 0; in iwl_new_rate_from_v1() local 122 nss = (rate_v1 & RATE_HT_MCS_MIMO2_MSK) >> in iwl_new_rate_from_v1() 124 rate_v2 |= nss << RATE_MCS_NSS_POS; in iwl_new_rate_from_v1() 195 u8 mcs = 0, nss = 0; in rs_pretty_print_rate() local 228 nss = ((rate & RATE_MCS_NSS_MSK) in rs_pretty_print_rate() 235 "0x%x: %s | ANT: %s BW: %s MCS: %d NSS: %d %s%s%s%s%s", in rs_pretty_print_rate() 236 rate, type, iwl_rs_pretty_ant(ant), iwl_rs_pretty_bw(bw), mcs, nss, in rs_pretty_print_rate()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | eeprom.c | 151 u8 path, nss, band_idx = phy->mt76->band_idx; in mt7996_eeprom_parse_hw_cap() local 160 nss = FIELD_GET(MT_EE_WIFI_CONF5_STREAM_NUM_BAND1, in mt7996_eeprom_parse_hw_cap() 166 nss = FIELD_GET(MT_EE_WIFI_CONF5_STREAM_NUM_BAND2, in mt7996_eeprom_parse_hw_cap() 172 nss = FIELD_GET(MT_EE_WIFI_CONF4_STREAM_NUM_BAND0, in mt7996_eeprom_parse_hw_cap() 180 nss = min_t(u8, min_t(u8, 4, nss), path); in mt7996_eeprom_parse_hw_cap() 182 mphy->antenna_mask = BIT(nss) - 1; in mt7996_eeprom_parse_hw_cap()
|
/freebsd/include/ |
H A D | nsswitch.h | 46 /* NSS source actions */ 164 * ns_mtab - NSS method table 165 * An NSS module provides a mapping from (database name, method name) 176 * NSS module de-registration, called at module unload. 181 * NSS module registration, called at module load. 187 * Many NSS interfaces follow the getXXnam, getXXid, getXXent pattern. 213 * ns_mod - NSS module
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | mac.c | 407 int nss; in ath12k_mac_max_ht_nss() local 409 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath12k_mac_max_ht_nss() 410 if (ht_mcs_mask[nss]) in ath12k_mac_max_ht_nss() 411 return nss + 1; in ath12k_mac_max_ht_nss() 419 int nss; in ath12k_mac_max_vht_nss() local 421 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath12k_mac_max_vht_nss() 422 if (vht_mcs_mask[nss]) in ath12k_mac_max_vht_nss() 423 return nss + 1; in ath12k_mac_max_vht_nss() 919 u16 nss; in ath12k_mac_monitor_vdev_create() local 959 nss = hweight32(ar->cfg_tx_chainmask) ? : 1; in ath12k_mac_monitor_vdev_create() [all …]
|
H A D | dp_mon.c | 110 ppdu_info->nss = u32_get_bits(nsts, VHT_SIG_SU_NSS_MASK); in ath12k_dp_mon_parse_vht_sig_a() 121 ppdu_info->nss); in ath12k_dp_mon_parse_vht_sig_a() 140 ppdu_info->nss = (ppdu_info->mcs >> 3); in ath12k_dp_mon_parse_ht_sig() 252 ppdu_info->nss = u32_get_bits(info0, HAL_RX_HE_SIG_B2_OFDMA_INFO_INFO0_STA_NSTS); in ath12k_dp_mon_parse_he_sig_b2_ofdma() 282 ppdu_info->nss = u32_get_bits(info0, HAL_RX_HE_SIG_B2_MU_INFO_INFO0_STA_NSTS); in ath12k_dp_mon_parse_he_sig_b2_mu() 580 ppdu_info->nss = u32_get_bits(info0, HAL_RX_HE_SIG_A_SU_INFO_INFO0_NSTS); in ath12k_dp_mon_parse_he_sig_su() 1028 rxs->nss = ppduinfo->nss + 1; in ath12k_dp_mon_update_radiotap() 1111 status->nss, in ath12k_dp_mon_rx_deliver_msdu() 1884 tx_ppdu_info->rx_status.nss = in ath12k_dp_mon_tx_parse_status_tlv() 2177 u32 nss_idx = (user_stats) ? user_stats->nss - 1 : ppdu_info->nss - 1; in ath12k_dp_mon_rx_update_peer_rate_table_stats() [all …]
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | util.c | 82 void rtw_desc_to_mcsrate(u16 rate, u8 *mcs, u8 *nss) in rtw_desc_to_mcsrate() argument 89 *nss = 1; in rtw_desc_to_mcsrate() 93 *nss = 2; in rtw_desc_to_mcsrate() 97 *nss = 3; in rtw_desc_to_mcsrate() 101 *nss = 4; in rtw_desc_to_mcsrate()
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | ipq806x-dwmac.txt | 12 - qcom,nss-common: should contain a phandle to a syscon device mapping the 13 nss-common registers. 27 qcom,nss-common = <&nss_common>;
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76x02_mac.c | 183 u8 phy, rate_idx, nss, bw = 0; in mt76x02_mac_tx_rate_val() local 188 nss = 1 + (rate->idx >> 4); in mt76x02_mac_tx_rate_val() 196 nss = 1 + (rate->idx >> 3); in mt76x02_mac_tx_rate_val() 215 nss = 1; in mt76x02_mac_tx_rate_val() 224 *nss_val = nss; in mt76x02_mac_tx_rate_val() 234 s8 nss; in mt76x02_mac_wcid_set_rate() local 236 rateval = mt76x02_mac_tx_rate_val(dev, rate, &nss); in mt76x02_mac_wcid_set_rate() 238 FIELD_PREP(MT_WCID_TX_INFO_NSS, nss) | in mt76x02_mac_wcid_set_rate() 346 u8 nss; in mt76x02_mac_write_txwi() local 386 nss = FIELD_GET(MT_WCID_TX_INFO_NSS, wcid_tx_info); in mt76x02_mac_write_txwi() [all …]
|
H A D | mt76_connac_mac.c | 12 void mt76_connac_gen_ppe_thresh(u8 *he_ppet, int nss) in mt76_connac_gen_ppe_thresh() argument 17 he_ppet[0] = FIELD_PREP(IEEE80211_PPE_THRES_NSS_MASK, nss - 1) | in mt76_connac_gen_ppe_thresh() 22 nss * hweight8(ru_bit_mask) * 2; in mt76_connac_gen_ppe_thresh() 294 for (nss = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \ 303 nss = i + 1; \ 313 u8 nss = 0, mode = 0, band = mphy->chandef.chan->band; in mt76_connac2_mac_tx_rate_val() local 350 return FIELD_PREP(MT_TX_RATE_NSS, nss) | in mt76_connac2_mac_tx_rate_val() 637 rate.nss = FIELD_GET(MT_TX_RATE_NSS, txrate) + 1; in mt76_connac2_mac_fill_txs() 640 if (stbc && rate.nss > 1) in mt76_connac2_mac_fill_txs() 641 rate.nss >>= 1; in mt76_connac2_mac_fill_txs() [all …]
|
H A D | mt76x02_txrx.c | 67 u8 nss, idx; in mt76x02_tx_get_max_txpwr_adj() local 69 nss = ieee80211_rate_get_vht_nss(rate); in mt76x02_tx_get_max_txpwr_adj() 70 idx = ((nss - 1) << 3) + mcs; in mt76x02_tx_get_max_txpwr_adj()
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | rs-fw.c | 114 int nss) in rs_fw_vht_highest_rx_mcs_index() argument 117 (0x3 << (2 * (nss - 1))); in rs_fw_vht_highest_rx_mcs_index() 118 rx_mcs >>= (2 * (nss - 1)); in rs_fw_vht_highest_rx_mcs_index() 153 int nss = i + 1; in rs_fw_vht_set_enabled_rates() local 155 highest_mcs = rs_fw_vht_highest_rx_mcs_index(vht_cap, nss); in rs_fw_vht_set_enabled_rates() 165 * Check if VHT extended NSS indicates that the bandwidth/NSS in rs_fw_vht_set_enabled_rates() 172 0, true, nss) >= nss) in rs_fw_vht_set_enabled_rates() 206 u8 nss in rs_fw_he_set_enabled_rates() local [all...] |
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-sess_id.pod.in | 13 [B<-outform> B<DER>|B<PEM>|B<NSS>] 40 =item B<-inform> B<DER>|B<PEM>, B<-outform> B<DER>|B<PEM>|B<NSS> 45 For B<NSS> output, the session ID and master key are reported in NSS "keylog"
|
/freebsd/lib/libc/net/ |
H A D | nsdispatch.3 | 107 Additionally, methods may be implemented in NSS modules, in 208 provides stubs for compatibility with NSS modules 234 Support for NSS modules first appeared in 249 added the support for threads and NSS modules, and normalized the uses
|
H A D | nss_backends.h | 35 * Eventually, the implementations of existing built-in NSS functions 36 * may be moved into NSS modules and live here.
|
/freebsd/secure/usr.bin/openssl/man/ |
H A D | openssl-sess_id.1 | 146 [\fB\-outform\fR \fB\s-1DER\s0\fR|\fB\s-1PEM\s0\fR|\fB\s-1NSS\s0\fR] 168 …-1DER\s0\fR|\fB\s-1PEM\s0\fR, \fB\-outform\fR \fB\s-1DER\s0\fR|\fB\s-1PEM\s0\fR|\fB\s-1NSS\s0\fR" 4 169 .IX Item "-inform DER|PEM, -outform DER|PEM|NSS" 173 For \fB\s-1NSS\s0\fR output, the session \s-1ID\s0 and master key are reported in \s-1NSS\s0 \*(L"k…
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | mac.c | 179 static int ath10k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) in ath10k_mac_get_max_vht_mcs_map() argument 181 switch ((mcs_map >> (2 * nss)) & 0x3) { in ath10k_mac_get_max_vht_mcs_map() 192 int nss; in ath10k_mac_max_ht_nss() local 194 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath10k_mac_max_ht_nss() 195 if (ht_mcs_mask[nss]) in ath10k_mac_max_ht_nss() 196 return nss + 1; in ath10k_mac_max_ht_nss() 204 int nss; in ath10k_mac_max_vht_nss() local 206 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath10k_mac_max_vht_nss() 207 if (vht_mcs_mask[nss]) in ath10k_mac_max_vht_nss() 208 return nss + 1; in ath10k_mac_max_vht_nss() [all …]
|
H A D | htt_rx.c | 1000 u8 cck, rate, bw, sgi, mcs, nss; in ath10k_htt_rx_h_rates() local 1040 nss = mcs >> 3; in ath10k_htt_rx_h_rates() 1065 nss = (nsts_su >> 2) + 1; in ath10k_htt_rx_h_rates() 1067 nss = (nsts_su + 1); in ath10k_htt_rx_h_rates() 1080 nss = 1; in ath10k_htt_rx_h_rates() 1107 status->nss = nss; in ath10k_htt_rx_h_rates() 1313 status->nss = 0; in ath10k_htt_rx_h_ppdu() 1411 status->nss, in ath10k_process_rx() 3818 int idx, ht_idx, gi, mcs, bw, nss; in ath10k_accumulate_per_peer_tx_stats() local 3829 nss = txrate->nss; in ath10k_accumulate_per_peer_tx_stats() [all …]
|
/freebsd/secure/caroot/ |
H A D | MAca-bundle.pl | 3 ## MAca-bundle.pl -- Regenerate ca-root-nss.crt from the Mozilla certdata.txt 76 ## root CA list (the file `certdata.txt' in security/nss). 80 ## Extracted from nss 88 ## ca-root-nss.crt -- Bundle of CA Root Certificates 96 ## Extracted from nss
|
H A D | README | 26 Download the latest certdata.txt from the Mozilla NSS hg repo 28 https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt
|
/freebsd/contrib/ldns/drill/ |
H A D | chasetrace.c | 61 ldns_dnssec_rrsets *nss = NULL; in set_nss_for_name() local 70 /* nss will become the rrset of as much of "name" as possible */ in set_nss_for_name() 72 nss = ldns_dnssec_zone_find_rrset( in set_nss_for_name() 74 if (nss != NULL) { in set_nss_for_name() 92 for (nss_rrs = nss->rrs; nss_rrs; nss_rrs = nss_rrs->next) { in set_nss_for_name() 112 for (nss_rrs = nss->rrs; nss_rrs; nss_rrs = nss_rrs->next) { in set_nss_for_name()
|
/freebsd/contrib/unbound/contrib/ |
H A D | unbound_portable.service.in | 18 Before=nss-lookup.target 19 Wants=nss-lookup.target
|