Home
last modified time | relevance | path

Searched +full:rates +full:- +full:ofdm (Results 1 – 25 of 90) sorted by relevance

1234

/freebsd/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_ppr.c22 Boston, MA 02110-1301, USA.
84 for (i = 0, entry = &(ppr)->__all_rates[i]; \
92 /* Compile-time PPR check */ in bwn_ppr_clear()
142 struct bwn_softc *sc = mac->mac_sc; in bwn_ppr_load_max_from_sprom()
144 struct bwn_ppr_rates *rates = &ppr->rates; in bwn_ppr_load_max_from_sprom() local
145 struct bwn_phy *phy = &mac->mac_phy; in bwn_ppr_load_max_from_sprom()
159 BWN_ERRPRINTF(mac->mac_sc, in bwn_ppr_load_max_from_sprom()
166 error = bhnd_nvram_getvar_uint16(sc->sc_dev, BHND_NVAR_CDDPO, &cddpo); in bwn_ppr_load_max_from_sprom()
168 BWN_ERRPRINTF(mac->mac_sc, "NVRAM variable %s unreadable: %d\n", in bwn_ppr_load_max_from_sprom()
173 error = bhnd_nvram_getvar_uint16(sc->sc_dev, BHND_NVAR_STBCPO, &stbcpo); in bwn_ppr_load_max_from_sprom()
[all …]
H A Dif_bwn_phy_n_ppr.h22 Boston, MA 02110-1301, USA.
42 uint8_t ofdm[BWN_PPR_OFDM_RATES_NUM]; member
44 uint8_t mcs_20[BWN_PPR_MCS_RATES_NUM]; /* single stream rates */
54 struct bwn_ppr_rates rates; member
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_phy.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
27 #define OFDM IEEE80211_T_OFDM macro
34 8, /* number of rates */
39 /* 6 Mb */ { AH_TRUE, OFDM, 6000, 0x0b, 0x00, (0x80|12), 0 },
40 /* 9 Mb */ { AH_TRUE, OFDM, 9000, 0x0f, 0x00, 18, 0 },
41 /* 12 Mb */ { AH_TRUE, OFDM, 12000, 0x0a, 0x00, (0x80|24), 2 },
42 /* 18 Mb */ { AH_TRUE, OFDM, 18000, 0x0e, 0x00, 36, 2 },
[all …]
H A Dar5212_reset.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
78 #define V(r, c) (ia)->data[((r)*(ia)->cols) + (c)] in write_common()
82 for (r = 0; r < ia->rows; r++) { in write_common()
141 HALASSERT(ah->ah_magic == AR5212_MAGIC); in ar5212Reset()
142 ee = AH_PRIVATE(ah)->ah_eeprom; in ar5212Reset()
171 HALASSERT(AH_PRIVATE(ah)->ah_eeversion >= AR_EEPROM_VER3); in ar5212Reset()
188 * only) - the best and most general fix for this situation in ar5212Reset()
[all …]
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_phy.c25 #define OFDM IEEE80211_T_OFDM macro
41 /* MCS RATE CODES - first and last */
67 8, /* number of rates */
72 /* 6 Mb */ { AH_TRUE, OFDM, 6000, 0x0b, 0x00, (0x80 | 12), 0 },
73 /* 9 Mb */ { AH_TRUE, OFDM, 9000, 0x0f, 0x00, 18, 0 },
74 /* 12 Mb */ { AH_TRUE, OFDM, 12000, 0x0a, 0x00, (0x80 | 24), 2 },
75 /* 18 Mb */ { AH_TRUE, OFDM, 18000, 0x0e, 0x00, 36, 2 },
76 /* 24 Mb */ { AH_TRUE, OFDM, 24000, 0x09, 0x00, (0x80 | 48), 4 },
77 /* 36 Mb */ { AH_TRUE, OFDM, 36000, 0x0d, 0x00, 72, 4 },
78 /* 48 Mb */ { AH_TRUE, OFDM, 48000, 0x08, 0x00, 96, 4 },
[all …]
H A Dar9300_ani.c65 ((((x) % (mul)) >= ((mul) / 2)) ? ((x) + ((mul) - 1)) / (mul) : (x) / (mul))
67 HAL_EP_RND(ahp->ah_stats.ast_nodestats.ns_avgbrssi, \
73 * firstep_table: lvl 0-8, default 2
75 static const TABLE firstep_table = { -4, -2, 0, 2, 4, 6, 8, 10, 12};
76 /* cycpwr_thr1_table: lvl 0-7, default 3 */
77 static const TABLE cycpwr_thr1_table = { -6, -4, -2, 0, 2, 4, 6, 8 };
100 #define HAL_ANI_OFDM_MAX_LEVEL (HAL_ANI_OFDM_NUM_LEVEL - 1)
101 #define HAL_ANI_OFDM_DEF_LEVEL 3 /* default level - matches the INI settings */
109 /* FS MRC-CCK */
122 #define HAL_ANI_CCK_MAX_LEVEL (HAL_ANI_CCK_NUM_LEVEL - 1)
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_phy.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2006 Atheros Communications, Inc.
27 #define OFDM IEEE80211_T_OFDM macro
32 8, /* number of rates */
37 /* 6 Mb */ { AH_TRUE, OFDM, 6000, 0x0b, 0x00, (0x80|12), 0 },
38 /* 9 Mb */ { AH_TRUE, OFDM, 9000, 0x0f, 0x00, 18, 0 },
39 /* 12 Mb */ { AH_TRUE, OFDM, 12000, 0x0a, 0x00, (0x80|24), 2 },
40 /* 18 Mb */ { AH_TRUE, OFDM, 18000, 0x0e, 0x00, 36, 2 },
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_phy.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
27 #define OFDM IEEE80211_T_OFDM macro
32 28, /* number of rates */
41 /* Remove rates 6, 9 from rate ctrl */
42 /* 6 Mb */ { AH_FALSE, OFDM, 6000, 0x0b, 0x00, 12, 4 },
43 /* 9 Mb */ { AH_FALSE, OFDM, 9000, 0x0f, 0x00, 18, 4 },
44 /* 12 Mb */ { AH_TRUE, OFDM, 12000, 0x0a, 0x00, 24, 6 },
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_phy.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2004 Atheros Communications, Inc.
27 #define OFDM IEEE80211_T_OFDM macro
31 8, /* number of rates */
36 /* 6 Mb */ { AH_TRUE, OFDM, 6000, 0x0b, 0x00, (0x80|12), 0 },
37 /* 9 Mb */ { AH_TRUE, OFDM, 9000, 0x0f, 0x00, 18, 0 },
38 /* 12 Mb */ { AH_TRUE, OFDM, 12000, 0x0a, 0x00, (0x80|24), 2 },
39 /* 18 Mb */ { AH_TRUE, OFDM, 18000, 0x0e, 0x00, 36, 2 },
[all …]
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Drs.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2022, 2024 Intel Corporation
12 * enum iwl_tlc_mng_cfg_flags - options for TLC config flags
36 * enum iwl_tlc_mng_cfg_cw - channel width options
52 * enum iwl_tlc_mng_cfg_chains - possibl
[all...]
/freebsd/sys/net80211/
H A Dieee80211_phy.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting
30 * IEEE 802.11 PHY-related support.
62 #define OFDM IEEE80211_T_OFDM macro
96 [4] = { .phy = OFDM, 6000, 0x00, 12, 4 },
97 [5] = { .phy = OFDM, 9000, 0x00, 18, 4 },
98 [6] = { .phy = OFDM, 12000, 0x00, 24, 6 },
99 [7] = { .phy = OFDM, 18000, 0x00, 36, 6 },
100 [8] = { .phy = OFDM, 24000, 0x00, 48, 8 },
[all …]
H A D_ieee80211.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
44 IEEE80211_T_TURBO, /* high rate OFDM, aka turbo mode */
46 IEEE80211_T_OFDM_HALF, /* 1/2 rate OFDM */
47 IEEE80211_T_OFDM_QUARTER, /* 1/4 rate OFDM */
53 * PHY mode; this is not really a mode as multi-mode devices
61 IEEE80211_MODE_11A = 1, /* 5GHz, OFDM */
63 IEEE80211_MODE_11G = 3, /* 2GHz, OFDM */
65 IEEE80211_MODE_TURBO_A = 5, /* 5GHz, OFDM, 2x clock */
[all …]
H A Dieee80211_phy.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting
33 * IEEE 802.11 PHY-related definitions.
41 #define IEEE80211_CW_MIN_1 15 /* OFDM aCWmin, ERP aCWmin(1) */
47 #define IEEE80211_DUR_OFDM_SIFS 16 /* OFDM SIFS */
54 #define IEEE80211_DUR_OFDM_SLOT 9 /* OFDM slottime */
57 * For drivers that don't implement per-VAP slot time
59 * between VAPs to program a single radio) - return
63 ((ic->ic_flags & IEEE80211_F_SHSLOT) ? \
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/wireless/
H A Dmediatek,mt76.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Felix Fietkau <nbd@nbd.name>
12 - Lorenzo Bianconi <lorenzo@kernel.org>
13 - Ryder Lee <ryder.lee@mediatek.com>
25 - mediatek,mt76
26 - mediatek,mt7628-wmac
27 - mediatek,mt7622-wmac
[all …]
/freebsd/tools/tools/net80211/wlantxtime/
H A Dwlantxtime.c1 /*-
2 * Copyright (c) 2007-2009 Sam Leffler, Errno Consulting
28 * IEEE 802.11 PHY-related support.
51 uint8_t phy; /* CCK/OFDM/TURBO */
55 uint8_t dot11Rate; /* value for supported rates
72 exit(-1); \
84 exit(-1); in panic()
88 #define OFDM IEEE80211_T_OFDM macro
119 [4] = { .phy = OFDM, 6000, 0x00, 12, 4 },
120 [5] = { .phy = OFDM, 9000, 0x00, 18, 4 },
[all …]
/freebsd/sys/dev/iwm/
H A Dif_iwm_mac_ctxt.c20 /*-
21 * Based on BSD-licensed source modules in the Linux iwlwifi driver,
34 * Copyright(c) 2007 - 2013 Intel Corporation. All rights reserved.
55 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
60 * Copyright(c) 2005 - 2013 Intel Corporation. All rights reserved.
90 /*-
91 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
159 * BEGIN mvm/mac-ctxt.c
176 uint8_t ofdm = 0; in iwm_ack_rates() local
178 struct ieee80211_rateset *rs = &in->in_ni.ni_rates; in iwm_ack_rates()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmac.c1 // SPDX-License-Identifier: ISC
23 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2)
26 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 },
40 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 },
51 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 },
99 wcid = rcu_dereference(dev->mt76.wcid[idx]); in mt7615_rx_get_wcid()
103 if (!wcid->sta) in mt7615_rx_get_wcid()
107 if (!sta->vif) in mt7615_rx_get_wcid()
110 return &sta->vif->sta.wcid; in mt7615_rx_get_wcid()
115 struct mt7615_dev *dev = phy->dev; in mt7615_mac_reset_counters()
[all …]
H A Dmt7615.h1 /* SPDX-License-Identifier: ISC */
18 #define MT7615_WTBL_RESERVED (mt7615_wtbl_size(dev) - 1)
19 #define MT7615_WTBL_STA (MT7615_WTBL_RESERVED - \
64 #define MT7615_BAR_RATE_DEFAULT 0x4b /* OFDM 6M */
65 #define MT7615_CFEND_RATE_DEFAULT 0x49 /* OFDM 24M */
93 struct ieee80211_tx_rate rates[4]; member
130 struct ieee80211_tx_rate rates[4]; member
207 #define mt7615_mcu_add_tx_ba(dev, ...) (dev)->mcu_ops->add_tx_ba((dev), __VA_ARGS__)
208 #define mt7615_mcu_add_rx_ba(dev, ...) (dev)->mcu_ops->add_rx_ba((dev), __VA_ARGS__)
209 #define mt7615_mcu_sta_add(phy, ...) ((phy)->dev)->mcu_ops->sta_add((phy), __VA_ARGS__)
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Deeprom.c1 // SPDX-License-Identifier: ISC
10 #include <linux/nvmem-consumer.h>
18 struct device_node *np = dev->dev->of_node; in mt76_get_of_eeprom_data()
22 data = of_get_property(np, "mediatek,eeprom-data", &size); in mt76_get_of_eeprom_data()
24 return -ENOENT; in mt76_get_of_eeprom_data()
27 return -EINVAL; in mt76_get_of_eeprom_data()
38 struct device_node *np = dev->dev->of_node; in mt76_get_of_epprom_from_mtd()
47 list = of_get_property(np, "mediatek,mtd-eeprom", &size); in mt76_get_of_epprom_from_mtd()
49 return -ENOENT; in mt76_get_of_epprom_from_mtd()
53 return -ENOENT; in mt76_get_of_epprom_from_mtd()
[all …]
/freebsd/sys/dev/rtwn/
H A Dif_rtwn_rx.c3 /*-
6 * Copyright (c) 2015-2016 Andriy Voskoboinyk <avos@FreeBSD.org>
65 * be applied; the HT rateset will be applied to 11n rates.
72 uint32_t rates = 0, htrates = 0; in rtwn_get_rates() local
76 /* Get rates mask. */ in rtwn_get_rates()
77 rates = 0; in rtwn_get_rates()
81 for (i = 0; i < rs->rs_nrates; i++) { in rtwn_get_rates()
83 ridx = rate2ridx(IEEE80211_RV(rs->rs_rates[i])); in rtwn_get_rates()
86 if (((rs->rs_rates[i] & IEEE80211_RATE_BASIC) != 0) || in rtwn_get_rates()
88 rates |= 1 << ridx; in rtwn_get_rates()
[all …]
/freebsd/sys/dev/rtwn/rtl8821a/
H A Dr21a_chan.c1 /*-
73 struct r12a_softc *rs = sc->sc_priv; in r21a_set_band_2ghz()
75 /* Enable CCK / OFDM. */ in r21a_set_band_2ghz()
85 if (rs->ext_lna_2g) { in r21a_set_band_2ghz()
102 /* Write basic rates. */ in r21a_set_band_2ghz()
111 struct r12a_softc *rs = sc->sc_priv; in r21a_set_band_5ghz()
119 if (rs->ext_lna_2g) { in r21a_set_band_5ghz()
133 device_printf(sc->sc_dev, in r21a_set_band_5ghz()
138 /* Enable OFDM. */ in r21a_set_band_5ghz()
148 /* Write basic rates. */ in r21a_set_band_5ghz()
/freebsd/sys/dev/rtwn/rtl8812a/
H A Dr12a_chan.c1 /*-
67 /* Write per-MCS Tx power. */ in r12a_write_txpower_ht()
78 if (sc->ntxchains >= 2) { in r12a_write_txpower_ht()
91 /* TODO: HT MCS 16 -> 31 */ in r12a_write_txpower_ht()
114 if (sc->ntxchains == 1) { in r12a_write_txpower_vht()
129 if (sc->ntxchains > 1) { in r12a_write_txpower_vht()
138 if (sc->ntxchains > 1) { in r12a_write_txpower_vht()
146 /* TODO: 3SS, 4SS VHT rates */ in r12a_write_txpower_vht()
156 /* Write per-CCK rate Tx power. */ in r12a_write_txpower_cck()
170 /* Write per-OFDM rate Tx power. */ in r12a_write_txpower_ofdm()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmac-ctxt.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
5 * Copyright (C) 2015-2017 Intel Deutschland GmbH
10 #include "iwl-i
327 u8 ofdm = 0; iwl_mvm_ack_rates() local
[all...]
/freebsd/sys/dev/ath/ath_hal/
H A Dah.h1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
26 * structure for use with the device. Hardware-related operations that
67 * error occurs--i.e. you cannot check it for success.
81 HAL_EEWRITE = 11, /* Attempt to change write-locked EEPROM */
84 HAL_ESELFTEST = 14, /* Hardware self-test failed */
106 HAL_CAP_PSPOLL = 10, /* hardware has working PS-Poll support */
112 HAL_CAP_TPC = 16, /* per-packet tx power control */
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Drx_desc.h1 /* SPDX-License-Identifier: ISC */
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
55 * A-MPDU frame but a stand alone MPDU. Interior MPDU in an
56 * A-MPDU shall have both first_mpdu and last_mpdu bits set to
83 * Set if packet is not a non-QoS data frame. Only set when
107 * Set if packet is U-APSD trigger. Key table will have bits
108 * per TID to indicate U-APSD trigger.
178 * Indicates that the MPDU was pre-maturely terminated
324 * 6: AES-CCM (WPA2)
[all …]

1234