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

2016-07-08 Thread Adrian Chadd
Author: adrian Date: Fri Jul 8 21:35:44 2016 New Revision: 302462 URL: https://svnweb.freebsd.org/changeset/base/302462 Log: [ath] include ath_hal accessor macro changes. I missed this in the previous commit. Modified: head/sys/dev/ath/if_athvar.h Modified:

svn commit: r302461 - 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

2016-07-08 Thread Adrian Chadd
Author: adrian Date: Fri Jul 8 21:34:39 2016 New Revision: 302461 URL: https://svnweb.freebsd.org/changeset/base/302461 Log: [ath_hal] retire a "long RX desc" flag, store/use the TX/RX timestamp length. * the code already stored the length of the RX desc, which I never used. So, use

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

2016-07-08 Thread Adrian Chadd
Author: adrian Date: Fri Jul 8 19:16:50 2016 New Revision: 302446 URL: https://svnweb.freebsd.org/changeset/base/302446 Log: [ath_hal] extend the TX/RX descriptor layout to include location/beamforming fields. * extend the TX timestamp to 32 bits, as the AR5416 and later does a full

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

2016-07-07 Thread Adrian Chadd
Author: adrian Date: Thu Jul 7 17:22:13 2016 New Revision: 302392 URL: https://svnweb.freebsd.org/changeset/base/302392 Log: [ath] obey the short-GI vap config flag when transmitting. This makes 'ifconfig wlanX -shortgi' work correctly. Tested: * AR9380, STA mode Approved

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

2016-07-04 Thread Adrian Chadd
On 4 July 2016 at 12:28, Ed Schouten <e...@nuxi.nl> wrote: > 2016-07-04 21:08 GMT+02:00 Adrian Chadd <adrian.ch...@gmail.com>: >> Does the specification / implementation also mandate that the padding >> is zero'ed out or otherwise initialised? > >

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

2016-07-04 Thread Adrian Chadd
Hi, Does the specification / implementation also mandate that the padding is zero'ed out or otherwise initialised? -a On 4 July 2016 at 01:27, Ed Schouten wrote: > 2016-07-04 10:26 GMT+02:00 Ed Schouten : >> It is valid. The ".field = value" construct is called a

svn commit: r302202 - head/sys/net80211

2016-06-25 Thread Adrian Chadd
Author: adrian Date: Sat Jun 25 20:31:20 2016 New Revision: 302202 URL: https://svnweb.freebsd.org/changeset/base/302202 Log: [net80211] re-revert the ibss "is this local to the bss" patch. avos@ pointed out to me that this broke IBSS merging because the rest of the input path no longer

svn commit: r302106 - head/sys/dev/bhnd/bhndb

2016-06-22 Thread Adrian Chadd
Author: adrian Date: Thu Jun 23 01:15:35 2016 New Revision: 302106 URL: https://svnweb.freebsd.org/changeset/base/302106 Log: revert error commit from previous commit. my bad! Approved by: re (implicit) Modified: head/sys/dev/bhnd/bhndb/bhndb.c Modified:

svn commit: r302105 - in head/sys/dev/bhnd: . bcma bhndb

2016-06-22 Thread Adrian Chadd
Author: adrian Date: Thu Jun 23 01:14:33 2016 New Revision: 302105 URL: https://svnweb.freebsd.org/changeset/base/302105 Log: [BHND/bcma] Add implementation of BHND_BUS_RESET_CORE function for BCMA This patch addes missing implementation of BHND_BUS_RESET_CORE function for BCMA. The

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

2016-06-22 Thread Adrian Chadd
Author: adrian Date: Thu Jun 23 01:11:52 2016 New Revision: 302103 URL: https://svnweb.freebsd.org/changeset/base/302103 Log: [iwm] Add and use iwm_phy_db_free(), to plug phy_db memory leak. (Together with other iwm(4) memory leak fixes) Memory leakage in M_DEVBUF is now at ca. 2KB for

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

2016-06-22 Thread Adrian Chadd
Author: adrian Date: Thu Jun 23 01:00:13 2016 New Revision: 302102 URL: https://svnweb.freebsd.org/changeset/base/302102 Log: [iwm] Fix iwm_dma_contig_free(). dma->map is always NULL here. * When bus_dmamem_alloc is used, the bus_dmamap_t is usually set to NULL, so we were never

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

2016-06-22 Thread Adrian Chadd
Author: adrian Date: Thu Jun 23 00:56:54 2016 New Revision: 302101 URL: https://svnweb.freebsd.org/changeset/base/302101 Log: [iwm] Use vap->iv_myaddr instead of ic->ic_macaddr when vap != NULL. ic_macaddr is only used for the initial mac address provided by NVM. We should rather use

