| /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 return -ENOENT; in mt76_get_of_data_from_mtd() 40 struct device_node *np = dev->dev->of_node; in mt76_get_of_data_from_mtd() 49 list = of_get_property(np, "mediatek,mtd-eeprom", &size); in mt76_get_of_data_from_mtd() 51 return -ENOENT; in mt76_get_of_data_from_mtd() [all …]
|
| H A D | mt76_connac_mac.c | 1 // SPDX-License-Identifier: ISC 20 he_ppet[0] = FIELD_PREP(IEEE80211_PPE_THRES_NSS_MASK, nss - 1) | in mt76_connac_gen_ppe_thresh() 28 for (i = 0; i < ppet_size - 1; i++) in mt76_connac_gen_ppe_thresh() 32 (0xff >> (8 - (ppet_bits - 1) % 8)); in mt76_connac_gen_ppe_thresh() 38 struct mt76_dev *dev = phy->dev; in mt76_connac_pm_wake() 43 cancel_delayed_work_sync(&pm->ps_work); in mt76_connac_pm_wake() 44 if (!test_bit(MT76_STATE_PM, &phy->state)) in mt76_connac_pm_wake() 47 if (pm->suspended) in mt76_connac_pm_wake() 50 queue_work(dev->wq, &pm->wake_work); in mt76_connac_pm_wake() 51 if (!wait_event_timeout(pm->wait, in mt76_connac_pm_wake() [all …]
|
| H A D | mac80211.c | 1 // SPDX-License-Identifier: ISC 88 /* UNII-5 */ 113 /* UNII-6 */ 120 /* UNII-7 */ 138 /* UNII-8 */ 207 struct mt76_dev *dev = phy->dev; in mt76_led_init() 208 struct ieee80211_hw *hw = phy->hw; in mt76_led_init() 209 struct device_node *np = dev->dev->of_node; in mt76_led_init() 211 if (!phy->leds.cdev.brightness_set && !phy->leds.cdev.blink_set) in mt76_led_init() 218 dev_info(dev->dev, in mt76_led_init() [all …]
|
| H A D | mt76.h | 1 /* SPDX-License-Identifier: ISC */ 98 #define mt76_is_usb(dev) ((dev)->bus->type == MT76_BUS_USB) 99 #define mt76_is_mmio(dev) ((dev)->bus->type == MT76_BUS_MMIO) 100 #define mt76_is_sdio(dev) ((dev)->bus->type == MT76_BUS_SDIO) 723 u8 ru:4; member 997 /* per-phy stats. */ 1096 s8 ru[7][12]; member 1127 #define __mt76_rr(dev, ...) (dev)->bus->rr((dev), __VA_ARGS__) 1128 #define __mt76_wr(dev, ...) (dev)->bus->wr((dev), __VA_ARGS__) 1129 #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-2025 Intel Corporation 11 * AUX indices follows - 1 for non-CDB, 2 for CDB. 31 * enum iwl_mac_protection_flags - MAC context flags 50 * enum iwl_mac_types - Supported MAC types 54 * @FW_MAC_TYPE_PIBSS: Pseudo-IBSS 78 * enum iwl_tsf_id - TSF hw timer ID 94 * struct iwl_mac_data_ap - configuration data for AP MAC context 117 * struct iwl_mac_data_ibss - configuration data for IBSS MAC context 133 * enum iwl_mac_data_policy - policy of the data path for this MAC [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-2025 Intel Corporation 14 * enum iwl_tlc_mng_cfg_flags - options for TLC config flags 38 * enum iwl_tlc_mng_cfg_cw - channel width options 54 * enum iwl_tlc_mng_cfg_chains - possible chains 64 * enum iwl_tlc_mng_cfg_mode - supported modes 84 * enum iwl_tlc_mng_ht_rates - HT/VHT/HE rates 122 * enum IWL_TLC_MCS_PER_BW - mcs index per BW 123 * @IWL_TLC_MCS_PER_BW_80: mcs for bw - 20Hhz, 40Hhz, 80Hhz 124 * @IWL_TLC_MCS_PER_BW_160: mcs for bw - 160Mhz [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-2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 13 * enum iwl_mac_conf_subcmd_ids - mac configuration command IDs 104 * struct iwl_p2p_noa_attr - NOA attr contained in probe resp FW notification 127 * struct iwl_probe_resp_data_notif - notification with NOA and CSA counter 144 * struct iwl_missed_vap_notif - notification of missing vap detection 159 * struct iwl_channel_switch_start_notif_v1 - Channel switch start notification 168 * struct iwl_channel_switch_start_notif - Channel switch start notification [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/iwlwifi/mld/ |
| H A D | link.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2024-2025 Intel Corporation 25 lockdep_assert_wiphy(mld->wiphy); in iwl_mld_send_link_cmd() 27 cmd->action = cpu_to_le32(action); in iwl_mld_send_link_cmd() 40 struct ieee80211_vif *vif = link_conf->vif; in iwl_mld_add_link_to_fw() 45 lockdep_assert_wiphy(mld->wiphy); in iwl_mld_add_link_to_fw() 48 return -EINVAL; in iwl_mld_add_link_to_fw() 50 cmd.link_id = cpu_to_le32(link->fw_id); in iwl_mld_add_link_to_fw() 51 cmd.mac_id = cpu_to_le32(mld_vif->fw_id); in iwl_mld_add_link_to_fw() 52 cmd.spec_link_id = link_conf->link_id; in iwl_mld_add_link_to_fw() [all …]
|
| H A D | mac80211.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2024-2025 Intel Corporation 26 #include "ftm-initiator.h" 36 #include "iwl-trans.h" 111 struct wiphy *wiphy = mld->wiphy; in iwl_mld_hw_set_addresses() 115 memcpy(mld->addresses[0].addr, mld->nvm_data->hw_addr, ETH_ALEN); in iwl_mld_hw_set_addresses() 116 wiphy->addresses = mld->addresses; in iwl_mld_hw_set_addresses() 117 wiphy->n_addresses = 1; in iwl_mld_hw_set_addresses() 120 if (mld->nvm_data->n_hw_addrs > 1) in iwl_mld_hw_set_addresses() 121 num_addrs = min(mld->nvm_data->n_hw_addrs, in iwl_mld_hw_set_addresses() [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-2025 Bjoern A. Zeeb 58 /* hw->conf.flags */ 66 /* (*ops->config()) */ 92 FIF_FLAGS_MASK = BIT(8)-1, 132 /* 802.11 Figure 9-256 Suite selector format. [OUI(3), SUITE TYPE(1)] */ 135 /* 802.11 Table 9-131 Cipher suite selectors. */ 142 #define WLAN_CIPHER_SUITE_CCMP WLAN_CIPHER_SUITE(4) /* CCMP-128 */ 144 #define WLAN_CIPHER_SUITE_AES_CMAC WLAN_CIPHER_SUITE(6) /* BIP-CMAC-128 */ [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 …]
|
| /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/dev/iwx/ |
| H A D | if_iwxreg.h | 1 /*- 2 * SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 7 /*- 8 * Based on BSD-licensed source modules in the Linux iwlwifi driver, 19 * Copyright(c) 2018 - 2019 Intel Corporation 33 * Copyright(c) 2018 - 2019 Intel Corporation 71 * enum iwx_context_info_flags - Context information control flags 77 * exponent, the actual size is 2**value, valid sizes are 8-2048. 80 * default is short format - not supported by the driver) 114 * struct iwx_context_info_version - version structure [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, 2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 15 #include "iwl-drv.h" 16 #include "iwl-modparams.h" 17 #include "iwl-nvm-parse.h" 18 #include "iwl-prph.h" 19 #include "iwl-io.h" 20 #include "iwl-csr.h" [all …]
|