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

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: 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: 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

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: 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: 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

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: 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: 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: 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

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"

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:30:06 2017 New Revision: 318226 URL: https://svnweb.freebsd.org/changeset/base/318226 Log: [iwm] Switch arguments from iwm_node* to iwm_vap* in if_iwm_power.c. * Power management handling is per-vap, not per-node, so we should pass the iwm_vap in these

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:30:50 2017 New Revision: 318227 URL: https://svnweb.freebsd.org/changeset/base/318227 Log: [iwm] Clean up if_iwm_power.c a bit. Fix iwm_power_scheme debug print. Obtained from:dragonflybsd.git 52c3adbee676d8558065618e5ad694ea5c6697e0 Modified:

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:31:57 2017 New Revision: 318228 URL: https://svnweb.freebsd.org/changeset/base/318228 Log: [iwm] Make powersaving more similar to Linux iwlwifi behaviour. * Add a per-vap ps_disabled flag, and use it for a workaround which fixes an association issue wh

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:33:07 2017 New Revision: 318229 URL: https://svnweb.freebsd.org/changeset/base/318229 Log: [iwm] Adjust if_iwm_sta.h prototypes, don't pass iwm_node to rm_sta(). * Since a RUN -> INIT/SCAN transition seems to immediately destroy the ieee80211_node for

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:33:55 2017 New Revision: 318230 URL: https://svnweb.freebsd.org/changeset/base/318230 Log: [iwm] Fix iwm_mvm_send_cmd_pdu(_status) declarations. Make id a uint32_t. * This fixes cases where the group id of wide commands got lost, e.g. this happened to

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:34:43 2017 New Revision: 318231 URL: https://svnweb.freebsd.org/changeset/base/318231 Log: [iwm] Revert "if_iwm - SCAN_ABORT_UMAC response doesn't use a wide id" This reverts commit cef47a9cbb0a3ce5f18369fed9403d2764884bc2. Obtained from:drago

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:35:20 2017 New Revision: 318232 URL: https://svnweb.freebsd.org/changeset/base/318232 Log: [iwm] Recognize IWM_FW_PAGING_BLOCK_CMD wide cmd response correctly. Obtained from:dragonflybsd.git ef688cebb9b29b67f7a011846589971987949e0d Modified: he

svn commit: r318413 - head/sys/net80211

2017-05-17 Thread Adrian Chadd
Author: adrian Date: Wed May 17 19:34:36 2017 New Revision: 318413 URL: https://svnweb.freebsd.org/changeset/base/318413 Log: [net80211] initial VHT radiotap implementation defines from upstream radiotap. Modified: head/sys/net80211/ieee80211_radiotap.h Modified: head/sys/net80211/ieee80211_

svn commit: r318566 - head/sys/net80211

2017-05-19 Thread Adrian Chadd
Author: adrian Date: Sat May 20 00:43:52 2017 New Revision: 318566 URL: https://svnweb.freebsd.org/changeset/base/318566 Log: [net80211] prepare for A-MSDU/A-MPDU offload crypto / sequence number checking. When doing AMSDU offload, the driver (for now!) presents 802.11 frames with the sa

svn commit: r318601 - in head: contrib/compiler-rt/lib/builtins lib/libcompiler_rt

2017-05-21 Thread Adrian Chadd
Author: adrian Date: Sun May 21 23:15:32 2017 New Revision: 318601 URL: https://svnweb.freebsd.org/changeset/base/318601 Log: [libcompiler-rt] add bswapdi2/bswapsi2 This is required for mips gcc 6.3 userland to build/run. Reviewed by: emaste, dim Approved by: emaste Differential

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

2017-05-21 Thread Adrian Chadd
Author: adrian Date: Sun May 21 23:55:58 2017 New Revision: 318602 URL: https://svnweb.freebsd.org/changeset/base/318602 Log: [ar71xx] fix up dump space a la what jhb@ did elsewhere a while ago. Modified: head/sys/mips/atheros/ar71xx_machdep.c Modified: head/sys/mips/atheros/ar71xx_machdep.c

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

2017-05-22 Thread Adrian Chadd
Author: adrian Date: Tue May 23 03:48:42 2017 New Revision: 318690 URL: https://svnweb.freebsd.org/changeset/base/318690 Log: [arswitch] add phy debugging to the internal PHY read/write functions. Modified: head/sys/dev/etherswitch/arswitch/arswitch_phy.c Modified: head/sys/dev/etherswitch/a

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