Re: svn commit: r299448 - in head/sys/cddl/contrib/opensolaris: common/acl uts/common/fs/zfs uts/common/sys

2016-06-21 Thread Adrian Chadd
"Solution dictated on account of personal life" is totally legit! -a On 21 June 2016 at 02:36, Edward Tomasz NapieraƂa wrote: > On 0619T1733, Alexander Motin wrote: >> On 19.06.16 17:28, Cy Schubert wrote: >> > In message <20160619080803.GA1638@brick>, Edward Tomasz >> >

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

2016-06-21 Thread Adrian Chadd
Author: adrian Date: Tue Jun 21 15:38:20 2016 New Revision: 302060 URL: https://svnweb.freebsd.org/changeset/base/302060 Log: [ath] fix TX throughput for EDMA chips by pushing more into the TX FIFO. It turns out that getting decent performance requires stacking the TX FIFO a little more

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

2016-06-20 Thread Adrian Chadd
Author: adrian Date: Mon Jun 20 16:12:27 2016 New Revision: 302030 URL: https://svnweb.freebsd.org/changeset/base/302030 Log: [ath] implement TX queue configuration extensions for the AR9380 HAL. Among other things, this introduces the idea of DBA-gated queues that aren't the CABQ. The

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

2016-06-19 Thread Adrian Chadd
Author: adrian Date: Mon Jun 20 02:04:40 2016 New Revision: 302024 URL: https://svnweb.freebsd.org/changeset/base/302024 Log: [ath] fix EDMA TX buffer flags for use when retransmitting frames. This started showing up when doing lots of aggregate traffic. For TDMA it's always no-ACK

svn commit: r302018 - head/sys/net80211

2016-06-19 Thread Adrian Chadd
Author: adrian Date: Sun Jun 19 07:31:02 2016 New Revision: 302018 URL: https://svnweb.freebsd.org/changeset/base/302018 Log: [net80211] remove node scan lock / generation number + fix few LORs Drop scan generation number and node table scan lock - the only place where ni_scangen is

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

2016-06-18 Thread Adrian Chadd
Author: adrian Date: Sun Jun 19 03:45:32 2016 New Revision: 302017 URL: https://svnweb.freebsd.org/changeset/base/302017 Log: [ath] add support for batching frames to the general TX queues. It turns out the frame scheduling policies (eg DBA_GATED) operate on a single TX FIFO entry. ASAP

Re: svn commit: r288291 - head/etc

2016-06-18 Thread Adrian Chadd
to expect. Thanks, -adrian On 18 June 2016 at 17:06, Cy Schubert <cy.schub...@komquats.com> wrote: > In message <2171b966-35c7-2dad-2c0f-f23061cb6...@freebsd.org>, Niclas > Zeising w > rites: >> On 09/27/15 06:03, Adrian Chadd wrote: >> > Author: adrian

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

2016-06-17 Thread Adrian Chadd
Author: adrian Date: Fri Jun 17 17:01:32 2016 New Revision: 301994 URL: https://svnweb.freebsd.org/changeset/base/301994 Log: [ath] don't debug RX EDMA descriptors that are not yet complete. Approved by: re@ (gjb) Modified: head/sys/dev/ath/if_ath_rx_edma.c Modified:

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

2016-06-16 Thread Adrian Chadd
Author: adrian Date: Thu Jun 16 17:59:15 2016 New Revision: 301970 URL: https://svnweb.freebsd.org/changeset/base/301970 Log: [iwm] free RX ring / NVM memory after they're used. * Free RX ring during detach * Free NVM memory after parsing Tested: * 7260, STA mode Submitted

svn commit: r301878 - head/sys/mips/mips

2016-06-14 Thread Adrian Chadd
Author: adrian Date: Tue Jun 14 06:21:51 2016 New Revision: 301878 URL: https://svnweb.freebsd.org/changeset/base/301878 Log: [mips] Tidy up setting/clearing the hardfloat flag. Submitted by: kan Approved by: re (delphij) Modified: head/sys/mips/mips/swtch.S Modified:

Re: svn commit: r301849 - head/sys/mips/mips

2016-06-13 Thread Adrian Chadd
I'll test that now. Thanks! -a On 13 June 2016 at 18:36, Alexander Kabaev <kab...@gmail.com> wrote: > On Mon, 13 Jun 2016 03:17:00 + (UTC) > Adrian Chadd <adr...@freebsd.org> wrote: > >> Author: adrian >> Date: Mon Jun 13 03:17:00 2016 >

svn commit: r301849 - head/sys/mips/mips

