Age | Commit message (Collapse) | Author |
|
Prevent an infinite loop when aborting ulpt(4)'s pipe after an I/O error.
Found by and ok stsp@
|
|
fields are naturally aligned, it is enough to remove __packed.
This lets the compiler generate saner machine code. In particular, now
the compiler does not use lwl/lwr and swl/swr instructions on mips64
for changing xhci descriptors. The descriptors are properly aligned in
memory, so lwl/lwr and swl/swr end up doing a redundant load or store.
Feedback from guenther@ deraadt@
Tested on amd64 by krw@
OK mpi@ krw@ kettenis@
|
|
ok visa@, kn@
|
|
MBIM_IPCONF_HAS_GWINFO are available. Configuring umb(4) without gateway
wont work the system needs a destination address for the interface.
Problem found by jsg@.
OK jsg@ deraadt@
|
|
ok visa@, kn@, cheloha@
|
|
ok visa@, kn@
|
|
ok visa@, kn@, cheloha@
|
|
sweep tree to correct NDIINT op and flags ahead of time. document
the requirement. This allows KERNELPATH to be used to bypass
unveil for crash dumps with nosuidcoredump=2 or 3
ok visa@ deraadt@ florian@
|
|
ip only whereas DTL_LOOP passes the address family of the packet and so
supports more address families.
To make this work umb_decap() prepends the AF to the packet and which is
consumed then by umb_input(). Similar umb_output() sets ph_family in the
mbuf header which is used by umb_start().
OK deraadt@ dlg@
|
|
(unlikely) failure path remains noisy.
discussed with claudio
|
|
has a lower priority than wifi or wired LAN and so should only be used when
no other interface is available. With this using umb(4) becomes less painful
Now ifconfig umb0 up will be enough especially if unwind(8) is used to handle
DNS requests.
OK deraadt@ job@ benno@
|
|
This reduces drops caused by the ifq pressure drop mechanism and hence
increases throughput. Such drops are visible with e.g. 'netstat -dnI iwm0'.
Not all affected drivers have been tested yet but these changes are largely
mechanical and should be safe. As usual, please report any regressions.
With help from dlg@ and mpi@
Problem found by robert@
Tested by robert, jmc, Tracey Emer, Matthias Schmidt, florian, Björn Ketelaars
ok mpi@
|
|
This simplifies the code and allows any block size multiple of 1ms to
be used when play and recording number of channels are not the same.
ok mpi@
|
|
|
|
Tested by myself, jcs@
|
|
|
|
|
|
wiping the entire cache every time a scan is triggered.
This has benefits for userland programs trying to look at scan results,
and for drivers which don't get a full view from hardware on every scan.
Nodes will still be evicted from the cache in one of several ways:
Add a new way of timing out inactive nodes which don't send a beacon
within 10 scan iterations, for client mode only. This should get rid
of stale APs if we're scanning for some time in a changing environment.
If we fail to associate a few times, the corresponding node is removed.
If net80211 transitions back to INIT state (e.g. because of a
user-initiated configuration change) all nodes are removed.
When a background scan starts all nodes will be removed. This could be
revisited later but has been intentionally left as-is for now.
Tested by myself, jmc@, benno@, procter@ on iwm(4), athn(4) and ral(4).
|
|
Also change the storage type for the DNS addresses to struct in_addr since
that is more convinient for userland. This includes some minor other cleanup.
OK gerhard@
|
|
ratchov@
|
|
|
|
seen on a Lenovo X395 which combines normal webcam functionality
with another IR camera, by parsing the USB interface association
descriptors. This fixes the symptom of uvideo(4) complaining
about too many headers and not providing any functionality at all.
ok jan@
|
|
as seen on the IR camera of my Lenovo X395.
ok jan@
|
|
All callers sleep indefinitely.
With help from visa@.
ok visa@, ratchov@, kn@
|
|
sizes with each specification. Use the correct size for the given
version, since some newer devices cannot handle small buffers.
ok jan@
|
|
compiled in.
ok jan@
|
|
ok jan@
|
|
ok deraadt@
|
|
ok mpi@
|
|
|
|
IF_WIRELESS_DEFAULT_PRIORITY and use it in umb(4) as default prio.
OK kettenis@, sthen@
|
|
Cody Cutler author of ukspan(4) agrees
ok deraadt@
|
|
timed out. If usbd_get_desc() returns USBD_TIMEOUT the chance is high
that the next call will do the same and it slows down attachement of
devices a lot. Makes reattaching USB at resume a lot faster with my
umb(4) card (which likes to time out).
"move fast and fix things" deraadt@
|
|
UPGT_LED_ACTION_TMP_DUR is 100ms, avoid converting to Hz and back again.
OK kevlo
|
|
The timeval is used to represent 100ms, which are converted to Hz so they
can be converted back - simplify this by using the new ms interface
directly.
Tested and OK kevlo
|
|
Analysed by and ok claudio@
|
|
written by Cody Cutler <ccutler at csail.mit.edu>
|
|
|
|
|
|
devices which have padding between finger data
tested on an older model by bru@
|
|
ok ratchov@
|
|
|
|
ok mpi@
|
|
Currently we send the request to the unit indicated as clock source of
the terminals, which may be a clock selector unit that doesn't support
the request. Fix this by following the clock source path until the
clock source unit is found.
|
|
a random streaming iface.
|
|
Even if having multiple control interface descriptors is not allowed
by the UAC spec, there's no reason to stop as long as a proper control
interface was processed.
|
|
chromebooks.
ok deraadt@
|
|
chromebooks.
ok deraadt@
|
|
|
|
|