Age | Commit message (Collapse) | Author |
|
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.
|
|
ok mpi@
|
|
From Artturi Alm.
|
|
requested by deraadt@
|
|
the AP requests it, though I don't think I've ever seen one that does.
Per the 802.11-2012 spec a value of zero disables the timeout and some
APs seem to have trouble with timeouts forced onto them.
Our behaviour now matches Linux in this regard.
This gets Apple Airport APs somewhat working in 11n mode but there
is still a remaining issue with receiving frames from them.
Doesn't seem to hurt any other APs I've tried.
ok sthen@ mpi@ millert@
|
|
|
|
|
|
short-descriptors with arm v7 (same as small page encoding, except XN is
in a different bit for the mask).
Expanded version of a diff from Patrick Wildt who also tested and
reviewed this.
|
|
|
|
Reviewed by Martin Natano.
|
|
sxitimer isn't generating hardclock ticks on Allwinner A20. Fortunately
the Cortex A7 based Allwinner A20 has the ARM Generic Timer (agtimer)
available so use that.
To allow this to work sxirtc gets it's own mapping instead of using a
subregion of sxitimer.
From Patrick Wildt.
|
|
booting old kernels" was required to boot sunxi kernels with newer
versions of u-boot.
Unless built with OLD_SUNXI_KERNEL_COMPAT u-boot now uses the top four
bits of the board id for a 'compatibility revision'. This was
supposedly for different handling of the pll5 dram clock, but we don't
touch that currently. Mask these bits away so the kernel will boot from
a u-boot that doesn't have the option set.
Tested by Patrick Wildt on a Banana Pi R1 with current u-boot sources.
|
|
OK sthen@
|
|
This matches FreeBSD and makes things a bit more consistent.
Discussed with Patrick.
|
|
|