2016-06-12 Thread Adrian Chadd
Author: adrian Date: Mon Jun 13 03:17:00 2016 New Revision: 301849 URL: https://svnweb.freebsd.org/changeset/base/301849 Log: [mips] set hardfloat for fpu instruction generation for gcc/binutils 5.x This allows -HEAD to be compiled again using the gcc-5 mips port compiler. Reviewed

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

2016-06-12 Thread Adrian Chadd
Author: adrian Date: Mon Jun 13 00:13:20 2016 New Revision: 301845 URL: https://svnweb.freebsd.org/changeset/base/301845 Log: [iwm] Fix up busdma use in the RX path When allocating a new mbuf or bus_dmamap_load()-ing it fails, we can just keep the old mbuf since we are dropping that

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

2016-06-09 Thread Adrian Chadd
Author: adrian Date: Thu Jun 9 22:01:05 2016 New Revision: 301767 URL: https://svnweb.freebsd.org/changeset/base/301767 Log: [ath] add a placeholder event for debuggin EDMA TX FIFO push events. Some later code I'll commit pushes lists of frames into the EDMA TX FIFO, rather than a

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

2016-06-09 Thread Adrian Chadd
Author: adrian Date: Thu Jun 9 21:59:36 2016 New Revision: 301766 URL: https://svnweb.freebsd.org/changeset/base/301766 Log: [ath] report node queue overflows. I need to also update athstats to report this too. Modified: head/sys/dev/ath/if_ath_sysctl.c Modified:

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

2016-06-08 Thread Adrian Chadd
Author: adrian Date: Wed Jun 8 16:26:44 2016 New Revision: 301641 URL: https://svnweb.freebsd.org/changeset/base/301641 Log: [ath_hal] modify the xmit code to use temporary variables for setting qmisc/dmisc. This is in preparation for some other TDMA fixes which will hopefully end with

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

2016-06-08 Thread Adrian Chadd
Author: adrian Date: Wed Jun 8 16:21:38 2016 New Revision: 301640 URL: https://svnweb.freebsd.org/changeset/base/301640 Log: [ath_hal] add a _S so FSP (frame scheduling policy) can be set/read via SM/MS macros. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300reg.h Modified:

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

2016-06-08 Thread Adrian Chadd
Author: adrian Date: Wed Jun 8 16:10:34 2016 New Revision: 301639 URL: https://svnweb.freebsd.org/changeset/base/301639 Log: [ath_hal] correctly initialise the CAB queue default value * Allow readyTime to just be programmed in directly * The beacon interval and all of the beacon timing

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

2016-06-08 Thread Adrian Chadd
Author: adrian Date: Wed Jun 8 16:08:05 2016 New Revision: 301638 URL: https://svnweb.freebsd.org/changeset/base/301638 Log: [ath_hal] initialise ah_beaconInterval when the AP/IBSS/TDMA beacon is setup. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300.h

svn commit: r301537 - head/usr.sbin/bluetooth/ath3kfw

