Age | Commit message (Collapse) | Author |
|
of the if_snd queue doesn't stall.
ok stsp@
|
|
behaves erratically and drops packets on TX. Found the hard way by
Jared McNeill. While there, also set the priority field.
ok stsp@
|
|
SIOCGIF{HARD,}MTU are handled by ifioctl() and not passed down to
drivers.
ok visa@
|
|
getting the data we expect to be getting. Otherwise the firmware
can starve our USB RX descriptors using invalid packets.
Caught by Jared McNeill.
|
|
pass the proper size.
Caught by Jared McNeill.
|
|
buffers. By storing the pointer of the TX mbuf in the TX buffer,
we can make sure to free the mbuf properly after TX completed.
This also seems to speed up the WiFi scan.
previous version ok stsp@
|
|
|
|
FullMAC, in comparison to SoftMAC, does most WiFi handling in the
firmware that's running on the controller. This means we have to
work around the net80211 stack while still implementing all the
WiFi interfaces to userland.
This driver is still in early development. So far it can connect
to open WiFis over the USB bus. SDIO and PCIe support, for devices
like the Raspberry Pi 3 or the Macbooks, is not yet implemented.
Also mbufs on the transmit path leak and are not yet freed.
ok stsp@
|
|
Fix regression introdruced in previous.
Found the hardway and diff from weerd@
|
|
sensor to the ugold(4) driver.
Patch by Jan Klemkow
Tested by Remi Locherer
ok mpi@ patrick@
|
|
Without it uhid_do_ioctl() will return EINVAL which will make the
upper layer assume that uhid node do not support non-blocking reads.
Fix a regression introduced by the removal of SIGIO support.
Reported by many, fix tested by Bryan Linton, Micah Muer and Nam Nguyen.
|
|
This assert triggers because of the floor check on amd64/sparc64
when ohci(4) processes its root-hub status change transfers at
IPL_BIO.
Previous to the removal of IPL_SOFTNET, the SPLUSBCHECK macro didn't
do anything, so it is safe to disable this check.
Issue reported by espie@ and krw@
|
|
- save product type for future use
|
|
- explicitly clear sc_xfer upon detach
- fix spacing in urng_softc definition
|
|
This is just a step forward which allows further progress to happen in-tree.
The isochronous code path remains disabled for now. Playing audio over
xhci(4) does not work properly yet, and I haven't even tested video input.
Based on a work-in-progress diff by mpi@ from 2015.
ok mpi@
|
|
|
|
ok mpi@
|
|
|
|
ok mpi@
|
|
It made one of my machines get stuck during boot.
|
|
endpoint companion descriptor.
ok mpi@
|
|
Each TRB contains a remaining TD size, which allows hardware to tell whether
additional TRBs follow within the current transfer without reading ahead.
The length of the first TRB was subtracted from the total length before
calculating the remaining TD sizes. This is wrong because remaining TD sizes
are relative to the size of the entire transfer, including the first TRB.
Our current USB code does not trigger this bug because there is no code in
upper layers yet which triggers use of multiple TRBs per transfer.
ok mpi@
|
|
puts us in line with the linux driver. Also add a DPRINTF for endpoints.
"i'd say go for it" jasper@
|
|
tested by abieber@
|
|
sc_inpipe too
|
|
including ramdisks without usb support...
|
|
driver per device, start bundling them into a single driver.
urng(4) supports the device currently supported by ualea(4) and adds support for
the Altusmetrum ChaosKey 1.0, by abieber@
This was tested by abieber@ with a ChaosKey and Sean Levy with an Alea II
ok abieber@ deraadt@ naddy@
|
|
|
|
OK jasper@
|
|
Tested with TL-WN725N v2 (rtl8188eu) on amd64.
ok stsp@
|
|
Coverity CIDs 1452970 1453305.
|
|
urtw_alloc_tx_data_list(), CID 980284.
ok stsp@
|
|
- rename bit definition of R88E_TX_RPT1_ENA to reflect reality
- no need to set R92C_FPGA0_ANAPARAM2 for 40mhz for rtl8188eu
- in rtwn_write_txpower(), writing to MCS8-15 power registers if the WNIC
has 2 spatial streams
ok stsp@
|
|
Patch by Mike Korbakov
|
|
|
|
Patch by Mike Korbakov
|
|
if a hypothetical and malicious USB device reports no Rx endpoints.
ok mpi@
|
|
Tested by Hrvoje Popovski, ok bluhm@
|
|
Coverity CID 1453399; ok deraadt@
|
|
Patch by Jacqueline Jolicoeur
ok deraadt
|
|
|
|
Patch by Jacqueline Jolicoeur
ok deraadt
|
|
access.
ok visa@, mpi@, deraadt@
|
|
ok mpi@
|
|
latest ways to encode the MAC address for the onboard USB Ethernet.
ok visa@
|
|
bytes. This would exceed the mbuf cluster size. Use larger clusters
in this case.
bug report Ilja Van Sprundel; OK deraadt@ stsp@
|
|
with expected behavior.
OK mpi@ patrick@
|
|
Problem found by Ilja Van Sprundel.
ok kevlo
|
|
supplicant and net80211 state machine changes. While here, make rsu(4)
report the correct channel for received frames to tcpdump(8).
ok deraadt@
|
|
Due to signedness issues the existing checks didn't work as intended.
Problem reported by Ilja Van Sprundel.
ok deraadt@
|