Age | Commit message (Collapse) | Author |
|
make __cpu_simple_lock provide serialisation of the critical section.
that in turn makes atomic sequences actually atomic, which in turn
means the refcnt api asserts wont fire erronously when if_get and
if_put are actually used correctly.
|
|
interface debug flag is set (enabled with: ifconfig iwn0 debug).
Shows the frame's sequence number and the current BA window.
I'm adding this for diagnosis, just in case it will be needed to make
future decisions about tuning the heuristic which works around network
stalls caused by such frames.
|
|
that in turn makes atomic sequences actually atomic, which in turn
means the refcnt api asserts wont fire erronously when if_get and
if_put are actually used correctly.
such embarrassment.
reported by landry@ who also let me debug on the affected machines
ok jmatthew@
|
|
ok tedu@, with a slight tweak
|
|
|
|
after an uvm_fault: uvm_fault maps in neighboring pages of
the faulting page. We want EPT bits set for those as soon as
possible as well. This avoids additional EPT violations
causing further uvm_faults when the guest accesses the
neighboring pages.
discussion with and ok mlarkin@
|
|
|
|
is asking for it. This timeout should not be required anymore now that krw@'s
hangs are fixed by working around APs which make sequence numbers jump about.
|
|
than the current 11n BlockAck window. The previous code would be fooled into
moving the window forward and then drop packets until their sequence numbers
catch up with the new window, which can take several minutes.
Fixes traffic stalls observed with Broadcom APs.
ok krw@ tb@
|
|
ok stsp@
|
|
|
|
|
|
|
|
the 12 bits available for it in struct iwm_tfd_tb.hi_n_len.
Patch by Imre Vadasz via tech@
|
|
variables 'left' and 'tocopy' and adapt printf and DPRINTF format
strings accordingly.
From Martin Natano.
|
|
|
|
From Dmitri Alenichev.
|
|
with ACPI.
ok jsg@
|
|
subframes. Helps 11n mode with WPA.
tested by me, tb@, and krw@
|
|
duplicates rather than input errors. These subframes have either already
been received, or the window was moved by the gap timeout which should only
happen with buggy APs. Neither condition indicates a severe problem.
Perhaps we will introduce a separate counter for this later.
|
|
writing to a file on msdosfs stays within the max. file size.
ok kettenis@, krw@
|
|
the tables for 11a/11g modes.
Add a function to append a Microsoft WME parameter element to a frame,
using EDCA tables to construct the parameter records. Some 11n AP's I have
observed provide this element.
None of this code is used yet, so no functional change. I wrote this while
debugging BlockAck and then realized it was only needed for hostap mode.
Once we support 11n in hostap mode and send A-MPDUs, this code will be needed.
|
|
about A-MPDU spacing. Makes BlockAck happy.
tested by me, tb@, krw@, sthen@, and Henrik Friedrichsen
|
|
about A-MPDU spacing. Makes BlockAck happy.
tested by myself and abieber@
|
|
ieee80211_node. This way, we can keep track of the ACK policy and echo
it back to the AP as required by the standard. And use the correct bit
flag for the policy -- this code was confused between BlockAck and ADDBA,
both of which have a policy bit but in different places.
Fixes apple airport APs.
tested by tb@, krw@, sthen@, abieber@, and Henrik Friedrichsen
|
|
tables in radeondrm(4).
|
|
this works around a toctou bug in a very common idiom in our tree,
in between the two lines below:
if (ifp->if_bpf)
bpf_mtap(ifp->if_bpf, m, BPF_DIRECTION_OUT);
figured out by and diff from haesbart
|
|
Follow FreeBSD and schedule the next Tx completion event to fire
when about half of the packet segments scheduled for transmission
are consumed.
|
|
|
|
|
|
|
|
Initial help & testing by jmatthew@
Code review & input by mpi@
Final review & OK by jsg@
|
|
Now we can see rts/cts, ack, blockack etc. in tcpdump(8).
ok kettenis@
|
|
HT protection setting updates. Unbreaks WPA in 11n mode.
ok sthen@
|
|
stalled BA sessions observed with iwn(4). We can revisit this later once
the underlying problem in iwn(4) has been found.
Prompted by report from krw@, I could reproduce the issue.
ok krw@
|
|
|
|
Reported and fixed by Martin Natano <natano at natano ! net>, thanks!
ok stefan
|
|
parameters unless SetMode() has been called, even if we don't actually
change the mode. Other (equally buggy) UEFI implementations report an
error if we call SetMode() but don't actually change the mode. Work around
these issues by always calling SetMode() (like we did before rev 1.10), but
don't report an error if the current mode is the same as the desired mode.
ok yasuoka@
|
|
Bail out early to prevent a panic from calling bus_space_map(9) with size 0.
|
|
and sdminphys() if the scsi disk is dying. The memory of the link
may have been freed already.
OK krw@
|
|
everywhere. This is the first step to fix a use after free of the
sc_link when the disk detaches. If a function gets a scsi transfer,
the scsi link is always valid. Call this variable "link" consistently.
OK krw@
|
|
mechanism is used to configure VMs in the VMware vSphere world:
instead of using individual key-value guestinfo.* properties, it uses
the guestinfo.ovfEnv value to pass an enterprise-compliant XML file
that includes key-value properties. This file can be rather large,
especially with comments, but 4k ought to be enough for anybody.
Also change a stack buffer to malloc'ed memory in the ioctl path.
OK mikeb@
|
|
Unfortunately, making this decision in radeondrm_attachhook() is too late
because at that point efifb(4) would have already been attached. This means
that if we decide to bail in radeondrm_attachhook() we may end up without
a glass console. That may happen for example if the firmware package
has not been installed. I'm still looking for a solution for that problem.
ok jsg@
|
|
can disable leaves that CPU feature flags would seem to imply. Corrects
signal delivery on systems where the AVX leaf is disabled.
report and debugging help from Marcus MERIGHI (mcmer-openbsd (at) tor.at)
ok kettenis@
|
|
from Artturi Alm
|
|
tested by and ok mikeb@
|
|
Nathanael Rensen <nathanael at list ! polymorpheus ! com> came up with
a few improvements to the event watcher and power management interface,
namely:
o Make sure to put our watcher on a list before issuing an XS_WATCH
command since Xen will raise the event right after it's been set up.
o The first time xen_control is called the "control/shutdown" node
may not exist, so skip printing the error message in this case.
o Acknowledge requests by writing back an empty string.
o log(9) reboot and halt requests like vmt(4) does.
Huge thanks!
|
|
|
|
|
|
From Artturi Alm.
|