Home
last modified time | relevance | path

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

12

/openbmc/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>
23 - $ref: ieee80211.yaml#
28 - mediatek,mt76
29 - mediatek,mt7628-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 - Kalle Valo <kvalo@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 …]
/openbmc/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 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 …]
/openbmc/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 …]
/openbmc/linux/drivers/staging/rtl8192u/
H A Dr8192U_wx.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) Andrea Merello 2004-2005 <andrea.merello@gmail.com>
26 #include "ieee80211/dot11d.h"
43 return ieee80211_wx_get_freq(priv->ieee80211, a, wrqu, b); in r8192_wx_get_freq()
51 return ieee80211_wx_get_mode(priv->ieee80211, a, wrqu, b); in r8192_wx_get_mode()
60 return ieee80211_wx_get_rate(priv->ieee80211, info, wrqu, extra); in r8192_wx_get_rate()
70 mutex_lock(&priv->wx_mutex); in r8192_wx_set_rate()
72 ret = ieee80211_wx_set_rate(priv->ieee80211, info, wrqu, extra); in r8192_wx_set_rate()
74 mutex_unlock(&priv->wx_mutex); in r8192_wx_set_rate()
86 mutex_lock(&priv->wx_mutex); in r8192_wx_set_rts()
[all …]
H A Dr8192U_core.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
7 * Copyright 2004-2005 Andrea Merello <andrea.merello@gmail.com>, et al.
36 return a - b; in __subdf3()
62 #include "ieee80211/dot11d.h"
144 /* For Global Domain. 1-11:active scan, 12-14 passive scan. */
150 int i, max_chan = -1, min_chan = -1; in rtl819x_set_channel_map()
151 struct ieee80211_device *ieee = priv->ieee80211; in rtl819x_set_channel_map()
165 ieee->bGlobalDomain = false; in rtl819x_set_channel_map()
167 if ((priv->rf_chip == RF_8225) || (priv->rf_chip == RF_8256)) { in rtl819x_set_channel_map()
[all …]
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_softmac_wx.c1 // SPDX-License-Identifier: GPL-2.0
5 * Mostly extracted from the rtl8180-sa2400 driver for the
6 * in-kernel generic ieee802.11 stack.
9 * copyright of who own it's copyright ;-)
12 * own it's copyright ;-)
18 #include "ieee80211.h"
34 struct iw_freq *fwrq = &wrqu->freq; in ieee80211_wx_set_freq()
36 mutex_lock(&ieee->wx_mutex); in ieee80211_wx_set_freq()
38 if (ieee->iw_mode == IW_MODE_INFRA) { in ieee80211_wx_set_freq()
39 ret = -EOPNOTSUPP; in ieee80211_wx_set_freq()
[all …]
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00dev.c1 // 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 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 …]
/openbmc/linux/drivers/net/wireless/intersil/orinoco/
H A Dhw.c8 #include <linux/ieee80211.h>
52 if (nic_id->id < 0x8000) in determine_firmware_type()
54 else if (nic_id->id == 0x8000 && nic_id->major == 0) in determine_firmware_type()
60 /* Set priv->firmware type, determine firmware properties
64 * If non-NULL stores a firmware description in fw_name.
65 * If non-NULL stores a HW version in hw_ver
73 struct device *dev = priv->dev; in determine_fw_capabilities()
74 struct hermes *hw = &priv->hw; in determine_fw_capabilities()
101 priv->firmware_type = determine_firmware_type(&nic_id); in determine_fw_capabilities()
121 return -ENODEV; in determine_fw_capabilities()
[all …]
/openbmc/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-2021, 2023 Intel Corporation
23 #include <linux/ieee80211.h>
72 * enum ieee80211_channel_flags - channel flags
150 * struct ieee80211_channel - channel definition
157 * @hw_value: hardware-specific value for the channel
193 * enum ieee80211_rate_flags - rate flags
[all …]
/openbmc/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-2023 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 …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs.c1 // 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 "fw/error-dump.h"
20 #include "fw/api/phy-ctxt.h"
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmain.c3 * 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 */
280 /* ieee80211 Access Category to TX FIFO number */
[all …]
/openbmc/linux/drivers/net/wireless/legacy/
H A Dray_cs.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * Arnaldo Carvalho de Melo <acme@conectiva.com.br> - 08/08/2000
12 * - reorganize kmallocs in ray_attach, checking all for failure
15 * Daniele Bellucci <bellucda@tiscali.it> - 07/10/2003
16 * - Audit copy_to_user in ioctl(SIOCGIWESSID)
33 #include <linux/ieee80211.h>
194 0xff, 0xff, /* roam-low snr, low snr count */
197 /* b4 - b5 differences start here */
200 0x04, 0x08, /* Noise gain, limit offset */
229 0xff, 0xff, /* roam-low snr, low snr count */
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
233 #define ath12k_a_rates_size (ARRAY_SIZE(ath12k_legacy_rates) - 4)
259 return "11na-ht20"; in ath12k_mac_phymode_str()
261 return "11ng-ht20"; in ath12k_mac_phymode_str()
263 return "11na-ht40"; in ath12k_mac_phymode_str()
265 return "11ng-ht40"; in ath12k_mac_phymode_str()
267 return "11ac-vht20"; in ath12k_mac_phymode_str()
269 return "11ac-vht40"; in ath12k_mac_phymode_str()
[all …]
/openbmc/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-2023 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 …]

12