| Age | Commit message (Collapse) | Author | Files | Lines |
|
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@
|
|
Problem reported by Ilja Van Sprundel.
ok stsp@, tb@
|
|
Problem reported by Ilja Van Sprundel.
ok deraadt@ tb@
|
|
on libusbhid, generally via SDL, shouldn't do it either since it's not
portable.
Suggested by deraadt@ after Ilja van Sprundel reported an issue with a
stale struct proc pointer in similar code.
ok kettenis@, deraadt@
|
|
double reset sequence.
From and tested by sc.dying at gmail on RTL8152 (ver 4c10) and RTL8153
(ver 5c20).
|
|
RNDIS status messages may indicate various conditions reported by
the hardware, including link status events. They're not supposed
to be universally treated as errors.
Issue reported by Artturi Alm, ok armani
|
|
ok stsp@
|
|
|
|
and urtwn_r88e_dma_init() into one; from FreeBSD r291902.
- Change the way the number of pages for public queue is calculated;
Based on the vendor driver's _InitQueueReservedPage(), the formula for
calculation of the number of pages for public priority queue is as follows:
if the device has 3 endpoints:
PUBQ = total number of Tx pages - HQ - LQ - NQ
if the device has 2 endpoints (i.e. has high and normal priority queues):
PUBQ = total number of Tx pages - HQ - NQ
- Don't write MCS8..MCS15 Tx power if the WNIC is a 1-stream Tx;
- Set R88E_TX_PAGE_COUNT to a correct value;
- Minimal enhancement in urtwn_open_pipes() for upcoming rtl8192eu chipset
support;
Tested with USB-N10 Nano (rtl8188cu), DWA-131 rev B (rtl8192cu), and
TL-WN725N v2 (rtl8188eu) on amd64.
ok stsp@
|
|
|
|
and bail out if the pointer has become invalid. This prevents
use-after-free memory accesses that corrupted the dwc2qtd pool.
This fix improves stability on the Raspberry Pi 3.
From Linux commit dc8730846948e517169f630826cd2c97615f5ee8
OK kettenis@
|
|
rtl8188eu chipset.
- Small code refactoring:
- replace hardcoded rate indexes with their name, like athn(4).
- replace fields offsets with the structure; from FreeBSD r294198.
- be compliant with definitions of the efuse in vendor hal_pg.h and
rename struct r92c_rom member names: s/channel_plan/reserved5/,
s/xtal_calib/channel_plan.
- no need to disable HWPDN twice in urtwn_r88e_power_on().
Tested by stsp@ and myself with RTL8188CUS, RTL8192CU, RTL8188EU, and
RTL8188CE devices.
ok stsp@
|
|
for failure.
ok armani@
|
|
|
|
|
|
ok stsp@
|
|
ok stsp@
|
|
race. Revert for now.
Issue found by claudio@.
|
|
This will help transitionning to an un-KERNEL_LOCK()ed IP
forwarding path.
Disucssed with bluhm@, ok claudio@
|