Age | Commit message (Collapse) | Author |
|
"accessops" pointer before calling it.
|
|
The previous code wasn't quite right: it didn't account for the fact that
some drivers don't set ic_max_rssi, and it compared 5GHz APs to a threshold
relative to the max RSSI, rather than comparing RSSI on 5GHz relative to
RSSI on 2GHz.
This heuristic is only used by SCANNALLBAND drivers: iwn(4), iwm(4), wpi(4)
In the future the AP selection heuristic should be made more intelligent,
e.g. it should take BSS load information in beacons into account.
Another open problem is inconsistent representation of RSSI measurement
values throughout our drivers and stack. Help is welcome!
For now, this hopefully improves AP selection at busy airports.
ok sthen@ deraadt@
|
|
|
|
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
|
|
via ioctl are 0.
Noticed by bluhm
ok bluhm millert
|
|
the modeset lock when entering ddb. This avoids triggering various asserts
when the kernel panics while running X.
ok deraadt@
|
|
Found by Ilja Van Sprundel
ok kettenis
|
|
|
|
Found by Ilja Van Sprundel
ok claudio kettenis
|
|
HFSC internal queue becomes accessible via pf queueing ops. It will
also select an alternative queue manager based on the queue spec.
Discussed with and OK henning@ at d2k17 as a part of a larger diff.
|
|
The selection mechanism introduced in pf_ioctl.c -r1.316 suffers
from being too ambiguous and lacks robustness. Instead of relying
on composition of multiple flags in the queue specification, it's
easier to identify the root class (if it exists) and derive all
further checks from it.
|
|
okay millert@
|
|
this mbuf was allocated by the first call. Fixes possible memory leak.
Found by Ilja Van Sprundel
OK bluhm@ deraadt@
|
|
by checking M_EXT flag. m_freem() the mbuf in the errorcase to prevent
a mbuf leak. MCLGET does not set the mbuf to NULL on failure.
Found by Ilja Van Sprundel
OK bluhm@ deraadt@
|
|
return ENOBUFS.
Found by Ilja Van Sprundel
OK bluhm@ deraadt@
|
|
Found by Ilja Van Sprundel
OK bluhm@ deraadt@
|
|
the cluster fails in vte_init_tx_ring() the mbuf is removed but the slot
in the ring still holds the pointer. A possible call to vte_stop() would
then cause a double free. Again set pointer to NULL to prevent this.
Found by Ilja Van Sprundel
OK bluhm@
|
|
freed but another m_freem call happens later. Set m to NULL if m_pulldown()
fails like in all other cases of this function.
Found by Ilja Van Sprundel
OK bluhm@
|
|
uninitialised data can be dumped into the ktrace message.
Found by Ilja Van Sprundel
OK bluhm@
|
|
Do the same in sendsyslog(2) and document the behavior.
reported by Ilja Van Sprundel; OK millert@ deraadt@
|
|
Issue found by Ilja van Sprundel.
ok deraadt@
|
|
|
|
This reduces its size from 24 to 16 on 64bit archs.
ok deraadt@
|
|
variant is essentially the same in regards to sdmmc as the i.MX6SX
variant, which is why the device tree specifies that version. The
i.MX6SX has a few quirks. One of these is related to tuning, which
we don't do, the other one to the CAP1 register, which we don't use,
and the third is for high speed support, where the "support bit" is
missing for HS200. Of all these, only the one where the CAP1 register
spills into the CAP register seems relevant to us. With this I can
mount and newfs on the SD card.
ok kettenis@
|
|
whenever make is issued. Only do this when there are actual source changes
below /sys. This restores the behavior prior to the KARL implementation.
Problem noticed and patiently explained by mpi
implementation with a lot of help from espie
ok mpi, espie, deraadt
|
|
device tree uses completely differently numbered indices compared to
the i.MX6QDL variant. This means we have to add another clock list
and use the right one depending on the compatible. Also, on the UL
variant there is another mux in front of the perclk divider, so we
have to cope with that as well.
With feedback from and "looks reasonable" kettenis@
|
|
|
|
with the socket lock.
This change is safe because sbreserve() already asserts that the lock is
held, but it acts as implicit documentation and indicates that I looked
at the function.
|
|
|
|
propert for the clock controller module. Prepare for the day when the
u-boot device trees get update.
|
|
list.
|
|
|
|
|
|
|
|
Previously descriptors have referenced DMA maps too loosely which
led to bus_dmamap_unload being called before all fragments have been
completed. This eliminates the last instance of excessive looping
while waiting for a grant table entry to become available.
|
|
in r1.38 of this file, however for some reason the hardware sends RTS frames
at rates other than 1 Mbit/s which of course doesn't help. Not sure what is
causing this problem, but the old behaviour worked better, so revert.
ok krw@
|
|
ok espie@
|
|
Attempting to unload the map before all chunks are done may lead
to unnecessary looping.
|
|
|
|
ok visa@ kettenis@
|
|
|
|
Reduce size of switch stack frame to match normal 64byte alignment
Eliminate useless 'osp' variable when setting up initial frame in cpu_fork()
ok visa@ kettenis@
|
|
Fixes "could not remove MAC context" errors seen during AUTH->SCAN transitions.
|
|
possible for such frames to move iwm(4) to the same state, e.g. AUTH->AUTH.
Do not bother the firmware with such no-op state changes because that runs
a high risk of hitting firmware errors.
Problem reported by Gregor Best.
|
|
|
|
|
|
1. Add middle-button areas to the clickpad defaults.
2. Handle the edge areas more uniformly.
3. Don't disable sw buttons at the bottom edge.
|
|
a partial solution to cross compiling the kernel with KARL.
OK deraadt@ a while ago
|
|
|
|
|