/freebsd/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 --- 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> 25 - mediatek,mt76 26 - mediatek,mt7628-wmac 27 - mediatek,mt7622-wmac [all …]
|
/freebsd/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, o [all...] |
/freebsd/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/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/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/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() local 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) - sizeof(cap->optional); in ieee80211_invalid_he_cap_size() [all …]
|
H A D | hw_features.c | 3 * Copyright 2002-2003, Instant802 Networks, Inc. 4 * Copyright 2005-2006, Devicescape Software, Inc. 5 * Copyright (c) 2008-2012, Jouni Malinen <j@w1.fi> 38 os_free(hw_features[i].rates); in hostapd_free_hw_features() 51 switch (chan->flag & HOSTAPD_CHAN_DFS_MASK) { in dfs_info() 68 info[sizeof(info) - 1] = '\0'; in dfs_info() 77 struct hostapd_data *hapd = iface->bss[0]; in hostapd_get_hw_features() 87 return -1; in hostapd_get_hw_features() 95 return -1; in hostapd_get_hw_features() 98 iface->hw_flags = flags; in hostapd_get_hw_features() [all …]
|
/freebsd/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/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-VLAN type in mac80211 for example, there's [all …]
|
H A D | driver.h | 3 * Copyright (c) 2003-2017, Jouni Malinen <j@w1.fi> 74 * enum reg_change_initiator - Regulatory change initiator 85 * enum reg_type - Regulatory change types 96 * struct hostapd_wmm_rule - WMM regulatory rule 110 * struct hostapd_channel_data - Channel information 114 * chan - Channel number (IEEE 802.11) 119 * freq - Frequency in MHz 124 * flag - Channel flags (HOSTAPD_CHAN_*) 129 * allowed_bw - Allowed channel width bitmask 136 * max_tx_power - Regulatory transmit power limit in dBm [all …]
|
/freebsd/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/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, (-1)}, 188 [SOUND_MIXER_PCM] = {1, 0, (-1)}, 194 [SOUND_MIXER_LINE2] = {1, 1, 4}, /* in4 Line-In2 */ 195 [SOUND_MIXER_DIGITAL3] = {1, 1, 5}, /* in5 on-card SPDIF */ 212 if (sc->route == RT_FRONT) { in emu_dspmixer_init() [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/net/ |
H A D | mac80211.h | 1 /*- 2 * Copyright (c) 2020-2025 The FreeBSD Foundation 3 * Copyright (c) 2020-2022 Bjoern A. Zeeb 56 /* hw->conf.flags */ 64 /* (*ops->config()) */ 127 /* 802.11 Figure 9-256 Suite selector format. [OUI(3), SUITE TYPE(1)] */ 130 /* 802.11 Table 9-131 Cipher suite selectors. */ 137 #define WLAN_CIPHER_SUITE_CCMP WLAN_CIPHER_SUITE(4) /* CCMP-128 */ 139 #define WLAN_CIPHER_SUITE_AES_CMAC WLAN_CIPHER_SUITE(6) /* BIP-CMAC-128 */ 147 /* Reserved 14-255 */ [all …]
|
/freebsd/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-bit U-LE PCM"}, 437 {UA_FMT_PCM8, 16, AFMT_U16_LE, "16-bit U-LE PCM"}, 438 {UA_FMT_PCM8, 24, AFMT_U24_LE, "24-bit U-LE PCM"}, 439 {UA_FMT_PCM8, 32, AFMT_U32_LE, "32-bit U-LE PCM"}, [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | ieee802_11_defs.h | 3 * Copyright (c) 2002-2019, Jouni Malinen <j@w1.fi> 4 * Copyright (c) 2007-2008 Intel Corporation 122 /* Status codes (IEEE Std 802.11-2020, 9.4.1.9, Table 9-50) */ 237 /* Reason codes (IEEE Std 802.11-2020, 9.4.1.7, Table 9-90) */ 301 /* Element IDs (IEEE Std 802.11-2020, 9.4.2.1, Table 9-92) */ 534 /* 5 - Reserved */ 564 /* 35 - Reserved */ 570 /* 41-43 - Service Interval Granularity */ 586 /* 59 - Reserved */ 590 /* 63-64 - Max Number of MSDUs In A-MSDU */ [all …]
|
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 - Same NSS values are [all …]
|
/freebsd/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/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/contrib/file/magic/Magdir/ |
H A D | audio | 2 #------------------------------------------------------------------------------ 12 >12 belong 1 8-bit ISDN mu-law, 14 >12 belong 2 8-bit linear PCM [REF-PCM], 16 >12 belong 3 16-bit linear PCM, 18 >12 belong 4 24-bit linear PCM, 20 >12 belong 5 32-bit linear PCM, 22 >12 belong 6 32-bit IEEE floating point, 24 >12 belong 7 64-bit IEEE floating point, 28 >12 belong 11 8-bit fixed point, 29 >12 belong 12 16-bit fixed point, [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | scan.c | 2 * WPA Supplicant - Scanning 3 * Copyright (c) 2003-2019, Jouni Malinen <j@w1.fi> 39 if (wpa_s->current_ssid == NULL) { in wpa_supplicant_gen_assoc_event() 40 wpa_s->current_ssid = ssid; in wpa_supplicant_gen_assoc_event() 45 "network - generating associated event"); in wpa_supplicant_gen_assoc_event() 58 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in wpas_wps_in_use() 59 if (!(ssid->key_mgmt & WPA_KEY_MGMT_WPS)) in wpas_wps_in_use() 64 if (ssid->eap.phase1 && os_strstr(ssid->eap.phase1, "pbc=1")) in wpas_wps_in_use() 69 if (!wpa_s->global->p2p_disabled && wpa_s->global->p2p && in wpas_wps_in_use() 70 !wpa_s->conf->p2p_disabled) { in wpas_wps_in_use() [all …]
|