Re: 11n support for athn(4)

2017-01-10 Thread Stefan Sperling
On Tue, Jan 10, 2017 at 08:34:32PM -0500, Brandon Mercer wrote: > I've thrown this on my apu2 and done some tests with my ipad, android > phones and some openbsd laptops. Streamed 1080p from youtube works on > one device but when I try with 2x it starts to buffer a bit. > > Tested on 2.4Ghz: >

Re: allow longer ACPI _HID/_CID strings

2017-01-10 Thread Mike Larkin
On Wed, Jan 11, 2017 at 06:10:41PM +1100, Jonathan Gray wrote: > On Hyper-V a 16 byte array isn't large enough for the strings. > > Scope (\_SB) > { > Device (GENC) > { > Name (_CID, "VM_Gen_Counter") // _CID: Compatible ID > Name (_HID,

allow longer ACPI _HID/_CID strings

2017-01-10 Thread Jonathan Gray
On Hyper-V a 16 byte array isn't large enough for the strings. Scope (\_SB) { Device (GENC) { Name (_CID, "VM_Gen_Counter") // _CID: Compatible ID Name (_HID, "Hyper_V_Gen_Counter_V1") // _HID: Hardware ID Name (_UID, 0x00) // _UID:

Re: 11n support for athn(4)

2017-01-10 Thread Brandon Mercer
On Tue, Jan 10, 2017 at 11:08:40PM +0100, Vincent Gross wrote: > On Tue, 10 Jan 2017 00:27:47 +0100 > Stefan Sperling wrote: > > > On Mon, Jan 09, 2017 at 01:54:55PM +0100, Stefan Sperling wrote: > > > This diff adds 11n support to the athn(4) driver. > > > Requires -current

Re: 11n support for athn(4)

2017-01-10 Thread Vadim Vygonets
Quoth Stefan Sperling on Tue, Jan 10, 2017: > On Tue, Jan 10, 2017 at 07:14:40PM +0100, Vadim Vygonets wrote: > > And it seems to work, although my testing was by no means > > exhaustive. > > Thank you for testing! > > Are you testing athn in hostap or in client mode? In client mode. I can do

Re: 11n support for athn(4)

2017-01-10 Thread Vadim Vygonets
Quoth Vadim Vygonets on Tue, Jan 10, 2017: > Quoth Stefan Sperling on Tue, Jan 10, 2017: > > On Mon, Jan 09, 2017 at 01:54:55PM +0100, Stefan Sperling wrote: > > > This diff adds 11n support to the athn(4) driver. > > > Requires -current net80211 code from today. > > > > A better diff which fixes

Re: 11n support for athn(4)

2017-01-10 Thread Vadim Vygonets
Quoth Stefan Sperling on Tue, Jan 10, 2017: > On Mon, Jan 09, 2017 at 01:54:55PM +0100, Stefan Sperling wrote: > > This diff adds 11n support to the athn(4) driver. > > Requires -current net80211 code from today. > > A better diff which fixes several bugs. After applying the diff below, it

Attempt to disable and lock Intel Silicon Debug on boot

2017-01-10 Thread Mike Belopuhov
One of the countermeasures against using Direct Connect Interface (DCI) to debug CPUs via USB3 mentioned in the "Tapping into the core" talk at the 33c3 was to identify and disable the Silicon Debug feature found in Haswell and newer CPUs. Two machines we have here are Haswell and Skylake, but

FOREACH in vfs_subr

2017-01-10 Thread Alexander Bluhm
Hi Can we replace these manual loops with a FOREACH? bluhm Index: kern/vfs_subr.c === RCS file: /data/mirror/openbsd/cvs/src/sys/kern/vfs_subr.c,v retrieving revision 1.254 diff -u -p -r1.254 vfs_subr.c --- kern/vfs_subr.c 28

Re: Allow install from https server w/ self signed cert

2017-01-10 Thread RD Thrush
On 01/06/17 06:28, Stuart Henderson wrote: > Related to this (and particularly thinking about autoinstalls), > would it make sense to allow explicit protocols in the hostname? > > some.host -> https with http fallback > http://some.host/ -> http only > https://some.host/ -> https only, no

Use explicit_bzero() to wipe copybuffer at console logout

2017-01-10 Thread Frederic Cambus
Hi tech@, Use explicit_bzero() to wipe copybuffer when logging out of the console. Comments? OK? Index: sys/dev/wscons/wsdisplay.c === RCS file: /cvs/src/sys/dev/wscons/wsdisplay.c,v retrieving revision 1.125 diff -u -p -r1.125

pfkey vs splsoftnet()

2017-01-10 Thread Martin Pieuchot
In pfkey_sendup() we call sorwakeup() which asserts for NET_LOCK(), so we are already at IPL_SOFTNET. pfkeyv2_send() is called via pfkey_output() which is also called with the NET_LOCK() held. Finally replace a comment above pfkeyv2_ipo_walk() by the corresponding assert. ok? Index:

splsoftnet() -> KERNEL_LOCK()

2017-01-10 Thread Martin Pieuchot
What guarantee the serialization of access to the bridge(4) data structures modified in bridge_rtage() below is the KERNEL_LOCK(). There's no network soft-interrupt context anymore, so remove a superfluous splsoftnet()/splx() dance and assert for the KERNEL_LOCK(). ok? Index: net/bridgectl.c