/Linux-v5.4/drivers/net/wireless/ti/wl12xx/ |
D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This file is part of wl12xx 16 enum nl80211_band band, bool passive) in wl1271_get_scan_channels() argument 18 struct conf_scan_settings *c = &wl->conf.scan; in wl1271_get_scan_channels() 23 i < req->n_channels && j < WL1271_SCAN_MAX_CHANNELS; in wl1271_get_scan_channels() 25 flags = req->channels[i]->flags; in wl1271_get_scan_channels() 27 if (!test_bit(i, wl->scan.scanned_ch) && in wl1271_get_scan_channels() 29 (req->channels[i]->band == band) && in wl1271_get_scan_channels() 37 wl1271_debug(DEBUG_SCAN, "band %d, center_freq %d ", in wl1271_get_scan_channels() 38 req->channels[i]->band, in wl1271_get_scan_channels() [all …]
|
/Linux-v5.4/drivers/net/wireless/ti/wlcore/ |
D | cmd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This file is part of wl1271 5 * Copyright (C) 2009-2010 Nokia Corporation 37 * @len: length of the buffer 50 if (unlikely(wl->state == WLCORE_STATE_RESTARTING && in __wlcore_cmd_send() 52 return -EIO; in __wlcore_cmd_send() 55 return -EIO; in __wlcore_cmd_send() 58 cmd->id = cpu_to_le16(id); in __wlcore_cmd_send() 59 cmd->status = 0; in __wlcore_cmd_send() 62 WARN_ON(test_bit(WL1271_FLAG_IN_ELP, &wl->flags)); in __wlcore_cmd_send() [all …]
|
D | rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This file is part of wl1271 30 if (wl->quirks & WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN) in wlcore_rx_get_buf_size() 39 if (wl->quirks & WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN) in wlcore_rx_get_align_buf_size() 52 if ((desc->flags & WL1271_RX_DESC_BAND_MASK) == WL1271_RX_DESC_BAND_BG) in wl1271_rx_status() 53 status->band = NL80211_BAND_2GHZ; in wl1271_rx_status() 55 status->band = NL80211_BAND_5GHZ; in wl1271_rx_status() 57 status->rate_idx = wlcore_rate_to_idx(wl, desc->rate, status->band); in wl1271_rx_status() 60 if (desc->rate <= wl->hw_min_ht_rate) in wl1271_rx_status() 61 status->encoding = RX_ENC_HT; in wl1271_rx_status() [all …]
|
/Linux-v5.4/drivers/net/wireless/ti/wl18xx/ |
D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This file is part of wl18xx 15 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive)); in wl18xx_adjust_channels() 16 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); in wl18xx_adjust_channels() 17 cmd->dfs = cmd_channels->dfs; in wl18xx_adjust_channels() 18 cmd->passive_active = cmd_channels->passive_active; in wl18xx_adjust_channels() 20 memcpy(cmd->channels_2, cmd_channels->channels_2, in wl18xx_adjust_channels() 21 sizeof(cmd->channels_2)); in wl18xx_adjust_channels() 22 memcpy(cmd->channels_5, cmd_channels->channels_5, in wl18xx_adjust_channels() 23 sizeof(cmd->channels_5)); in wl18xx_adjust_channels() [all …]
|
D | cmd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This file is part of wl18xx 23 ch_switch->count); in wl18xx_cmd_channel_switch() 27 ret = -ENOMEM; in wl18xx_cmd_channel_switch() 28 goto out; in wl18xx_cmd_channel_switch() 31 cmd->role_id = wlvif->role_id; in wl18xx_cmd_channel_switch() 32 cmd->channel = ch_switch->chandef.chan->hw_value; in wl18xx_cmd_channel_switch() 33 cmd->switch_time = ch_switch->count; in wl18xx_cmd_channel_switch() 34 cmd->stop_tx = ch_switch->block_tx; in wl18xx_cmd_channel_switch() 36 switch (ch_switch->chandef.chan->band) { in wl18xx_cmd_channel_switch() [all …]
|
/Linux-v5.4/Documentation/media/uapi/v4l/ |
D | vidioc-enum-freq-bands.rst | 2 .. document under the terms of the GNU Free Documentation License, 4 .. Foundation, with no Invariant Sections, no Front-Cover Texts 5 .. and no Back-Cover Texts. A copy of the license is included at 6 .. Documentation/media/uapi/fdl-appendix.rst. 8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections 19 VIDIOC_ENUM_FREQ_BANDS - Enumerate supported frequency bands 33 File descriptor returned by :ref:`open() <func-open>`. 44 fields, and zero out the ``reserved`` array of a struct 49 of the corresponding tuner/modulator is set. 56 .. flat-table:: struct v4l2_frequency_band [all …]
|
D | vidioc-s-hw-freq-seek.rst | 2 .. document under the terms of the GNU Free Documentation License, 4 .. Foundation, with no Invariant Sections, no Front-Cover Texts 5 .. and no Back-Cover Texts. A copy of the license is included at 6 .. Documentation/media/uapi/fdl-appendix.rst. 8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections 19 VIDIOC_S_HW_FREQ_SEEK - Perform a hardware frequency seek 33 File descriptor returned by :ref:`open() <func-open>`. 45 zero out the ``reserved`` array of a struct 49 The ``rangelow`` and ``rangehigh`` fields can be set to a non-zero value 50 to tell the driver to search a specific band. If the struct [all …]
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | main.h | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 14 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 47 /* Macros for doing definition and get/set of bitfields 48 * Usage example, e.g. a three-bit field (bits 4-6): 52 * regval = R_REG(osh, ®s->regfoo); 55 * W_REG(osh, ®s->regfoo, regval); 58 (((unsigned)1 << (width)) - 1) 67 /* max # supported core revisions (0 .. MAXCOREREV - 1) */ [all …]
|
D | main.c | 3 * Copyright (c) 2013 Hauke Mehrtens <hauke@hauke-m.de> 10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 14 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 15 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 42 /* watchdog timer, in unit of ms */ 44 /* radio monitor timer, in unit of ms */ 47 /* beacon interval, in unit of 1024TU */ 50 /* n-mode support capability */ 82 #define EDCF_ECW2CW(exp) ((1 << (exp)) - 1) [all …]
|
D | stf.c | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 14 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 31 #define BRCMS_STF_SS_STBC_RX(wlc) (BRCMS_ISNPHY(wlc->band) && \ 32 NREV_GT(wlc->band->phyrev, 3) && NREV_LE(wlc->band->phyrev, 6)) 40 (0), /* bitmap of the core enabled */ 49 /* MIMOPHYs rev3-6 cannot receive STBC with only one rx core active */ in brcms_c_stf_stbc_rx_ht_update() 51 if ((wlc->stf->rxstreams == 1) && (val != HT_CAP_RX_STBC_NO)) in brcms_c_stf_stbc_rx_ht_update() 55 if (wlc->pub->up) { in brcms_c_stf_stbc_rx_ht_update() [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/net/ |
D | btusb.txt | 2 --------------------------------------------------- 6 - compatible : should comply with the format "usbVID,PID" specified in 7 Documentation/devicetree/bindings/usb/usb-device.txt 8 At the time of writing, the only OF supported devices 13 "usb4ca,301a" (Qualcomm QCA6174A (Lite-On)) 17 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt 21 - interrupt-names: (see below) 22 - interrupts : The interrupt specified by the name "wakeup" is the interrupt 23 that shall be used for out-of-band wake-on-bt. Driver will 26 platform out of band. During system resume, the irq will be [all …]
|
/Linux-v5.4/net/wireless/ |
D | of.c | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 #include <linux/of.h> 33 MHZ_TO_KHZ(chan->center_freq), in wiphy_freq_limits_valid_chan() 45 enum nl80211_band band; in wiphy_freq_limits_apply() local 51 for (band = 0; band < NUM_NL80211_BANDS; band++) { in wiphy_freq_limits_apply() 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() [all …]
|
D | reg.h | 7 * Copyright 2008-2011 Luis R. Rodriguez <mcgrof@qca.qualcomm.com> 15 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 18 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 19 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 20 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 40 * regulatory_hint_indoor - hint operation in indoor env. or not 48 * regulatory_netlink_notify - notify on released netlink socket 69 * regulatory_hint_found_beacon - hints a beacon was found on a channel 77 * world roaming -- when we do not know our current location. This is 78 * only useful on channels 12, 13 and 14 on the 2 GHz band as channels [all …]
|
/Linux-v5.4/sound/soc/codecs/ |
D | max98090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98090.c -- MAX98090 ALSA SoC Audio driver 5 * Copyright 2011-2012 Maxim Integrated Products 11 #include <linux/of.h> 100 { 0x46, 0x00 }, /* 46 Equalizer Band 1 Coefficient B0 */ 101 { 0x47, 0x00 }, /* 47 Equalizer Band 1 Coefficient B0 */ 102 { 0x48, 0x00 }, /* 48 Equalizer Band 1 Coefficient B0 */ 103 { 0x49, 0x00 }, /* 49 Equalizer Band 1 Coefficient B1 */ 104 { 0x4A, 0x00 }, /* 4A Equalizer Band 1 Coefficient B1 */ 105 { 0x4B, 0x00 }, /* 4B Equalizer Band 1 Coefficient B1 */ [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/net/wireless/ |
D | brcm,bcm43xx-fmac.txt | 9 - compatible : Should be "brcm,bcm4329-fmac". 12 - brcm,drive-strength : drive strength used for SDIO pins on device in mA 14 - interrupts : specifies attributes for the out-of-band interrupt (host-wake). 15 When not specified the device will use in-band SDIO interrupts. 16 - interrupt-names : name of the out-of-band interrupt, which must be set 17 to "host-wake". 22 #address-cells = <1>; 23 #size-cells = <0>; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&mmc3_pins_a>; [all …]
|
/Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Copyright (c) 2015-2016 Quantenna Communications. All rights reserved. */ 25 if (unlikely(le16_to_cpu(resp->cmd_id) != cmd_id)) { in qtnf_cmd_check_reply_header() 27 mac_id, vif_id, cmd_id, le16_to_cpu(resp->cmd_id)); in qtnf_cmd_check_reply_header() 28 return -EINVAL; in qtnf_cmd_check_reply_header() 31 if (unlikely(resp->macid != mac_id)) { in qtnf_cmd_check_reply_header() 33 mac_id, vif_id, cmd_id, resp->macid); in qtnf_cmd_check_reply_header() 34 return -EINVAL; in qtnf_cmd_check_reply_header() 37 if (unlikely(resp->vifid != vif_id)) { in qtnf_cmd_check_reply_header() 39 mac_id, vif_id, cmd_id, resp->vifid); in qtnf_cmd_check_reply_header() [all …]
|
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Copyright (c) 2015-2016 Quantenna Communications. All rights reserved. */ 41 mac = bus->mac[macid]; in qtnf_core_get_mac() 80 if (unlikely(skb->dev != ndev)) { in qtnf_netdev_hard_start_xmit() 81 pr_err_ratelimited("invalid skb->dev"); in qtnf_netdev_hard_start_xmit() 86 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { in qtnf_netdev_hard_start_xmit() 87 pr_err_ratelimited("%s: VIF not initialized\n", ndev->name); in qtnf_netdev_hard_start_xmit() 92 mac = vif->mac; in qtnf_netdev_hard_start_xmit() 94 pr_err_ratelimited("%s: NULL mac pointer", ndev->name); in qtnf_netdev_hard_start_xmit() 99 if (!skb->len || (skb->len > ETH_FRAME_LEN)) { in qtnf_netdev_hard_start_xmit() [all …]
|
D | cfg80211.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Copyright (c) 2015-2016 Quantenna Communications. All rights reserved. */ 87 return -EFAULT; in qtnf_validate_iface_combinations() 90 vif = &mac->iflist[i]; in qtnf_validate_iface_combinations() 91 if (vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) in qtnf_validate_iface_combinations() 92 params.iftype_num[vif->wdev.iftype]++; in qtnf_validate_iface_combinations() 97 params.iftype_num[change_vif->wdev.iftype]--; in qtnf_validate_iface_combinations() 121 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf() 126 mac_addr = params->macaddr; in qtnf_change_virtual_intf() 127 use4addr = params->use_4addr; in qtnf_change_virtual_intf() [all …]
|
/Linux-v5.4/drivers/media/radio/si470x/ |
D | radio-si470x-common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/media/radio/si470x/radio-si470x-common.c 14 * 2008-01-12 Tobias Lorenz <tobias.lorenz@gmx.net> 16 * - First working version 17 * 2008-01-13 Tobias Lorenz <tobias.lorenz@gmx.net> 19 * - Improved error handling, every function now returns errno 20 * - Improved multi user access (start/mute/stop) 21 * - Channel doesn't get lost anymore after start/mute/stop 22 * - RDS support added (polling mode via interrupt EP 1) 23 * - marked default module parameters with *value* [all …]
|
/Linux-v5.4/drivers/net/wireless/intel/iwlegacy/ |
D | 3945-rs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 26 #define RS_NAME "iwl-3945-rs" 50 {-60, RATE_54M_IDX}, 51 {-64, RATE_48M_IDX}, 52 {-72, RATE_36M_IDX}, 53 {-80, RATE_24M_IDX}, 54 {-84, RATE_18M_IDX}, 55 {-85, RATE_12M_IDX}, [all …]
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/cfg/ |
D | 9000.c | 8 * Copyright(c) 2015-2017 Intel Deutschland GmbH 9 * Copyright (C) 2018 - 2019 Intel Corporation 12 * it under the terms of version 2 of the GNU General Public License as 16 * WITHOUT ANY WARRANTY; without even the implied warranty of 22 * Copyright(c) 2015-2017 Intel Deutschland GmbH 23 * Copyright (C) 2018 - 2019 Intel Corporation 30 * * Redistributions of source code must retain the above copyright 31 * notice, this list of conditions and the following disclaimer. 33 * notice, this list of conditions and the following disclaimer in 36 * * Neither the name Intel Corporation nor the names of its [all …]
|
/Linux-v5.4/net/mac80211/ |
D | tx.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 31 #include "driver-ops.h" 43 struct pcpu_sw_netstats *tstats = this_cpu_ptr(dev->tstats); in ieee80211_tx_stats() 45 u64_stats_update_begin(&tstats->syncp); in ieee80211_tx_stats() 46 tstats->tx_packets++; in ieee80211_tx_stats() 47 tstats->tx_bytes += len; in ieee80211_tx_stats() [all …]
|
/Linux-v5.4/drivers/staging/wilc1000/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 12 This module adds support for the SDIO interface of adapters using 15 the 1-bit/4-bit SD transfer mode at the clock range of 0-50 MHz. 26 This module adds support for the SPI interface of adapters using 29 be used for control and for serial I/O of 802.11 data. The SPI is a 30 full-duplex slave synchronous serial interface that is available 35 bool "WILC1000 out of band interrupt" 38 This option enables out-of-band interrupt support for the WILC1000
|
/Linux-v5.4/drivers/hid/ |
D | hid-primax.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HID driver for primax and similar keyboards with in-band modifiers 15 #include "hid-ids.h" 22 switch (report->id) { in px_raw_event() 25 * Convert in-band modifier key values into out of band in px_raw_event() 38 * drivers don't particularly care if there are in-band in px_raw_event() 39 * 0-valued keys, so they don't stop parsing. in px_raw_event() 41 while (--idx > 1) { in px_raw_event() 44 data[0] |= (1 << (data[idx] - 0xE0)); in px_raw_event() 52 hid_info(hid, "unknown report type %d\n", report->id); in px_raw_event()
|
/Linux-v5.4/drivers/net/wireless/rsi/ |
D | rsi_91x_mac80211.c | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 25 { .band = NL80211_BAND_2GHZ, .center_freq = 2412, 27 { .band = NL80211_BAND_2GHZ, .center_freq = 2417, 29 { .band = NL80211_BAND_2GHZ, .center_freq = 2422, 31 { .band = NL80211_BAND_2GHZ, .center_freq = 2427, 33 { .band = NL80211_BAND_2GHZ, .center_freq = 2432, 35 { .band = NL80211_BAND_2GHZ, .center_freq = 2437, [all …]
|