/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | ieee80211.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 --- 5 $id: http://devicetree.org/schemas/net/wireless/ieee80211.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Lorenzo Bianconi <lorenzo@kernel.org> 18 ieee80211-freq-limit: 19 $ref: /schemas/types.yaml#/definitions/uint32-matrix 28 can be tri-band wireless router with two identical chipsets used for two 35 - | [all …]
|
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 …]
|
H A D | qca,ath9k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Toke Høiland-Jørgensen <toke@toke.dk> 18 - $ref: ieee80211.yaml# 23 - pci168c,0023 # AR5416 24 - pci168c,0024 # AR5418 25 - pci168c,0027 # AR9160 26 - pci168c,0029 # AR9220 and AR9223 27 - pci168c,002a # AR9280 and AR9283 [all …]
|
H A D | qcom,ath10k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff Johnson <jjohnson@kernel.org> 18 - qcom,ath10k # SDIO-based devices 19 - qcom,ipq4019-wifi 20 - qcom,wcn3990-wifi # SNoC-based devices 25 reg-names: 27 - const: membase 33 interrupt-names: [all …]
|
H A D | qcom,ath11k.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 - Jeff Johnson <jjohnson@kernel.org> 20 - qcom,ipq8074-wifi 21 - qcom,ipq6018-wifi 22 - qcom,wcn6750-wifi 23 - qcom,ipq5018-wifi 32 interrupt-names: [all …]
|
/linux/net/wireless/ |
H A D | of.c | 30 struct ieee80211_freq_range *limit = &freq_limits[i]; in wiphy_freq_limits_valid_chan() local 32 if (cfg80211_does_bw_fit_range(limit, in wiphy_freq_limits_valid_chan() 33 MHZ_TO_KHZ(chan->center_freq), in wiphy_freq_limits_valid_chan() 52 struct ieee80211_supported_band *sband = wiphy->bands[band]; in wiphy_freq_limits_apply() 57 for (i = 0; i < sband->n_channels; i++) { in wiphy_freq_limits_apply() 58 struct ieee80211_channel *chan = &sband->channels[i]; in wiphy_freq_limits_apply() 60 if (chan->flags & IEEE80211_CHAN_DISABLED) in wiphy_freq_limits_apply() 66 pr_debug("Disabling freq %d MHz as it's out of OF limits\n", in wiphy_freq_limits_apply() 67 chan->center_freq); in wiphy_freq_limits_apply() 68 chan->flags |= IEEE80211_CHAN_DISABLED; in wiphy_freq_limits_apply() [all …]
|
H A D | util.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2007-2009 Johannes Berg <johannes@sipsolutions.net> 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018-2023 Intel Corporation 14 #include <linux/ieee80211.h> 24 #include "rdev-ops.h" 31 struct ieee80211_rate *result = &sband->bitrates[0]; in ieee80211_get_response_rate() 34 for (i = 0; i < sband->n_bitrates; i++) { in ieee80211_get_response_rate() 37 if (sband->bitrates[i].bitrate > bitrate) in ieee80211_get_response_rate() 39 result = &sband->bitrates[i]; in ieee80211_get_response_rate() [all …]
|
H A D | nl80211.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This is the new netlink-based wireless configuration interface. 5 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 7 * Copyright 2015-2017 Intel Deutschland GmbH 8 * Copyright (C) 2018-2024 Intel Corporation 17 #include <linux/ieee80211.h> 32 #include "rdev-ops.h" 50 NL80211_MCGRP_TESTMODE /* keep last - ifdef! */ 74 int wiphy_idx = -1; in __cfg80211_wdev_from_attrs() [all …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm4709-netgear-r8000.dts | 20 /dts-v1/; 23 #include "bcm5301x-nand-cs0-bch8.dtsi" 40 compatible = "gpio-leds"; 42 led-power-white { 45 linux,default-trigger = "default-on"; 48 led-power-amber { 53 led-wan-white { 56 linux,default-trigger = "default-on"; 59 led-wan-amber { 64 led-5ghz-1 { [all …]
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00dev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> 34 if (rt2x00dev->intf_sta_count) in rt2x00lib_get_bssidx() 36 return vif->addr[5] & (rt2x00dev->ops->max_ap_intf - 1); in rt2x00lib_get_bssidx() 51 if (test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2x00lib_enable_radio() 63 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_ON); in rt2x00lib_enable_radio() 67 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_IRQ_ON); in rt2x00lib_enable_radio() 72 set_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags); in rt2x00lib_enable_radio() 90 if (!test_and_clear_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2x00lib_disable_radio() 104 rt2x00queue_stop_queue(rt2x00dev->bcn); in rt2x00lib_disable_radio() [all …]
|
H A D | rt73usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 14 #include <linux/crc-itu-t.h> 57 mutex_lock(&rt2x00dev->csr_mutex); in rt73usb_bbp_write() 73 mutex_unlock(&rt2x00dev->csr_mutex); in rt73usb_bbp_write() 82 mutex_lock(&rt2x00dev->csr_mutex); in rt73usb_bbp_read() 105 mutex_unlock(&rt2x00dev->csr_mutex); in rt73usb_bbp_read() 115 mutex_lock(&rt2x00dev->csr_mutex); in rt73usb_rf_write() 138 mutex_unlock(&rt2x00dev->csr_mutex); in rt73usb_rf_write() 192 (enabled && led->rt2x00dev->curr_band == NL80211_BAND_5GHZ); in rt73usb_brightness_set() [all …]
|
H A D | rt61pci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 14 #include <linux/crc-itu-t.h> 59 mutex_lock(&rt2x00dev->csr_mutex); in rt61pci_bbp_write() 75 mutex_unlock(&rt2x00dev->csr_mutex); in rt61pci_bbp_write() 84 mutex_lock(&rt2x00dev->csr_mutex); in rt61pci_bbp_read() 107 mutex_unlock(&rt2x00dev->csr_mutex); in rt61pci_bbp_read() 117 mutex_lock(&rt2x00dev->csr_mutex); in rt61pci_rf_write() 134 mutex_unlock(&rt2x00dev->csr_mutex); in rt61pci_rf_write() 143 mutex_lock(&rt2x00dev->csr_mutex); in rt61pci_mcu_request() [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A 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. 6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 13 #include <linux/ieee80211.h> 29 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff 45 * variable is already 4-byte aligned by virtue of being a u32 526 /* This extension is required to accommodate new services, current limit 527 * for wmi_services is 64 as target is using only 4-bits of each 32-bit [all …]
|
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) - \ 135 for (i = 0; i < sband->n_bitrates; i++) { in ath10k_mac_hw_rate_to_idx() 136 rate = &sband->bitrates[i]; in ath10k_mac_hw_rate_to_idx() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2012-2014, 2018-2023 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 9 #include <linux/ieee80211.h> 15 #include "iwl-io.h" 17 #include "iwl-modparams.h" 18 #include "iwl-drv.h" 19 #include "iwl-utils.h" 20 #include "fw/error-dump.h" [all …]
|
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
H A D | dev.c | 8 * Copyright 2004-2005 Andrea Merello <andrea.merello@gmail.com>, et al. 18 * - portions of rtl8187se Linux staging driver, Copyright Realtek corp. 20 * - other GPL, unpublished (until now), Linux driver code, 24 * sitting in front of my laptop at evening, week-end, night... 28 * bought a laptop with an unsupported Wi-Fi card some years ago... 139 * BC | 7 | 4 <- currently not used yet 140 * MG | 1 | x <- Not used 141 * HI | 6 | x <- Not used 142 * VO | 5 | 0 <- used 143 * VI | 4 | 1 <- used [all …]
|
/linux/drivers/net/wireless/marvell/ |
H A D | mwl8k.c | 48 /* Host->device communications */ 59 /* Device->host communications */ 104 #define mwl8k_tx_queues(priv) (MWL8K_TX_WMM_QUEUES + (priv)->num_ampdu_queues) 116 #define MWL8K_NUM_AMPDU_STREAMS (TOTAL_HW_TX_QUEUES - 1) 331 #define MWL8K_VIF(_vif) ((struct mwl8k_vif *)&((_vif)->drv_priv)) 346 #define MWL8K_STA(_sta) ((struct mwl8k_sta *)&((_sta)->drv_priv)) 420 #define MWL8K_CMD_SET_BEACON 0x0100 /* per-vif */ 434 #define MWL8K_CMD_SET_MAC_ADDR 0x0202 /* per-vif */ 437 #define MWL8K_CMD_DEL_MAC_ADDR 0x0206 /* per-vif */ 438 #define MWL8K_CMD_BSS_START 0x1100 /* per-vif */ [all …]
|
/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
H A D | dev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 * Hin-Tak Leung <htl10@users.sourceforge.net> 38 MODULE_AUTHOR("Hin-Tak Leung <htl10@users.sourceforge.net>"); 118 kfree(urb->context); in rtl8187_iowrite_async_cb() 142 dr = &buf->dr; in rtl8187_iowrite_async() 144 dr->bRequestType = RTL8187_REQT_WRITE; in rtl8187_iowrite_async() 145 dr->bRequest = RTL8187_REQ_SET_REG; in rtl8187_iowrite_async() 146 dr->wValue = addr; in rtl8187_iowrite_async() 147 dr->wIndex = 0; in rtl8187_iowrite_async() 148 dr->wLength = cpu_to_le16(len); in rtl8187_iowrite_async() [all …]
|
/linux/drivers/net/wireless/admtek/ |
H A D | adm8211.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (c) 2004-2007, Michael Wu <flamingice@sourmilk.net> 11 * Much thanks to Infineon-ADMtek for their support of this driver. 76 struct adm8211_priv *priv = eeprom->data; in adm8211_eeprom_register_read() 79 eeprom->reg_data_in = reg & ADM8211_SPR_SDI; in adm8211_eeprom_register_read() 80 eeprom->reg_data_out = reg & ADM8211_SPR_SDO; in adm8211_eeprom_register_read() 81 eeprom->reg_data_clock = reg & ADM8211_SPR_SCLK; in adm8211_eeprom_register_read() 82 eeprom->reg_chip_select = reg & ADM8211_SPR_SCS; in adm8211_eeprom_register_read() 87 struct adm8211_priv *priv = eeprom->data; in adm8211_eeprom_register_write() 90 if (eeprom->reg_data_in) in adm8211_eeprom_register_write() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | main.c | 3 * Copyright (c) 2013 Hauke Mehrtens <hauke@hauke-m.de> 50 /* n-mode support capability */ 82 #define EDCF_ECW2CW(exp) ((1 << (exp)) - 1) 133 /* Per-AC retry limit register definitions; uses defs.h bitfield macros */ 143 #define RETRY_SHORT_DEF 7 /* Default Short retry Limit */ 144 #define RETRY_SHORT_MAX 255 /* Maximum Short retry Limit */ 167 #define BRCMS_PLCP_AUTO -1 172 #define BRCMS_PROTECTION_AUTO -1 199 /* MSC in use,indicates b0-6 holds an mcs */ 274 /* ieee80211 Access Category to TX FIFO number */ [all …]
|
/linux/net/mac80211/ |
H A D | util.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2002-2005, Instant802 Networks, Inc. 4 * Copyright 2005-2006, Devicescape Software, Inc. 5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 7 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2015-2017 Intel Deutschland GmbH 9 * Copyright (C) 2018-2025 Intel Corporation 30 #include "driver-ops.h" 45 return &local->hw; in wiphy_to_ieee80211_hw() 57 __le16 fc = hdr->frame_control; in ieee80211_get_bssid() [all …]
|
/linux/include/net/ |
H A 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 - 2024 Intel Corporation 20 #include <linux/ieee80211.h> 31 * only partial functionality in hard- or firmware. This document [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
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. 67 #include <linux/ieee80211.h> 92 /* Multi-Station support */ 138 /* RF-KILL commands and notifications */ 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 201 * 15 unsolicited RX or uCode-originated notification [all …]
|
H A D | 4965-mac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. 7 * as portions of the ieee80211 subsystem header files. 11 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 22 #include <linux/dma-mapping.h> 71 if (!test_bit(S_EXIT_PENDING, &il->status)) in il4965_check_abort_status() 72 queue_work(il->workqueue, &il->tx_flush); in il4965_check_abort_status() 89 spin_lock_irqsave(&rxq->lock, flags); in il4965_rx_queue_reset() 90 INIT_LIST_HEAD(&rxq->rx_free); in il4965_rx_queue_reset() 91 INIT_LIST_HEAD(&rxq->rx_used); in il4965_rx_queue_reset() [all …]
|