/Linux-v6.1/Documentation/devicetree/bindings/net/wireless/ |
D | mediatek,mt76.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 5 --- 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Felix Fietkau <nbd@nbd.name> 13 - Lorenzo Bianconi <lorenzo@kernel.org> 14 - Ryder Lee <ryder.lee@mediatek.com> 24 - $ref: ieee80211.yaml# 29 - mediatek,mt76 30 - mediatek,mt7628-wmac [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlegacy/ |
D | 4965.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 79 * Acquire il->lock before calling this function ! 83 * il4965_tx_queue_set_status - (optionally) start Tx/Cmd queue 84 * @tx_fifo_id: Tx DMA/FIFO channel (range 0-7) that the queue will feed 87 * NOTE: Acquire il->lock before calling this function ! 181 * The first queue used for block-ack aggregation is #7 (4965 only). 182 * All block-ack aggregation queues should map to Tx DMA/FIFO channel 7. 194 #define IL49_RTC_INST_SIZE (IL49_RTC_INST_UPPER_BOUND - \ [all …]
|
D | common.h | 1 /* 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 31 #define IL_ERR(f, a...) dev_err(&il->pci_dev->dev, f, ## a) 32 #define IL_WARN(f, a...) dev_warn(&il->pci_dev->dev, f, ## a) 33 #define IL_WARN_ONCE(f, a...) dev_warn_once(&il->pci_dev->dev, f, ## a) 34 #define IL_INFO(f, a...) dev_info(&il->pci_dev->dev, f, ## a) 46 #define U32_PAD(n) ((4-(n))&0x3) 48 /* CT-KILL constants */ 56 * Use default noise value of -127 ... this is below the range of measurable [all …]
|
D | 4965.c | 1 // 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 15 #include <linux/dma-mapping.h> 29 * il_verify_inst_sparse - verify runtime uCode image in card vs. host, 44 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_sparse() 50 ret = -EIO; in il4965_verify_inst_sparse() 61 * il4965_verify_inst_full - verify runtime uCode image in card vs. host, 77 for (; len > 0; len -= sizeof(u32), image++) { in il4965_verify_inst_full() 78 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_full() [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-eeprom-parse.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2005-2014, 2018-2020 Intel Corporation 9 #include "iwl-drv.h" 10 #include "iwl-modparams.h" 11 #include "iwl-eeprom-parse.h" 75 #define EEPROM_RF_CFG_TYPE_MSK(x) (x & 0x3) /* bits 0-1 */ 76 #define EEPROM_RF_CFG_STEP_MSK(x) ((x >> 2) & 0x3) /* bits 2-3 */ 77 #define EEPROM_RF_CFG_DASH_MSK(x) ((x >> 4) & 0x3) /* bits 4-5 */ 78 #define EEPROM_RF_CFG_PNUM_MSK(x) ((x >> 6) & 0x3) /* bits 6-7 */ 79 #define EEPROM_RF_CFG_TX_ANT_MSK(x) ((x >> 8) & 0xF) /* bits 8-11 */ [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath5k/ |
D | eeprom.h | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 22 #define AR5K_EEPROM_PCIE_OFFSET 0x02 /* Contains offset to PCI-E infos */ 26 #define AR5K_EEPROM_MAGIC_VALUE 0x5aa5 /* Default - found on EEPROM */ 39 #define AR5K_EEPROM_SIZE_LOWER 0x1b /* size info -- lower */ 40 #define AR5K_EEPROM_SIZE_UPPER 0x1c /* size info -- upper */ 47 #define AR5K_EEPROM_INFO_MAX (0x400 - AR5K_EEPROM_INFO_BASE) 129 #define AR5K_EEPROM_FCC_MID_EN (((_v) >> 6) & 0x1) /* 5.47-5.7GHz supported */ 130 #define AR5K_EEPROM_JAP_U1EVEN_EN (((_v) >> 7) & 0x1) /* Japan UNII1 band (5.15-5.25GHz) on even ch… 131 #define AR5K_EEPROM_JAP_U2_EN (((_v) >> 8) & 0x1) /* Japan UNII2 band (5.25-5.35GHz) supported */ [all …]
|
D | reg.h | 2 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 3 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 4 * Copyright (c) 2007-2008 Michael Taylor <mike.taylor@apprion.com> 28 * 5210 - http://nova.stanford.edu/~bbaas/ps/isscc2002_slides.pdf 30 * 5211 - http://www.hotchips.org/archives/hc14/3_Tue/16_mcfarland.pdf 33 * Atheros's ART program (Atheros Radio Test), on ath9k, on legacy-hal 42 * AR5210-Specific TXDP registers 46 #define AR5K_NOQCU_TXDP0 0x0000 /* Queue 0 - data */ 47 #define AR5K_NOQCU_TXDP1 0x0004 /* Queue 1 - beacons */ 70 #define AR5K_CFG_SWTD 0x00000001 /* Byte-swap TX descriptor (for big endian archs) */ [all …]
|
D | ath5k.h | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2007 Nick Kossifidis <mickflemm@gmail.com> 62 #define PCI_DEVICE_ID_ATHEROS_AR5312_REV7 0x0057 /* AR5312 WMAC (AP30-040) */ 63 #define PCI_DEVICE_ID_ATHEROS_AR5312_REV8 0x0058 /* AR5312 WMAC (AP43-030) */ 70 #define PCI_DEVICE_ID_ATHEROS_AR2413 0x001a /* AR2413 (Griffin-lite) */ 72 #define PCI_DEVICE_ID_ATHEROS_AR5424 0x001c /* AR5424 (Condor PCI-E) */ 189 #define AR5K_TUNE_NOISE_FLOOR -72 190 #define AR5K_TUNE_CCA_MAX_GOOD_VALUE -95 274 * enum ath5k_version - MAC Chips 286 * enum ath5k_radio - PHY Chips [all …]
|
D | phy.c | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 41 * Here we handle the low-level functions related to baseband 47 * - Channel setting/switching 49 * - Automatic Gain Control (AGC) calibration 51 * - Noise Floor calibration 53 * - I/Q imbalance calibration (QAM correction) 55 * - Calibration due to thermal changes (gain_F) [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2008 - 2014, 2022 Intel Corporation. All rights reserved. 12 #include "iwl-io.h" 13 #include "iwl-agn-hw.h" 14 #include "iwl-trans.h" 15 #include "iwl-modparams.h" 31 if (WARN_ONCE(test_bit(STATUS_SCAN_HW, &priv->status), in iwlagn_send_tx_power() 33 return -EAGAIN; in iwlagn_send_tx_power() 35 /* half dBm need to multiply */ in iwlagn_send_tx_power() 36 tx_power_cmd.global_lmt = (s8)(2 * priv->tx_power_user_lmt); in iwlagn_send_tx_power() [all …]
|
D | commands.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014 Intel Corporation 7 * Please use iwl-xxxx-hw.h for hardware-related definitions. 29 /* Multi-Station support */ 93 /* RF-KILL commands and notifications */ 138 * - 4 standard TX queues 139 * - the command queue 140 * - 4 PAN TX queues 141 * - the PAN multicast queue, and 142 * - the AUX (TX during scan dwell) queue. [all …]
|
/Linux-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fwil_types.h | 1 // SPDX-License-Identifier: ISC 74 #define BRCMF_OBSS_COEX_AUTO (-1) 83 /* Wakeup on loss-of-link due to Disassoc/Deauth: */ 93 /* Wakeup after receipt of EAP-Identity Req: */ 246 * struct tdls_iovar - common structure for tdls iovars. 322 __le16 RSSI; /* receive signal strength (in dBm) */ 323 s8 phy_noise; /* noise (in dBm) */ 360 __le32 nprobes; /* -1 use default, number of probes per channel */ 361 __le32 active_time; /* -1 use default, dwell time per channel for 364 __le32 passive_time; /* -1 use default, dwell time per channel [all …]
|
/Linux-v6.1/drivers/dma/ |
D | stm32-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Inspired by dma-jz4740.c and tegra20-apb-dma.c 9 * Pierre-Yves Mordret <pierre-yves.mordret@st.com> 16 #include <linux/dma-mapping.h> 32 #include "virt-dma.h" 41 #define STM32_DMA_HTI BIT(4) /* Half Transfer Interrupt */ 50 * If (chan->id % 4) is 2 or 3, left shift the mask by 16 bits; 159 * struct stm32_dma_cfg - STM32 DMA custom configuration 198 * struct stm32_dma_mdma_config - STM32 DMA MDMA configuration 238 return container_of(chan->vchan.chan.device, struct stm32_dma_device, in stm32_dma_get_dev() [all …]
|
/Linux-v6.1/Documentation/arm/stm32/ |
D | stm32-dma-mdma-chaining.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 STM32 DMA-MDMA chaining 9 ------------ 11 This document describes the STM32 DMA-MDMA chaining feature. But before going 44 ---------- 46 STM32 DMA-MDMA chaining feature relies on the strengths of STM32 DMA and 49 STM32 DMA has a circular Double Buffer Mode (DBM). At each end of transaction 50 (when DMA data counter - DMA_SxNDTR - reaches 0), the memory pointers 56 With STM32 MDMA linked-list mode, a single request initiates the data array 57 (collection of nodes) to be transferred until the linked-list pointer for the [all …]
|
/Linux-v6.1/drivers/net/wireless/broadcom/b43legacy/ |
D | b43legacy.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 59 /* 32-bit DMA */ 66 /* 64-bit DMA */ 119 #define B43legacy_SHM_AUTOINC_R 0x0200 /* Read Auto-increment */ 120 #define B43legacy_SHM_AUTOINC_W 0x0100 /* Write Auto-increment */ 153 #define B43legacy_SHM_SH_SPUWKUP 0x0094 /* pre-wakeup for synth PU in us */ 154 #define B43legacy_SHM_SH_PRETBTT 0x0096 /* pre-TBTT in us */ 163 #define B43legacy_HF_SYMW 0x00000002 /* G-PHY SYM workaround */ 164 #define B43legacy_HF_GDCW 0x00000020 /* G-PHY DV cancel filter */ 227 #define B43legacy_TMSHIGH_GPHY 0x00010000 /* G-PHY avail (rev >= 5) */ [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath9k/ |
D | hw.h | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 70 #define ATH_AMPDU_LIMIT_MAX (64 * 1024 - 1) 72 #define ATH_DEFAULT_NOISE_FLOOR -95 74 #define ATH9K_RSSI_BAD -128 80 (_ah)->reg_ops.write((_ah), (_val), (_reg)) 83 (_ah)->reg_ops.read((_ah), (_reg)) 86 (_ah)->reg_ops.multi_read((_ah), (_addr), (_val), (_cnt)) 89 (_ah)->reg_ops.rmw((_ah), (_reg), (_set), (_clr)) 93 if ((_ah)->reg_ops.enable_write_buffer) \ 94 (_ah)->reg_ops.enable_write_buffer((_ah)); \ [all …]
|
D | mci.c | 2 * Copyright (c) 2010-2011 Atheros Communications Inc. 17 #include <linux/dma-mapping.h> 31 if (list_empty(&mci->info)) in ath_mci_find_profile() 34 list_for_each_entry(entry, &mci->info, list) { in ath_mci_find_profile() 35 if (entry->conn_handle == info->conn_handle) in ath_mci_find_profile() 48 if ((mci->num_sco == ATH_MCI_MAX_SCO_PROFILE) && in ath_mci_add_profile() 49 (info->type == MCI_GPM_COEX_PROFILE_VOICE)) in ath_mci_add_profile() 52 if (((NUM_PROF(mci) - mci->num_sco) == ATH_MCI_MAX_ACL_PROFILE) && in ath_mci_add_profile() 53 (info->type != MCI_GPM_COEX_PROFILE_VOICE)) in ath_mci_add_profile() 62 list_add_tail(&entry->list, &mci->info); in ath_mci_add_profile() [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | nl80211.h | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2022 Intel Corporation 32 * be careful not to break things - i.e. don't move anything around or so 74 * - a setup station entry is added, not yet authorized, without any rate 76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid 79 * - %NL80211_TDLS_ENABLE_LINK is then used 80 * - after this, the only valid operation is to remove it by tearing down 95 * Frame registration is done on a per-interface basis and registrations 137 * software, like the AP-VLAN type in mac80211 for example, there's [all …]
|
/Linux-v6.1/drivers/bcma/ |
D | sprom.c | 5 * Copyright 2011, 2012, Hauke Mehrtens <hauke@hauke-m.de> 16 #include <linux/dma-mapping.h> 22 * bcma_arch_register_fallback_sprom - Registers a method providing a 33 * This function is useful for weird architectures that have a half-assed 43 return -EEXIST; in bcma_arch_register_fallback_sprom() 55 err = -ENOENT; in bcma_fill_sprom_with_fallback() 64 bus->sprom.revision); in bcma_fill_sprom_with_fallback() 80 sprom[i] = bcma_read16(bus->drv_cc.core, offset + (i * 2)); in bcma_sprom_read() 132 for (word = 0; word < words - 1; word++) { in bcma_sprom_crc() 136 crc = bcma_crc8(crc, sprom[words - 1] & 0x00FF); in bcma_sprom_crc() [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 2 * Copyright (c) 2004-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. 28 #include "hif-ops.h" 147 struct ath6kl *ar = vif->ar; in __ath6kl_cfg80211_sscan_stop() 149 if (!test_and_clear_bit(SCHED_SCANNING, &vif->flags)) in __ath6kl_cfg80211_sscan_stop() 152 del_timer_sync(&vif->sched_scan_timer); in __ath6kl_cfg80211_sscan_stop() 154 if (ar->state == ATH6KL_STATE_RECOVERY) in __ath6kl_cfg80211_sscan_stop() 157 ath6kl_wmi_enable_sched_scan_cmd(ar->wmi, vif->fw_vif_idx, false); in __ath6kl_cfg80211_sscan_stop() 164 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_sscan_disable() 172 cfg80211_sched_scan_stopped(ar->wiphy, 0); in ath6kl_cfg80211_sscan_disable() [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath10k/ |
D | wmi.h | 1 /* 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. 28 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff 44 * variable is already 4-byte aligned by virtue of being a u32 526 * for wmi_services is 64 as target is using only 4-bits of each 32-bit 532 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \ 533 BIT(((((svc_id) - (len)) % 28) & 0x1f) + 4)) 1159 /** DFS-specific commands */ [all …]
|
/Linux-v6.1/drivers/media/dvb-frontends/ |
D | stv0367.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Driver for ST STV0367 DVB-T & DVB-C demodulator IC. 39 /* DVB-C */ 58 /* DVB-T */ 84 /* DVB-C */ 86 /* DVB-T */ 98 /* RF Level (for RF AGC->AGC1) Lookup Table, depends on the board and tuner.*/ 104 }, {/*RF(dbm)*/ 110 /* RF Level (for IF AGC->AGC2) Lookup Table, depends on the board and tuner.*/ 115 }, {/*RF(dbm)*/ [all …]
|
D | dib7000p.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Linux-DVB Driver for DiBcom's second generation DiB7000P (PC). 5 * Copyright (C) 2005-7 DiBcom (http://www.dibcom.fr/) 27 MODULE_PARM_DESC(buggy_sfn_workaround, "Enable work-around for buggy SFNs (default: 0)"); 104 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib7000p_read_word() 109 state->i2c_write_buffer[0] = reg >> 8; in dib7000p_read_word() 110 state->i2c_write_buffer[1] = reg & 0xff; in dib7000p_read_word() 112 memset(state->msg, 0, 2 * sizeof(struct i2c_msg)); in dib7000p_read_word() 113 state->msg[0].addr = state->i2c_addr >> 1; in dib7000p_read_word() 114 state->msg[0].flags = 0; in dib7000p_read_word() [all …]
|
D | dib8000.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Linux-DVB Driver for DiBcom's DiB8000 chip (ISDB-T). 22 #define LAYER_ALL -1 149 {.addr = i2c->addr >> 1, .flags = 0, .len = 2}, in dib8000_i2c_read16() 150 {.addr = i2c->addr >> 1, .flags = I2C_M_RD, .len = 2}, in dib8000_i2c_read16() 153 if (mutex_lock_interruptible(i2c->i2c_buffer_lock) < 0) { in dib8000_i2c_read16() 158 msg[0].buf = i2c->i2c_write_buffer; in dib8000_i2c_read16() 161 msg[1].buf = i2c->i2c_read_buffer; in dib8000_i2c_read16() 163 if (i2c_transfer(i2c->adap, msg, 2) != 2) in dib8000_i2c_read16() 167 mutex_unlock(i2c->i2c_buffer_lock); in dib8000_i2c_read16() [all …]
|
/Linux-v6.1/include/net/ |
D | mac80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * mac80211 <-> driver interface 5 * Copyright 2002-2005, Devicescape Software, Inc. 6 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 7 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH 10 * Copyright (C) 2018 - 2022 Intel Corporation 31 * only partial functionality in hard- or firmware. This document 32 * defines the interface between mac80211 and low-level hardware [all …]
|