/linux-6.14.4/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 | 3945.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 16 #include <linux/dma-mapping.h> 66 IL_DECLARE_RATE_INFO(2, 1, 5, 1, 5, 1, 5), /* 2mbps */ 67 IL_DECLARE_RATE_INFO(5, 2, 6, 2, 11, 2, 11), /*5.5mbps */ 68 IL_DECLARE_RATE_INFO(11, 9, 12, 5, 12, 5, 18), /* 11mbps */ 69 IL_DECLARE_RATE_INFO(6, 5, 9, 5, 11, 5, 11), /* 6mbps */ 70 IL_DECLARE_RATE_INFO(9, 6, 11, 5, 11, 5, 11), /* 9mbps */ 94 * il3945_disable_events - Disable selected events in uCode event log [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 …]
|
D | csr.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 70 * low power states due to driver-invoked device resets 71 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 86 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ 100 * 31-8: Reserved 101 * 7-4: Type of device: see CSR_HW_REV_TYPE_xxx definitions 102 * 3-2: Revision step: 0 = A, 1 = B, 2 = C, 3 = D 103 * 1-0: "Dash" (-) value, as in A-1, etc. [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 | commands.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 92 /* Multi-Station support */ 138 /* RF-KILL commands and notifications */ 158 * Command header, rate_n_flags, txpower 180 u8 flags; /* 0:5 reserved, 6 abort, 7 internal */ 184 * when sending the response to each driver-originated command, so 196 * 0:7 tfd idx - position within TX queue 199 * 14 huge - driver sets this to indicate command is in the [all …]
|
D | 3945.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 32 #define IL3945_FW_PRE "iwlwifi-3945-" 41 * Use default noise value of -127 ... this is below the range of measurable 43 * Also, -127 works better than 0 when averaging frames with/without 44 * noise info (e.g. averaging might be done in app); measured dBm values are 47 #define IL_NOISE_MEAS_NOT_AVAILABLE (-127) 49 /* Module parameters accessible from iwl-*.c */ 116 #define IL_TX_FIFO_HCCA_1 5 [all …]
|
/linux-6.14.4/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include <linux/crc-ccitt.h> 87 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_bbp_write() 104 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_bbp_write() 112 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_bbp_read() 136 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_bbp_read() 146 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_write() 152 switch (rt2x00dev->chip.rt) { in rt2800_rfcsr_write() 179 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_write() 198 rt2800_rfcsr_write_bank(rt2x00dev, 5, reg, value); in rt2800_rfcsr_write_dccal() [all …]
|
D | rt73usb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <[email protected]> 27 * Default offset is required for RSSI <-> dBm conversion. 76 * 16 entries 32-byte for shared key table 77 * 64 entries 32-byte for pairwise key table 78 * 64 entries 8-byte for pairwise ta key table 113 * On-chip BEACON frame space. 158 * Used to mask off bits from byte 5 of the MAC address 180 * This mask is used to mask off bits 0 and 1 of byte 5 of the 183 * 0: 1-BSSID mode (BSS index = 0) [all …]
|
D | rt2800.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2010 Ivo van Doorn <[email protected]> 28 * RF2820 2.4G 2T3R 29 * RF2850 2.4G/5G 2T3R 30 * RF2720 2.4G 1T2R 31 * RF2750 2.4G/5G 1T2R 32 * RF3020 2.4G 1T1R 33 * RF2020 2.4G B/G 34 * RF3021 2.4G 1T2R 35 * RF3022 2.4G 2T2R [all …]
|
D | rt61pci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <[email protected]> 34 * Default offset is required for RSSI <-> dBm conversion. 121 * 16 entries 32-byte for shared key table 122 * 64 entries 32-byte for pairwise key table 123 * 64 entries 8-byte for pairwise ta key table 152 * Other on-chip shared memory space. 164 * On-chip BEACON frame space. 175 * HOST-MCU shared memory. 179 * H2M_MAILBOX_CSR: Host-to-MCU Mailbox. [all …]
|
/linux-6.14.4/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. 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Felix Fietkau <[email protected]> 12 - Lorenzo Bianconi <[email protected]> 13 - Ryder Lee <[email protected]> 25 - mediatek,mt76 26 - mediatek,mt7628-wmac 27 - mediatek,mt7622-wmac [all …]
|
/linux-6.14.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | phy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2010 Realtek Corporation.*/ 51 if (IS_VENDOR_8812A_C_CUT(rtlhal->version)) { in rtl8812ae_fixspur() 78 } else if (rtlhal->hw_type == HARDWARE_TYPE_RTL8812AE) { in rtl8812ae_fixspur() 86 else if (channel <= 14) /*2.4G only*/ in rtl8812ae_fixspur() 146 spin_lock(&rtlpriv->locks.rf_lock); in rtl8821ae_phy_query_rf_reg() 152 spin_unlock(&rtlpriv->locks.rf_lock); in rtl8821ae_phy_query_rf_reg() 172 spin_lock(&rtlpriv->locks.rf_lock); in rtl8821ae_phy_set_rf_reg() 183 spin_unlock(&rtlpriv->locks.rf_lock); in rtl8821ae_phy_set_rf_reg() 207 !((rtlhal->hw_type == HARDWARE_TYPE_RTL8821AE) || in _rtl8821ae_phy_rf_serial_read() [all …]
|
/linux-6.14.4/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 */ 209 #define B43legacy_MACCTL_GMODE 0x80000000 /* G Mode */ [all …]
|
D | phy.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 Copyright (c) 2005 Martin Langer <martin-[email protected]>, 14 driver Copyright(c) 2003 - 2004 Intel Corporation. 46 -7, -7, -7, -7, 47 -7, -7, -7, -7, 48 -7, -7, -7, -7, 65 5, -7, -20, -20, 66 -20, -20, -20, -20, 67 -20, -20, -20, -20, 77 B43legacy_WARN_ON(dev->phy.phy_locked); in b43legacy_phy_lock() [all …]
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | init.c | 1 // SPDX-License-Identifier: ISC 6 #include <linux/hwmon-sysfs.h> 17 switch (to_sensor_dev_attr(attr)->index) { in mt7921_thermal_temp_show() 20 struct mt792x_dev *mdev = phy->dev; in mt7921_thermal_temp_show() 33 return -EINVAL; in mt7921_thermal_temp_show() 46 struct wiphy *wiphy = phy->mt76->hw->wiphy; in mt7921_thermal_init() 53 name = devm_kasprintf(&wiphy->dev, GFP_KERNEL, "mt7921_%s", in mt7921_thermal_init() 56 return -ENOMEM; in mt7921_thermal_init() 58 hwmon = devm_hwmon_device_register_with_groups(&wiphy->dev, name, phy, in mt7921_thermal_init() 67 (!(dev->phy.clc_chan_conf & BIT(idx)) && (cfreq) >= (sfreq) && (cfreq) <= (efreq)) in mt7921_regd_channel_update() [all …]
|
/linux-6.14.4/drivers/net/wireless/ath/ath5k/ |
D | eeprom.h | 2 * Copyright (c) 2004-2008 Reyk Floeter <[email protected]> 3 * Copyright (c) 2006-2008 Nick Kossifidis <[email protected]> 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) 82 #define AR5K_EEPROM_HDR_T_5GHZ_DIS(_v) (((_v) >> 15) & 0x1) /* Disable turbo for 5GHz */ 99 #define AR5K_EEPROM_MISC1 AR5K_EEPROM_INFO(5) 114 #define AR5K_EEPROM_MASK_R0(_v) (((_v) >> 2) & 0x3) /* modes supported by radio 0 (bit 1: G, bit 2… [all …]
|
D | phy.c | 2 * Copyright (c) 2004-2007 Reyk Floeter <[email protected]> 3 * Copyright (c) 2006-2009 Nick Kossifidis <[email protected]> 4 * Copyright (c) 2007-2008 Jiri Slaby <[email protected]> 5 * Copyright (c) 2008-2009 Felix Fietkau <[email protected]> 42 * Here we handle the low-level functions related to baseband 48 * - Channel setting/switching 50 * - Automatic Gain Control (AGC) calibration 52 * - Noise Floor calibration 54 * - I/Q imbalance calibration (QAM correction) 56 * - Calibration due to thermal changes (gain_F) [all …]
|
/linux-6.14.4/drivers/net/wireless/ath/ath9k/ |
D | eeprom_9287.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 25 u16 version = le16_to_cpu(ah->eeprom.map9287.baseEepHeader.version); in ath9k_hw_ar9287_get_eeprom_ver() 33 u16 version = le16_to_cpu(ah->eeprom.map9287.baseEepHeader.version); in ath9k_hw_ar9287_get_eeprom_rev() 40 struct ar9287_eeprom *eep = &ah->eeprom.map9287; in __ath9k_hw_ar9287_fill_eeprom() 56 u16 *eep_data = (u16 *)&ah->eeprom.map9287; in __ath9k_hw_usb_ar9287_fill_eeprom() 72 if (common->bus_ops->ath_bus_type == ATH_USB) in ath9k_hw_ar9287_fill_eeprom() 82 PR_EEP("Chain0 Ant. Control", le32_to_cpu(modal_hdr->antCtrlChain[0])); in ar9287_dump_modal_eeprom() 83 PR_EEP("Chain1 Ant. Control", le32_to_cpu(modal_hdr->antCtrlChain[1])); in ar9287_dump_modal_eeprom() 84 PR_EEP("Ant. Common Control", le32_to_cpu(modal_hdr->antCtrlCommon)); in ar9287_dump_modal_eeprom() 85 PR_EEP("Chain0 Ant. Gain", modal_hdr->antennaGainCh[0]); in ar9287_dump_modal_eeprom() [all …]
|
D | ar9003_phy.c | 2 * Copyright (c) 2010-2011 Atheros Communications Inc. 38 /* level: 0 1 2 3 4 5 6 7 8 */ 39 { -4, -2, 0, 2, 4, 6, 8, 10, 12 }; /* lvl 0-8, default 2 */ 42 /* level: 0 1 2 3 4 5 6 7 8 */ 43 { -6, -4, -2, 0, 2, 4, 6, 8 }; /* lvl 0-7, default 3 */ 125 * ar9003_hw_set_channel - set channel on single-chip device 129 * This is the function to change channel on single-chip devices, that is 141 * For 5GHz channel, 145 * For 5GHz channels which are 5MHz spaced, 163 if (ah->is_clk_25mhz) in ar9003_hw_set_channel() [all …]
|
/linux-6.14.4/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | phy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2014 Realtek Corporation.*/ 41 spin_lock(&rtlpriv->locks.rf_lock); in rtl8723be_phy_query_rf_reg() 47 spin_unlock(&rtlpriv->locks.rf_lock); in rtl8723be_phy_query_rf_reg() 66 spin_lock(&rtlpriv->locks.rf_lock); in rtl8723be_phy_set_rf_reg() 78 spin_unlock(&rtlpriv->locks.rf_lock); in rtl8723be_phy_set_rf_reg() 102 u8 crystalcap = rtlpriv->efuse.crystalcap; in rtl8723be_phy_bb_config() 138 u32 cut_ver = ((rtlhal->version & CHIP_VER_RTL_MASK) in _rtl8723be_check_positive() 140 u32 intf = (rtlhal->interface == INTF_USB ? BIT(1) : BIT(0)); in _rtl8723be_check_positive() 142 u8 board_type = ((rtlhal->board_type & BIT(4)) >> 4) << 0 | /* _GLNA */ in _rtl8723be_check_positive() [all …]
|
/linux-6.14.4/include/uapi/linux/ |
D | wireless.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 7 * Authors : Jean Tourrilhes - HPL - <[email protected]> 8 * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved. 16 * Initial APIs (1996 -> onward) : 17 * ----------------------------- 44 * New driver API (2002 -> onward) : 45 * ------------------------------- 53 * Wireless Events (2002 -> onward) : 54 * -------------------------------- 59 * -------------- [all …]
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mcu.c | 1 // SPDX-License-Identifier: ISC 12 switch (mt76_chip(&(_dev)->mt76)) { \ 47 for (nss = 8; nss > 0; nss--) { in mt7915_mcu_get_sta_nss() 48 u8 nss_mcs = (mcs_map >> (2 * (nss - 1))) & 3; in mt7915_mcu_get_sta_nss() 54 return nss - 1; in mt7915_mcu_get_sta_nss() 61 struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv; in mt7915_mcu_set_sta_he_mcs() 62 struct mt7915_dev *dev = msta->vif->phy->dev; in mt7915_mcu_set_sta_he_mcs() 63 enum nl80211_band band = msta->vif->phy->mt76->chandef.chan->band; in mt7915_mcu_set_sta_he_mcs() 64 const u16 *mask = msta->vif->bitrate_mask.control[band].he_mcs; in mt7915_mcu_set_sta_he_mcs() 65 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_he_mcs() [all …]
|
/linux-6.14.4/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 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. 6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 25 #include "wmi-tlv.h" 26 #include "wmi-ops.h" 100 #define ath10k_a_rates_size (ARRAY_SIZE(ath10k_rates) - \ 125 return DIV_ROUND_UP(bitrate, 5) | in ath10k_mac_bitrate_to_rate() 135 for (i = 0; i < sband->n_bitrates; i++) { in ath10k_mac_hw_rate_to_idx() [all …]
|
/linux-6.14.4/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | commands.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2023-2024 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 …]
|