2016-06-06 Thread Adrian Chadd
Tue Jun 7 04:22:18 2016 (r301537) @@ -0,0 +1,41 @@ +/*- + * Copyright (c) 2013 Adrian Chadd <adr...@freebsd.org> + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following cond

Re: svn commit: r301434 - head/sys/dev/bwn

2016-06-05 Thread Adrian Chadd
note: this works on RX only; TX seems to fail right now and I'm not yet sure why. I'll dig into it. Thanks, -adrian On 5 June 2016 at 00:55, Adrian Chadd <adr...@freebsd.org> wrote: > Author: adrian > Date: Sun Jun 5 07:55:21 2016 > New Revision: 301434 > URL: https://

svn commit: r301435 - head/sys/dev/bwn

2016-06-05 Thread Adrian Chadd
Author: adrian Date: Sun Jun 5 07:56:28 2016 New Revision: 301435 URL: https://svnweb.freebsd.org/changeset/base/301435 Log: [bwn] Add missing firmware release calls. This trips me up whenever I'm fooling around with partially supported NICs that fail to fully attach or initialise - the

svn commit: r301434 - head/sys/dev/bwn

2016-06-05 Thread Adrian Chadd
Author: adrian Date: Sun Jun 5 07:55:21 2016 New Revision: 301434 URL: https://svnweb.freebsd.org/changeset/base/301434 Log: [bwn] Enable PHY-LP 5GHz support for the one NIC I have tested it on so far. After perusing the PHY-LP code (don't ask why; honest) I discovered that it /has/

svn commit: r301433 - head/sys/dev/bwn

2016-06-05 Thread Adrian Chadd
Author: adrian Date: Sun Jun 5 07:51:36 2016 New Revision: 301433 URL: https://svnweb.freebsd.org/changeset/base/301433 Log: [bwn] complain usefully if a PHY-N PHY is detected with no support is compiled in. Log something other than "error 6" if the attach fails because the GPL PHY-N

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

2016-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 5 05:55:27 2016 New Revision: 301423 URL: https://svnweb.freebsd.org/changeset/base/301423 Log: [ath_hal] add AR9462 (jupiter) RX gain / XLNA programming. This seems to make 5G work better. It doesn't fix powersave handling though, that still sees the PHY

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

2016-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 5 02:17:51 2016 New Revision: 301421 URL: https://svnweb.freebsd.org/changeset/base/301421 Log: [ath_hal] Add Jupiter 2.1 (AR9462 mac 640.3) support. Turns out I wasn't even initialising or programming a lot of stuff for the AR9462 2.1 chip. Oops. This

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

2016-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 5 02:16:16 2016 New Revision: 301420 URL: https://svnweb.freebsd.org/changeset/base/301420 Log: [ath_hal] teach the reset path(s) about Jupiter 2.1. This was just .. not programming in things, and thus large chunks of the radio wouldn't work. Notably, 5GHz

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

2016-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 5 02:15:29 2016 New Revision: 301419 URL: https://svnweb.freebsd.org/changeset/base/301419 Log: [ath_hal] convert the MCI code over to work on Jupiter 2.1. (Note: jupiter 1.0 was emulation / test silicon, and was never released in production. So, yes,

svn commit: r301418 - head/sys/dev/acpica

2016-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 5 02:02:51 2016 New Revision: 301418 URL: https://svnweb.freebsd.org/changeset/base/301418 Log: [acpi] graphics drivers want access to acpi lid handle the graphics drivers can benefit from access to the lid handle for querying and getting notifications

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

2016-06-04 Thread Adrian Chadd
Author: adrian Date: Sun Jun 5 01:42:37 2016 New Revision: 301416 URL: https://svnweb.freebsd.org/changeset/base/301416 Log: [ath_hal] Make the AR9462 2.0 initvals from ath9k compile. The (upcoming) semi-working AR9462 2.1 support uses the 2.0 initvals where appropriate, and those need

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

2016-06-04 Thread Adrian Chadd
Author: adrian Date: Sat Jun 4 08:56:30 2016 New Revision: 301307 URL: https://svnweb.freebsd.org/changeset/base/301307 Log: [ath] remove now unused parameters. These will move to being part of the driver btcoex stuff I'm working on, since the HAL doesn't know what to do with them.

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

2016-06-04 Thread Adrian Chadd
Author: adrian Date: Sat Jun 4 07:29:10 2016 New Revision: 301305 URL: https://svnweb.freebsd.org/changeset/base/301305 Log: [ath_hal] add STOMP_AUDIO for AR9462/QCA9565. Obtained from:Linux ath9k Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_mci.c Modified:

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

2016-06-04 Thread Adrian Chadd
Author: adrian Date: Sat Jun 4 07:28:09 2016 New Revision: 301303 URL: https://svnweb.freebsd.org/changeset/base/301303 Log: [ath_hal] add BTCOEX_STOMP_AUDIO; delete unused methods. Modified: head/sys/dev/ath/ath_hal/ah_btcoex.h Modified: head/sys/dev/ath/ath_hal/ah_btcoex.h

svn commit: r301304 - head/sys/dev/ath/ath_hal/ar5416

2016-06-04 Thread Adrian Chadd
Author: adrian Date: Sat Jun 4 07:28:36 2016 New Revision: 301304 URL: https://svnweb.freebsd.org/changeset/base/301304 Log: [ath_hal] add placeholders for AUDIO stomp for Kite/Kiwi. It just stomps all; which is enough for some testing. Modified:

svn commit: r301302 - head/sys/dev/usb/wlan

2016-06-04 Thread Adrian Chadd
Author: adrian Date: Sat Jun 4 07:18:39 2016 New Revision: 301302 URL: https://svnweb.freebsd.org/changeset/base/301302 Log: [run] fix TSF locking in RX radiotap. Submitted by: Imre Vadasz Modified: head/sys/dev/usb/wlan/if_run.c Modified:

Re: svn commit: r301236 - head/sys/dev/drm2

2016-06-02 Thread Adrian Chadd
fwiw, this made me cry. a lot. grr. -adrian On 2 June 2016 at 22:01, Adrian Chadd <adr...@freebsd.org> wrote: > Author: adrian > Date: Fri Jun 3 05:01:35 2016 > New Revision: 301236 > URL: https://svnweb.freebsd.org/changeset/base/301236 > > Log: > [drm

svn commit: r301236 - head/sys/dev/drm2

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Fri Jun 3 05:01:35 2016 New Revision: 301236 URL: https://svnweb.freebsd.org/changeset/base/301236 Log: [drm] fix up hex_dump_to_buffer to not overflow linebuf. That check wasn't enough to handle appending a two byte character following it. This prevented my

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

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 04:42:28 2016 New Revision: 301187 URL: https://svnweb.freebsd.org/changeset/base/301187 Log: [iwm] add LED blinking for iwm hardware that supports it. Submitted by: Imre Vadasz Obtained from:DragonflyBSD, Linux iwlwifi/mvm Added:

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

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 05:43:16 2016 New Revision: 301192 URL: https://svnweb.freebsd.org/changeset/base/301192 Log: [iwm] Fix several nitpicks in iwm(4). Move some declarations to if_iwmreg.h. Remove iwm_fw_alive(); just call iwm_post_alive() directly. Simplify

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

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 05:00:52 2016 New Revision: 301191 URL: https://svnweb.freebsd.org/changeset/base/301191 Log: [iwm] Add bit-polling in Rx-DMA init code path. Taken-From: OpenBSD (if_iwm.c r1.80) Submitted by: Imre Vadasz Obtained from:

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

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 06:22:59 2016 New Revision: 301193 URL: https://svnweb.freebsd.org/changeset/base/301193 Log: [iwm] valid_{tx,rx}_ant from radio_cfg is only needed for 8000 family. * The "if (!data->valid_tx_ant || !data->valid_rx_ant) {" check was getting triggered

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

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 04:53:28 2016 New Revision: 301189 URL: https://svnweb.freebsd.org/changeset/base/301189 Log: [iwm] Use IWM_MAX_CMD_PAYLOAD_SIZE to improve command length checks. Taken-From: OpenBSD (parts of if_iwm.c r1.57 and if_iwmreg.h r1.10) Obtained from:

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

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 04:54:56 2016 New Revision: 301190 URL: https://svnweb.freebsd.org/changeset/base/301190 Log: [iwm] Clean up iwm(4) scanning logic a bit. Submitted by: Imre Vadasz Obtained from:DragonflyBSD 8f3ffab9136e33263d424275ec28f57ad2096437

svn commit: r301188 - in head/sys: conf modules/iwm

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 04:42:45 2016 New Revision: 301188 URL: https://svnweb.freebsd.org/changeset/base/301188 Log: [iwm] add if_iwm_led.c into the build. Modified: head/sys/conf/files head/sys/modules/iwm/Makefile Modified: head/sys/conf/files

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

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 04:25:54 2016 New Revision: 301186 URL: https://svnweb.freebsd.org/changeset/base/301186 Log: [ath] correctly shift the QCA9565 LNA config into the mci config variable. Tested: * QCA9565, STA + BT mode Modified: head/sys/dev/ath/if_ath_btcoex.c

svn commit: r301181 - in head/sys: conf dev/ath modules/ath

2016-06-02 Thread Adrian Chadd
quot;(MCI) CONT_NACK\n"); + } + if (mciIntRxMsg & HAL_MCI_INTERRUPT_RX_MSG_CONT_RST) { + mciIntRxMsg &= ~HAL_MCI_INTERRUPT_RX_MSG_CONT_RST; + DPRINTF(sc, ATH_DEBUG_BTCOEX, "(MCI) CONT_RST\n"); +

Re: svn commit: r301128 - head/sys/dev/urtwn

2016-06-01 Thread Adrian Chadd
[snip] well, adhoc merges. -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: r301128 - head/sys/dev/urtwn

2016-06-01 Thread Adrian Chadd
hi! Woo! Does this also help with IBSS? (Since we need to see all beacons so we can do adhoc joins.) -adrian On 1 June 2016 at 07:57, Andriy Voskoboinyk wrote: > Author: avos > Date: Wed Jun 1 14:57:53 2016 > New Revision: 301128 > URL:

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

2016-06-01 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 15:56:07 2016 New Revision: 301133 URL: https://svnweb.freebsd.org/changeset/base/301133 Log: [ath_hal] add azimuth timestamp payload marking for AR9380 and later chips. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit_ds.c Modified:

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

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 03:49:22 2016 New Revision: 301097 URL: https://svnweb.freebsd.org/changeset/base/301097 Log: [ath_hal] implement shared PA handling checks, based on ath9k. These are apparently conditional on there being a shared PA/LNA, which at least on AR9462/QCA9535

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

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 03:27:33 2016 New Revision: 301095 URL: https://svnweb.freebsd.org/changeset/base/301095 Log: [ath_hal] add MCI bits from ath9k for QCA9565 * Add extra debugging - the weights debugging is really useful to ensure things are programmed into the wlan

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

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 03:24:53 2016 New Revision: 301094 URL: https://svnweb.freebsd.org/changeset/base/301094 Log: [ath_hal] add support for QCA9565 for configuring the bluetooth antenna LNA diversity. Notably, this also sets AR_BTCOEX_WL_LNADIV to FORCE_ON, so LNA diversity

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

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 03:21:23 2016 New Revision: 301093 URL: https://svnweb.freebsd.org/changeset/base/301093 Log: [ath_hal] Allow the BT antenna diversity option to be enabled for QCA9565. Obtained from:Linux ath9k Modified:

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

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 03:20:55 2016 New Revision: 301092 URL: https://svnweb.freebsd.org/changeset/base/301092 Log: [ath_hal] add QCA9565 bluteooth antenna control. This configures the LNA antenna diversity control, which should be on if wlan owns the LNA for bluetooth

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

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 03:17:36 2016 New Revision: 301091 URL: https://svnweb.freebsd.org/changeset/base/301091 Log: [ath_hal] add extra debugging for MCI interrupts. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_interrupts.c Modified:

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

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 01:43:46 2016 New Revision: 301089 URL: https://svnweb.freebsd.org/changeset/base/301089 Log: [ath_hal] add extra MCI definitions used by the later chips (QCA9565/Aphrodite). Obtained from:Linux ath9k Modified:

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

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Tue May 31 16:08:06 2016 New Revision: 301043 URL: https://svnweb.freebsd.org/changeset/base/301043 Log: [ath_hal] rename the MCI state info routine. It's not /really/ "get state". Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c

svn commit: r301042 - head/sys/dev/ath/ath_hal/ar5416

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Tue May 31 16:07:15 2016 New Revision: 301042 URL: https://svnweb.freebsd.org/changeset/base/301042 Log: [ath_hal] add support for setting the azimuth timestamp in the outgoing TX payload. FYI: This is an unsupported/deprecated feature of the 11n hardware. Modified:

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

2016-05-31 Thread Adrian Chadd
Author: adrian Date: Tue May 31 16:05:54 2016 New Revision: 301041 URL: https://svnweb.freebsd.org/changeset/base/301041 Log: [ath_hal] reserve a HAL_TXDESC_ bit for azimuth TX timestamp requests. Modified: head/sys/dev/ath/ath_hal/ah_desc.h Modified: head/sys/dev/ath/ath_hal/ah_desc.h

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

2016-05-30 Thread Adrian Chadd
Author: adrian Date: Tue May 31 04:59:00 2016 New Revision: 301016 URL: https://svnweb.freebsd.org/changeset/base/301016 Log: [ath_hal] add QCA9565 and MCI related registers. This is required for upcoming MCI fixes. Obtained from:Linux ath9k Modified:

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

2016-05-30 Thread Adrian Chadd
Author: adrian Date: Tue May 31 04:44:00 2016 New Revision: 301014 URL: https://svnweb.freebsd.org/changeset/base/301014 Log: [ath_hal] migrate the bluetooth definitions out from ah.h / ar9300_freebsd_inc.h. The eventual MCI driver side of things needs the MCI bits to live in the HAL

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

2016-05-30 Thread Adrian Chadd
Author: adrian Date: Tue May 31 04:35:26 2016 New Revision: 301013 URL: https://svnweb.freebsd.org/changeset/base/301013 Log: [ath_hal] add bluetooth coexistence definitions for both legacy and MCI. The legacy bits are just from ah.h; the MCI bits are from the ar9300 HAL "freebsd"

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

2016-05-30 Thread Adrian Chadd
Author: adrian Date: Tue May 31 04:17:17 2016 New Revision: 301012 URL: https://svnweb.freebsd.org/changeset/base/301012 Log: [ath] ensure the right methods / options get overridden for MCI bluetooth coex It turns out that the srev checks can't be done in the early attach in

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

2016-05-30 Thread Adrian Chadd
Author: adrian Date: Tue May 31 04:09:17 2016 New Revision: 301008 URL: https://svnweb.freebsd.org/changeset/base/301008 Log: [ath] add BTCOEX debug section; modify DPRINTF() to take a no-arg format string. Tested: * QCA9565, STA mode Modified: head/sys/dev/ath/if_ath_debug.h

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

2016-05-27 Thread Adrian Chadd
Author: adrian Date: Sat May 28 02:14:24 2016 New Revision: 300896 URL: https://svnweb.freebsd.org/changeset/base/300896 Log: [ath] add WB335 btcoex for initial testing. This is like the WB222 coexistence (ie, "MCI", a message bus inside the chip), and it's currently a cut/paste so I can

Re: svn commit: r300854 - in head/sys: netinet netinet6

2016-05-27 Thread Adrian Chadd
Hm, doesnt this make sense to do as part of RO_RTFREE? -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: r300779 - in head: sbin/ipfw sys/modules/dummynet sys/netinet sys/netpfil/ipfw

2016-05-27 Thread Adrian Chadd
On 27 May 2016 at 09:51, Don Lewis <truck...@freebsd.org> wrote: > On 27 May, Adrian Chadd wrote: >> Hi, >> >> Did this introduce floating point into the kernel? > > Cr*p, it did. It looks fixable, but I'll disconnect PIE from t

Re: svn commit: r300779 - in head: sbin/ipfw sys/modules/dummynet sys/netinet sys/netpfil/ipfw

2016-05-27 Thread Adrian Chadd
Hi, Did this introduce floating point into the kernel? -adrian On 26 May 2016 at 15:39, Don Lewis wrote: > On 26 May, To: src-committ...@freebsd.org wrote: >> Author: truckman >> Date: Thu May 26 21:40:13 2016 >> New Revision: 300779 >> URL:

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

2016-05-27 Thread Adrian Chadd
Author: adrian Date: Fri May 27 07:10:11 2016 New Revision: 300833 URL: https://svnweb.freebsd.org/changeset/base/300833 Log: [iwm] remove dead code. if_iwm - GC some dead code, left by a partially applied OpenBSD change. Taken-From: OpenBSD (if_iwm.c r1.69) Submitted by: Imre

Re: svn commit: r300815 - head/sys/modules

2016-05-27 Thread Adrian Chadd
It used to build on mips (that's what I used for the platform in the first place); what happened? -a On 26 May 2016 at 18:14, Ian Lepore wrote: > Author: ian > Date: Fri May 27 01:14:35 2016 > New Revision: 300815 > URL: https://svnweb.freebsd.org/changeset/base/300815 > >

svn commit: r300818 - head/sys/modules/gpio

2016-05-26 Thread Adrian Chadd
Author: adrian Date: Fri May 27 01:42:55 2016 New Revision: 300818 URL: https://svnweb.freebsd.org/changeset/base/300818 Log: [gpio] add gpiospi to the gpio module. Modified: head/sys/modules/gpio/Makefile Modified: head/sys/modules/gpio/Makefile

svn commit: r300817 - head/sys/sys

2016-05-26 Thread Adrian Chadd
Author: adrian Date: Fri May 27 01:40:33 2016 New Revision: 300817 URL: https://svnweb.freebsd.org/changeset/base/300817 Log: [spigen] add the userland ioctl API for spigen. Added: head/sys/sys/spigenio.h (contents, props changed) Added: head/sys/sys/spigenio.h

svn commit: r300816 - head/sys/conf

2016-05-26 Thread Adrian Chadd
Author: adrian Date: Fri May 27 01:36:29 2016 New Revision: 300816 URL: https://svnweb.freebsd.org/changeset/base/300816 Log: [gpiospi] add debug option. This was missing from the previous commit that introduced gpiospi. It's required for it to build. Pointy-hat-to: me Modified:

svn commit: r300760 - head/sys/dev/siba

2016-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 18:01:03 2016 New Revision: 300760 URL: https://svnweb.freebsd.org/changeset/base/300760 Log: [siba] use the generic bus methods where appropriate. Submitted by: jhibbits Differential Revision:https://reviews.freebsd.org/D802 Modified:

svn commit: r300715 - in head/sys: conf dev/gpio modules/gpio/gpiospi

2016-05-26 Thread Adrian Chadd
erface */ + DEVMETHOD(device_probe, gpio_spi_probe), + DEVMETHOD(device_attach,gpio_spi_attach), + DEVMETHOD(device_detach,gpio_spi_detach), + + DEVMETHOD(spibus_transfer, gpio_spi_transfer), + + {0, 0} +}; + +static driver_t gpio_spi_driver = { + "gpio

svn commit: r300713 - in head/sys: conf dev/spibus

2016-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 07:02:20 2016 New Revision: 300713 URL: https://svnweb.freebsd.org/changeset/base/300713 Log: [spigen] add initial spigen driver from green@ This is a simple ioctl and mmap API to issue SPI transactions from userland. It's useful for simple devices (eg

svn commit: r300712 - head/sys/dev/spibus

2016-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 06:37:33 2016 New Revision: 300712 URL: https://svnweb.freebsd.org/changeset/base/300712 Log: [spibus] implement maximum clock frequency lookup from ofw. Obtained from:loos Modified: head/sys/dev/spibus/ofw_spibus.c Modified:

svn commit: r300711 - head/sys/dev/spibus

2016-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 06:36:58 2016 New Revision: 300711 URL: https://svnweb.freebsd.org/changeset/base/300711 Log: [spibus] add missing break. Pointy hat to: me Modified: head/sys/dev/spibus/spibus.c Modified: head/sys/dev/spibus/spibus.c

svn commit: r300710 - head/sys/dev/spibus

2016-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 06:35:11 2016 New Revision: 300710 URL: https://svnweb.freebsd.org/changeset/base/300710 Log: [spibus] add initial placeholders for transfer mode and frequency. This doesn't yet implement it in the controllers or the transfer calls, but it's a start.

svn commit: r300704 - head/sys/dev/flash

2016-05-25 Thread Adrian Chadd
Author: adrian Date: Thu May 26 01:19:13 2016 New Revision: 300704 URL: https://svnweb.freebsd.org/changeset/base/300704 Log: [mx25l] add Winbond w25x64 support. PR: https://github.com/freebsd/freebsd/pull/16 Submitted by: https://github.com/epipenau Modified:

svn commit: r300703 - head/sys/dev/bhnd/cores/chipc

2016-05-25 Thread Adrian Chadd
Author: adrian Date: Thu May 26 00:44:16 2016 New Revision: 300703 URL: https://svnweb.freebsd.org/changeset/base/300703 Log: [bhnd] Fix release of uninitialized SPROM shadow in chipc detach. This was triggering a panic on detach; the SPROM shadow is now maintained by the

svn commit: r300702 - head/sys/dev/bhnd/cores/chipc

2016-05-25 Thread Adrian Chadd
Author: adrian Date: Thu May 26 00:43:08 2016 New Revision: 300702 URL: https://svnweb.freebsd.org/changeset/base/300702 Log: [bhnd] Integrate bhnd_chipc's BUS_ADD_CHILD() with a child resource mapping table. This adds support for automatically configuring bhnd_chipc bus children with

svn commit: r300628 - in head/sys/dev/bhnd: . bhndb cores/chipc cores/pci cores/pcie2 siba

2016-05-24 Thread Adrian Chadd
Author: adrian Date: Tue May 24 21:20:17 2016 New Revision: 300628 URL: https://svnweb.freebsd.org/changeset/base/300628 Log: [bhnd] Normalize bhnd(4) device matching API This unifies handling of core, chip, and board-level device matching, and adds support for matching device drivers

svn commit: r300616 - head/sys/dev/bhnd/soc

2016-05-24 Thread Adrian Chadd
Author: adrian Date: Tue May 24 15:39:57 2016 New Revision: 300616 URL: https://svnweb.freebsd.org/changeset/base/300616 Log: [bhnd] fix compilation due to incompatible types Submitted by: Michael Zhilin Differential Revision: https://reviews.freebsd.org/D6532

svn commit: r300563 - head/sys/dev/bwn

2016-05-23 Thread Adrian Chadd
Author: adrian Date: Tue May 24 04:58:58 2016 New Revision: 300563 URL: https://svnweb.freebsd.org/changeset/base/300563 Log: [bwn] begin separating out the attach path from the SIBA specific bits. * convert phy_getinfo() to take a "gmode" flag, rather than the siba TGSHIGH flags and

svn commit: r300562 - head/sys/dev/bwn

2016-05-23 Thread Adrian Chadd
Author: adrian Date: Tue May 24 04:55:00 2016 New Revision: 300562 URL: https://svnweb.freebsd.org/changeset/base/300562 Log: [bwn] add BCM43225 to the BHND device list. This is all for the bhnd(4) work in progress. It's enough to probe/attach all the bhnd internals, but we're missing

svn commit: r300549 - head/sys/dev/bwn

2016-05-23 Thread Adrian Chadd
Author: adrian Date: Tue May 24 01:20:30 2016 New Revision: 300549 URL: https://svnweb.freebsd.org/changeset/base/300549 Log: [bwn] add extra debugging for non-SIBA devices. This is a no-op at the present moment, but will eventually remind me where the SIBA specific demons lie.

svn commit: r300548 - in head/sys: conf dev/bhnd dev/bhnd/bhndb dev/bhnd/cores/chipc dev/bhnd/nvram dev/bhnd/siba modules/bhnd modules/bhnd/cores/bhnd_chipc

2016-05-23 Thread Adrian Chadd
Author: adrian Date: Tue May 24 01:12:19 2016 New Revision: 300548 URL: https://svnweb.freebsd.org/changeset/base/300548 Log: [bhnd] Implement pass-through resource management for ChipCommon. This patchset adds support to bhnd_chipc for sharing SYS_RES_MEMORY resources with its children,

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