Home
last modified time | relevance | path

Searched +full:sw +full:- +full:freq +full:- +full:hz (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/ntp/util/
H A Dtg.c6 * broadcast timecode. Alternatively, it can generate the IRIG-B
24 * over the range 0-255. The signal generator by default uses WWV
26 * switches to IRIG-B format.
42 * the transmissionorder is low-order first as the frame is processed
44 * For IRIG the on-time marker M preceeds the first (units) bit, so its
64 #define SECOND 8000 /* one second of 125-us samples */
68 #define IRIG 1 /* IRIG-B encoder */
82 int c3000[] = {1, 48, 63, 70, 78, 82, 85, 89, 92, 94, /* 0-9 */
83 96, 98, 99, 100, 101, 101, 102, 103, 103, 103, /* 10-19 */
84 103, 103, 103, 103, 102, 101, 101, 100, 99, 98, /* 20-29 */
[all …]
H A Dtg2.c6 * broadcast timecode. Alternatively, it can generate the IRIG-B
24 * over the range 0-255. The signal generator by default uses WWV
26 * switches to IRIG-B format.
42 * the transmissionorder is low-order first as the frame is processed
44 * For IRIG the on-time marker M preceeds the first (units) bit, so its
54 * v0.23 2007-02-12 dmw:
55 * - Changed statistics to include calculated error
60 * v0.22 2007-02-08 dmw:
61 * - Changed default for rate correction to "enabled", "-j" switch now disables.
62 * - Adjusted help message accordingly.
[all …]
/freebsd/contrib/ntp/ntpd/
H A Drefclock_wwv.c2 * refclock_wwv - clock driver for NIST WWV/H time/frequency station
43 * kHz and mu-law companding. This is the same standard as used by the
53 * Report 97-8-1, University of Delaware, August 1997, 25 pp., available
61 * a nonzero ICOM ID select code. The C-IV trace is turned on if the
68 * port, where 0 is the mike port (default) and 1 is the line-in port.
74 * CEVNT_PROP propagation failure - no stations heard
82 #define PRECISION (-10) /* precision assumed (about 1 ms) */
84 #define WWV_SEC 8000 /* second epoch (sample rate) (Hz) */
99 #define AUDIO_PHI 5e-
283 int sw; /* case switch number */ global() member
514 double phase, freq; /* logical clock phase and frequency */ global() member
1759 int sw, arg, nsec; wwv_rsec() local
[all...]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dcore.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved.
54 #define ATH11K_CONNECTION_LOSS_HZ (3 * HZ)
59 /* SMBIOS type structure length (excluding strings-set) */
68 #define ATH11K_SCAN_TIMEOUT_HZ (20 * HZ)
71 #define ATH11K_RESET_TIMEOUT_HZ (20 * HZ)
74 #define ATH11K_RESET_FAIL_TIMEOUT_HZ (20 * HZ)
75 #define ATH11K_RECONFIGURE_TIMEOUT_HZ (10 * HZ)
76 #define ATH11K_RECOVER_START_TIMEOUT_HZ (20 * HZ)
[all …]
H A Dwmi.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2210 /* enum wmi_nss_ratio - NSS ratio received from FW during service ready ext
2212 * WMI_NSS_RATIO_1BY2_NSS -Max nss of 160MHz is equals to half of the max nss
2214 * WMI_NSS_RATIO_3BY4_NSS - Max nss of 160MHz is equals to 3/4 of the max nss
2216 * WMI_NSS_RATIO_1_NSS - Max nss of 160MHz is equals to the max nss of 80MHz
2217 * WMI_NSS_RATIO_2_NSS - Max nss of 160MHz is equals to two times the max
2326 u32 numss_m1; /** NSS - 1*/
2452 * [7:0] - 2G band tx chain mask
[all …]
H A Dmac.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
164 /* new addition in IEEE Std 802.11ax-2021 */
244 #define ath11k_a_rates_size (ARRAY_SIZE(ath11k_legacy_rates) - 4)
405 return -EINVAL; in ath11k_mac_hw_ratecode_to_legacy_rate()
426 for (i = 0; i < sband->n_bitrates; i++) in ath11k_mac_bitrate_to_idx()
427 if (sband->bitrates[i].bitrate == bitrate) in ath11k_mac_bitrate_to_idx()
438 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath11k_mac_max_ht_nss()
450 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_vht_nss()
462 for (nss = NL80211_HE_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_he_nss()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dwmi.h1 /* SPDX-License-Identifier: ISC */
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
29 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff
45 * variable is already 4-byte aligned by virtue of being a u32
527 * for wmi_services is 64 as target is using only 4-bits of each 32-bit
533 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \
534 BIT(((((svc_id) - (len)) % 28) & 0x1f) + 4))
[all …]
H A Dwmi.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
21 #include "wmi-tlv.h"
24 #include "wmi-ops.h"
34 #define ATH10K_WMI_BARRIER_TIMEOUT_HZ (3 * HZ)
35 #define ATH10K_WMI_DFS_CONF_TIMEOUT_HZ (HZ / 6)
1715 if (arg->passive) in ath10k_wmi_put_wmi_channel()
[all …]
H A Dmac.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
30 #include "wmi-tlv.h"
31 #include "wmi-ops.h"
105 #define ath10k_a_rates_size (ARRAY_SIZE(ath10k_rates) - \
140 for (i = 0; i < sband->n_bitrates; i++) { in ath10k_mac_hw_rate_to_idx()
141 rate = &sband->bitrates[i]; in ath10k_mac_hw_rate_to_idx()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmcu.c1 // SPDX-License-Identifier: ISC
73 dev->mt76.mcu.timeout = 20 * HZ; in mt7615_mcu_fill_msg()
75 seq = ++dev->mt76.mcu.msg_seq & 0xf; in mt7615_mcu_fill_msg()
77 seq = ++dev->mt76.mcu.msg_seq & 0xf; in mt7615_mcu_fill_msg()
92 val = FIELD_PREP(MT_TXD0_TX_BYTES, skb->len) | in mt7615_mcu_fill_msg()
104 uni_txd->len = cpu_to_le16(skb->len - sizeof(uni_txd->txd)); in mt7615_mcu_fill_msg()
105 uni_txd->option = MCU_CMD_UNI_EXT_ACK; in mt7615_mcu_fill_msg()
106 uni_txd->cid = cpu_to_le16(mcu_cmd); in mt7615_mcu_fill_msg()
107 uni_txd->s2d_index = MCU_S2D_H2N; in mt7615_mcu_fill_msg()
108 uni_txd->pkt_type = MCU_PKT_ID; in mt7615_mcu_fill_msg()
[all …]
/freebsd/sys/net80211/
H A Dieee80211_var.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
87 /* XXX TODO: cap this at 1, in case hz is not 1000 */
88 #define IEEE80211_TU_TO_TICKS(x)(((uint64_t)(x) * 1024 * hz) / (1000 * 1000))
93 * says that VHT is supported - and then this macro can be
97 ((ic)->ic_flags_ext & IEEE80211_FEXT_VHT)
100 ((ic)->ic_flags_ext & IEEE80211_FEXT_SEQNO_OFFLOAD)
102 ((ic)->ic_flags_ext & IEEE80211_FEXT_FRAG_OFFLOAD)
104 ((ic)->ic_flags_ext & IEEE80211_FEXT_AMPDU_OFFLOAD)
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Drx.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2025 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
10 #include "iwl-trans.h"
12 #include "fw-api.h"
15 * iwl_mvm_rx_rx_phy_cmd - REPLY_RX_PHY_CMD handler
17 * Copies the phy information in mvm->last_phy_info, it will be used when the
25 if (unlikely(pkt_len < sizeof(mvm->last_phy_info))) in iwl_mvm_rx_rx_phy_cmd()
28 memcpy(&mvm->last_phy_info, pkt->data, sizeof(mvm->last_phy_info)); in iwl_mvm_rx_rx_phy_cmd()
[all …]
H A Dmac80211.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2025 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
26 #include "iwl-drv.h"
27 #include "iwl-op-mode.h"
28 #include "iwl-io.h"
31 #include "time-event.h"
32 #include "iwl-nvm-utils.h"
33 #include "iwl-phy-db.h"
[all …]
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dwmi.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
2376 __le32 numss_m1; /** NSS - 1*/
2495 * [7:0] - 2G band tx chain mask
2496 * [15:8] - 2G band rx chain mask
2497 * [23:16] - 5G band tx chain mask
2498 * [31:24] - 5G band rx chain mask
2505 #define WMI_SERVICE_BM_SIZE ((WMI_MAX_SERVICE + sizeof(u32) - 1) / sizeof(u32))
2595 /* Used for EHT MCS-NSS array. Data at each array index follows the format given
[all …]
H A Dmac.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
233 #define ath12k_a_rates_size (ARRAY_SIZE(ath12k_legacy_rates) - 4)
259 return "11na-ht20"; in ath12k_mac_phymode_str()
261 return "11ng-ht20"; in ath12k_mac_phymode_str()
263 return "11na-ht40"; in ath12k_mac_phymode_str()
265 return "11ng-ht40"; in ath12k_mac_phymode_str()
267 return "11ac-vht20"; in ath12k_mac_phymode_str()
269 return "11ac-vht40"; in ath12k_mac_phymode_str()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mld/
H A Dmac80211.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2024-2025 Intel Corporation
26 #include "ftm-initiator.h"
36 #include "iwl-trans.h"
111 struct wiphy *wiphy = mld->wiphy; in iwl_mld_hw_set_addresses()
115 memcpy(mld->addresses[0].addr, mld->nvm_data->hw_addr, ETH_ALEN); in iwl_mld_hw_set_addresses()
116 wiphy->addresses = mld->addresses; in iwl_mld_hw_set_addresses()
117 wiphy->n_addresses = 1; in iwl_mld_hw_set_addresses()
120 if (mld->nvm_data->n_hw_addrs > 1) in iwl_mld_hw_set_addresses()
121 num_addrs = min(mld->nvm_data->n_hw_addrs, in iwl_mld_hw_set_addresses()
[all …]
/freebsd/sys/dev/ral/
H A Drt2860.c1 /*-
2 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
21 /*-
70 #define DPRINTF(x) do { if (sc->sc_debug > 0) printf x; } while (0)
71 #define DPRINTFN(n, x) do { if (sc->sc_debug >= (n)) printf x; } while (0)
238 struct ieee80211com *ic = &sc->sc_ic; in rt2860_attach()
242 sc->sc_dev = dev; in rt2860_attach()
243 sc->sc_debug = 0; in rt2860_attach()
245 mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, in rt2860_attach()
248 callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0); in rt2860_attach()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c1 /*-
2 * Copyright (c) 2020-2025 The FreeBSD Foundation
3 * Copyright (c) 2020-2025 Bjoern A. Zeeb
37 * for these (e.g., struct hw -> struct lkpi_hw, struct sta -> struct lkpi_sta).
39 * We call the internal versions lxxx (e.g., hw -> lhw, sta -> lsta).
44 * - lots :)
45 * - HW_CRYPTO: we need a "keystore" and an ordered list for suspend/resume.
96 /* XXX-BZ really want this and others in queue.h */
98 (elm)->field.tqe_next = NULL; \
99 (elm)->field.tqe_prev = NULL; \
[all …]
/freebsd/sys/dev/sfxge/common/
H A Defx_regs_mcdi.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright 2008-2013 Solarflare Communications Inc. All rights reserved.
32 /* Power-on reset state */
54 /* The 'doorbell' addresses are hard-wired to alert the MC when written */
57 /* The rest of these are firmware-defined */
65 /* Values to be written to the per-port status dword in shared
94 * | | \--- Response
95 * | \------- Error
96 * \------------------------------ Resync (always set)
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmcu.c1 // SPDX-License-Identifier: ISC
19 switch (mt76_chip(&(_dev)->mt76)) { \
21 switch ((_dev)->var.type) { \
34 switch ((_dev)->var.type) { \
117 for (nss = 8; nss > 0; nss--) { in mt7996_mcu_get_sta_nss()
118 u8 nss_mcs = (mcs_map >> (2 * (nss - 1))) & 3; in mt7996_mcu_get_sta_nss()
124 return nss - 1; in mt7996_mcu_get_sta_nss()
132 int nss, max_nss = link_sta->rx_nss > 3 ? 4 : link_sta->rx_nss; in mt7996_mcu_set_sta_he_mcs()
133 enum nl80211_band band = link->phy->mt76->chandef.chan->band; in mt7996_mcu_set_sta_he_mcs()
134 const u16 *mask = link->bitrate_mask.control[band].he_mcs; in mt7996_mcu_set_sta_he_mcs()
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Dreg_addr.h2 * Copyright (c) 2017-2018 Cavium, Inc.
78- For ending "endless completion". 0 - When receiving a completion timeout while receiving a compl…
79 … DataWidth:0x4 // 0 - TXCPL sync fifo pop underflow 1 - TXR sync fifo pop underflow 2 - TXW hea…
80 …s:R DataWidth:0x6 // 0 - RX target read and config sync fifo push overflow 1 - RX header syn…
81 …ataWidth:0x14 // 4:0 - TXCPL sync fifo pop status 9:5 - TXR sync fifo pop status 14:10 - TXW hea…
88 …ffff<<0) // Vendor ID. PCI-SIG assigned Manufacturer Identifier. Note: The access attributes of …
90 …ce Identifier. Note: The access attributes of this field are as follows: - Dbi: if (DBI_RO_WR_E…
116 … (0x1<<9) // Fast back-to-back transaction ena…
128 … (0x1<<23) // Fast back-to-back capable. Not ap…
145 …l has_io_bar=0. Note: The access attributes of this field are as follows: - Dbi: if (DBI_RO_WR_E…
[all …]