2017-05-22 Thread Adrian Chadd
use file is newly added) +++ head/sys/mips/atheros/ar71xx_caldata.c Tue May 23 06:20:06 2017 (r318696) @@ -0,0 +1,176 @@ +/*- + * Copyright (c) 2017, Adrian Chadd . + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permit

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

2017-05-22 Thread Adrian Chadd
Author: adrian Date: Tue May 23 06:20:24 2017 New Revision: 318697 URL: https://svnweb.freebsd.org/changeset/base/318697 Log: [ar71xx] remove dead code! Modified: head/sys/mips/atheros/ar71xx_fixup.c Modified: head/sys/mips/atheros/ar71xx_fixup.c =

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

2017-05-23 Thread Adrian Chadd
Author: adrian Date: Wed May 24 01:02:35 2017 New Revision: 318768 URL: https://svnweb.freebsd.org/changeset/base/318768 Log: [ath] begin migration of AHB support to use the PCI style board data API for calibration data. This brings the AHB support in line with the PCI support - now other

svn commit: r318856 - in head/sys: dev/ath dev/ath/ath_dfs/null dev/ath/ath_hal dev/ath/ath_rate/sample modules modules/ath modules/ath_dfs modules/ath_hal modules/ath_hal_ar5210 modules/ath_hal_ar...

2017-05-24 Thread Adrian Chadd
1970 (empty, because file is newly added) +++ head/sys/dev/ath/ah_osdep_ar5210.c Thu May 25 04:18:46 2017 (r318856) @@ -0,0 +1,74 @@ +/*- + * Copyright 2017 Adrian Chadd . + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following

svn commit: r318857 - in head/sys/dev/ath: . ath_hal

2017-05-24 Thread Adrian Chadd
Author: adrian Date: Thu May 25 04:26:26 2017 New Revision: 318857 URL: https://svnweb.freebsd.org/changeset/base/318857 Log: [ath] [ath_hal] retire AH_SUPPORT_AR5416 changing anything. Yes, the memory bloat is large, but it's 2017 and I'll fix it later by making it runtime configurable /

svn commit: r318858 - head

2017-05-24 Thread Adrian Chadd
Author: adrian Date: Thu May 25 05:01:44 2017 New Revision: 318858 URL: https://svnweb.freebsd.org/changeset/base/318858 Log: Bump UPDATING to cover the ath shuffle. Modified: head/UPDATING Modified: head/UPDATING ==

svn commit: r318859 - head/lib

2017-05-24 Thread Adrian Chadd
Author: adrian Date: Thu May 25 05:02:43 2017 New Revision: 318859 URL: https://svnweb.freebsd.org/changeset/base/318859 Log: [lib] disable libc++experimental on mips platforms for now. This breaks at least mips32 platform builds. Reviewed by: dim Modified: head/lib/Makefile Modif

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

2017-05-25 Thread Adrian Chadd
Author: adrian Date: Fri May 26 00:48:21 2017 New Revision: 318911 URL: https://svnweb.freebsd.org/changeset/base/318911 Log: [ath] fix short-GI wireshark flag. Yes, HAL_RX_GI means "short guard interval." Modified: head/sys/dev/ath/if_ath_rx.c Modified: head/sys/dev/ath/if_ath_rx.c ===

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

2017-05-28 Thread Adrian Chadd
Author: adrian Date: Sun May 28 07:44:55 2017 New Revision: 319055 URL: https://svnweb.freebsd.org/changeset/base/319055 Log: [ar71xx] undo read-after-write to flush; some bus devices dislike this. This broke the PCI fixup on at least the AR7240 + AR9280 reference design board that I have

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

2017-05-29 Thread Adrian Chadd
Author: adrian Date: Mon May 29 07:27:08 2017 New Revision: 319100 URL: https://svnweb.freebsd.org/changeset/base/319100 Log: Update AP93 support to the new world order. * Map change: create a combined kernel+rootfs image. The instructions I'll post on the wiki (which will be for a ve

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

2017-05-29 Thread Adrian Chadd
Author: adrian Date: Mon May 29 07:30:07 2017 New Revision: 319101 URL: https://svnweb.freebsd.org/changeset/base/319101 Log: [ar71xx] [ar724x] update to work * add EARLY_PRINTF for debugging * update module list to be much larger * add random, otherwise well, stuff doesn't work. * IP

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

2017-05-29 Thread Adrian Chadd
Author: adrian Date: Mon May 29 07:57:01 2017 New Revision: 319102 URL: https://svnweb.freebsd.org/changeset/base/319102 Log: [AP93] fix up the arge0/arge1 hints. Modified: head/sys/mips/conf/AP93.hints Modified: head/sys/mips/conf/AP93.hints =

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

2017-05-31 Thread Adrian Chadd
Author: adrian Date: Wed May 31 16:32:33 2017 New Revision: 319343 URL: https://svnweb.freebsd.org/changeset/base/319343 Log: [ar71xx] rename AR724X_BASE -> std.AR724X Added: head/sys/mips/conf/std.AR724X - copied, changed from r319342, head/sys/mips/conf/AR724X_BASE Deleted: head/sys/

svn commit: r319577 - in head/sys: conf dev/iwm modules/iwm

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:05:58 2017 New Revision: 319577 URL: https://svnweb.freebsd.org/changeset/base/319577 Log: [iwm] Move Smart Fifo handling into if_iwm_sf.c, sync with Linux iwlwifi. * This change also fixes a possible issue in the existing smart-fifo code, which set th

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

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:10:14 2017 New Revision: 319578 URL: https://svnweb.freebsd.org/changeset/base/319578 Log: [iwm] Check for lar_disable tunable, and lar_enabled flag from NVM. * LAR can be disabled with the hw.iwm.lar.disable tunable now. * On Family 8000 devices we n

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

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:11:28 2017 New Revision: 319579 URL: https://svnweb.freebsd.org/changeset/base/319579 Log: [iwm] Remove dead code from iwm_pcie_load_cpu_sections(). * If device family is 8000 then iwm_pcie_load_cpu_sections() won't be called at all (iwm_pcie_load_cpu_

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

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:12:11 2017 New Revision: 319580 URL: https://svnweb.freebsd.org/changeset/base/319580 Log: [iwm] Set correct state in smart-fifo configuration. Obtained from:dragonflybsd.git 666737f64b4f6dd42ffd9f0ace9fc46ccc1ebaab Modified: head/sys/dev/iwm/i

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

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:13:13 2017 New Revision: 319581 URL: https://svnweb.freebsd.org/changeset/base/319581 Log: [iwm] Set command code for PHY_DB as well. Obtained from:dragonflybsd.git 58318c956a74382d1286ccabaf767012fdcfe1a2 Modified: head/sys/dev/iwm/if_iwm.c

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

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:14:23 2017 New Revision: 319582 URL: https://svnweb.freebsd.org/changeset/base/319582 Log: [iwm] Ignore IWM_DEBUG_LOG_MSG notifications. * Firmware versions 21 and 22 generate some IWM_DEBUG_LOG_MSG notifications, which seem to be harmless. Avoid spamm

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

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:21:44 2017 New Revision: 319583 URL: https://svnweb.freebsd.org/changeset/base/319583 Log: [ath_hal] add USB reset PLL work around for AR9331/AR9344 (Hornet/Wasp.) It turns out that this is useful on hornet and wasp SoCs but it isn't enabled in ye olde H

svn commit: r319584 - head/sys/contrib/dev/iwm

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:26:31 2017 New Revision: 319584 URL: https://svnweb.freebsd.org/changeset/base/319584 Log: [iwmfw] add 7265D-22 firmware Added: head/sys/contrib/dev/iwm/iwm-7265D-22.fw.uu (contents, props changed) Added: head/sys/contrib/dev/iwm/iwm-7265D-22.fw.uu ==

svn commit: r319588 - in head/sys/modules/iwmfw: iwm7265Dfw iwm8000Cfw

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:28:03 2017 New Revision: 319588 URL: https://svnweb.freebsd.org/changeset/base/319588 Log: [iwmfw] bump built firmware now to version 22 for 7265D and 8000C. Modified: head/sys/modules/iwmfw/iwm7265Dfw/Makefile head/sys/modules/iwmfw/iwm8000Cfw/Makefile M

svn commit: r319586 - head/sys/contrib/dev/iwm

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:27:39 2017 New Revision: 319586 URL: https://svnweb.freebsd.org/changeset/base/319586 Log: [iwmfw] 8000C ver 22 firmware. Added: head/sys/contrib/dev/iwm/iwm-8000C-22.fw.uu (contents, props changed) Added: head/sys/contrib/dev/iwm/iwm-8000C-22.fw.uu =

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

2017-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 4 21:28:52 2017 New Revision: 319589 URL: https://svnweb.freebsd.org/changeset/base/319589 Log: [iwm] Remove support for fw older than -17 and -22 * iwm(4) didn't use any of these definitions yet, anyway. Obtained from:dragonflybsd.git f95003b8f1f

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

2017-06-15 Thread Adrian Chadd
Author: adrian Date: Fri Jun 16 00:44:23 2017 New Revision: 319994 URL: https://svnweb.freebsd.org/changeset/base/319994 Log: [ar71xx] migrate all of the duplicate configuration out into a shared config file. This brings the default configurations (drivers, net80211 settings, etc) and som

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

2017-06-28 Thread Adrian Chadd
Author: adrian Date: Thu Jun 29 03:57:22 2017 New Revision: 320464 URL: https://svnweb.freebsd.org/changeset/base/320464 Log: [mips] make this compile again after all of the config changes. Modified: head/sys/mips/conf/DIR-825C1 Modified: head/sys/mips/conf/DIR-825C1

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

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: 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: 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: r307470 - head/sys/net80211

2016-10-16 Thread Adrian Chadd
Author: adrian Date: Mon Oct 17 04:30:10 2016 New Revision: 307470 URL: https://svnweb.freebsd.org/changeset/base/307470 Log: [net80211] add some more RX flags. Modified: head/sys/net80211/ieee80211_freebsd.h Modified: head/sys/net80211/ieee80211_freebsd.h ===

svn commit: r307602 - head/sys/net80211

2016-10-18 Thread Adrian Chadd
Author: adrian Date: Wed Oct 19 05:03:46 2016 New Revision: 307602 URL: https://svnweb.freebsd.org/changeset/base/307602 Log: [net80211] Initial full-offload scan support. This is a very simple addition to the net80211 scan support. It doesn't implement a replacement scan interface - i

svn commit: r307818 - head/sys/net80211

2016-10-23 Thread Adrian Chadd
Author: adrian Date: Sun Oct 23 08:19:43 2016 New Revision: 307818 URL: https://svnweb.freebsd.org/changeset/base/307818 Log: [net80211] Add a macro to see if a frame is a management frame or not. Modified: head/sys/net80211/ieee80211.h Modified: head/sys/net80211/ieee80211.h ===

svn commit: r307819 - head/sys/net80211

2016-10-23 Thread Adrian Chadd
Author: adrian Date: Sun Oct 23 08:21:35 2016 New Revision: 307819 URL: https://svnweb.freebsd.org/changeset/base/307819 Log: [net80211] Add a variant on ieee80211_get_rx_params() that returns a pointer. Be careful when calling this, as the underlying mbuf may change afterwards - common i

svn commit: r307831 - head/lib/librss

2016-10-23 Thread Adrian Chadd
Author: adrian Date: Sun Oct 23 20:41:25 2016 New Revision: 307831 URL: https://svnweb.freebsd.org/changeset/base/307831 Log: [rss] install the header file. Submitted by: gallatin Modified: head/lib/librss/Makefile Modified: head/lib/librss/Makefile =

svn commit: r307832 - head/lib/librss

2016-10-23 Thread Adrian Chadd
Author: adrian Date: Sun Oct 23 20:42:32 2016 New Revision: 307832 URL: https://svnweb.freebsd.org/changeset/base/307832 Log: [rss] manpage improvements. Submitted by: gallatin Modified: head/lib/librss/librss.3 Modified: head/lib/librss/librss.3

svn commit: r308007 - head/sys/net80211

2016-10-27 Thread Adrian Chadd
Author: adrian Date: Fri Oct 28 02:09:45 2016 New Revision: 308007 URL: https://svnweb.freebsd.org/changeset/base/308007 Log: [net80211] don't abort a background scan upon reception of a single packet. Full offload drivers don't need this behaviour - they do it in firmware. Modified: hea

svn commit: r308008 - head/sys/net80211

2016-10-27 Thread Adrian Chadd
Author: adrian Date: Fri Oct 28 02:10:07 2016 New Revision: 308008 URL: https://svnweb.freebsd.org/changeset/base/308008 Log: [net80211] add comments! Modified: head/sys/net80211/ieee80211_scan.c Modified: head/sys/net80211/ieee80211_scan.c ===

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

2016-11-03 Thread Adrian Chadd
Author: adrian Date: Thu Nov 3 23:05:39 2016 New Revision: 308267 URL: https://svnweb.freebsd.org/changeset/base/308267 Log: [ath] add the MIMO per-chain RSSI and noise floor information. This is a long time coming. The general pieces have been floating around in a local repo since circ

svn commit: r308268 - head/sys/x86/x86

2016-11-03 Thread Adrian Chadd
Author: adrian Date: Thu Nov 3 23:11:33 2016 New Revision: 308268 URL: https://svnweb.freebsd.org/changeset/base/308268 Log: Add a witness check to enforce that no non-sleeping locks are held when they shouldn't be. I used this during driver bring-up to find that the Linux driver holds a

svn commit: r308354 - head/sys/net80211

2016-11-05 Thread Adrian Chadd
Author: adrian Date: Sat Nov 5 22:41:22 2016 New Revision: 308354 URL: https://svnweb.freebsd.org/changeset/base/308354 Log: [net80211] begin fleshing out new hardware crypto offload features. * extend the keycache flag word to be 32 bits, not 16 bits * add new key flags for transmit:

svn commit: r308383 - head/sys/net80211

2016-11-06 Thread Adrian Chadd
Author: adrian Date: Sun Nov 6 19:16:46 2016 New Revision: 308383 URL: https://svnweb.freebsd.org/changeset/base/308383 Log: [net80211] add a method to also explicitly tear down RX A-MPDU. The ath10k firmware API doesn't pass up the ADDBA/DELBA frames, only WMI firmware notifications.

svn commit: r308385 - head/sys/net80211

2016-11-06 Thread Adrian Chadd
Author: adrian Date: Sun Nov 6 19:18:25 2016 New Revision: 308385 URL: https://svnweb.freebsd.org/changeset/base/308385 Log: [net80211] extend the net80211 ALQ code to support variable payloads. Also - allow driver specific bits to be added, rather than just net80211. This still isn't

svn commit: r308485 - head/sys/net80211

2016-11-10 Thread Adrian Chadd
Author: adrian Date: Thu Nov 10 18:36:40 2016 New Revision: 308485 URL: https://svnweb.freebsd.org/changeset/base/308485 Log: [net80211] implement "first RX defines the BAW" hack. Unfortunately (sigh) some firmware doesn't provide the RX BA starting point, so we need to cope and set a "cl

Re: svn commit: r308130 - in head: . gnu/lib/libgcc gnu/usr.bin/binutils gnu/usr.bin/binutils/ld gnu/usr.bin/binutils/libbfd gnu/usr.bin/cc gnu/usr.bin/gdb gnu/usr.bin/gdb/libgdb lib/libc lib/libc/mip

2016-11-10 Thread Adrian Chadd
hi, This fails to boot on actual mips24k hardware, no hardfloat: COP1_UNUSABLE: pid 1 tid 11 (init), uid 0: pc 0x404237c0 ra 0x404224d4 Trapframe Register Dump: zero: 0at: 0xffe0v0: 0x404471b8v1: 0x .. lots of that the moment we boot userland. -

Re: svn commit: r308130 - in head: . gnu/lib/libgcc gnu/usr.bin/binutils gnu/usr.bin/binutils/ld gnu/usr.bin/binutils/libbfd gnu/usr.bin/cc gnu/usr.bin/gdb gnu/usr.bin/gdb/libgdb lib/libc lib/libc/mip

2016-11-10 Thread Adrian Chadd
November 2016 at 12:49, Adrian Chadd wrote: > hi, > > This fails to boot on actual mips24k hardware, no hardfloat: > > COP1_UNUSABLE: pid 1 tid 11 (init), uid 0: pc 0x404237c0 ra 0x404224d4 > Trapframe Register Dump: > zero: 0at: 0xffe0

Re: svn commit: r305843 - in head/sys/mips: include mips

2016-11-10 Thread Adrian Chadd
hi, This patch breaks stuff on my mips24k SoCs (ie, all the atheros chips.) BAD_PAGE_FAULT: pid 1 tid 11 (init), uid 0: pc 0x4002a4 got a read fault (type 0x2) at 0 Trapframe Register Dump: zero: 0at: 0v0: 0v1: 0 a0: 0x7fffeecca1: 0a2: 0a3: 0 t0: 0t1: 0

Re: svn commit: r308130 - in head: . gnu/lib/libgcc gnu/usr.bin/binutils gnu/usr.bin/binutils/ld gnu/usr.bin/binutils/libbfd gnu/usr.bin/cc gnu/usr.bin/gdb gnu/usr.bin/gdb/libgdb lib/libc lib/libc/mip

2016-11-10 Thread Adrian Chadd
ips.mipselhf (this hardware has FPU). > > I have no hardware without FPU. > > What exactly COP_1 bits you have commented to get rid of COP1_UNUSABLE? > > Ruslan > > On Thu, Nov 10, 2016 at 01:09:20PM -0800, Adrian Chadd wrote: >> ok, so there are two problems with mips

Re: svn commit: r306224 - head/sys/kern

2016-11-12 Thread Adrian Chadd
This causes the AR9331 / Carambola2 kernel to just plainly not start. :( -adrian On 22 September 2016 at 21:45, Mateusz Guzik wrote: > Author: mjg > Date: Fri Sep 23 04:45:11 2016 > New Revision: 306224 > URL: https://svnweb.freebsd.org/changeset/base/306224 > > Log: > cache: get rid of the

Re: svn commit: r307626 - head/sys/ufs/ffs

2016-11-12 Thread Adrian Chadd
hi! This broke freebsd on mips24k. BAD_PAGE_FAULT: pid 1 tid 11 (init), uid 0: pc 0x4002a4 got a read fault (type 0x2) at 0 Trapframe Register Dump: zero: 0at: 0v0: 0v1: 0 a0: 0x7fffeecca1: 0a2: 0a3: 0 t0: 0t1: 0t2: 0t3: 0 t4: 0t5: 0

Re: svn commit: r308493 - in head: contrib/amd contrib/amd/amd contrib/amd/amq contrib/amd/conf/checkmount contrib/amd/conf/mtab contrib/amd/conf/nfs_prot contrib/amd/conf/transp contrib/amd/conf/umou

2016-11-12 Thread Adrian Chadd
Fails to build on -mips: /usr/home/adrian/work/freebsd/head-embedded/src/contrib/amd/amd/readdir.c: In function 'amfs_generic_readdir': /usr/home/adrian/work/freebsd/head-embedded/src/contrib/amd/amd/readdir.c:947:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-ca

Re: svn commit: r308493 - in head: contrib/amd contrib/amd/amd contrib/amd/amq contrib/amd/conf/checkmount contrib/amd/conf/mtab contrib/amd/conf/nfs_prot contrib/amd/conf/transp contrib/amd/conf/umou

2016-11-12 Thread Adrian Chadd
After looking at this, i'm not sure how this is supposed to work on a 32 bit platform at all. Is there some vendor patch to fix compilation on 32 bit platforms? If not, can we back this out until we get it compiling on 32 bit platforms? Thanks, -adrian __

Re: svn commit: r307626 - head/sys/ufs/ffs

2016-11-12 Thread Adrian Chadd
That disappeared from the file in a later commit? -a On 12 November 2016 at 22:58, Konstantin Belousov wrote: > On Sat, Nov 12, 2016 at 03:19:13PM -0800, Adrian Chadd wrote: >> hi! >> >> This broke freebsd on mips24k. >> >> BAD_PAGE_FAULT: pid 1 tid 11

Re: svn commit: r307626 - head/sys/ufs/ffs

2016-11-12 Thread Adrian Chadd
On 12 November 2016 at 23:12, Warner Losh wrote: > On Sat, Nov 12, 2016 at 11:58 PM, Konstantin Belousov > wrote: >> On Sat, Nov 12, 2016 at 03:19:13PM -0800, Adrian Chadd wrote: >>> hi! >>> >>> This broke freebsd on mips24k. >>> >>> BA

Re: svn commit: r307626 - head/sys/ufs/ffs

2016-11-12 Thread Adrian Chadd
On 12 November 2016 at 23:16, Konstantin Belousov wrote: > On Sat, Nov 12, 2016 at 11:10:43PM -0800, Adrian Chadd wrote: >> That disappeared from the file in a later commit? > From which commit did it disappeared ? > > The tunable is present since sys/kern/vfs_bio.c r308026.

svn commit: r308661 - in head/sys: conf kern

2016-11-14 Thread Adrian Chadd
Author: adrian Date: Tue Nov 15 01:34:38 2016 New Revision: 308661 URL: https://svnweb.freebsd.org/changeset/base/308661 Log: [mips] make UMTX_CHAINS configurable at compile time. The default (512) wastes quite a bit of space which doesn't really buy us much on highly embedded systems whi

svn commit: r308662 - head/sys/kern

2016-11-14 Thread Adrian Chadd
Author: adrian Date: Tue Nov 15 01:41:45 2016 New Revision: 308662 URL: https://svnweb.freebsd.org/changeset/base/308662 Log: [mips] enable relbuf on mips for now to work around page aliasing in mips hardware. Although the higher end MIPS hardware handles cache aliasing issues in hardwar

svn commit: r308663 - head/sys/net80211

2016-11-14 Thread Adrian Chadd
Author: adrian Date: Tue Nov 15 01:47:37 2016 New Revision: 308663 URL: https://svnweb.freebsd.org/changeset/base/308663 Log: [net80211] announce 11n capabilities in probe requests in IBSS mode. The 802.11-2012 specification notes that a subset of IEs should be present in IBSS probe reque

Re: svn commit: r308746 - in head/sys/gnu/dts: include/dt-bindings/dma include/dt-bindings/net mips/ingenic

2016-11-17 Thread Adrian Chadd
heh, as someone with the ye older board / boot loader, I'll see about adding a comment somewhere that the console is .. not what dts says. :) -a ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubsc

svn commit: r308811 - head/sys/net80211

2016-11-18 Thread Adrian Chadd
Author: adrian Date: Fri Nov 18 21:12:13 2016 New Revision: 308811 URL: https://svnweb.freebsd.org/changeset/base/308811 Log: [net80211] shuffle IEEE80211_C and HTC bits over to _ieee80211.h so userland can use this. Reviewed by: avos Differential Revision:https://reviews.freebs

svn commit: r308812 - head/sbin/ifconfig

2016-11-18 Thread Adrian Chadd
Author: adrian Date: Fri Nov 18 21:12:36 2016 New Revision: 308812 URL: https://svnweb.freebsd.org/changeset/base/308812 Log: [ifconfig] remove now duplicate IEEE80211_C_BITS definition; it's now in _ieee80211.h . Reviewed by: avos Differential Revision:https://reviews.freebsd.o

Re: svn commit: r308810 - head/bin/dd

2016-11-18 Thread Adrian Chadd
fwiw, this breaks -head compilation. -a On 18 November 2016 at 13:09, Bartek Rutkowski wrote: > Author: robak (ports committer) > Date: Fri Nov 18 21:09:57 2016 > New Revision: 308810 > URL: https://svnweb.freebsd.org/changeset/base/308810 > > Log: > Capsicum support for dd(1) > > Adds Ca

svn commit: r308823 - head/sys/net80211

2016-11-18 Thread Adrian Chadd
Author: adrian Date: Sat Nov 19 02:00:24 2016 New Revision: 308823 URL: https://svnweb.freebsd.org/changeset/base/308823 Log: [net80211] handle hardware encryption offload in the receive path * teach the crypto modules about receive offload - although I have to do some further reviewing

svn commit: r308860 - head/bin/dd

2016-11-19 Thread Adrian Chadd
Author: adrian Date: Sat Nov 19 18:19:21 2016 New Revision: 308860 URL: https://svnweb.freebsd.org/changeset/base/308860 Log: [dd] Revert the capsicum bits for now until it gets fixed. dd is a bootstrap tool and that header isn't installed as part of the bootstrap environment for previous

Re: svn commit: r306186 - head/sys/kern

2016-11-21 Thread Adrian Chadd
Hi, For reference - this breaks sooptcopyin() on MIPS32 BE. Undoing this commit fixes things. :) (it breaks ipfw. ) -adrian On 22 September 2016 at 05:41, Ruslan Bukin wrote: > Author: br > Date: Thu Sep 22 12:41:53 2016 > New Revision: 306186 > URL: https://svnweb.freebsd.org/changeset/bas

svn commit: r308949 - head/sys/net80211

2016-11-21 Thread Adrian Chadd
Author: adrian Date: Tue Nov 22 01:22:54 2016 New Revision: 308949 URL: https://svnweb.freebsd.org/changeset/base/308949 Log: [net80211] flesh out more IBSS 11n support * Pepper comments around which describe what state(s) we're in when faking up 11n nodes. * By default don't fake it

svn commit: r308950 - head/sys/net80211

2016-11-21 Thread Adrian Chadd
Author: adrian Date: Tue Nov 22 02:02:13 2016 New Revision: 308950 URL: https://svnweb.freebsd.org/changeset/base/308950 Log: [net80211] Remove extra \n. Modified: head/sys/net80211/ieee80211_ht.c Modified: head/sys/net80211/ieee80211_ht.c

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

2016-11-21 Thread Adrian Chadd
Author: adrian Date: Tue Nov 22 02:42:00 2016 New Revision: 308951 URL: https://svnweb.freebsd.org/changeset/base/308951 Log: [ath] obey the peer A-MPDU density and max-size. * Obey the peer A-MPDU density if it's larger than the currently configured one. * Pay attention to the pee

svn commit: r308952 - head/sys/net80211

2016-11-21 Thread Adrian Chadd
Author: adrian Date: Tue Nov 22 02:51:06 2016 New Revision: 308952 URL: https://svnweb.freebsd.org/changeset/base/308952 Log: [net80211] store references to VHT and related IEs. This just stores pointers to the IE; it doesn't yet parse anything. Note: it blows out the size of ieee80211

svn commit: r308956 - head/sys/net80211

2016-11-21 Thread Adrian Chadd
Author: adrian Date: Tue Nov 22 06:53:52 2016 New Revision: 308956 URL: https://svnweb.freebsd.org/changeset/base/308956 Log: [net80211] Only send out a probe request if we see an unknown IBSS node that matches our SSID. Modified: head/sys/net80211/ieee80211_adhoc.c Modified: head/sys/net80

svn commit: r309014 - head/sys/net80211

2016-11-22 Thread Adrian Chadd
Author: adrian Date: Tue Nov 22 17:36:16 2016 New Revision: 309014 URL: https://svnweb.freebsd.org/changeset/base/309014 Log: [net80211] high oops on the high seas, or "god damnit compilers, it's 2016 and you're supposed to save me from this." TODO: * drink real coffee before committi

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

2016-11-27 Thread Adrian Chadd
Author: adrian Date: Sun Nov 27 18:34:29 2016 New Revision: 309215 URL: https://svnweb.freebsd.org/changeset/base/309215 Log: [ath] Begin to lay the groundwork for btcoex related ioctl controls. Modified: head/sys/dev/ath/if_ath_ioctl.c head/sys/dev/ath/if_athioctl.h Modified: head/sys/dev

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

2016-11-27 Thread Adrian Chadd
Author: adrian Date: Mon Nov 28 02:51:55 2016 New Revision: 309222 URL: https://svnweb.freebsd.org/changeset/base/309222 Log: [ath] include logging of TU versions of the TSF values. The beacon programming side of things deals in TUs and 1/8th TUs, so it's good to se the TU value here when

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

2016-11-27 Thread Adrian Chadd
Author: adrian Date: Mon Nov 28 02:59:33 2016 New Revision: 309223 URL: https://svnweb.freebsd.org/changeset/base/309223 Log: [ath] fix target beacon interval programming for STA mode when in powersave. This bug has been bugging me for quite some time. I finally sat down with enough coff

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

2016-11-28 Thread Adrian Chadd
Author: adrian Date: Mon Nov 28 08:13:20 2016 New Revision: 309246 URL: https://svnweb.freebsd.org/changeset/base/309246 Log: [ath] wake up the hardware from power-save before doing transmit completion checking. This was being done in the pre-AR9380 case, but not for AR9380 and later. Wh

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

2016-11-28 Thread Adrian Chadd
Author: adrian Date: Mon Nov 28 17:06:35 2016 New Revision: 309253 URL: https://svnweb.freebsd.org/changeset/base/309253 Log: [ath] revert the previous commit, after reading the 802.11-2012 spec a bit more. The 802.11-2012 spec talks about this - section 10.1.3.2 - Beacon Generation in I

  1   2   3   4   5   6   7   8   9   10   >