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 Vincent Gross
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 net80211 code from today. > > A better diff which fixes several bugs. > >

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

unmount mountpoints

2017-01-10 Thread Alexander Bluhm
Hi, When I force to unmount a filesystem where another mountpoint is located, an unlinked mountpoint will remain. I have not found a way to restore the kernel to a sane state. # mount /dev/vnd0a /mnt # mkdir /mnt/mnt # mount /dev/vnd1a /mnt/mnt # mount /dev/sd0a on / type ffs (local) /dev/vnd0a

Re: 11n support for athn(4)

2017-01-10 Thread Stefan Sperling
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? If hostap, which kinds of clients are you testing with?

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

dounmount() olddp

2017-01-10 Thread Alexander Bluhm
Hi, The 4th parameter olddp of dounmount() is not used. It was added here revision 1.103 date: 2003/05/06 20:52:14; author: tedu; state: Exp; lines: +28 -4; attempt to put a process's cwd back in place after a forced umount. won't always work, but it's the best

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: splsoftnet() -> KERNEL_LOCK()

2017-01-10 Thread Mike Belopuhov
On 10 January 2017 at 10:17, Martin Pieuchot wrote: > 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

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