svn commit: r360888 - head/sys/contrib/dev/ath/ath_hal/ar9300

2020-05-10 Thread Adrian Chadd
Author: adrian Date: Mon May 11 05:53:12 2020 New Revision: 360888 URL: https://svnweb.freebsd.org/changeset/base/360888 Log: [ar9300] Disable unconditionally reducing transmit power in the case of FCC. Ok, yeah, the commit title is a bit misleading. This has to do with CDD (cyclic del

svn commit: r360865 - head/sys/mips/atheros

2020-05-09 Thread Adrian Chadd
Author: adrian Date: Sun May 10 03:36:11 2020 New Revision: 360865 URL: https://svnweb.freebsd.org/changeset/base/360865 Log: [atheros] [if_arge] Various fixes to avoid TX stalls and bad sized packets This is stuff I've been running for a couple years. It's inspired by changes I found in

svn commit: r360827 - head/sys/dev/etherswitch

2020-05-08 Thread Adrian Chadd
Author: adrian Date: Fri May 8 22:22:12 2020 New Revision: 360827 URL: https://svnweb.freebsd.org/changeset/base/360827 Log: [etherswitch] bump register width to 32 bits. Some ethernet switches have very large register windows; for example the AR8316 switch MIB starts at 0x2. Su

svn commit: r360819 - head/sys/net80211

2020-05-08 Thread Adrian Chadd
Author: adrian Date: Fri May 8 17:01:33 2020 New Revision: 360819 URL: https://svnweb.freebsd.org/changeset/base/360819 Log: [net80211] Use the unicast key when transmitting DWDS AP multicast frames. I'm still not sure whether this is the full solution, but here goes. I have a two nod

svn commit: r360028 - head/bin/sh

2020-04-16 Thread Adrian Chadd
Author: adrian Date: Thu Apr 16 23:31:39 2020 New Revision: 360028 URL: https://svnweb.freebsd.org/changeset/base/360028 Log: [sh] Fix a "may be unused" warning on mips-gcc mips-gcc for mips32 was complaining that c was potentially used before being set. Setting it to 0 before calling fd

svn commit: r360027 - head/stand/libsa

2020-04-16 Thread Adrian Chadd
Author: adrian Date: Thu Apr 16 23:29:49 2020 New Revision: 360027 URL: https://svnweb.freebsd.org/changeset/base/360027 Log: [libsa] Fix typecast of pointer for st_dev This code was trying to use a pointer value for st_dev, which is definitely not a pointer. Instead, cast to uintptr_t s

svn commit: r360026 - in head/sys/net: . route

2020-04-16 Thread Adrian Chadd
Author: adrian Date: Thu Apr 16 23:28:47 2020 New Revision: 360026 URL: https://svnweb.freebsd.org/changeset/base/360026 Log: Remove an duplicate definition of nhops_dump_sysctl() One of the source files included both nhop.h and shared.h, leading to this clashing. Tested with: mips-g

Re: svn commit: r359511 - head/bin/sh

2020-04-16 Thread Adrian Chadd
hi! This broke compiling using external gcc toolchain for mips32. I'm going to go poke at it a bit more but it looks like there's a /lot/ of warnings. :-) -adrian On Wed, 1 Apr 2020 at 08:13, Edward Tomasz Napierala wrote: > > Author: trasz > Date: Wed Apr 1 15:12:51 2020 > New Revision: 359

svn commit: r358156 - head/sys/dev/ath

2020-02-19 Thread Adrian Chadd
Author: adrian Date: Thu Feb 20 07:12:43 2020 New Revision: 358156 URL: https://svnweb.freebsd.org/changeset/base/358156 Log: [ath] Attempt to fix epoch handling. The epoch stuff with taskqueues works fine if the driver never calls the receive path in other contexts, but this driver does.

svn commit: r357068 - head/usr.sbin/ntp/libntpevent

2020-01-23 Thread Adrian Chadd
Author: adrian Date: Fri Jan 24 06:24:40 2020 New Revision: 357068 URL: https://svnweb.freebsd.org/changeset/base/357068 Log: [ntp] Don't compile in the ssl routines into libevent if MK_OPENSSL is no Most of ntpd still handles MK_OPENSSL ok, but the libevent import brought in the SSL buff

svn commit: r356169 - head/usr.sbin/fstyp

2019-12-28 Thread Adrian Chadd
Author: adrian Date: Sun Dec 29 06:59:09 2019 New Revision: 356169 URL: https://svnweb.freebsd.org/changeset/base/356169 Log: Make this compile under external gcc toolchain if WITH_ICONV isn't defined. This quietens a bunch of unused variable warnings that are treated as errors. Modified:

svn commit: r356145 - head/sys/mips/atheros

2019-12-27 Thread Adrian Chadd
Author: adrian Date: Sat Dec 28 06:56:21 2019 New Revision: 356145 URL: https://svnweb.freebsd.org/changeset/base/356145 Log: [ar71xx] generate a random mac address using eth_gen_addr() This removes a hard-coded random mac address generator and uses the (not so) new system routine. T

svn commit: r355829 - head/sys/mips/conf

2019-12-16 Thread Adrian Chadd
Author: adrian Date: Tue Dec 17 00:00:03 2019 New Revision: 355829 URL: https://svnweb.freebsd.org/changeset/base/355829 Log: [atheros] [mips] Add the GPIO driver (back) to the TL-WDR3600/TL-WDR4300 kernel. So it turns out that sometime in the past I removed the GPIO bits here and was go

