/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/sys/contrib/dev/iwlwifi/ |
H A D | iwl-eeprom-parse.c |
|
/freebsd/sys/net80211/ |
H A D | ieee80211_radiotap.h | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 67 * Note well: all radiotap fields are little-endian. 92 * ---- [all...] |
H A D | _ieee80211.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 53 * PHY mode; this is not really a mode as multi-mode devices 100 IEEE80211_PROT_RTSCTS = 2, /* RTS-CTS */ 113 IEEE80211_AUTH_SHARED = 2, /* shared-key */ 115 IEEE80211_AUTH_AUTO = 4, /* auto-select/accept */ 142 int8_t ic_maxregpower; /* maximum regulatory tx power in dBm */ 143 int8_t ic_maxpower; /* maximum tx power in .5 dBm */ 144 int8_t ic_minpower; /* minimum tx power in .5 dBm */ [all …]
|
H A D | ieee80211_scan.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 57 * Roaming-related defaults. RSSI thresholds are as returned by the 58 * driver (.5dBm). Transmit rate thresholds are IEEE rate codes (i.e 64 #define ROAM_RSSI_11BONLY_DEFAULT 14 /* 11b-only bss */ 68 #define ROAM_RATE_11BONLY_DEFAULT 2*1 /* 11b-onl [all...] |
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_reset.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 33 (AH_PRIVATE(_ah)->ah_eeversion & AR5416_EEP_VER_MINOR_MASK) 122 HALASSERT(AH_PRIVATE(ah)->ah_eeversion >= AR_EEPROM_VER14_1); in ar5416Reset() 144 * Don't do this for the AR9285 - it breaks RX for single in ar5416Reset() 173 (ah->ah_config.ah_force_full_reset)) in ar5416Reset() 192 AH5416(ah)->ah_writeIni(ah, chan); in ar5416Reset() 230 * This routine swaps the analog chains - it should be done in ar5416Reset() [all …]
|
/freebsd/sys/dev/iwn/ |
H A D | if_iwnreg.h | 3 /*- 52 /* RX buffers must be large enough to hold a full 4K A-MPDU. */ 56 /* HW supports 36-bit DMA addresses. */ 108 * Flow-Handler registers. 191 #define IWN_PRPH_DWORD ((sizeof (uint32_t) - 1) << 24) 418 * 28-14: Reserved 419 * 13-00: RX frame size 444 /* 0:4 TX queue id - 5:6 reserved - 7 unsolicited RX 445 * or uCode-originated notification 616 #define IWN4965_RXONSZ (sizeof (struct iwn_rxon) - 6) [all …]
|
/freebsd/share/doc/papers/sysperf/ |
H A D | 4.t | 62 translating path names to inodes\u\s-21\s0\d\**. 64 \** \u\s-21\s0\d Inode is an abbreviation for ``Index node''. 101 cache we ran ``ls \-l'' 103 Before the per-process cache this command 129 Table 9. Call times for \fInamei\fP with per-process cache. 161 maintained a simple name-inode association that was used to 194 by a \fIcapability\fP \- a 32-bit number 195 guaranteed to be unique\u\s-22\s0\d \**. 197 \** \u\s-22\s0\d When all the numbers have been exhausted, all outstanding 220 using 10-50 kilobytes of physical memory. [all …]
|
/freebsd/lib/libc/db/hash/ |
H A D | hash.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 75 u_int32_t low_mask; /* Mask to modulo into lower half of 102 int error; /* Error Number -- for DBM 169 (B) + hashp->HDRPAGES + ((B) ? hashp->SPARES[__log2((B)+1)-1] : 0) 171 BUCKET_TO_PAGE ( (1 << SPLITNUM((B))) -1 ) + OPAGENUM((B)); 194 * KEY_OFF -- offset of the beginning of the key 195 * PARTIAL_KEY -- 1 196 * OVFL_PAGENO - page number of the next overflow page 197 * OVFLPAGE -- 0 [all …]
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 61 const char *name = (*pchip)->probe(vendorid, devid); in ath_hal_probe() 68 const char *name = pc->probe(vendorid, devid); in ath_hal_probe() 97 if (chip->probe(ATHEROS_VENDOR_ID, devid) == AH_NULL) in ath_hal_attach() 99 ah = chip->attach(devid, sc, st, sh, eepromdata, ah_config, in ath_hal_attach() 103 ah->ah_devid = AH_PRIVATE(ah)->ah_devid; in ath_hal_attach() 104 ah->ah_subvendorid = AH_PRIVATE(ah)->ah_subvendorid; in ath_hal_attach() [all …]
|
/freebsd/sys/dev/bwi/ |
H A D | bwirf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 81 (ieee80211_ieee2mhz((chan), IEEE80211_CHAN_2GHZ) - 2400) 106 #define SAVE_RF_REG(mac, regs, n) (regs)->rf_##n = RF_READ((mac), 0x##n) 107 #define RESTORE_RF_REG(mac, regs, n) RF_WRITE((mac), 0x##n, (regs)->rf_##n) 109 #define SAVE_PHY_REG(mac, regs, n) (regs)->phy_##n = PHY_READ((mac), 0x##n) 110 #define RESTORE_PHY_REG(mac, regs, n) PHY_WRITE((mac), 0x##n, (regs)->phy_##n) 167 val -= 64; in bwi_nrssi_11g() 181 return &mac->mac_rf.rf_lo[n]; in bwi_get_rf_lo() 187 struct bwi_rf *rf = &mac->mac_rf; in bwi_rf_lo_isused() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar2316.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 62 #define AR2316(ah) ((struct ar2316State *) AH5212(ah)->ah_rfHal) 78 if (!ahp->ah_cwCalRequire) { in ar2316WriteRegs() 81 ahp->ah_cwCalRequire = AH_FALSE; in ar2316WriteRegs() 104 if (((freq - 2192) % 5) == 0) { in ar2316SetChannel() 105 channelSel = ((freq - 672) * 2 - 3040)/10; in ar2316SetChannel() 107 } else if (((freq - 2224) % 5) == 0) { in ar2316SetChannel() [all …]
|
H A D | ar2413.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 58 #define AR2413(ah) ((struct ar2413State *) AH5212(ah)->ah_rfHal) 91 if (((freq - 2192) % 5) == 0) { in ar2413SetChannel() 92 channelSel = ((freq - 672) * 2 - 3040)/10; in ar2413SetChannel() 94 } else if (((freq - 2224) % 5) == 0) { in ar2413SetChannel() 95 channelSel = ((freq - 704) * 2 - 3040) / 10; in ar2413SetChannel() 117 freq = freq - 2; /* Align to even 5MHz raster */ in ar2413SetChannel() [all …]
|
H A D | ar2317.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 62 #define AR2317(ah) ((struct ar2317State *) AH5212(ah)->ah_rfHal) 94 channelSel = freq - 2272 ; in ar2317SetChannel() 108 ((freq - 4800) / 20 << 2), 8); in ar2317SetChannel() 112 ((freq - 4800) / 10 << 1), 8); in ar2317SetChannel() 116 (freq - 4800) / 5, 8); in ar2317SetChannel() 131 AH_PRIVATE(ah)->ah_curchan = chan; in ar2317SetChannel() [all …]
|
H A D | ar5413.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 58 #define AR5413(ah) ((struct ar5413State *) AH5212(ah)->ah_rfHal) 91 if (((freq - 2192) % 5) == 0) { in ar5413SetChannel() 92 channelSel = ((freq - 672) * 2 - 3040)/10; in ar5413SetChannel() 94 } else if (((freq - 2224) % 5) == 0) { in ar5413SetChannel() 95 channelSel = ((freq - 704) * 2 - 3040) / 10; in ar5413SetChannel() 117 freq = freq - 2; /* Align to even 5MHz raster */ in ar5413SetChannel() [all …]
|
H A D | ar5212_reset.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 78 #define V(r, c) (ia)->data[((r)*(ia)->cols) + (c)] in write_common() 82 for (r = 0; r < ia->rows; r++) { in write_common() 141 HALASSERT(ah->ah_magic == AR5212_MAGIC); in ar5212Reset() 142 ee = AH_PRIVATE(ah)->ah_eeprom; in ar5212Reset() 171 HALASSERT(AH_PRIVATE(ah)->ah_eeversion >= AR_EEPROM_VER3); in ar5212Reset() 188 * only) - the best and most general fix for this situation in ar5212Reset() [all …]
|
H A D | ar2425.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 46 #define AR2425(ah) ((struct ar2425State *) AH5212(ah)->ah_rfHal) 64 if (AH_PRIVATE(ah)->ah_ispcie && && ath_hal_pcieL1SKPEnable) { in ar2425WriteRegs() 98 channelSel = freq - 2272; in ar2425SetChannel() 112 freq = freq - 2; /* Align to even 5MHz raster */ in ar2425SetChannel() 114 (uint32_t)(((freq - 4800)*10)/25 + 1), 8); in ar2425SetChannel() 118 ((freq - 4800) / 20 << 2), 8); in ar2425SetChannel() [all …]
|
/freebsd/sbin/ifconfig/ |
H A D | ifieee80211.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 30 /*- 131 /* XXX should also figure out where to put these for k/u-space sharing. */ 171 [IEEE80211_MODE_HALF] = "half", 257 errx(-1, "missing or corrupted regdomain database"); in getregdata() 272 const struct ieee80211_channel *fc = &chaninfo->ic_chans[i]; in canpromote() 275 if ((fc->ic_flags & from) != from) in canpromote() 278 if (i+1 < chaninfo->ic_nchans && in canpromote() 279 chaninfo->ic_chans[i+1].ic_freq == fc->ic_freq && in canpromote() [all …]
|
H A D | ifconfig.8 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-3-Clause 93 .Bl -tag -width indent 120 The format is specified as a comma-separated list of 141 .Bl -tag -width default 145 .Bl -tag -width default -compact 158 Adjust the display of link-level ethernet (MAC) addresses: 160 .Bl -tag -width default -compact 175 .Bl -tag -width default -compact 192 .Bl -tag -width default -compact [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 …]
|
/freebsd/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 - Same NSS values are [all …]
|
/freebsd/contrib/sendmail/doc/op/ |
H A D | op.me | 1 .\" Copyright (c) 1998-2013 Proofpoint, Inc. and its suppliers. 12 .\" $Id: op.me,v 8.759 2014-01-13 14:40:05 ca Exp $ 14 .\" eqn op.me | pic | troff -me 51 .eh 'SMM:08-%''Sendmail Installation and Operation Guide' 52 .oh 'Sendmail Installation and Operation Guide''SMM:08-%' 74 .b SENDMAIL\u\s-6TM\s0\d 103 .i Sendmail \u\s-2TM\s0\d 107 It is not tied to any one transport protocol \*- 173 explains the day-to-day information you should know 185 contains the nitty-gritty information about the configuration [all …]
|
/freebsd/tools/tools/ath/athstats/ |
H A D | athstats.c | 1 /*- 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 65 ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul)) 81 { 7, "short", "short", "short on-chip tx retries" }, 83 { 7, "long", "long", "long on-chip tx retries" }, 239 { 5, "rate-", "rate-", "rate control dropped xmit rate" }, 255 { 5, "rxagg", "rxagg", "A-MPDU sub-frames received" }, 257 { 5, "rxhalfgi", "rxhgi", "Half-GI frames received" }, 261 { 11, "rxprecrcerr", "rxprecrcerr", "CRC errors for non-last A-MPDU subframes" }, 263 { 12, "rxpostcrcerr", "rxpostcrcerr", "CRC errors for last subframe in an A-MPDU" }, [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-802_11.c | 27 #include "netdissect-stdinc.h" 123 { CTRL_PS_POLL, "Power Save-Poll" }, 124 { CTRL_RTS, "Request-To-Send" }, 125 { CTRL_CTS, "Clear-To-Send" }, 127 { CTRL_CF_END, "CF-End" }, 128 { CTRL_END_ACK, "CF-End+CF-Ack" }, 151 * bits - CF-Ack, CF-Poll, Null (means the frame doesn't actually have 205 uint8_t text[254]; /* 1-253 + 1 for null */ 428 * the MCS index (0-76); 853 "the Basic HT-MCS Set field of the HT Operation " [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | wmi.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 28 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff 44 * variable is already 4-byte aligned by virtue of being a u32 526 * for wmi_services is 64 as target is using only 4-bits of each 32-bit 532 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \ 533 BIT(((((svc_id) - (len)) % 28) & 0x1f) + 4)) 1159 /** DFS-specific commands */ [all …]
|