OpenBSD cvs log

created 2019-05-04T02:28:11Z
begin 2017-10-18T00:00:00Z
end 2017-10-19T00:00:00Z
path src/sys
commits 15

date 2017-10-18T12:08:17Z
author mpi
files src/sys/sys/exec_elf.h log diff annotate
message Add missing SHN_XINDEX needed by devel/ctftools.

Reported by and ok naddy@

date 2017-10-18T12:33:25Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
message Only overwrite the caller's variable if we successfully read data from
the chip.

date 2017-10-18T12:48:53Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
message Revert previous commit, since not all interfaces behaved the same.

date 2017-10-18T12:52:06Z
author mikeb
files src/sys/arch/amd64/amd64/identcpu.c log diff annotate
src/sys/arch/amd64/amd64/tsc.c log diff annotate
message Set TSC timecounter frequency to the CPU frequency estimate if unknown

ok mlarkin

date 2017-10-18T12:58:45Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/bwfmreg.h log diff annotate
message Extract supported frequencies and HT/VHT mode from the firmware instead
of assuming the chip supports both 2.4GHz and 5Ghz.

Based on a diff from Jared McNeill.

date 2017-10-18T13:00:27Z
author mpi
files src/sys/dev/ic/bwfm.c log diff annotate
message Stop handling SIOCSIFMTU like in the wireless stack.

This driver does not use the net80211 stack, so let ether_ioctl() handle
it like any other Ethernet driver.

Suggested by and ok patrick@, ok stsp@

date 2017-10-18T13:16:35Z
author bluhm
files src/sys/netinet6/icmp6.c log diff annotate
src/sys/netinet6/ip6_input.c log diff annotate
message Setting the IPV6_MINMTU flag in the call to ip6_output() was moved
from icmp6_reflect() to ip6_send_dispatch() when ip6_send() was
introduced. Move the comment that explains this flag also to the
place where it is used.
from sashan@

date 2017-10-18T15:26:05Z
author mikeb
files src/sys/arch/amd64/amd64/tsc.c log diff annotate
message Fixup previous; noticed by canacar@

date 2017-10-18T15:45:38Z
author patrick
files src/sys/dev/ic/bwfmreg.h log diff annotate
message It turns out that using the packed attribute on most structs was a bad
idea since the brcmfmac implementation relies on the compiler generated
padding. Removing the packed attribute allows reading correct data from
the BSS info. As a next step it might be a good idea to pad the structs
manually.

date 2017-10-18T15:47:39Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/bwfmreg.h log diff annotate
message Read and extract the channel number from the chanspec to beautify the
scan results. Since the channel number is encoded on both IO types in
the same way, we don't need to implement per IO type helpers for now.

date 2017-10-18T16:59:18Z
author jasper
files src/sys/arch/powerpc/ddb/db_trace.c log diff annotate
message add support for printing function arguments when displaying a trace
from DDB. this uses CTF to get the correct number of arguments.

ok mpi@

date 2017-10-18T17:01:14Z
author bluhm
files src/sys/netinet/ip_icmp.c log diff annotate
src/sys/netinet6/icmp6.c log diff annotate
message When reusing an mbuf at the upper end of the network stack, strip
off the mbuf properties with m_resethdr(). It is a new packet,
especially M_LOOP indicating that it was running through lo(4)
should be cleared. Use the ph_loopcnt to prevent looping at the
upper end of the stack. Although not strictly necessary in icmp
reflect, it is a good idea to increase and check the counter here,
like in socket splicing.
OK mpi@ sashan@

date 2017-10-18T19:18:07Z
author patrick
files src/sys/dev/ic/bwfmreg.h log diff annotate
message Pad the holes in the struct to make sure compilers do not choose to
pad the structs in a different way.

date 2017-10-18T19:59:37Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/bwfmvar.h log diff annotate
message Add a scan timeout so we can recover if the firmware decides not to
send us any answers to our request.

date 2017-10-18T20:24:20Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
message Pass the SIOCG80211ALLCHANS and SIOCG80211STATS ioctls to our net80211
which can handle those ioctls quite well for us.