svn commit: r351868 - head/lib/lib80211

2019-09-05 Thread Adrian Chadd
Author: adrian Date: Thu Sep 5 15:55:24 2019 New Revision: 351868 URL: https://svnweb.freebsd.org/changeset/base/351868 Log: [lib80211] add initial VHT (11ac) channel ranges for FCC. This is a simple set of VHT channels and flags for the FCC (US) regulatory domain. This needs to be rese

svn commit: r346470 - in head/sys: contrib/dev/ath/ath_hal/ar9300 dev/ath dev/ath/ath_hal dev/ath/ath_hal/ar5210 dev/ath/ath_hal/ar5211 dev/ath/ath_hal/ar5212 dev/ath/ath_hal/ar5416

2019-09-03 Thread Adrian Chadd
Author: adrian Date: Sun Apr 21 02:36:01 2019 New Revision: 346470 URL: https://svnweb.freebsd.org/changeset/base/346470 Log: [ath] [ath_hal] [ath_hal_9300] Extend the start PCU receive to handle resetting ANI. One of the fun issues with scanning has been how the existing ANI values were

svn commit: r346405 - head/sys/dev/ath

2019-09-03 Thread Adrian Chadd
Author: adrian Date: Fri Apr 19 18:00:33 2019 New Revision: 346405 URL: https://svnweb.freebsd.org/changeset/base/346405 Log: [ath] Fix return value check to not complain. Compilers complain more about things, so let's keep them happy. Modified: head/sys/dev/ath/if_athvar.h Modified: he

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Adrian Chadd
On Mon, 15 Apr 2019 at 11:40, Conrad Meyer wrote: > Author: cem > Date: Mon Apr 15 18:40:36 2019 > New Revision: 346250 > URL: https://svnweb.freebsd.org/changeset/base/346250 > > Log: > random(4): Block read_random(9) on initial seeding > Sniffle, this broke on my mips boards whilst debugging

Re: svn commit: r345875 - in head: contrib/elftoolchain/strings usr.bin/strings

2019-09-03 Thread Adrian Chadd
not yet? I'm still debugging other issues; this just pissed off gcc. :) -a On Sun, 14 Apr 2019 at 19:42, Mariusz Zaborski wrote: > On Sun, Apr 14, 2019 at 08:19:22AM -0700, Adrian Chadd wrote: > > This exposed a fun bug - gcc mips 6.4.0 complains about an unused arg

svn commit: r346322 - head/lib/libcasper/services/cap_fileargs

2019-09-03 Thread Adrian Chadd
Author: adrian Date: Wed Apr 17 16:58:38 2019 New Revision: 346322 URL: https://svnweb.freebsd.org/changeset/base/346322 Log: [casper] fix compilation when casper is disabled. This triggers an error in gcc-mips 6.4.0 complaining about unused arguments. Tested: * compiled/run on mi

Re: svn commit: r345875 - in head: contrib/elftoolchain/strings usr.bin/strings

2019-09-03 Thread Adrian Chadd
This exposed a fun bug - gcc mips 6.4.0 complains about an unused arg (fa) in fileargs_fopen() in the strings change when you compile without casper support. I do that on mips. I have a local change that converts the #define to an inline function so the unused arg can be (void)'ed away. Mind if I

Re: svn commit: r345203 - in head: contrib/googletest contrib/mandoc etc/mtree lib lib/googletest share/examples/tests/tests share/examples/tests/tests/googletest share/mk tools/build/mk tools/build/o

2019-05-30 Thread Adrian Chadd
hi, I'm seeing build failures where things like zfs do not find gmock/gmock.h when building. Have you seen this? -a On Fri, 15 Mar 2019 at 14:44, Enji Cooper wrote: > > Author: ngie > Date: Fri Mar 15 21:43:52 2019 > New Revision: 345203 > URL: https://svnweb.freebsd.org/changeset/base/345203

svn commit: r348331 - head/sys/dev/ath/ath_hal

2019-05-28 Thread Adrian Chadd
Author: adrian Date: Tue May 28 18:05:10 2019 New Revision: 348331 URL: https://svnweb.freebsd.org/changeset/base/348331 Log: [ath_hal] Fix queue bits a bit Found by PVS Studio: duplicate assignment; add assignment of tqi_compBuf. Submitted by: Differential Revision:https://

svn commit: r347998 - head/sys/mips/mediatek

2019-05-20 Thread Adrian Chadd
Author: adrian Date: Mon May 20 17:43:58 2019 New Revision: 347998 URL: https://svnweb.freebsd.org/changeset/base/347998 Log: [mediatek] Add support for non-flash devices on the SPI bus of the Mediatek SoCs. The existing SPI support only worked for directly attached flash chips. it didn'

svn commit: r347618 - head/sys/mips/atheros

2019-05-15 Thread Adrian Chadd
Author: adrian Date: Wed May 15 16:51:08 2019 New Revision: 347618 URL: https://svnweb.freebsd.org/changeset/base/347618 Log: [ar71xx_gpio] Add AR9341/AR9342 to the list of chips for programming function/output enable. This is reqired to use the gpiofunc behaviour for configuring GPIO pi

svn commit: r347141 - head/sys/dev/ath/ath_rate/sample

