| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/wireless/ |
| 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 …]
|
| 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> 23 - $ref: ieee80211.yaml# 28 - mediatek,mt76 29 - mediatek,mt7628-wmac [all …]
|
| 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 …]
|
| 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 - 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/wireless/ |
| D | ieee80211.txt | 7 - ieee80211-freq-limit : list of supported frequency ranges in KHz. This can be 11 An example case for this can be tri-band wireless router with two 21 ieee80211-freq-limit = <2402000 2482000>,
|
| D | mediatek,mt76.txt | 11 - "mediatek,mt7628-wmac" for MT7628/MT7688 12 - "mediatek,mt7622-wmac" for MT7622 15 - reg: Address and length of the register set for the device. 16 - interrupts: Main device interrupt 19 - power-domains: phandle to the power domain that the WMAC is part of 20 - mediatek,infracfg: phandle to the infrastructure bus fabric syscon node 24 - ieee80211-freq-limit: See ieee80211.txt 25 - mediatek,mtd-eeprom: Specify a MTD partition + offset containing EEPROM data 26 - big-endian: if the radio eeprom partition is written in big-endian, specify 28 - mediatek,eeprom-merge-otp: Merge EEPROM data with OTP data. Can be used on [all …]
|
| /kernel/linux/linux-5.10/net/wireless/ |
| 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 …]
|
| 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-2020 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 …]
|
| /kernel/linux/linux-6.6/net/wireless/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | bcm4709-netgear-r8000.dts | 20 /dts-v1/; 23 #include "bcm5301x-nand-cs0-bch8.dtsi" 40 compatible = "gpio-leds"; 42 power-white { 45 linux,default-trigger = "default-on"; 48 power-amber { 53 wan-white { 56 linux,default-trigger = "default-on"; 59 wan-amber { 64 5ghz-1 { [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/broadcom/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/staging/rtl8192u/ |
| D | r8192U_wx.c | 1 // 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 …]
|
| D | r8192U_core.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8192u/ |
| D | r8192U_wx.c | 1 // 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 …]
|
| D | r8192U_core.c | 1 // 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() 63 #include "ieee80211/dot11d.h" 148 /* For Global Domain. 1-11:active scan, 12-14 passive scan. */ 154 int i, max_chan = -1, min_chan = -1; in rtl819x_set_channel_map() 155 struct ieee80211_device *ieee = priv->ieee80211; in rtl819x_set_channel_map() 169 ieee->bGlobalDomain = false; in rtl819x_set_channel_map() 171 if ((priv->rf_chip == RF_8225) || (priv->rf_chip == RF_8256)) { in rtl819x_set_channel_map() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/ |
| D | ieee80211_softmac_wx.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
| D | ieee80211_softmac_wx.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
| 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() 108 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_OFF); in rt2x00lib_disable_radio() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
| D | ieee80211.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 10 #include <linux/ieee80211.h> 157 /* Sub-Element */ 317 #define ETH_P_PREAUTH 0x88C7 /* IEEE 802.11i pre-authentication */ 358 /* EIDs defined by IEEE 802.11h - END */ 546 u8 freq; member 649 ,-------------------------------------------------------------------. 651 |------|------|---------|---------|---------|------|---------|------| 654 `-------------------------------------------------------------------' [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/ |
| D | hw.c | 8 #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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
| D | hw.c | 8 #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 …]
|
| /kernel/linux/linux-6.6/include/net/ |
| D | cfg80211.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/include/net/ |
| D | cfg80211.h | 1 /* 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-2020 Intel Corporation 21 #include <linux/ieee80211.h> 69 * enum ieee80211_channel_flags - channel flags 140 * struct ieee80211_channel - channel definition 147 * @hw_value: hardware-specific value for the channel 183 * enum ieee80211_rate_flags - rate flags [all …]
|