/freebsd/tools/tools/ath/athalq/ |
H A D | ar5416_ds_tdma.c | 41 struct ar5416_desc txs; in ar5416_decode_txstatus() local 44 /* XXX assumes txs is smaller than PAYLOAD_LEN! */ in ar5416_decode_txstatus() 45 memcpy(&txs, &a->payload, sizeof(struct ar5416_desc)); in ar5416_decode_txstatus() 47 if (MF(txs.u.tx.status[9], AR_TxDone) == 0) in ar5416_decode_txstatus() 50 printf("[%u] [%llu] TXSTATUS: TxDone=%d, TS=0x%08x (delta %d)\n", in ar5416_decode_txstatus() 51 (unsigned int) be32toh(a->hdr.tstamp), in ar5416_decode_txstatus() 52 (unsigned long long) be64toh(a->hdr.threadid), in ar5416_decode_txstatus() 53 MF(txs.u.tx.status[9], AR_TxDone), in ar5416_decode_txstatus() 54 txs.u.tx.status[2], in ar5416_decode_txstatus() 55 txs.u.tx.status[2] - tx_tsf); in ar5416_decode_txstatus() [all …]
|
/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 --- [all...] |
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | mac.c | 1 // SPDX-License-Identifier: ISC 23 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2) 26 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 40 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 51 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 99 wcid = rcu_dereference(dev->mt76.wcid[idx]); in mt7615_rx_get_wcid() 103 if (!wcid->sta) in mt7615_rx_get_wcid() 107 if (!sta->vif) in mt7615_rx_get_wcid() 110 return &sta->vif->sta.wcid; in mt7615_rx_get_wcid() 115 struct mt7615_dev *dev = phy->dev; in mt7615_mac_reset_counters() [all …]
|
/freebsd/sys/dev/usb/wlan/ |
H A D | if_run.c | 1 /*- 5 * Copyright (c) 2013-2014 Kevin Lo 21 /*- 115 device_printf((_sc)->sc_dev, __VA_ARGS__); \ 531 /* MCS - single stream */ 541 /* MCS - 2 streams */ 551 /* MCS - 3 streams */ 732 if (uaa->dev_state != UAA_DEV_READY) in run_autoinst() 738 id = iface->idesc; in run_autoinst() 739 if (id == NULL || id->bInterfaceClass != UICLASS_MASS) in run_autoinst() [all …]
|
/freebsd/sys/dev/ral/ |
H A D | rt2860.c | 1 /*- 2 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> 21 /*- 70 #define DPRINTF(x) do { if (sc->sc_debug > 0) printf x; } while (0) 71 #define DPRINTFN(n, x) do { if (sc->sc_debug >= (n)) printf x; } while (0) 238 struct ieee80211com *ic = &sc->sc_ic; in rt2860_attach() 242 sc->sc_dev = dev; in rt2860_attach() 243 sc->sc_debug = 0; in rt2860_attach() 245 mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, in rt2860_attach() 248 callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0); in rt2860_attach() [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 …]
|
/freebsd/sys/dev/iwn/ |
H A D | if_iwn.c | 1 /*- 2 * Copyright (c) 2007-2009 Damien Bergamini <damien.bergamini@free.fr> 6 * Copyright (c) 2013 Cedric GROSS <c.gross@kreiz-it.fr> 84 { 0x8086, IWN_DID_6x05_1, "Intel Centrino Advanced-N 6205" }, 85 { 0x8086, IWN_DID_1000_1, "Intel Centrino Wireless-N 1000" }, 86 { 0x8086, IWN_DID_1000_2, "Intel Centrino Wireless-N 1000" }, 87 { 0x8086, IWN_DID_6x05_2, "Intel Centrino Advanced-N 6205" }, 88 { 0x8086, IWN_DID_6050_1, "Intel Centrino Advanced-N + WiMAX 6250" }, 89 { 0x8086, IWN_DID_6050_2, "Intel Centrino Advanced-N + WiMAX 6250" }, 90 { 0x8086, IWN_DID_x030_1, "Intel Centrino Wireless-N 1030" }, [all …]
|
/freebsd/sys/dev/otus/ |
H A D | if_otus.c | 3 /*- 98 device_printf(sc->sc_dev, __VA_ARGS__); \ 275 if (uaa->usb_mode != USB_MODE_HOST || in otus_match() 276 uaa->info.bIfaceIndex != 0 || in otus_match() 277 uaa->info.bConfigIndex != 0) in otus_match() 292 sc->sc_udev = uaa->device; in otus_attach() 293 sc->sc_dev = self; in otus_attach() 295 mtx_init(&sc->sc_mtx, device_get_nameunit(self), MTX_NETWORK_LOCK, in otus_attach() 298 TIMEOUT_TASK_INIT(taskqueue_thread, &sc->scan_to, 0, otus_next_scan, sc); in otus_attach() 299 TIMEOUT_TASK_INIT(taskqueue_thread, &sc->calib_to, 0, otus_calibrate_to, sc); in otus_attach() [all …]
|
/freebsd/share/misc/ |
H A D | usb_vendors | 6 # http://www.linux-usb.org/usb-ids.html 7 # or send entries as patches (diff -u old new) in the 10 # http://www.linux-usb.org/usb.ids 13 # Date: 2024-07-04 20:34:02 20 # device device_name <-- single tab 21 # interface interface_name <-- two tabs 38 5301 GW-US54ZGL 802.11bg 54 145f NW-3100 802.11b/g 54Mbps Wireless Network Adapter [zd1211] 62 0200 TP-Link 81 120e ASI120MC-S Planetary Camera [all …]
|