2019-05-04 Thread Adrian Chadd
Author: adrian Date: Sun May 5 06:32:40 2019 New Revision: 347141 URL: https://svnweb.freebsd.org/changeset/base/347141 Log: [ath_rate_sample] Have the final attempted rate in 11n modes to be the lowest one. Right now ath_rate_sample has a fixed rate schedule, rather than the minstrel_ht

svn commit: r347140 - in head/sys/dev/ath: . ath_rate/amrr ath_rate/onoe ath_rate/sample

2019-05-04 Thread Adrian Chadd
Author: adrian Date: Sun May 5 04:56:37 2019 New Revision: 347140 URL: https://svnweb.freebsd.org/changeset/base/347140 Log: [ath] [ath_rate] Fix ANI calibration during non-ACTIVE states; start poking at rate control These are some fun issues I've found with my upstairs wifi link at such

svn commit: r347050 - head/lib/libfetch

2019-05-02 Thread Adrian Chadd
Author: adrian Date: Fri May 3 06:06:39 2019 New Revision: 347050 URL: https://svnweb.freebsd.org/changeset/base/347050 Log: [libfetch] Fix compilation with WITHOUT_CRYPT. Modified: head/lib/libfetch/common.c Modified: head/lib/libfetch/common.c =

svn commit: r346470 - in head/sys: contrib/dev/ath/ath_hal/ar9300 dev/ath dev/ath/ath_hal dev/ath/ath_hal/ar5210 dev/ath/ath_hal/ar5211 dev/ath/ath_hal/ar5212 dev/ath/ath_hal/ar5416

2019-04-20 Thread Adrian Chadd
Author: adrian Date: Sun Apr 21 02:36:01 2019 New Revision: 346470 URL: https://svnweb.freebsd.org/changeset/base/346470 Log: [ath] [ath_hal] [ath_hal_9300] Extend the start PCU receive to handle resetting ANI. One of the fun issues with scanning has been how the existing ANI values were

svn commit: r346405 - head/sys/dev/ath

2019-04-19 Thread Adrian Chadd
Author: adrian Date: Fri Apr 19 18:00:33 2019 New Revision: 346405 URL: https://svnweb.freebsd.org/changeset/base/346405 Log: [ath] Fix return value check to not complain. Compilers complain more about things, so let's keep them happy. Modified: head/sys/dev/ath/if_athvar.h Modified: he

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-04-17 Thread Adrian Chadd
On Mon, 15 Apr 2019 at 11:40, Conrad Meyer wrote: > Author: cem > Date: Mon Apr 15 18:40:36 2019 > New Revision: 346250 > URL: https://svnweb.freebsd.org/changeset/base/346250 > > Log: > random(4): Block read_random(9) on initial seeding > Sniffle, this broke on my mips boards whilst debugging

svn commit: r346322 - head/lib/libcasper/services/cap_fileargs

2019-04-17 Thread Adrian Chadd
Author: adrian Date: Wed Apr 17 16:58:38 2019 New Revision: 346322 URL: https://svnweb.freebsd.org/changeset/base/346322 Log: [casper] fix compilation when casper is disabled. This triggers an error in gcc-mips 6.4.0 complaining about unused arguments. Tested: * compiled/run on mi

Re: svn commit: r345875 - in head: contrib/elftoolchain/strings usr.bin/strings

2019-04-17 Thread Adrian Chadd
not yet? I'm still debugging other issues; this just pissed off gcc. :) -a On Sun, 14 Apr 2019 at 19:42, Mariusz Zaborski wrote: > On Sun, Apr 14, 2019 at 08:19:22AM -0700, Adrian Chadd wrote: > > This exposed a fun bug - gcc mips 6.4.0 complains about an unused arg

Re: svn commit: r345875 - in head: contrib/elftoolchain/strings usr.bin/strings

2019-04-14 Thread Adrian Chadd
This exposed a fun bug - gcc mips 6.4.0 complains about an unused arg (fa) in fileargs_fopen() in the strings change when you compile without casper support. I do that on mips. I have a local change that converts the #define to an inline function so the unused arg can be (void)'ed away. Mind if I

svn commit: r345284 - head/sys/contrib/dev/ath/ath_hal/ar9300

2019-03-18 Thread Adrian Chadd
Author: adrian Date: Tue Mar 19 00:07:12 2019 New Revision: 345284 URL: https://svnweb.freebsd.org/changeset/base/345284 Log: [ath_hal_ar9300] Add some comments around the AR9300 ANI code. I'm refamiliarising myself with the behaviour of the ANI code and I thought I'd drop some comments t

svn commit: r344843 - head/sys/contrib/dev/ath/ath_hal/ar9300

2019-03-06 Thread Adrian Chadd
Author: adrian Date: Wed Mar 6 08:52:02 2019 New Revision: 344843 URL: https://svnweb.freebsd.org/changeset/base/344843 Log: [ath_hal_ar9300] Add the missing bits from the previous HAL commit. Noticed by: 75+ emails telling me I messed up. Modified: head/sys/contrib/dev/ath/ath_hal/ar93

svn commit: r344842 - in head/tools/tools/ath: . athani

