/linux/drivers/net/wireless/intel/iwlegacy/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/linux/Documentation/devicetree/bindings/net/wireless/ |
H A 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 <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 …]
|
/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A 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 …]
|
H A D | phy.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, 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/drivers/net/wireless/ath/ath5k/ |
H A 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) 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 …]
|
H A 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> 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 …]
|
H A D | initvals.c | 4 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 5 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 6 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 29 * struct ath5k_ini - Mode-independent initial register writes 45 * struct ath5k_ini_mode - Mode specific initial register values 96 { AR5K_PHY(5), 0x0000076b }, 132 { AR5K_BB_GAIN(5), 0x00000028 }, 197 { AR5K_RF_GAIN(5), 0x00000021 }, 283 { AR5K_QUEUE_TXDP(5), 0x00000000 }, 309 { AR5K_PHY(5), 0x00000f6b }, [all …]
|
H A 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 232 /* Used to calculate tx time for non 5/10/40MHz 241 /* Rx latency for 5 and 10MHz operation (max ?) */ [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A 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 …]
|
H A 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 …]
|
H A 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/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt73usb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 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 …]
|
H A D | rt2800.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> 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 …]
|
H A D | rt61pci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 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 …]
|
H A D | rt2500usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 127 mutex_lock(&rt2x00dev->csr_mutex); in rt2500usb_bbp_write() 142 mutex_unlock(&rt2x00dev->csr_mutex); in rt2500usb_bbp_write() 151 mutex_lock(&rt2x00dev->csr_mutex); in rt2500usb_bbp_read() 174 mutex_unlock(&rt2x00dev->csr_mutex); in rt2500usb_bbp_read() 184 mutex_lock(&rt2x00dev->csr_mutex); in rt2500usb_rf_write() 205 mutex_unlock(&rt2x00dev->csr_mutex); in rt2500usb_rf_write() 273 reg = rt2500usb_register_read(led->rt2x00dev, MAC_CSR20); in rt2500usb_brightness_set() 275 if (led->type == LED_TYPE_RADIO || led->type == LED_TYPE_ASSOC) in rt2500usb_brightness_set() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A 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/include/uapi/linux/ |
H A D | wireless.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 7 * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com> 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/drivers/net/wireless/ath/ath10k/ |
H A 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/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A 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 …]
|
H A D | rxon.c | 1 // 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 …]
|
/linux/net/mac80211/ |
H A D | iface.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2002-2005, Instant802 Networks, Inc. 6 * Copyright 2005-2006, Devicescape Software, Inc. 9 * Copyright 2013-2014 Intel Mobile Communications GmbH 11 * Copyright (C) 2018-2024 Intel Corporation 26 #include "driver-ops.h" 34 * three-fold: 39 * can traverse the list in RCU-safe blocks. 53 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in __ieee80211_recalc_txpower() 59 power = ieee80211_chandef_max_power(&chanctx_conf->def); in __ieee80211_recalc_txpower() [all …]
|