Home
last modified time | relevance | path

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

1234

/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.
28 #define CCK IEEE80211_T_CCK macro
34 8, /* number of rates */
51 8, /* number of rates */
68 8, /* number of rates */
85 7, /* number of rates */
101 8, /* number of rates */
[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/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.
28 #define CCK IEEE80211_T_CCK macro
32 8, /* number of rates */
49 8, /* number of rates */
66 4, /* number of rates */
71 /* 1 Mb */ { AH_TRUE, CCK, 1000, 0x0b, 0x00, (0x80| 2), 0 },
72 /* 2 Mb */ { AH_TRUE, CCK, 2000, 0x0a, 0x04, (0x80| 4), 1 },
[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
175 uint8_t cck = 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/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...]
H A Dmac.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2022, 2024 Intel Corporation
11 * AUX indices follows - 1 for non-CDB, 2 for CDB.
31 * enum iwl_mac_protection_flags - MA
[all...]
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_phy.c26 #define CCK IEEE80211_T_CCK macro
41 /* MCS RATE CODES - first and last */
67 8, /* number of rates */
84 8, /* number of rates */
101 8, /* number of rates */
118 8, /* number of rates */
135 4, /* number of rates */
140 /* 1 Mb */ { AH_TRUE, CCK, 1000, 0x1b, 0x00, (0x80 | 2), 0 },
141 /* 2 Mb */ { AH_TRUE, CCK, 2000, 0x1a, 0x04, (0x80 | 4), 1 },
142 /* 5.5 Mb */ { AH_TRUE, CCK, 5500, 0x19, 0x04, (0x80 | 11), 1 },
[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/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.
28 #define CCK IEEE80211_T_CCK macro
32 28, /* number of rates */
37 /* 1 Mb */ { AH_TRUE, CCK, 1000, 0x1b, 0x00, (0x80| 2), 0 },
38 /* 2 Mb */ { AH_TRUE, CCK, 2000, 0x1a, 0x04, (0x80| 4), 1 },
39 /* 5.5 Mb */ { AH_TRUE, CCK, 5500, 0x19, 0x04, (0x80|11), 2 },
40 /* 11 Mb */ { AH_TRUE, CCK, 11000, 0x18, 0x04, (0x80|22), 3 },
[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 */
54 * preamble in CCK rate code */
55 uint8_t dot11Rate; /* value for supported rates
72 exit(-1); \
84 exit(-1); in panic()
89 #define CCK IEEE80211_T_CCK macro
102 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 },/* 1 Mb */
[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.
63 #define CCK IEEE80211_T_CCK macro
79 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 },/* 1 Mb */
80 [1] = { .phy = CCK, 2000, 0x04, B(4), 1 },/* 2 Mb */
81 [2] = { .phy = CCK, 5500, 0x04, B(11), 1 },/* 5.5 Mb */
82 [3] = { .phy = CCK, 11000, 0x04, B(22), 1 },/* 11 Mb */
92 [0] = { .phy = CCK, 1000, 0x00, B(2), 0 },
[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.
40 #define IEEE80211_CW_MIN_0 31 /* DS/CCK aCWmin, ERP aCWmin(0) */
46 #define IEEE80211_DUR_SIFS 10 /* DS/CCK/ERP SIFS */
52 #define IEEE80211_DUR_SLOT 20 /* DS/CCK slottime, ERP long 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 …]
H A D_ieee80211.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
53 * PHY mode; this is not really a mode as multi-mode devices
62 IEEE80211_MODE_11B = 2, /* 2GHz, CCK */
100 IEEE80211_PROT_RTSCTS = 2, /* RTS-CTS */
113 IEEE80211_AUTH_SHARED = 2, /* shared-key */
115 IEEE80211_AUTH_AUTO = 4, /* auto-select/accept */
172 #define IEEE80211_CHAN_CCK 0x00000020 /* CCK channel */
177 #define IEEE80211_CHAN_DYN 0x00000400 /* Dynamic CCK-OFDM channel */
[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/contrib/dev/mediatek/mt76/mt7603/
H A Dmac.c1 // SPDX-License-Identifier: ISC
42 memset(dev->mphy.aggr_stats, 0, sizeof(dev->mphy.aggr_stats)); in mt7603_mac_reset_counters()
47 u32 cck = FIELD_PREP(MT_TIMEOUT_VAL_PLCP, 231) | in mt7603_mac_set_timing() local
51 int offset = 3 * dev->coverage_class; in mt7603_mac_set_timing()
54 bool is_5ghz = dev->mphy.chandef.chan->band == NL80211_BAND_5GHZ; in mt7603_mac_set_timing()
67 mt76_wr(dev, MT_TIMEOUT_CCK, cck + reg_offset); in mt7603_mac_set_timing()
73 FIELD_PREP(MT_IFS_SLOT, dev->slottime)); in mt7603_mac_set_timing()
75 if (dev->slottime < 20 || is_5ghz) in mt7603_mac_set_timing()
229 u32 addr = mt7603_wtbl1_addr(sta->wcid.idx); in mt7603_wtbl_set_smps()
231 if (sta->smps == enabled) in mt7603_wtbl_set_smps()
[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 …]
/freebsd/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_ppr.h22 Boston, MA 02110-1301, USA.
41 uint8_t cck[BWN_PPR_CCK_RATES_NUM]; member
44 uint8_t mcs_20[BWN_PPR_MCS_RATES_NUM]; /* single stream rates */
54 struct bwn_ppr_rates rates; member
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 …]
/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 ---
[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
326 u8 cck = 0; iwl_mvm_ack_rates() local
[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()
148 /* Write basic rates. */ in r21a_set_band_5ghz()
/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 …]
/freebsd/sys/dev/ath/ath_hal/ar9002/
H A Dar9285_reset.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
45 (AH_PRIVATE(_ah)->ah_eeversion & AR5416_EEP_VER_MINOR_MASK)
88 HAL_EEPROM_v4k *ee = AH_PRIVATE(ah)->ah_eeprom; in ar9285SetTransmitPower()
89 struct ar5416eeprom_4k *pEepData = &ee->ee_base; in ar9285SetTransmitPower()
91 HALASSERT(AH_PRIVATE(ah)->ah_eeversion >= AR_EEPROM_VER14_1); in ar9285SetTransmitPower()
93 AH5416(ah)->ah_ht40PowerIncForPdadc = 2; in ar9285SetTransmitPower()
96 OS_MEMZERO(AH5416(ah)->ah_ratesArray, sizeof(AH5416(ah)->ah_ratesArray)); in ar9285SetTransmitPower()
[all …]
/freebsd/sys/dev/rtwn/
H A Dif_rtwn_rx.c3 /*-
6 * Copyright (c) 2015-2016 Andriy Voskoboinyk <avos@FreeBSD.org>
60 uint32_t rates; in rtwn_get_rates() local
64 /* Get rates mask. */ in rtwn_get_rates()
65 rates = 0; in rtwn_get_rates()
69 for (i = 0; i < rs->rs_nrates; i++) { in rtwn_get_rates()
71 ridx = rate2ridx(IEEE80211_RV(rs->rs_rates[i])); in rtwn_get_rates()
74 if (((rs->rs_rates[i] & IEEE80211_RATE_BASIC) != 0) || in rtwn_get_rates()
76 rates |= 1 << ridx; in rtwn_get_rates()
82 /* If we're doing 11n, enable 11n rates */ in rtwn_get_rates()
[all …]

1234