Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dppr.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 for (i = 0, entry = &(ppr)->__all_rates[i]; \
21 /* Compile-time PPR check */ in b43_ppr_clear()
71 struct b43_ppr_rates *rates = &ppr->rates; in b43_ppr_load_max_from_sprom() local
72 struct ssb_sprom *sprom = dev->dev->bus_sprom; in b43_ppr_load_max_from_sprom()
73 struct b43_phy *phy = &dev->phy; in b43_ppr_load_max_from_sprom()
82 maxpwr = min(sprom->core_pwr_info[0].maxpwr_2g, in b43_ppr_load_max_from_sprom()
83 sprom->core_pwr_info[1].maxpwr_2g); in b43_ppr_load_max_from_sprom()
84 sprom_ofdm_po = sprom->ofdm2gpo; in b43_ppr_load_max_from_sprom()
85 sprom_mcs_po = sprom->mcs2gpo; in b43_ppr_load_max_from_sprom()
[all …]
Dxmit.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 Copyright (C) 2005 Martin Langer <martin-langer@gmx.de>
45 if (e->bitrate == bitrate) in b43_tx_legacy_rate_phy_ctl_ent()
56 switch (plcp->raw[0]) { in b43_plcp_get_bitrate_idx_cck()
66 return -1; in b43_plcp_get_bitrate_idx_cck()
69 /* Extract the bitrate index out of an OFDM PLCP header. */
72 /* For 2 GHz band first OFDM rate is at index 4, see main.c */ in b43_plcp_get_bitrate_idx_ofdm()
75 switch (plcp->raw[0] & 0xF) { in b43_plcp_get_bitrate_idx_ofdm()
93 return -1; in b43_plcp_get_bitrate_idx_ofdm()
139 __u8 *raw = plcp->raw; in b43_generate_plcp_hdr()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
Dppr.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 for (i = 0, entry = &(ppr)->__all_rates[i]; \
21 /* Compile-time PPR check */ in b43_ppr_clear()
71 struct b43_ppr_rates *rates = &ppr->rates; in b43_ppr_load_max_from_sprom() local
72 struct ssb_sprom *sprom = dev->dev->bus_sprom; in b43_ppr_load_max_from_sprom()
73 struct b43_phy *phy = &dev->phy; in b43_ppr_load_max_from_sprom()
82 maxpwr = min(sprom->core_pwr_info[0].maxpwr_2g, in b43_ppr_load_max_from_sprom()
83 sprom->core_pwr_info[1].maxpwr_2g); in b43_ppr_load_max_from_sprom()
84 sprom_ofdm_po = sprom->ofdm2gpo; in b43_ppr_load_max_from_sprom()
85 sprom_mcs_po = sprom->mcs2gpo; in b43_ppr_load_max_from_sprom()
[all …]
Dxmit.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 Copyright (C) 2005 Martin Langer <martin-langer@gmx.de>
45 if (e->bitrate == bitrate) in b43_tx_legacy_rate_phy_ctl_ent()
56 switch (plcp->raw[0]) { in b43_plcp_get_bitrate_idx_cck()
66 return -1; in b43_plcp_get_bitrate_idx_cck()
69 /* Extract the bitrate index out of an OFDM PLCP header. */
72 /* For 2 GHz band first OFDM rate is at index 4, see main.c */ in b43_plcp_get_bitrate_idx_ofdm()
75 switch (plcp->raw[0] & 0xF) { in b43_plcp_get_bitrate_idx_ofdm()
93 return -1; in b43_plcp_get_bitrate_idx_ofdm()
139 __u8 *raw = plcp->raw; in b43_generate_plcp_hdr()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Drate.c25 * Rate info per rate: It tells whether a rate is ofdm or not and its phy_rate
43 /* rates are in units of Kbps */
146 * phycfg for legacy OFDM frames: code rate, modulation scheme, spatial streams
151 u32 rate_ofdm; /* ofdm mac rate */
160 * In CCK mode LPPHY overloads OFDM Modulation bits with CCK Data Rate
170 /* OFDM 6Mbps, code rate 1/2, BPSK, 1 spatial stream */
172 /* OFDM 9Mbps, code rate 3/4, BPSK, 1 spatial stream */
174 /* OFDM 12Mbps, code rate 1/2, QPSK, 1 spatial stream */
176 /* OFDM 18Mbps, code rate 3/4, QPSK, 1 spatial stream */
178 /* OFDM 24Mbps, code rate 1/2, 16-QAM, 1 spatial stream */
[all …]
Dchannel.c41 * maxpwr[0] - channels [34-48]
42 * maxpwr[1] - channels [52-60]
43 * maxpwr[2] - channels [62-64]
44 * maxpwr[3] - channels [100-140]
45 * maxpwr[4] - channels [149-165]
60 #define BRCM_2GHZ_2412_2462 REG_RULE(2412-10, 2462+10, 40, 0, 19, 0)
61 #define BRCM_2GHZ_2467_2472 REG_RULE(2467-10, 2472+10, 20, 0, 19, \
64 #define BRCM_5GHZ_5180_5240 REG_RULE(5180-10, 5240+10, 40, 0, 21, \
66 #define BRCM_5GHZ_5260_5320 REG_RULE(5260-10, 5320+10, 40, 0, 21, \
69 #define BRCM_5GHZ_5500_5700 REG_RULE(5500-10, 5700+10, 40, 0, 21, \
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Drate.c25 * Rate info per rate: It tells whether a rate is ofdm or not and its phy_rate
43 /* rates are in units of Kbps */
146 * phycfg for legacy OFDM frames: code rate, modulation scheme, spatial streams
151 u32 rate_ofdm; /* ofdm mac rate */
160 * In CCK mode LPPHY overloads OFDM Modulation bits with CCK Data Rate
170 /* OFDM 6Mbps, code rate 1/2, BPSK, 1 spatial stream */
172 /* OFDM 9Mbps, code rate 3/4, BPSK, 1 spatial stream */
174 /* OFDM 12Mbps, code rate 1/2, QPSK, 1 spatial stream */
176 /* OFDM 18Mbps, code rate 3/4, QPSK, 1 spatial stream */
178 /* OFDM 24Mbps, code rate 1/2, 16-QAM, 1 spatial stream */
[all …]
Dchannel.c41 * maxpwr[0] - channels [34-48]
42 * maxpwr[1] - channels [52-60]
43 * maxpwr[2] - channels [62-64]
44 * maxpwr[3] - channels [100-140]
45 * maxpwr[4] - channels [149-165]
60 #define BRCM_2GHZ_2412_2462 REG_RULE(2412-10, 2462+10, 40, 0, 19, 0)
61 #define BRCM_2GHZ_2467_2472 REG_RULE(2467-10, 2472+10, 20, 0, 19, \
64 #define BRCM_5GHZ_5180_5240 REG_RULE(5180-10, 5240+10, 40, 0, 21, \
66 #define BRCM_5GHZ_5260_5320 REG_RULE(5260-10, 5320+10, 40, 0, 21, \
69 #define BRCM_5GHZ_5500_5700 REG_RULE(5500-10, 5700+10, 40, 0, 21, \
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* ZD1211 USB-WLAN driver for Linux
4 * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de>
5 * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org>
31 * 802.11g in OFDM mode.
33 * The term zd-rate is used for the combination of the modulation type flag
50 /* The ZD1211 firmware uses proprietary encodings of the 802.11b (CCK) rates.
51 * For OFDM the PLCP rate encodings are used. We combine these "pure" rates
52 * with the modulation type flag and call the resulting values zd-rates.
68 * mode or the 802.11a/802.11g selection in OFDM mode.
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* ZD1211 USB-WLAN driver for Linux
4 * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de>
5 * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org>
31 * 802.11g in OFDM mode.
33 * The term zd-rate is used for the combination of the modulation type flag
50 /* The ZD1211 firmware uses proprietary encodings of the 802.11b (CCK) rates.
51 * For OFDM the PLCP rate encodings are used. We combine these "pure" rates
52 * with the modulation type flag and call the resulting values zd-rates.
68 * mode or the 802.11a/802.11g selection in OFDM mode.
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Drs.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2022 Intel Corporation
12 * enum iwl_tlc_mng_cfg_flags_enum - options for TLC config flags
36 * enum iwl_tlc_mng_cfg_cw - channel width options
52 * enum iwl_tlc_mng_cfg_chains - possible chains
62 * enum iwl_tlc_mng_cfg_mode - supported modes
64 * @IWL_TLC_MNG_MODE_OFDM_NON_HT: enable OFDM (non HT)
82 * enum iwl_tlc_mng_ht_rates - HT/VHT/HE rates
120 * enum IWL_TLC_MCS_PER_BW - mcs index per BW
121 * @IWL_TLC_MCS_PER_BW_80: mcs for bw - 20Hhz, 40Hhz, 80Hhz
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/wireless/
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>
23 - $ref: ieee80211.yaml#
28 - mediatek,mt76
29 - mediatek,mt7628-wmac
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Dieee80211.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
140 /* Sub-Element */
142 WIRELESS_11G = BIT(1), /* tx:ofdm only, rx:ofdm & cck, hw:cck & ofdm*/
143 WIRELESS_11A = BIT(2), /* tx:ofdm only, rx: ofdm only, hw:ofdm only */
145 WIRELESS_11_5N = BIT(4), /* tx:MCS only, rx:MCS & ofdm, hw:ofdm only */
149 /* tx: cck & ofdm, rx: cck & ofdm & MCS, hw: cck & ofdm */
151 /* tx: ofdm & MCS, rx: ofdm & cck & MCS, hw: cck & ofdm */
153 /* tx: ofdm & MCS, rx: ofdm & MCS, hw: ofdm only */
155 /* tx: ofdm & cck & MCS, rx: ofdm & cck & MCS, hw: ofdm & cck */
[all …]
Dhal_com.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
18 /* OFDM */
51 /* OFDM */
90 /*------------------------------ Tx Desc definition Macro --------------------*/
91 /* pragma mark -- Tx Desc related definition. -- */
93 /* CCK Rates, TxHT = 0 */
99 /* OFDM Rates, TxHT = 0 */
109 /* MCS Rates, TxHT = 1 */
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Drs.h8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
10 * Copyright(c) 2018 - 2020 Intel Corporation
26 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
30 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
32 * Copyright(c) 2018 - 2020 Intel Corporation
68 * enum iwl_tlc_mng_cfg_flags_enum - options for TLC config flags
90 * enum iwl_tlc_mng_cfg_cw - channel width options
106 * enum iwl_tlc_mng_cfg_chains - possible chains
116 * enum iwl_tlc_mng_cfg_mode - supported modes
118 * @IWL_TLC_MNG_MODE_OFDM_NON_HT: enable OFDM (non HT)
[all …]
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/
Dieee80211.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
141 /* Sub-Element */
143 WIRELESS_11G = BIT(1), /* tx: ofdm only, rx: ofdm & cck, hw: cck & ofdm */
149 …LESS_11BG = (WIRELESS_11B|WIRELESS_11G), /* tx: cck & ofdm, rx: cck & ofdm & MCS, hw: cck & ofdm
150 …S_11G_24N = (WIRELESS_11G|WIRELESS_11_24N), /* tx: ofdm & MCS, rx: ofdm & cck & MCS, hw: cck & of…
151 …S_11B_24N = (WIRELESS_11B|WIRELESS_11_24N), /* tx: ofdm & cck & MCS, rx: ofdm & cck & MCS, hw: of…
152 …WIRELESS_11B|WIRELESS_11G|WIRELESS_11_24N), /* tx: ofdm & cck & MCS, rx: ofdm & cck & MCS, hw: of…
261 #define ETH_P_PREAUTH 0x88C7 /* IEEE 802.11i pre-authentication */
438 ,-------------------------------------------------------------------.
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
Deeprom.c1 // SPDX-License-Identifier: ISC
9 #include <linux/nvmem-consumer.h>
15 struct device_node *np = dev->dev->of_node; in mt76_get_of_eeprom_data()
19 data = of_get_property(np, "mediatek,eeprom-data", &size); in mt76_get_of_eeprom_data()
21 return -ENOENT; in mt76_get_of_eeprom_data()
24 return -EINVAL; in mt76_get_of_eeprom_data()
34 struct device_node *np = dev->dev->of_node; in mt76_get_of_epprom_from_mtd()
43 list = of_get_property(np, "mediatek,mtd-eeprom", &size); in mt76_get_of_epprom_from_mtd()
45 return -ENOENT; in mt76_get_of_epprom_from_mtd()
49 return -ENOENT; in mt76_get_of_epprom_from_mtd()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dieee80211.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
157 /* Sub-Element */
159 WIRELESS_11G = BIT(1), /* tx: ofdm only, rx: ofdm & cck, hw: cck & ofdm */
160 WIRELESS_11A = BIT(2), /* tx: ofdm only, rx: ofdm only, hw: ofdm only */
162 WIRELESS_11_5N = BIT(4), /* tx: MCS only, rx: MCS & ofdm, hw: ofdm only */
168 …LESS_11BG = (WIRELESS_11B|WIRELESS_11G), /* tx: cck & ofdm, rx: cck & ofdm & MCS, hw: cck & ofdm
169 …S_11G_24N = (WIRELESS_11G|WIRELESS_11_24N), /* tx: ofdm & MCS, rx: ofdm & cck & MCS, hw: cck & of…
170 …WIRELESS_11A_5N = (WIRELESS_11A|WIRELESS_11_5N), /* tx: ofdm & MCS, rx: ofdm & MCS, hw: ofdm only…
171 …S_11B_24N = (WIRELESS_11B|WIRELESS_11_24N), /* tx: ofdm & cck & MCS, rx: ofdm & cck & MCS, hw: of…
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c1 // SPDX-License-Identifier: ISC
20 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2)
23 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 },
37 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 },
48 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 },
96 wcid = rcu_dereference(dev->mt76.wcid[idx]); in mt7615_rx_get_wcid()
100 if (!wcid->sta) in mt7615_rx_get_wcid()
104 if (!sta->vif) in mt7615_rx_get_wcid()
107 return &sta->vif->sta.wcid; in mt7615_rx_get_wcid()
112 struct mt7615_dev *dev = phy->dev; in mt7615_mac_reset_counters()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c1 // SPDX-License-Identifier: ISC
18 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2)
21 .pulse_th = { 40, -10, -80, 800, 3360, 128, 5200 },
35 .pulse_th = { 40, -10, -80, 800, 3360, 128, 5200 },
46 .pulse_th = { 40, -10, -80, 800, 3360, 128, 5200 },
67 wcid = rcu_dereference(dev->mt76.wcid[idx]); in mt7615_rx_get_wcid()
71 if (!wcid->sta) in mt7615_rx_get_wcid()
75 if (!sta->vif) in mt7615_rx_get_wcid()
78 return &sta->vif->sta.wcid; in mt7615_rx_get_wcid()
90 memset(dev->mt76.aggr_stats, 0, sizeof(dev->mt76.aggr_stats)); in mt7615_mac_reset_counters()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Drxon.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved.
9 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
14 #include "iwl-trans.h"
15 #include "iwl-modparams.h"
26 memset(&ctx->staging, 0, sizeof(ctx->staging)); in iwl_connection_init_rx_config()
28 if (!ctx->vif) { in iwl_connection_init_rx_config()
29 ctx->staging.dev_type = ctx->unused_devtype; in iwl_connection_init_rx_config()
31 switch (ctx->vif->type) { in iwl_connection_init_rx_config()
33 ctx->staging.dev_type = ctx->ap_devtype; in iwl_connection_init_rx_config()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/
Drxon.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved.
9 #include "iwl-trans.h"
10 #include "iwl-modparams.h"
21 memset(&ctx->staging, 0, sizeof(ctx->staging)); in iwl_connection_init_rx_config()
23 if (!ctx->vif) { in iwl_connection_init_rx_config()
24 ctx->staging.dev_type = ctx->unused_devtype; in iwl_connection_init_rx_config()
26 switch (ctx->vif->type) { in iwl_connection_init_rx_config()
28 ctx->staging.dev_type = ctx->ap_devtype; in iwl_connection_init_rx_config()
32 ctx->staging.dev_type = ctx->station_devtype; in iwl_connection_init_rx_config()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlegacy/
D3945.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
16 #include <linux/dma-mapping.h>
94 * il3945_disable_events - Disable selected events in uCode event log
99 * Use for only special debugging. This function is just a placeholder as-is,
107 u32 disable_ptr; /* SRAM address of event-disable bitmap array */ in il3945_disable_events()
110 0x00000000, /* 31 - 0 Event id numbers */ in il3945_disable_events()
111 0x00000000, /* 63 - 32 */ in il3945_disable_events()
112 0x00000000, /* 95 - 64 */ in il3945_disable_events()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
D3945.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
16 #include <linux/dma-mapping.h>
94 * il3945_disable_events - Disable selected events in uCode event log
99 * Use for only special debugging. This function is just a placeholder as-is,
107 u32 disable_ptr; /* SRAM address of event-disable bitmap array */ in il3945_disable_events()
110 0x00000000, /* 31 - 0 Event id numbers */ in il3945_disable_events()
111 0x00000000, /* 63 - 32 */ in il3945_disable_events()
112 0x00000000, /* 95 - 64 */ in il3945_disable_events()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
Dxmit.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 Copyright (C) 2005 Martin Langer <martin-langer@gmx.de>
29 switch (plcp->raw[0]) { in b43legacy_plcp_get_bitrate_idx_cck()
40 return -1; in b43legacy_plcp_get_bitrate_idx_cck()
43 /* Extract the bitrate out of an OFDM PLCP header. */
49 switch (plcp->raw[0] & 0xF) { in b43legacy_plcp_get_bitrate_idx_ofdm()
68 return -1; in b43legacy_plcp_get_bitrate_idx_ofdm()
114 __le32 *data = &(plcp->data); in b43legacy_generate_plcp_hdr()
115 __u8 *raw = plcp->raw; in b43legacy_generate_plcp_hdr()
182 int use_encryption = !!info->control.hw_key; in generate_txhdr_fw3()
[all …]

123456789