Home
last modified time | relevance | path

Searched +full:ieee80211 +full:- +full:freq +full:- +full:limit (Results 1 – 25 of 26) sorted by relevance

12

/linux/Documentation/devicetree/bindings/net/wireless/
H A Dieee80211.yaml1 # 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 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>
25 - mediatek,mt76
26 - mediatek,mt7628-wmac
27 - mediatek,mt7622-wmac
[all …]
H A Dqca,ath9k.yaml1 # 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 Dqcom,ath10k.yaml1 # 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 Dqcom,ath11k.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 - 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 Dof.c30 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 Dutil.c1 // 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, 2025 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_bitrate in ieee80211_get_response_rate()
136 ieee80211_freq_khz_to_channel(u32 freq) ieee80211_freq_khz_to_channel() argument
163 ieee80211_get_channel_khz(struct wiphy * wiphy,u32 freq) ieee80211_get_channel_khz() argument
2214 u32 freq = chandef->center_freq1; ieee80211_chandef_to_operating_class() local
2572 u32 freq; cfg80211_get_radio_idx_by_chan() local
2974 ieee80211_radio_freq_range_valid(const struct wiphy_radio * radio,u32 freq,u32 width) ieee80211_radio_freq_range_valid() argument
2992 u32 freq, width; cfg80211_radio_chandef_valid() local
[all...]
H A Dnl80211.c1 // 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-2025 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 Dbcm4709-netgear-r8000.dts20 /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/ath/ath12k/
H A Ddebugfs.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved.
17 struct ath12k *ar = file->private_data; in ath12k_write_simulate_radar()
20 wiphy_lock(ath12k_ar_to_hw(ar)->wiphy); in ath12k_write_simulate_radar()
27 wiphy_unlock(ath12k_ar_to_hw(ar)->wiphy); in ath12k_write_simulate_radar()
42 "`assert` - send WMI_FORCE_FW_HANG_CMDID to firmware to cause assert.\n"; in ath12k_read_simulate_fw_crash()
52 struct ath12k_base *ab = file->private_data; in ath12k_write_simulate_fw_crash()
61 return -EINVAL; in ath12k_write_simulate_fw_crash()
63 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath12k_write_simulate_fw_crash()
[all …]
H A Dmac.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
103 /* Operating Classes 131-135 */
245 #define ath12k_a_rates_size (ARRAY_SIZE(ath12k_legacy_rates) - 4)
274 return "11na-ht20"; in ath12k_mac_phymode_str()
276 return "11ng-ht20"; in ath12k_mac_phymode_str()
278 return "11na-ht40"; in ath12k_mac_phymode_str()
280 return "11ng-ht40"; in ath12k_mac_phymode_str()
282 return "11ac-vht20"; in ath12k_mac_phymode_str()
284 return "11ac-vht40"; in ath12k_mac_phymode_str()
[all …]
/linux/include/net/
H A Dcfg80211.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
8 * Copyright 2013-2014 Intel Mobile Communications GmbH
9 * Copyright 2015-2017 Intel Deutschland GmbH
10 * Copyright (C) 2018-2025 Intel Corporation
23 #include <linux/ieee80211.h>
72 * enum ieee80211_channel_flags - channe
6701 ieee80211_frequency_to_channel(int freq) ieee80211_frequency_to_channel() argument
6724 ieee80211_get_channel(struct wiphy * wiphy,int freq) ieee80211_get_channel() argument
8717 int freq; global() member
8761 cfg80211_rx_mgmt_khz(struct wireless_dev * wdev,int freq,int sig_dbm,const u8 * buf,size_t len,u32 flags) cfg80211_rx_mgmt_khz() argument
8793 cfg80211_rx_mgmt(struct wireless_dev * wdev,int freq,int sig_dbm,const u8 * buf,size_t len,u32 flags) cfg80211_rx_mgmt() argument
9124 cfg80211_report_obss_beacon(struct wiphy * wiphy,const u8 * frame,size_t len,int freq,int sig_dbm) cfg80211_report_obss_beacon() argument
[all...]
H A Dmac80211.h1 /* 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 - 201
1661 u16 freq: 13, freq_offset: 1; global() member
[all...]
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt73usb.c1 // 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 Drt61pci.c1 // 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 Dwmi.h1 /* 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 …]
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Ddev.c8 * 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 Dmwl8k.c48 /* 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 Ddev.c1 // 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 Dadm8211.c1 // 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/net/mac80211/
H A Dutil.c1 // 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-202
3126 u32 freq; ieee80211_chandef_he_6ghz_oper() local
3688 int freq; ieee80211_send_action_csa() local
[all...]
/linux/include/uapi/linux/
H A Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2025 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-VLA
[all...]
/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved.
164 /* new addition in IEEE Std 802.11ax-2021 */
244 #define ath11k_a_rates_size (ARRAY_SIZE(ath11k_legacy_rates) - 4)
405 return -EINVAL; in ath11k_mac_hw_ratecode_to_legacy_rate()
426 for (i = 0; i < sband->n_bitrates; i++) in ath11k_mac_bitrate_to_idx()
427 if (sband->bitrates[i].bitrate == bitrate) in ath11k_mac_bitrate_to_idx()
438 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath11k_mac_max_ht_nss()
450 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_vht_nss()
[all …]
/linux/drivers/net/wireless/intel/iwlegacy/
H A Dcommands.h8 * 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 D4965-mac.c1 // 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 …]

12