| /linux/drivers/platform/x86/amd/ |
| H A D | wbrf.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Wifi Frequency Band Manage Interface 54 return -EINVAL; in wbrf_record() 56 for (i = 0; i < ARRAY_SIZE(in->band_list); i++) { in wbrf_record() 57 if (in->band_list[i].start && in->band_list[i].end) in wbrf_record() 63 * the caller is required to be equal to the number of in wbrf_record() 66 if (num_of_ranges != in->num_of_ranges) in wbrf_record() 67 return -EINVAL; in wbrf_record() 70 * Every input frequency band comes with two end points(start/end) in wbrf_record() 79 return -ENOMEM; in wbrf_record() [all …]
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A 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 …]
|
| H A 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/drivers/net/wireless/ti/wl12xx/ |
| H A 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/include/linux/ |
| H A D | acpi_amd_wbrf.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Wifi Band Exclusion Interface (AMD ACPI Implementation) 13 /* The maximum number of frequency band ranges */ 21 * struct freq_band_range - Wifi frequency band range definition 31 * struct wbrf_ranges_in_out - wbrf ranges info 32 * @num_of_ranges: total number of band ranges in this struct 33 * @band_list: array of Wifi band ranges 41 * enum wbrf_notifier_actions - wbrf notifier actions index 42 * @WBRF_CHANGED: there was some frequency band updates. The consumers 53 int amd_wbrf_retrieve_freq_band(struct device *dev, struct wbrf_ranges_in_out *out); [all …]
|
| /linux/net/sched/ |
| H A D | sch_ets.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * ----------- 9 * discipline that merges functionality of PRIO and DRR qdiscs in one scheduler. 10 * ETS makes it easy to configure a set of strict and bandwidth-sharing bands to 14 * classes at will. Instead one specifies number of classes, how many are 15 * PRIO-like and how many DRR-like, and quanta for the latter. 18 * --------- 20 * The strict classes, if any, are tried for traffic first: first band 0, if it 21 * has no traffic then band 1, etc. 23 * When there is no traffic in any of the strict queues, the bandwidth-sharing [all …]
|
| /linux/drivers/net/wireless/ti/wl18xx/ |
| H A 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 …]
|
| H A 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/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-enum-freq-bands.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_ENUM_FREQ_BANDS - Enumerate supported frequency bands 36 fields, and zero out the ``reserved`` array of a struct 41 of the corresponding tuner/modulator is set. 47 .. flat-table:: struct v4l2_frequency_band 48 :header-rows: 0 49 :stub-columns: 0 52 * - __u32 53 - ``tuner`` 54 - The tuner or modulator index number. This is the same value as in [all …]
|
| H A D | vidioc-s-hw-freq-seek.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_S_HW_FREQ_SEEK - Perform a hardware frequency seek 37 zero out the ``reserved`` array of a struct 41 The ``rangelow`` and ``rangehigh`` fields can be set to a non-zero value 42 to tell the driver to search a specific band. If the struct 45 within one of the bands returned by 48 must exactly match those of one of the bands returned by 50 current frequency of the tuner does not fall within the selected band it 51 will be clamped to fit in the band before the seek is started. 58 If this ioctl is called from a non-blocking filehandle, then ``EAGAIN`` [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | btusb.txt | 2 --------------------------------------------------- 6 - compatible : should comply with the format "usbVID,PID" specified in 7 Documentation/devicetree/bindings/usb/usb-device.yaml 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/net/wireless/ |
| H A 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 …]
|
| 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, 2025 Intel Corporation 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->bitrate in ieee80211_get_response_rate() 69 ieee80211_channel_to_freq_khz(int chan,enum nl80211_band band) ieee80211_channel_to_freq_khz() argument 165 enum nl80211_band band; ieee80211_get_channel_khz() local 255 enum nl80211_band band; ieee80211_set_bitrate_flags() local 1888 u8 *out = buf; cfg80211_get_p2p_attr() local 2107 ieee80211_operating_class_to_band(u8 operating_class,enum nl80211_band * band) ieee80211_operating_class_to_band() argument 2139 enum nl80211_band band; ieee80211_operating_class_to_chandef() local 2631 enum nl80211_band band; ieee80211_get_num_supported_channels() local [all...] |
| H A 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 68 * regulatory_hint_found_beacon - hints a beacon was found on a channel 76 * world roaming -- when we do not know our current location. This is 77 * only useful on channels 12, 13 and 14 on the 2 GHz band as channels [all …]
|
| /linux/drivers/net/wireless/quantenna/qtnfmac/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Copyright (c) 2015-2016 Quantenna Communications. All rights reserved. */ 50 mac = bus->mac[macid]; in qtnf_core_get_mac() 81 struct qtnf_vif *vif = qtnf_netdev_get_priv(skb->dev); in qtnf_packet_send_hi_pri() 83 skb_queue_tail(&vif->high_pri_tx_queue, skb); in qtnf_packet_send_hi_pri() 84 queue_work(vif->mac->bus->hprio_workqueue, &vif->high_pri_tx_work); in qtnf_packet_send_hi_pri() 97 if (unlikely(skb->dev != ndev)) { in qtnf_netdev_hard_start_xmit() 98 pr_err_ratelimited("invalid skb->dev"); in qtnf_netdev_hard_start_xmit() 103 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { in qtnf_netdev_hard_start_xmit() 104 pr_err_ratelimited("%s: VIF not initialized\n", ndev->name); in qtnf_netdev_hard_start_xmit() [all …]
|
| /linux/drivers/media/radio/si470x/ |
| H A 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/net/openvswitch/ |
| H A D | meter.c | 1 // SPDX-License-Identifier: GPL-2.0-only 42 return id % ti->n_meters; in meter_hash() 57 struct dp_meter_instance *ti = rcu_dereference_ovsl(tbl->ti); in lookup_meter() 61 meter = rcu_dereference_ovsl(ti->dp_meters[hash]); in lookup_meter() 62 if (meter && likely(meter->id == meter_id)) in lookup_meter() 76 ti->n_meters = size; in dp_meter_instance_alloc() 97 struct dp_meter_instance *ti = rcu_dereference_ovsl(tbl->ti); in dp_meter_instance_realloc() 98 int n_meters = min(size, ti->n_meters); in dp_meter_instance_realloc() 104 return -ENOMEM; in dp_meter_instance_realloc() 107 if (rcu_dereference_ovsl(ti->dp_meters[i])) in dp_meter_instance_realloc() [all …]
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A 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/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A 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/arch/powerpc/boot/dts/fsl/ |
| H A D | t1040rdb.dts | 4 * Copyright 2014 - 2015 Freescale Semiconductor Inc. 8 * * Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer in the 13 * * Neither the name of Freescale Semiconductor nor the 14 * names of its contributors may be used to endorse or promote products 18 * ALTERNATIVELY, this software may be distributed under the terms of the 20 * Foundation, either version 2 of that License or (at your option) any 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-intel_pmt-features | 1 What: /sys/class/intel_pmt/features-<PCI BDF>/ 2 Date: 2025-04-24 6 The `features-<PCI BDF>/` directory represents the "features" 16 /sys/class/intel_pmt/features-<PCI BDF>/ 17 ├── accelerator_telemetry/ # Per-accelerator telemetry data 23 ├── tpmi_control/ # TPMI-related controls and telemetry 30 - Read-only 31 - Lists available capabilities for this feature. 34 - Read-only 35 - Lists GUIDs associated with this feature. [all …]
|
| /linux/include/uapi/mtd/ |
| H A D | mtd-abi.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 3 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al. 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * You should have received a copy of the GNU General Public License 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 55 * @MTD_OPS_RAW: data are transferred as-is, with no error correction; 69 * struct mtd_write_req - data structure for requesting a write operation 72 * @len: length of data buffer (only lower 32 bits are used) [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | scan.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 13 * enum iwl_scan_subcmd_ids - scan commands 26 /* Max number of IEs for direct SSID scans in a command */ 33 * struct iwl_ssid_ie - directed scan network information element 35 * Up to 20 of these may appear in REPLY_SCAN_CMD, 38 * SSID IEs get transmitted in reverse order of entry. 78 * struct iwl_scan_offload_blocklist - SCAN_OFFLOAD_BLACKLIST_S [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | mac.c | 1 // SPDX-License-Identifier: ISC 12 #define to_rssi(field, rcpi) ((FIELD_GET(field, rcpi) - 220) / 2) 15 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 29 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 40 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 63 if (!wcid->sta) in mt7915_rx_get_wcid() 67 if (!sta->vif) in mt7915_rx_get_wcid() 70 return &sta->vif->sta.wcid; in mt7915_rx_get_wcid() 105 spin_lock_bh(&dev->mt76.sta_poll_lock); in mt7915_mac_sta_poll() 106 list_splice_init(&dev->mt76.sta_poll_list, &sta_poll_list); in mt7915_mac_sta_poll() [all …]
|
| /linux/drivers/hid/ |
| H A 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() [all …]
|