| /freebsd-src/sys/contrib/device-tree/Bindings/net/wireless/ |
| H A 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 --- [all...] |
| /freebsd-src/usr.sbin/kbdcontrol/ |
| H A D | kbdcontrol.1 | 1 .\"- 2 .\" SPDX-License-Identifer: BSD-2-Clause 4 .\" kbdcontrol - syscons or vt keyboard driver configuration utility 47 such as key map, keyboard repeat and delay rates, bell 58 .Bl -tag -width indent 112 rates, or if a 125 You may load the keyboard map file from a menu-driven command, 194 .Bl -tag -width foo_bar_var -compact 222 .Bl -tag -width /usr/share/syscons/keymaps/foo_bar -compact 230 .Pa /usr/share/syscons/keymaps/ru.koi8-r.kbd . [all …]
|
| /freebsd-src/sys/contrib/dev/mediatek/mt76/ |
| H A D | eeprom.c | 1 // SPDX-License-Identifier: ISC 10 #include <linux/nvmem-consumer.h> 18 struct device_node *np = dev->dev->of_node; in mt76_get_of_eeprom_data() 22 data = of_get_property(np, "mediatek,eeprom-data", &size); in mt76_get_of_eeprom_data() 24 return -ENOENT; in mt76_get_of_eeprom_data() 27 return -EINVAL; in mt76_get_of_eeprom_data() 38 struct device_node *np = dev->dev->of_node; in mt76_get_of_epprom_from_mtd() 47 list = of_get_property(np, "mediatek,mtd-eeprom", &size); in mt76_get_of_epprom_from_mtd() 49 return -ENOENT; in mt76_get_of_epprom_from_mtd() 53 return -ENOENT; in mt76_get_of_epprom_from_mtd() [all …]
|
| H A D | mac80211.c | 1 // SPDX-License-Identifier: ISC 89 /* UNII-5 */ 114 /* UNII-6 */ 121 /* UNII-7 */ 139 /* UNII-8 */ 208 struct mt76_dev *dev = phy->dev; in mt76_led_init() 209 struct ieee80211_hw *hw = phy->hw; in mt76_led_init() 211 if (!phy->leds.cdev.brightness_set && !phy->leds.cdev.blink_set) in mt76_led_init() 214 snprintf(phy->leds.name, sizeof(phy->leds.name), "mt76-%s", in mt76_led_init() 215 wiphy_name(hw->wiphy)); in mt76_led_init() [all …]
|
| H A D | mt76_connac_mac.c | 1 // SPDX-License-Identifier: ISC 17 he_ppet[0] = FIELD_PREP(IEEE80211_PPE_THRES_NSS_MASK, nss - 1) | in mt76_connac_gen_ppe_thresh() 25 for (i = 0; i < ppet_size - 1; i++) in mt76_connac_gen_ppe_thresh() 29 (0xff >> (8 - (ppet_bits - 1) % 8)); in mt76_connac_gen_ppe_thresh() 35 struct mt76_dev *dev = phy->dev; in mt76_connac_pm_wake() 40 cancel_delayed_work_sync(&pm->ps_work); in mt76_connac_pm_wake() 41 if (!test_bit(MT76_STATE_PM, &phy->state)) in mt76_connac_pm_wake() 44 if (pm->suspended) in mt76_connac_pm_wake() 47 queue_work(dev->wq, &pm->wake_work); in mt76_connac_pm_wake() 48 if (!wait_event_timeout(pm->wait, in mt76_connac_pm_wake() [all …]
|
| H A D | mt76.h | 1 /* SPDX-License-Identifier: ISC */ 86 #define mt76_is_usb(dev) ((dev)->bus->type == MT76_BUS_USB) 87 #define mt76_is_mmio(dev) ((dev)->bus->type == MT76_BUS_MMIO) 88 #define mt76_is_sdio(dev) ((dev)->bus->type == MT76_BUS_SDIO) 643 u8 ru:4; member 877 /* per-phy stats. */ 976 s8 ru[7][12]; member 1002 #define __mt76_rr(dev, ...) (dev)->bus->rr((dev), __VA_ARGS__) 1003 #define __mt76_wr(dev, ...) (dev)->bus->wr((dev), __VA_ARGS__) 1004 #define __mt76_rmw(dev, ...) (dev)->bus->rmw((dev), __VA_ARGS__) [all …]
|
| /freebsd-src/sys/contrib/device-tree/Bindings/iio/accel/ |
| H A D | memsensing,msa311.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MEMSensing digital 3-Axis accelerometer 10 - Dmitry Rokosov <ddrokosov@sberdevices.ru> 13 MSA311 is a tri-axial, low-g accelerometer with I2C digital output for 15 scales range of +-2g/+-4g/+-8g/+-16g and allows acceleration measurements 16 with output data rates from 1Hz to 1000Hz. 18 https://cdn-shop.adafruit.com/product-files/5309/MSA311-V1.1-ENG.pdf 30 vdd-supply: true [all …]
|
| /freebsd-src/sys/contrib/dev/iwlwifi/fw/api/ |
| H A D | mac.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2022, 2024 Intel Corporation 11 * AUX indices follows - 1 for non-CDB, 2 for CDB. 31 * enum iwl_mac_protection_flags - MA [all...] |
| H A D | rs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2022, 2024 Intel Corporation 12 * enum iwl_tlc_mng_cfg_flags - options for TLC config flags 36 * enum iwl_tlc_mng_cfg_cw - channel width options 52 * enum iwl_tlc_mng_cfg_chains - possibl [all...] |
| H A D | mac-cfg.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2019, 2021-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-201 [all...] |
| /freebsd-src/sys/contrib/dev/athk/ath12k/ |
| H A D | mac.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2022 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 …]
|
| /freebsd-src/contrib/wpa/src/ap/ |
| H A D | ieee802_11_he.c | 3 * Copyright (c) 2016-2017, Qualcomm Atheros, Inc. 25 u8 sz = 0, ru; in ieee80211_he_ppet_size() 31 ru = (ppe_thres_hdr >> HE_PPE_THRES_RU_INDEX_BITMASK_SHIFT) & in ieee80211_he_ppet_size() 33 /* Count the number of 1 bits in RU Index Bitmask */ in ieee80211_he_ppet_size() 34 while (ru) { in ieee80211_he_ppet_size() 35 if (ru & 0x1) in ieee80211_he_ppet_size() 37 ru >>= 1; in ieee80211_he_ppet_size() 40 /* fixed header of 3 (NSTS) + 4 (RU Index Bitmask) = 7 bits */ in ieee80211_he_ppet_size() 41 /* 6 * (NSTS + 1) bits for bit 1 in RU Index Bitmask */ in ieee80211_he_ppet_size() 73 cap_len = sizeof(*cap) - sizeo in ieee80211_invalid_he_cap_size() 24 u8 sz = 0, ru; ieee80211_he_ppet_size() local [all...] |
| /freebsd-src/sys/contrib/dev/athk/ath11k/ |
| H A D | mac.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved. 163 /* new addition in IEEE Std 802.11ax-2021 */ 243 #define ath11k_a_rates_size (ARRAY_SIZE(ath11k_legacy_rates) - 4) 388 /* As default, it is OFDM rates */ in ath11k_mac_hw_ratecode_to_legacy_rate() 407 return -EINVAL; in ath11k_mac_hw_ratecode_to_legacy_rate() 428 for (i = 0; i < sband->n_bitrates; i++) in ath11k_mac_bitrate_to_idx() 429 if (sband->bitrates[i].bitrate == bitrate) in ath11k_mac_bitrate_to_idx() 440 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath11k_mac_max_ht_nss() [all …]
|
| /freebsd-src/contrib/wpa/src/drivers/ |
| H A D | nl80211_copy.h | 6 * 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-VLA [all...] |
| /freebsd-src/sys/compat/linuxkpi/common/include/net/ |
| H A D | mac80211.h | 1 /*- 2 * Copyright (c) 2020-2024 The FreeBSD Foundation 3 * Copyright (c) 2020-2022 Bjoern A. Zeeb 55 /* hw->conf.flags */ 63 /* (*ops->config()) */ 126 /* 802.11 Figure 9-256 Suite selector format. [OUI(3), SUITE TYPE(1)] */ 129 /* 802.11 Table 9-131 Cipher suite selectors. */ 136 #define WLAN_CIPHER_SUITE_CCMP WLAN_CIPHER_SUITE(4) /* CCMP-128 */ 138 #define WLAN_CIPHER_SUITE_AES_CMAC WLAN_CIPHER_SUITE(6) /* BIP-CMAC-12 606 uint8_t ru:4; /* nl80211::enum nl80211_eht_ru_alloc */ global() member 623 struct ieee80211_rate_status *rates; global() member 695 struct ieee80211_sta_rates *rates; /* some rcu thing? */ global() member 814 struct ieee80211_tx_rate rates[4]; global() member 821 struct ieee80211_tx_rate rates[4]; global() member [all...] |
| /freebsd-src/sys/dev/sound/usb/ |
| H A D | uaudio.c | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 123 if (err != 0 || req->newptr == NULL || val == uaudio_buffer_ms) in uaudio_buffer_ms_sysctl() 149 #define UAUDIO_NFRAMES 64 /* must be factor of 8 due HS-USB */ 157 #define BIT_TEST(bm,bno) (((bm)[(bno) / 8] >> (7 - ((bno) % 8))) & 1) 159 #define MIX(sc) ((sc)->sc_mixer_node) 436 {UA_FMT_PCM8, 8, AFMT_U8, "8-bi 1635 uint16_t rates; uaudio20_check_rate() local 4202 const struct usb_audio20_sample_rate_unit *ru; uaudio20_mixer_verify_desc() member [all...] |
| /freebsd-src/sys/dev/sound/pci/ |
| H A D | emu10kx-pcm.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2003-2007 Yuriy Tsibizov <yuriy.tsibizov@gfk.ru> 177 [SOUND_MIXER_LINE2] = {1, 1, 4}, /* in4 Line-In2 */ 178 [SOUND_MIXER_DIGITAL3] = {1, 1, 5}, /* in5 on-card SPDIF */ 187 [SOUND_MIXER_VOLUME] = {1, 0, (- 1200 emufxrchan_getrates(kobj_t obj __unused,void * c_devinfo,int ** rates) emufxrchan_getrates() argument [all...] |
| /freebsd-src/tools/tools/ath/athrd/ |
| H A D | athrd.c | 1 /*- 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 171 HAL_CAPABILITIES *pCap = &ahp->ah_caps; in getChannelEdges() 174 *low = pCap->halLow5GhzChan; in getChannelEdges() 175 *high = pCap->halHigh5GhzChan; in getChannelEdges() 179 *low = pCap->halLow2GhzChan; in getChannelEdges() 180 *high = pCap->halHigh2GhzChan; in getChannelEdges() 230 NULL1_WORLD = 0x03, /* For 11b-only countries (no 11a allowed) */ 235 FCC4_FCCA = 0x12, /* USA - Public Safety */ 262 MKK1_FCCA = 0x48, /* Japan (JP1-1) */ [all …]
|
| /freebsd-src/sys/contrib/dev/iwlwifi/ |
| H A D | iwl-nvm-parse.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2005-2014, 2018-2023 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 14 #include "iwl-dr [all...] |
| /freebsd-src/contrib/file/magic/Magdir/ |
| H A D | audio | 2 #---------- [all...] |
| /freebsd-src/contrib/wpa/src/common/ |
| H A D | qca-vendor.h | 3 * Copyright (c) 2014-2017, Qualcomm Atheros, Inc. 4 * Copyright (c) 2018-2020, The Linux Foundation 5 * Copyright (c) 2021-2023, Qualcomm Innovation Center, Inc. 28 * enum qca_radiotap_vendor_ids - QCA radiotap vendor namespace IDs 41 * Global NSS configuration - Applies to all bands (2.4 GHz and 5/6 GHz) 62 * Per band NSS configuration - Applies to the 2.4 GHz or 5/6 GHz band 79 * Global chain configuration - Applies to all bands (2.4 GHz and 5/6 GHz) 96 * Per band chain configuration - Applies to the 2.4 GHz or 5/6 GHz band 117 * Case 1: CONFIG_NSS + CONFIG_TX_NSS/RX_NSS - Only CONFIG_NSS is applied 120 * Case 2: CONFIG_NSS + CONFIG_TX_NSS + CONFIG_RX_NSS - Sam [all...] |
| /freebsd-src/contrib/ncurses/misc/ |
| H A D | terminfo.src | 7 # bug-ncurses@gnu.org 19 # under the ncurses MIT-style license. That was the effect of the agreement 33 # some portions of the data are derivative work under a compatible MIT-style 36 #------------------------------------------------------------------------------ 37 # https://invisible-island.net/ncurses/ncurses.faq.html#terminfo_copying 38 # https://invisible-island.net/personal/copyrights.html#removing_notes 39 #------------------------------------------------------------------------------ 48 # Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu 54 # This file describes the capabilities of various character-cell terminals, 55 # as needed by software such as screen-oriented editors. [all …]
|