2019-03-05 Thread Adrian Chadd
tools/ath/athani/main.c Wed Mar 6 07:58:19 2019 (r344842) @@ -0,0 +1,226 @@ +/*- + * Copyright (c) 2019 Adrian Chadd . + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions

svn commit: r344841 - head/sys/dev/ath/ath_hal

2019-03-05 Thread Adrian Chadd
Author: adrian Date: Wed Mar 6 07:54:29 2019 New Revision: 344841 URL: https://svnweb.freebsd.org/changeset/base/344841 Log: [ath_hal] [ath_hal_ar9300] ANI fixes and preparation for userland control. * The ani function bitmap was being badly used when determining if a command could be

svn commit: r344750 - head/sys/contrib/dev/ath/ath_hal/ar9300

2019-03-03 Thread Adrian Chadd
Author: adrian Date: Mon Mar 4 06:43:00 2019 New Revision: 344750 URL: https://svnweb.freebsd.org/changeset/base/344750 Log: [ath_hal_ar9300] Add the extra ANI configuration fields for the AR93xx HAL. Tested: * Carambola2 (Ar9331), STA/AP modes Modified: head/sys/contrib/dev/ath/at

svn commit: r344749 - head/sys/dev/ath/ath_hal

2019-03-03 Thread Adrian Chadd
Author: adrian Date: Mon Mar 4 06:42:06 2019 New Revision: 344749 URL: https://svnweb.freebsd.org/changeset/base/344749 Log: [ath_hal] add extra ANI fields for the AR9300 HAL. I'm trying to debug why reception upstairs here is so terrible and it turns out ANI is buggy. (Which is no surp

Re: svn commit: r336203 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/patches contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers

2018-07-18 Thread Adrian Chadd
Is it during a rekey event? -adrian On Wed, 18 Jul 2018 at 08:16, Kyle Evans wrote: > > On Wed, Jul 11, 2018 at 1:53 PM, Cy Schubert wrote: > > Author: cy > > Date: Wed Jul 11 18:53:18 2018 > > New Revision: 336203 > > URL: https://svnweb.freebsd.org/changeset/base/336203 > > > > Log: > > M

svn commit: r334849 - in head/sys: contrib/dev/ath/ath_hal/ar9300 dev/ath/ath_hal/ar5416

2018-06-08 Thread Adrian Chadd
Author: adrian Date: Fri Jun 8 18:21:57 2018 New Revision: 334849 URL: https://svnweb.freebsd.org/changeset/base/334849 Log: [ath_hal] Return failure if noise floor calibration fails. If we fail noise floor calibration then we may end up with a deaf NIC which we can't recover without a f

svn commit: r334848 - in head/sys/dev/ath/ath_hal: ar5212 ar5416

2018-06-08 Thread Adrian Chadd
Author: adrian Date: Fri Jun 8 18:15:23 2018 New Revision: 334848 URL: https://svnweb.freebsd.org/changeset/base/334848 Log: [ath_hal] Don't do ANI processing if we've reset. If we've reset then we can't trust the current state of the ANI tracking, so just wait until next time. Test

svn commit: r334197 - in head/sys: contrib/dev/ath/ath_hal/ar9300 dev/ath/ath_hal dev/ath/ath_hal/ar5416

2018-05-24 Thread Adrian Chadd
Author: adrian Date: Fri May 25 01:27:39 2018 New Revision: 334197 URL: https://svnweb.freebsd.org/changeset/base/334197 Log: [ath_hal] migrate the shared HAL_RESET_* pieces out into ath_hal. I'm in the process of reworking how the reset path works with an eye to better recovery when the

Re: svn commit: r331898 - in head/sys/contrib/ck: . include include/gcc include/gcc/sparcv9 include/gcc/x86 include/gcc/x86_64 include/spinlock src

2018-04-02 Thread Adrian Chadd
hi! woohoo! what about CACHE_LINE_SIZE ? -a ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Re: svn commit: r328988 - in head/sys: conf modules/ipfw netinet netpfil/ipfw

2018-03-23 Thread Adrian Chadd
Hi! It looks like this broke on mips32. I posted in -net on this. In addition i can't even build the concurrencykit regression suite from github. It just plainly fails to build, so I can't even attempt to cross compile it for mips to test things. Did you test this on any platform besides 64 bit

svn commit: r328970 - head/sys/dev/ath

2018-02-07 Thread Adrian Chadd
Author: adrian Date: Wed Feb 7 09:37:22 2018 New Revision: 328970 URL: https://svnweb.freebsd.org/changeset/base/328970 Log: [ath] Use the BSSID address logic for STA VAPs too. For DWDS VAPs on ath(4) we need to ensure that the STA vap and hostap VAP have different MAC addresses. If the

svn commit: r328969 - head/sys/mips/conf

2018-02-07 Thread Adrian Chadd
Author: adrian Date: Wed Feb 7 09:35:47 2018 New Revision: 328969 URL: https://svnweb.freebsd.org/changeset/base/328969 Log: [ar71xx] Fix the TL-wdr3600/tl-wdr4300 hints in the new world order. Tested: * tl-wdr4300 Modified: head/sys/mips/conf/TL-WDR4300.hints Modified: head/sys/m

svn commit: r328924 - head/sys/dev/etherswitch/arswitch

2018-02-06 Thread Adrian Chadd
Author: adrian Date: Tue Feb 6 08:35:49 2018 New Revision: 328924 URL: https://svnweb.freebsd.org/changeset/base/328924 Log: [arswitch] Implement the switch MAC address fetch API. The placeholders are here for some future "set" MAC address API. Tested: * AR9340 switch * AR8327

svn commit: r328923 - head/sbin/etherswitchcfg

2018-02-06 Thread Adrian Chadd
Author: adrian Date: Tue Feb 6 08:35:09 2018 New Revision: 328923 URL: https://svnweb.freebsd.org/changeset/base/328923 Log: [etherswitchcfg] print the switch MAC address if provided. Modified: head/sbin/etherswitchcfg/etherswitchcfg.c Modified: head/sbin/etherswitchcfg/etherswitchcfg.c ===

svn commit: r328922 - head/sys/dev/etherswitch

2018-02-06 Thread Adrian Chadd
Author: adrian Date: Tue Feb 6 08:34:50 2018 New Revision: 328922 URL: https://svnweb.freebsd.org/changeset/base/328922 Log: [etherswitch] add initial support for potentially configuring and fetching the switch MAC address. Switches that originate their own frames (eg obvious ones like Pa

svn commit: r328901 - head/sys/dev/etherswitch/arswitch

2018-02-05 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 20:37:29 2018 New Revision: 328901 URL: https://svnweb.freebsd.org/changeset/base/328901 Log: [arswitch] disable ARP copy-to-CPU port for AR9340 for now. I'll have to go double check to see if it does indeed pass ARP frames between switch ports with this di

svn commit: r328900 - head/sys/dev/etherswitch/arswitch

2018-02-05 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 20:30:53 2018 New Revision: 328900 URL: https://svnweb.freebsd.org/changeset/base/328900 Log: [arswitch] fix build breakage. Apparently the last time I checked building this it didn't pick up that the header had changed. Modified: head/sys/dev/etherswitc

svn commit: r328873 - head/sys/dev/etherswitch/arswitch

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 07:05:28 2018 New Revision: 328873 URL: https://svnweb.freebsd.org/changeset/base/328873 Log: [arswitch] Enable ATU dump support for the AR9340. This indeed uses the same registers as the AR8216 and later chips. There seems to be an issue with ARP reques

svn commit: r328872 - head/sys/dev/etherswitch/arswitch

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 07:03:45 2018 New Revision: 328872 URL: https://svnweb.freebsd.org/changeset/base/328872 Log: [arswitch] fix mac address field definition. Whilst here, add some further fields for future experimenting. Tested: * AR9340 switch * AR9330 switch * A

svn commit: r328871 - head/sys/dev/etherswitch/arswitch

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 05:51:37 2018 New Revision: 328871 URL: https://svnweb.freebsd.org/changeset/base/328871 Log: [arswitch] Break out of the loop upon any error, not just -1. This fixes the AR9340 "unimplemented" thingy for now. Modified: head/sys/dev/etherswitch/arswitch/ar

svn commit: r328869 - head/sys/mips/conf

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 04:48:41 2018 New Revision: 328869 URL: https://svnweb.freebsd.org/changeset/base/328869 Log: [ar71xx] Fix DB120 AHB device hints in the new world order. This allows the on-chip (AHB bus) device to attach correctly as a module. Tested: * DB120, AR93

svn commit: r328868 - head/sys/mips/conf

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 04:47:13 2018 New Revision: 328868 URL: https://svnweb.freebsd.org/changeset/base/328868 Log: [ar71xx] AR934x is a MIPS74k board - use the right hwpmc module Modified: head/sys/mips/conf/std.AR934X Modified: head/sys/mips/conf/std.AR934X ==

svn commit: r328867 - head/sys/mips/conf

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 04:46:36 2018 New Revision: 328867 URL: https://svnweb.freebsd.org/changeset/base/328867 Log: [ar71xx] New world order - don't reference ath_pci here, it's a module now Modified: head/sys/mips/conf/DB120 Modified: head/sys/mips/conf/DB120 =

svn commit: r328838 - head/sys/dev/etherswitch/arswitch

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Sun Feb 4 08:22:11 2018 New Revision: 328838 URL: https://svnweb.freebsd.org/changeset/base/328838 Log: [arswitch] fix up issues on the AR8327. This correctly dumps the ethernet bridge contents on an AR8327 switch. Tested: * AP135 - QCA9550 + AR8327 ethernet

svn commit: r328823 - head/sys/dev/etherswitch/arswitch

2018-02-02 Thread Adrian Chadd
Author: adrian Date: Sat Feb 3 00:59:08 2018 New Revision: 328823 URL: https://svnweb.freebsd.org/changeset/base/328823 Log: [arswitch] add initial functionality for AR8327 ATU management. * Add the bulk of the ATU table read function * Correct how the ATU function and WAIT bits work

svn commit: r328815 - head/sbin/etherswitchcfg

2018-02-02 Thread Adrian Chadd
Author: adrian Date: Fri Feb 2 22:08:35 2018 New Revision: 328815 URL: https://svnweb.freebsd.org/changeset/base/328815 Log: [etherswitchcfg] add atu flush and atu dump commands. Extend the argc/argv handling to include variable length commands (like flush all, flush port X). Modified:

svn commit: r328814 - head/sys/dev/etherswitch/arswitch

2018-02-02 Thread Adrian Chadd
Author: adrian Date: Fri Feb 2 22:08:03 2018 New Revision: 328814 URL: https://svnweb.freebsd.org/changeset/base/328814 Log: [arswitch] Stub out the ATU table dump in AR9340 switches until I implement this. Modified: head/sys/dev/etherswitch/arswitch/arswitch_9340.c Modified: head/sys/dev

svn commit: r328812 - head/sys/dev/etherswitch/arswitch

2018-02-02 Thread Adrian Chadd
Author: adrian Date: Fri Feb 2 22:05:36 2018 New Revision: 328812 URL: https://svnweb.freebsd.org/changeset/base/328812 Log: [arswitch] begin tidying up the learning and ATU management, introduce ATU APIs. * Refactor the initial learning configuration (port learning, address expiry, h

svn commit: r328766 - head/sys/dev/etherswitch

2018-02-01 Thread Adrian Chadd
Author: adrian Date: Fri Feb 2 02:05:14 2018 New Revision: 328766 URL: https://svnweb.freebsd.org/changeset/base/328766 Log: [etherswitch] add the first pass of a simple API to flush and fetch the L2 address table from the ethernet switch. This stuff may be a bit fluid during this -HEAD c

svn commit: r328758 - head/sys/mips/conf

2018-02-01 Thread Adrian Chadd
Author: adrian Date: Thu Feb 1 22:01:53 2018 New Revision: 328758 URL: https://svnweb.freebsd.org/changeset/base/328758 Log: [atheros] Update QCA953x support to use the new hints. Modified: head/sys/mips/conf/QCA953X_BASE head/sys/mips/conf/QCA953X_BASE.hints Modified: head/sys/mips/conf/

svn commit: r328756 - head/sys/mips/conf

2018-02-01 Thread Adrian Chadd
Author: adrian Date: Thu Feb 1 22:00:38 2018 New Revision: 328756 URL: https://svnweb.freebsd.org/changeset/base/328756 Log: [atheros] teach these two boards about the new hints location as well. Modified: head/sys/mips/conf/AP135.hints head/sys/mips/conf/AP143.hints Modified: head/sys/mi

svn commit: r328757 - head/sys/mips/conf

2018-02-01 Thread Adrian Chadd
Author: adrian Date: Thu Feb 1 22:01:11 2018 New Revision: 328757 URL: https://svnweb.freebsd.org/changeset/base/328757 Log: [atheros] Fix DIR-825C1 to use the new hints. Tested: * DIR-825C1 Modified: head/sys/mips/conf/DIR-825C1.hints Modified: head/sys/mips/conf/DIR-825C1.hints

svn commit: r328755 - head/sys/mips/conf

2018-02-01 Thread Adrian Chadd
Author: adrian Date: Thu Feb 1 22:00:05 2018 New Revision: 328755 URL: https://svnweb.freebsd.org/changeset/base/328755 Log: [atheros] Teach the QCA955x SoC code about the new hints stuff. Modified: head/sys/mips/conf/QCA955X_BASE.hints head/sys/mips/conf/std.QCA955X Modified: head/sys/mi

svn commit: r328754 - head/sys/mips/conf

2018-02-01 Thread Adrian Chadd
Author: adrian Date: Thu Feb 1 21:58:52 2018 New Revision: 328754 URL: https://svnweb.freebsd.org/changeset/base/328754 Log: [atheros] Fix-up the base address stuff after I did a drive-by with the calibration data location. The old way required the data to be present really early and copi

svn commit: r328618 - head/sys/dev/etherswitch/arswitch

2018-01-30 Thread Adrian Chadd
Author: adrian Date: Wed Jan 31 07:36:51 2018 New Revision: 328618 URL: https://svnweb.freebsd.org/changeset/base/328618 Log: [arswitch] Fix ATU flushing on AR8216/AR8316 and most of the later chips. The switch hardware requires this bit to be set in order to kick start the actual ATU upd

svn commit: r328619 - head/sys/dev/etherswitch/arswitch

2018-01-30 Thread Adrian Chadd
Author: adrian Date: Wed Jan 31 07:37:33 2018 New Revision: 328619 URL: https://svnweb.freebsd.org/changeset/base/328619 Log: [arswitch] Fix ATU programming on the AR8327 switch. Doing a flush actually requires setting this bit. Modified: head/sys/dev/etherswitch/arswitch/arswitch_8327.c

svn commit: r328617 - head/sys/dev/etherswitch/arswitch

2018-01-30 Thread Adrian Chadd
Author: adrian Date: Wed Jan 31 07:20:34 2018 New Revision: 328617 URL: https://svnweb.freebsd.org/changeset/base/328617 Log: [arswitch] add a new debug section for upcoming address table management. Modified: head/sys/dev/etherswitch/arswitch/arswitchvar.h Modified: head/sys/dev/etherswitch

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Adrian Chadd
[snip] And this is the root bit that's missing - dynamic pinmux/pinctrl stuff at runtime. Warner's already said he's WIP'ing it and phk seems like a good test case for kicking those tyres, so it sounds like those tyres are about to be kicked. In the meantime, hacks allow people to make some prog

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-27 Thread Adrian Chadd
Hi, Find the middle ground. Don't dissuade the developer too much. Here's an example: Make the driver follow DTS, allow a tunable/kenv check for it to override whether it needs to be in the DTS or not (the "keep phk happy for now" compromise) and have it default to obeying the device tree. That

Re: svn commit: r327783 - head/share/mk

2018-01-12 Thread Adrian Chadd
hi, can we just flip the switch back for now until it's figured out? Some of us have to like, do development on -HEAD for fun. :) -a On 12 January 2018 at 17:46, John Baldwin wrote: > On Wednesday, January 10, 2018 08:28:01 PM Ed Maste wrote: >> Author: emaste >> Date: Wed Jan 10 20:28:01 2

Re: svn commit: r327559 - in head: . sys/net

2018-01-04 Thread Adrian Chadd
does it also happen when you actually enable RSS in the kernel? Since like I went through a whole lot of pain to assign a flowid at connection setup time. -a On 4 January 2018 at 15:37, Steven Hartland wrote: > > > On 04/01/2018 22:42, hiren panchasara wrote: > > On 01/04/18 at 09:52P, Steven

svn commit: r327479 - in head/sys/dev: ath bwn iwi iwm iwn mwl otus ral rtwn usb/wlan wpi

2018-01-01 Thread Adrian Chadd
Author: adrian Date: Tue Jan 2 00:07:28 2018 New Revision: 327479 URL: https://svnweb.freebsd.org/changeset/base/327479 Log: [net80211] convert all of the WME use over to a temporary copy of WME info. This removes the direct WME info access in the ieee80211com struct and instead provides

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-20 Thread Adrian Chadd
Hi, I kinda bet that this will just get worse over time, so maybe it's time we revisited figuring out a better way of dispatching work instead of (a) lots of kernel threads for different subsystems and (b) lots of deep stack frames. eg - NFS over wifi == hilarious pain -adrian ___

svn commit: r326737 - head/sys/net80211

2017-12-09 Thread Adrian Chadd
Author: adrian Date: Sat Dec 9 23:16:02 2017 New Revision: 326737 URL: https://svnweb.freebsd.org/changeset/base/326737 Log: [net80211] add a method for checking if a VAP WME AC has a NOACK policy or not. A subsequent set of commits will introduce this instead of a whole lot of gymnasti

svn commit: r325569 - head/tools/bsdbox

2017-11-08 Thread Adrian Chadd
Author: adrian Date: Thu Nov 9 01:41:00 2017 New Revision: 325569 URL: https://svnweb.freebsd.org/changeset/base/325569 Log: [bsdbox] fix compilation due to library work. Modified: head/tools/bsdbox/Makefile Modified: head/tools/bsdbox/Makefile ==

Re: svn commit: r324580 - head/sys/net80211

2017-10-13 Thread Adrian Chadd
no, it checks it. -a On 13 October 2017 at 00:11, Hans Petter Selasky wrote: > On 10/13/17 08:49, Adrian Chadd wrote: >> >> if (ieee80211_check_rxseq_amsdu_more(rxs)) { > > ^^^ does this line also need a NULL check? > > >>

svn commit: r324580 - head/sys/net80211

2017-10-12 Thread Adrian Chadd
Author: adrian Date: Fri Oct 13 06:49:07 2017 New Revision: 324580 URL: https://svnweb.freebsd.org/changeset/base/324580 Log: [net80211] don't try to follow a NULL rxs pointer down the sink. It's smelly, and we already checked earlier whether we needed to. Modified: head/sys/net80211/iee

Re: svn commit: r324570 - head/sys/net80211

2017-10-12 Thread Adrian Chadd
god damnit. lemme go look at what's going on. thanks for the heads up! -a On 12 October 2017 at 18:53, Cy Schubert wrote: > In message <201710122156.v9cluwh4017...@repo.freebsd.org>, Adrian Chadd > writes: >> Author: adrian >> Date: Thu Oct 12 21:56:58 2017 &

svn commit: r324571 - head/sys/dev/ath

2017-10-12 Thread Adrian Chadd
Author: adrian Date: Thu Oct 12 21:58:51 2017 New Revision: 324571 URL: https://svnweb.freebsd.org/changeset/base/324571 Log: [ath] Begin using the replacement EDCA functions. As part of ath10k and other chipset support, the EDCA stuff has to be moved to potentially be per-VAP. For hardw

svn commit: r324570 - head/sys/net80211

2017-10-12 Thread Adrian Chadd
Author: adrian Date: Thu Oct 12 21:56:58 2017 New Revision: 324570 URL: https://svnweb.freebsd.org/changeset/base/324570 Log: [net80211] begin handling multiple hardware decap'ed A-MSDU in the RX path. The duplicate detection code currently expects A-MSDU frames to be encaped - they're de

svn commit: r321800 - head/tools/tools/net80211/wlanwds

2017-07-31 Thread Adrian Chadd
Author: adrian Date: Mon Jul 31 17:33:57 2017 New Revision: 321800 URL: https://svnweb.freebsd.org/changeset/base/321800 Log: [wlanwds] allow for a DWDS AP VAP to be not be the first VAP on a NIC. The wlanwds code was just creating a clone VAP without specifying the MAC address to use for

svn commit: r321635 - head/sys/mips/conf

2017-07-27 Thread Adrian Chadd
Author: adrian Date: Fri Jul 28 01:17:38 2017 New Revision: 321635 URL: https://svnweb.freebsd.org/changeset/base/321635 Log: [ar71xx] get rid of ath_pci - it's built as a module now. Modified: head/sys/mips/conf/TL-WDR4300 Modified: head/sys/mips/conf/TL-WDR4300

svn commit: r321511 - head/sys/dev/iwm

2017-07-25 Thread Adrian Chadd
Author: adrian Date: Wed Jul 26 05:52:37 2017 New Revision: 321511 URL: https://svnweb.freebsd.org/changeset/base/321511 Log: [iwm] Sync rs (rate-selection) API definitions from Linux iwlwifi. * While there clean up alignments and line wrapping in existing definitions for rs API in if_i

svn commit: r321510 - head/sys/dev/iwm

2017-07-25 Thread Adrian Chadd
Author: adrian Date: Wed Jul 26 05:51:31 2017 New Revision: 321510 URL: https://svnweb.freebsd.org/changeset/base/321510 Log: [iwm] Add iwm_mvm_send_lq_cmd() from Linux iwlwifi to if_iwm_util.c. Obtained from:dragonflybsd.git 8a5dd7783e407856754093f5b1c9c757c64534b7 Modified: he

svn commit: r321509 - head/sys/dev/iwm

2017-07-25 Thread Adrian Chadd
Author: adrian Date: Wed Jul 26 05:40:52 2017 New Revision: 321509 URL: https://svnweb.freebsd.org/changeset/base/321509 Log: [iwm] Sync statistics API definitions with Linux iwlwifi. Obtained from:dragonflybsd.git 75895a53a9c1ba60d75be9b4bf6e49a37f91a7cf Modified: head/sys/dev/

svn commit: r321508 - head/sys/dev/iwm

2017-07-25 Thread Adrian Chadd
Author: adrian Date: Wed Jul 26 05:29:08 2017 New Revision: 321508 URL: https://svnweb.freebsd.org/changeset/base/321508 Log: [iwm] Cleanup mbufq draining. Add iwm_xmit_queue_drain() like in iwn(4). * iwm_xmit_queue_drain() calls ieee80211_free_node(), removing a possible memory leak, c

svn commit: r321507 - head/sys/dev/iwm

2017-07-25 Thread Adrian Chadd
Author: adrian Date: Wed Jul 26 05:26:01 2017 New Revision: 321507 URL: https://svnweb.freebsd.org/changeset/base/321507 Log: [iwm] if_iwm - Use chan list from ieee80211_scan_state for scan, not ic_channels. * Limiting the channel list with "ifconfig wlan0 chanlist ..." now will actual

svn commit: r321380 - head/sys/mips/conf

2017-07-23 Thread Adrian Chadd
Author: adrian Date: Sun Jul 23 07:10:41 2017 New Revision: 321380 URL: https://svnweb.freebsd.org/changeset/base/321380 Log: [ar933x] make carambola2 work again! * Add in the hints needed for AR933x ath(4) support - this is the nicer way that allows ath to be a module; * ATH_EEPROM_F

svn commit: r321379 - head/sys/mips/conf

2017-07-23 Thread Adrian Chadd
Author: adrian Date: Sun Jul 23 07:02:10 2017 New Revision: 321379 URL: https://svnweb.freebsd.org/changeset/base/321379 Log: [ar933x] re-add the ar71xx_apb device for AR933x. This prevents the console from working! Tested: * carambola2, AR933x Modified: head/sys/mips/conf/std.

svn commit: r321101 - head/sys/dev/iwm

2017-07-17 Thread Adrian Chadd
Author: adrian Date: Mon Jul 17 21:32:35 2017 New Revision: 321101 URL: https://svnweb.freebsd.org/changeset/base/321101 Log: [iwm] actually use the new rxon function now. It turns out the /next/ dragonflybsd git actually uses the scan channel list, so just kick this along to make the nex

svn commit: r321100 - head/sys/dev/iwm

2017-07-17 Thread Adrian Chadd
Author: adrian Date: Mon Jul 17 21:29:18 2017 New Revision: 321100 URL: https://svnweb.freebsd.org/changeset/base/321100 Log: [iwm] if_iwm - Factor out and improve iwm_mvm_scan_rxon_flags() in if_iwm_scan.c. From the original commit: == * Actually look at the first channel in the

svn commit: r320704 - head/sys/mips/atheros

2017-07-05 Thread Adrian Chadd
Author: adrian Date: Thu Jul 6 04:56:23 2017 New Revision: 320704 URL: https://svnweb.freebsd.org/changeset/base/320704 Log: [ar724x] put in explicit memory barriers now that read/write register no longer implicitly do them. They were removed as part of my "fix this to actually work" a

svn commit: r320700 - head/sys/mips/conf

2017-07-05 Thread Adrian Chadd
Author: adrian Date: Thu Jul 6 04:06:25 2017 New Revision: 320700 URL: https://svnweb.freebsd.org/changeset/base/320700 Log: [ar71xx] Start migrating the AR934x based boards over to the new world order. This unifies the PCI hints with the AHB/NOR hint syntax. Tested: * DIR825C1,

svn commit: r320466 - head/sys/dev/ath

2017-06-28 Thread Adrian Chadd
Author: adrian Date: Thu Jun 29 03:59:02 2017 New Revision: 320466 URL: https://svnweb.freebsd.org/changeset/base/320466 Log: [ath_hal] if building with ALQ, ensure we actually depend upon ALQ. Modified: head/sys/dev/ath/ah_osdep.c Modified: head/sys/dev/ath/ah_osdep.c ==

svn commit: r320465 - head/sys/mips/conf

2017-06-28 Thread Adrian Chadd
Author: adrian Date: Thu Jun 29 03:58:01 2017 New Revision: 320465 URL: https://svnweb.freebsd.org/changeset/base/320465 Log: [mips] [ar71xx] Since the wlan/ath drivers use ALQ, ensure we build the module here otherwise we can't load said module. Modified: head/sys/mips/conf/std.AR_MIPS_BAS

<    1   2   3   4   5   6   7   8   9   10   >