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

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

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

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

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

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

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

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

2016-10-13 Thread Adrian Chadd
Author: adrian Date: Thu Oct 13 16:45:01 2016 New Revision: 307222 URL: https://svnweb.freebsd.org/changeset/base/307222 Log: [net80211] remove now duplicate copy of the QOSDATA check macro. Modified: head/sys/net80211/ieee80211_ht.c Modified: head/sys/net80211/ieee80211_ht.c

svn commit: r307221 - head/sys/net80211

2016-10-13 Thread Adrian Chadd
Author: adrian Date: Thu Oct 13 16:41:34 2016 New Revision: 307221 URL: https://svnweb.freebsd.org/changeset/base/307221 Log: [net80211] add some more QoS frame subtypes. Modified: head/sys/net80211/ieee80211.h Modified: head/sys/net80211/ieee80211.h

svn commit: r306837 - in head/sys: dev/iwm dev/otus dev/usb/wlan net80211

2016-10-07 Thread Adrian Chadd
Author: adrian Date: Sat Oct 8 01:12:29 2016 New Revision: 306837 URL: https://svnweb.freebsd.org/changeset/base/306837 Log: [net80211] extend the ieee80211_rx_stats struct to include more information. There are a variety of more interesting RX statistics that we should keep track of

svn commit: r306836 - head/sbin/ifconfig

2016-10-07 Thread Adrian Chadd
Author: adrian Date: Sat Oct 8 01:00:31 2016 New Revision: 306836 URL: https://svnweb.freebsd.org/changeset/base/306836 Log: [ifconfig] correctly display RSSI. Modified: head/sbin/ifconfig/ifieee80211.c Modified: head/sbin/ifconfig/ifieee80211.c

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

2016-10-06 Thread Adrian Chadd
Author: adrian Date: Thu Oct 6 20:37:23 2016 New Revision: 306785 URL: https://svnweb.freebsd.org/changeset/base/306785 Log: [ar531x] add default configs for AR531x ports. Submitted by: Mori Hiroki Differential Revision:https://reviews.freebsd.org/D7237

svn commit: r306678 - head/sys/geom

2016-10-04 Thread Adrian Chadd
Author: adrian Date: Tue Oct 4 16:35:38 2016 New Revision: 306678 URL: https://svnweb.freebsd.org/changeset/base/306678 Log: [geom_redboot] Extend geom_redboot to handle non-zero fis offset. Submitted by: Mori Hiroki Differential Revision:

svn commit: r306676 - head/sys/conf

2016-10-04 Thread Adrian Chadd
Author: adrian Date: Tue Oct 4 16:29:26 2016 New Revision: 306676 URL: https://svnweb.freebsd.org/changeset/base/306676 Log: Add AR531x port options. Submitted by: Mori Hiroki Differential Revision:https://reviews.freebsd.org/D7237 Modified:

svn commit: r306675 - head/sys/mips/atheros/ar531x

2016-10-04 Thread Adrian Chadd
b_mem_rman; + /* IRQ events structs for child devices */ + struct intr_event *sc_eventstab[APB_NIRQS]; +#ifndef INTRNG + mips_intrcnt_t sc_intr_counter[APB_NIRQS]; +#endif + /* Resources and cookies for MIPS CPU INTs */ + struct resource *sc_mi

Re: svn commit: r306622 - head/usr.bin/mkimg

2016-10-03 Thread Adrian Chadd
suggest it for the next C standard? :) -a On 2 October 2016 at 23:43, Ed Schouten wrote: > 2016-10-03 6:00 GMT+02:00 Marcel Moolenaar : >> Log: >> Replace OFF_MAX with INT64_MAX. The former is defined on Linux. > > Blargh. If only C had

svn commit: r306525 - in head/lib: . librss

2016-09-30 Thread Adrian Chadd
option indicating the 32 bit RSS bucket id as a uint32_t. +.Sh ERRORS +The functions return either <0 or NULL as appropriate upon error. +.Sh SEE ALSO +.Xr PCBGROUP 9 +.Sh HISTORY +The +.Xr librss.3 +library first appeared in +.Fx 11.0 . +.Sh AUTHORS +.An Adrian Chadd Aq Mt adr...@freebsd.org

Re: svn commit: r306330 - head/usr.bin/mkimg

2016-09-25 Thread Adrian Chadd
Hi, Yeah, for portable-y stuff, I'd recommend: #include "endian.h" -> #ifdef __FreeBSD__ #include #elif __Apple__ etc, etc. That way we don't duplicate contents. Same with sys/queue.h, etc. -adrian On 25 September 2016 at 18:06, Marcel Moolenaar wrote: > Author:

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

2016-09-25 Thread Adrian Chadd
Author: adrian Date: Mon Sep 26 02:05:02 2016 New Revision: 306331 URL: https://svnweb.freebsd.org/changeset/base/306331 Log: [ath_hal] add a new regdomain flag - I think this means "yes, you can use this NIC in channel 144 if you're in FCC6." I have to go figure out more details about

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

2016-09-25 Thread Adrian Chadd
Author: adrian Date: Sun Sep 25 22:17:46 2016 New Revision: 306324 URL: https://svnweb.freebsd.org/changeset/base/306324 Log: [ath_hal] add a comment for the channel 144 regdomain flag. I'm .. still trying to figure out what's going on. Modified: head/sys/dev/ath/ath_hal/ah_regdomain.c

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

2016-09-25 Thread Adrian Chadd
Author: adrian Date: Sun Sep 25 22:07:41 2016 New Revision: 306323 URL: https://svnweb.freebsd.org/changeset/base/306323 Log: [ath_hal] Add FCC6_FCCA regulatory domain (0x0014). Tested: * TP-Link N900, AR9380, regdomain 0x0014 (FCC6_FCCA). Modified:

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

2016-09-23 Thread Adrian Chadd
Author: adrian Date: Sat Sep 24 01:21:42 2016 New Revision: 306286 URL: https://svnweb.freebsd.org/changeset/base/306286 Log: [iwm] fix default antenna selection a bit; fix 5GHz rate control handling. * Don't do the antenna switching when setting up the rate table - we don't take into

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

2016-09-21 Thread Adrian Chadd
Author: adrian Date: Wed Sep 21 20:56:10 2016 New Revision: 306142 URL: https://svnweb.freebsd.org/changeset/base/306142 Log: [iwm] use rate control info from the node txrates; use mgmtrate for EAPOL frames This changes the transmit rate control code to do a few things: * use fixed

svn commit: r306139 - head/sys/net80211

2016-09-21 Thread Adrian Chadd
Author: adrian Date: Wed Sep 21 19:48:07 2016 New Revision: 306139 URL: https://svnweb.freebsd.org/changeset/base/306139 Log: [net80211] don't add IBSS node table entries for neighbors from other SSIDs. The adhoc probe/beacon input path was creating nodes for all SSIDs. This wasn't a

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

2016-09-17 Thread Adrian Chadd
Author: adrian Date: Sun Sep 18 05:07:18 2016 New Revision: 305917 URL: https://svnweb.freebsd.org/changeset/base/305917 Log: [iwm] fix up RSSI calculations for both scan results and normal RX operations. * hard code a noise floor of -96 for now. The noise floor update code returns

svn commit: r305895 - head/sys/net80211

2016-09-16 Thread Adrian Chadd
Author: adrian Date: Sat Sep 17 05:44:57 2016 New Revision: 305895 URL: https://svnweb.freebsd.org/changeset/base/305895 Log: [net80211] add a HT method to populate HTCAP based on IBSS requirements. IBSS negotiation is a subset of the STA/AP negotiation. We always have a current

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

2016-09-12 Thread Adrian Chadd
Ah, ugh, that thing.. :( -adrian On 12 September 2016 at 11:40, Andriy Voskoboinyk <a...@freebsd.org> wrote: > Mon, 12 Sep 2016 21:10:54 +0300 було написано Adrian Chadd > <adrian.ch...@gmail.com>: > > Hi, > > The error handling is splitted between ieee80211_

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

2016-09-12 Thread Adrian Chadd
Hi, That's why I created ieee80211_tx_complete(). Is that not "right" here? -a On 12 September 2016 at 09:46, Andriy Voskoboinyk wrote: > Author: avos > Date: Mon Sep 12 16:46:14 2016 > New Revision: 305745 > URL: https://svnweb.freebsd.org/changeset/base/305745 > > Log: >

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

2016-09-11 Thread Adrian Chadd
Author: adrian Date: Mon Sep 12 04:58:59 2016 New Revision: 305723 URL: https://svnweb.freebsd.org/changeset/base/305723 Log: [ath_hal] quieten a bit of the boot messages - this stuff has been working for a while. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c Modified:

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

2016-09-11 Thread Adrian Chadd
Author: adrian Date: Mon Sep 12 04:55:13 2016 New Revision: 305721 URL: https://svnweb.freebsd.org/changeset/base/305721 Log: [ath] set the relevant TOA/TOD locationing bits when trying to do locationing. * Don't do RTS/CTS - experiments show that we get ACK frames for each of them and

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

2016-09-11 Thread Adrian Chadd
Author: adrian Date: Mon Sep 12 04:50:40 2016 New Revision: 305720 URL: https://svnweb.freebsd.org/changeset/base/305720 Log: [ath] tweak the TX EDMA debugging a bit. I've used this to debug some amusing issues with the EDMA code. Tested: * AR9380, STA mode * AR9380, TDMA mode

svn commit: r305639 - head/sys/dev/gpio

2016-09-08 Thread Adrian Chadd
Author: adrian Date: Fri Sep 9 04:54:41 2016 New Revision: 305639 URL: https://svnweb.freebsd.org/changeset/base/305639 Log: [gpio] include intr.h when building with INTRNG. Trying to build a MIPS platform that uses INTRNG needs this for this to work right in gpiobusvar.h : #ifdef

svn commit: r305638 - head/sys/net80211

2016-09-08 Thread Adrian Chadd
Author: adrian Date: Fri Sep 9 04:47:48 2016 New Revision: 305638 URL: https://svnweb.freebsd.org/changeset/base/305638 Log: [net80211] add in ToA/ToD based location mbuf tags for some experimenting. Modified: head/sys/net80211/ieee80211_freebsd.c head/sys/net80211/ieee80211_freebsd.h

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

2016-09-08 Thread Adrian Chadd
Author: adrian Date: Fri Sep 9 04:45:25 2016 New Revision: 305637 URL: https://svnweb.freebsd.org/changeset/base/305637 Log: [ath_hal] fixes for finer grain timestamping, some 11n macros * change the HT_RC_2_MCS to do MCS0..23 * Use it when looking up the ht20/ht40 array for

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-29 Thread Adrian Chadd
On 29 August 2016 at 15:00, Gleb Smirnoff wrote: > On Sat, Aug 20, 2016 at 12:36:58PM -0400, Ryan Stone wrote: > R> - The if_addr_lock would appear to be an excellent candidate to be > R> converted into an rmlock, but unfortunately we made the mistake of exposing > R> the

Re: svn commit: r304963 - in head/sys/dev/bhnd: . bcma siba

2016-08-28 Thread Adrian Chadd
Heh. Make a free function too. ;) On Aug 28, 2016 12:34 PM, "Landon J. Fuller" wrote: > Author: landonf > Date: Sun Aug 28 19:34:22 2016 > New Revision: 304963 > URL: https://svnweb.freebsd.org/changeset/base/304963 > > Log: > bhnd(4): Add a bhnd bus method for fetching

Re: svn commit: r304912 - head/sys/sys

2016-08-28 Thread Adrian Chadd
Thanks! -a On 28 August 2016 at 00:40, Mariusz Zaborski <osho...@freebsd.org> wrote: > Eh, sorry. > Fixed in the @304952. > > On 28 August 2016 at 06:17, Adrian Chadd <adrian.ch...@gmail.com> wrote: >> ... >> >> ===> lib/libnv (obj,all,install) >

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-28 Thread Adrian Chadd
Hi, There are some no brainers here so far(tm): working from the bottom up: * yeah, the ixgbe locking is a bit silly. Kip's work with iflib and converting ixgbe to use that instead of its own locking for managing things should remove the bottom two locks * the rtalloc1_fib thing - that's odd,

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

2016-08-27 Thread Adrian Chadd
Author: adrian Date: Sun Aug 28 05:42:03 2016 New Revision: 304944 URL: https://svnweb.freebsd.org/changeset/base/304944 Log: [ath_hal] add USB PHY control registers for hornet/AR9330. Obtained from:linux ath9k Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300phy.h

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

2016-08-27 Thread Adrian Chadd
Author: adrian Date: Sun Aug 28 04:54:02 2016 New Revision: 304941 URL: https://svnweb.freebsd.org/changeset/base/304941 Log: [net80211] fix up wlanwds to compile without warnings on clang. Modified: head/tools/tools/net80211/wlanwds/wlanwds.c Modified:

Re: svn commit: r304912 - head/sys/sys

2016-08-27 Thread Adrian Chadd
... ===> lib/libnv (obj,all,install) In file included from /usr/home/adrian/work/freebsd/head-embedded/src/lib/libnv/../../sys/contrib/libnv/cnvlist.c:49:0: /usr/home/adrian/work/freebsd/head-embedded/src/lib/libnv/../../sys/sys/cnv.h:107:6: error: redundant redeclaration of

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

2016-08-27 Thread Adrian Chadd
Author: adrian Date: Sun Aug 28 04:10:23 2016 New Revision: 304938 URL: https://svnweb.freebsd.org/changeset/base/304938 Log: [mips] move AR91XX_BASE to std.AR91XX. Added: head/sys/mips/conf/std.AR91XX - copied, changed from r304937, head/sys/mips/conf/AR91XX_BASE Deleted:

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

2016-08-27 Thread Adrian Chadd
Author: adrian Date: Sun Aug 28 04:08:26 2016 New Revision: 304937 URL: https://svnweb.freebsd.org/changeset/base/304937 Log: [mips] migrate the QCA955X_BASE file to std.QCA955X, to bring this in line with other board defaults. Added: head/sys/mips/conf/std.QCA955X - copied, changed

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

2016-08-27 Thread Adrian Chadd
Author: adrian Date: Sun Aug 28 04:08:04 2016 New Revision: 304936 URL: https://svnweb.freebsd.org/changeset/base/304936 Log: Use ALT_BREAK_TO_DEBUGGER as well. Modified: head/sys/mips/conf/std.AR934X Modified: head/sys/mips/conf/std.AR934X

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

2016-08-27 Thread Adrian Chadd
Author: adrian Date: Sun Aug 28 04:07:34 2016 New Revision: 304935 URL: https://svnweb.freebsd.org/changeset/base/304935 Log: .. and since others are using wdr3600/wdr4300 right now and are having arge issues with spammed interrupts / link issues, flip on ARGE_DEBUG too. Modified:

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

2016-08-27 Thread Adrian Chadd
Author: adrian Date: Sun Aug 28 04:06:57 2016 New Revision: 304934 URL: https://svnweb.freebsd.org/changeset/base/304934 Log: Since i'm using carambola 2 for more debugging, enable ARGE_DEBUG by default. Modified: head/sys/mips/conf/CARAMBOLA2 Modified: head/sys/mips/conf/CARAMBOLA2

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

2016-08-27 Thread Adrian Chadd
Author: adrian Date: Sun Aug 28 04:06:36 2016 New Revision: 304933 URL: https://svnweb.freebsd.org/changeset/base/304933 Log: [mips] make AR933X boards use ALT_BREAK_TO_DEBUGGER like the rest of the Atheros boards. Modified: head/sys/mips/conf/std.AR933X Modified:

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

2016-08-27 Thread Adrian Chadd
Author: adrian Date: Sun Aug 28 04:03:52 2016 New Revision: 304932 URL: https://svnweb.freebsd.org/changeset/base/304932 Log: [mips] QCA955x config file changes to bring things into alignment with the other atheros config files. * ALT_BREAK_TO_DEBUGGER, because we get random breaks when

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-27 Thread Adrian Chadd
On 26 August 2016 at 17:46, Slawa Olhovchenkov <s...@zxy.spb.ru> wrote: > On Fri, Aug 26, 2016 at 04:55:34PM -0700, Adrian Chadd wrote: > >> Hi, >> >> I use the kernel lock profiling debugging, > > I am already have 100% utilise all CPU cores, I think this is

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-26 Thread Adrian Chadd
Hi, I use the kernel lock profiling debugging, but you can use dtrace to get an idea: dtrace -n 'lockstat:::adaptive-block { @[stack()] = sum(arg1); }' (https://wiki.freebsd.org/DTrace/One-Liners) -adrian ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-26 Thread Adrian Chadd
On 26 August 2016 at 14:36, Slawa Olhovchenkov <s...@zxy.spb.ru> wrote: > On Fri, Aug 26, 2016 at 02:32:00PM -0700, Adrian Chadd wrote: > >> Hi, >> >> It's pcb lock contention. > > Not sure: only 5% of all time. > And same 5% for tcbhashsize = 65K and 2

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-26 Thread Adrian Chadd
Hi, It's pcb lock contention. -adrian On 26 August 2016 at 08:13, Slawa Olhovchenkov wrote: > On Fri, Aug 26, 2016 at 04:01:14PM +0100, Bruce Simpson wrote: > >> Slawa, >> >> I'm afraid this may be a bit of a non-sequitur. Sorry.. I seem to be >> missing something. As I

svn commit: r304823 - head/libexec/rtld-elf/mips

2016-08-25 Thread Adrian Chadd
Author: adrian Date: Thu Aug 25 22:32:10 2016 New Revision: 304823 URL: https://svnweb.freebsd.org/changeset/base/304823 Log: [mips] flip from =v to =r - let the compiler choose a temp register. =v is some ye olde gcc "use this specific register as the temp register" thing that they've

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

2016-08-20 Thread Adrian Chadd
Author: adrian Date: Sun Aug 21 00:48:41 2016 New Revision: 304552 URL: https://svnweb.freebsd.org/changeset/base/304552 Log: [mips] add support for the "creative" GNU extensions and IRIX hilarity around MIPS LO16/HI16 relocations. This was .. an interesting headache. There are two

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-20 Thread Adrian Chadd
[snip] Just for everyone else on the list, would you mind distilling the original versus now-from-ryan meaning of M_BCAST and M_MCAST ? And how they're supposed to be used? thanks, -adrian ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r304506 - in head: . release/doc/en_US.ISO8859-1/hardware share/man/man4/man4.i386 sys/conf sys/dev/wl sys/i386/conf sys/modules sys/modules/wl targets/pseudo/userland tools/build/mk t

2016-08-20 Thread Adrian Chadd
[snip] I ... may do some kind of anniversary related work to fix up wi support again. Because - and this is pretty god damned hilarious - the same stack features (no raw frames, 802.3 encapsulation, scan/join/etc done via commands only, etc) that I need to 'fix' for wi are also required for

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-20 Thread Adrian Chadd
On 20 August 2016 at 11:02, Ryan Stone wrote: > On Sat, Aug 20, 2016 at 1:30 PM, Slawa Olhovchenkov wrote: >> >> For host enought have [hidden] alias with broadcsts bits. >> Anyway, don't should relay on the L2 information, you can recive L3 >> unicast

svn commit: r304322 - head/sys/net80211

2016-08-17 Thread Adrian Chadd
Author: adrian Date: Thu Aug 18 01:25:12 2016 New Revision: 304322 URL: https://svnweb.freebsd.org/changeset/base/304322 Log: [net80211] correctly lock the ifp before accessing the lladdr. Tested by: dhw Modified: head/sys/net80211/ieee80211_ioctl.c Modified:

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

2016-08-16 Thread Adrian Chadd
Author: adrian Date: Tue Aug 16 07:51:05 2016 New Revision: 304207 URL: https://svnweb.freebsd.org/changeset/base/304207 Log: [mips] fix use-before-initialised. Found by: gcc-5.3 Modified: head/sys/mips/mips/cpu.c Modified: head/sys/mips/mips/cpu.c

svn commit: r304096 - head/lib/libthr/arch/mips/include

2016-08-14 Thread Adrian Chadd
Author: adrian Date: Sun Aug 14 19:04:37 2016 New Revision: 304096 URL: https://svnweb.freebsd.org/changeset/base/304096 Log: [mips] convert over =v to =r for the inline assembly. Later gcc and clang have deprecated =v (which maps to a specific temp register) and instead we should just

svn commit: r303981 - head/tools/tools/ath/ath_ee_9300_print

2016-08-11 Thread Adrian Chadd
Author: adrian Date: Fri Aug 12 01:13:34 2016 New Revision: 303981 URL: https://svnweb.freebsd.org/changeset/base/303981 Log: Print out some more fields. Tested: * AR9331 SoC (Carambola 2) - specifically looking for the tuning caps fields. Modified:

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

2016-08-08 Thread Adrian Chadd
Author: adrian Date: Tue Aug 9 01:05:29 2016 New Revision: 303862 URL: https://svnweb.freebsd.org/changeset/base/303862 Log: [ar9300] don't program a negative readytime. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c Modified:

Re: svn commit: r303811 - in head/sys: net net80211

2016-08-07 Thread Adrian Chadd
[snip everything] uugh. Someone please solve this by writing ETHER_ADDR_COMPARE() so it can be overridden per architecture. :) I committed Ryan's work. If someone has a better thingy, please do feel free to review and commit the thingy. :-P -adrian (woo, first bikeshed in a

svn commit: r303811 - in head/sys: net net80211

2016-08-06 Thread Adrian Chadd
Author: adrian Date: Sun Aug 7 03:48:33 2016 New Revision: 303811 URL: https://svnweb.freebsd.org/changeset/base/303811 Log: Extract out the various local definitions of ETHER_IS_BROADCAST() and turn them into a shared definition. Set M_MCAST/M_BCAST appropriately upon packet reception

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

2016-08-06 Thread Adrian Chadd
Author: adrian Date: Sun Aug 7 01:32:37 2016 New Revision: 303810 URL: https://svnweb.freebsd.org/changeset/base/303810 Log: [arswitch] extend the debug support to be configurable at runtime. * remove the DEBUG ifdef; defining it is too far reaching throughout the whole system; *

svn commit: r303809 - in head: lib/libthr/arch/mips/include libexec/rtld-elf/mips sys/mips/include sys/mips/mips

2016-08-06 Thread Adrian Chadd
Author: adrian Date: Sun Aug 7 01:29:55 2016 New Revision: 303809 URL: https://svnweb.freebsd.org/changeset/base/303809 Log: [mips] add support for using the MIPS user register for TLS data. This work, originally from Stacey Son, uses the MIPS UserReg for reading the TLS data, and will

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

2016-08-05 Thread Adrian Chadd
Also, the scan code now also seems to alternate between g and n channels on 2ghz; and it never seems to update the chanlist if it's interrupted. So yeah, hm. Avos, any ideas? -adrian On 5 August 2016 at 16:42, Adrian Chadd <adrian.ch...@gmail.com> wrote: > Hi, > > Just a remi

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

2016-08-05 Thread Adrian Chadd
Hi, Just a reminder and notice to others - yeah, I've found that this actually stops scan from working well and reliably. Notably, I've found that we get a scan completion notification and then we can't restart a subsequent scan for some reason. I may have to revert this and put in something

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

2016-08-05 Thread Adrian Chadd
Author: adrian Date: Fri Aug 5 17:17:36 2016 New Revision: 303779 URL: https://svnweb.freebsd.org/changeset/base/303779 Log: [ar934x] add tap/tun as modules, for people who wish to use VPNs. Modified: head/sys/mips/conf/std.AR934X Modified: head/sys/mips/conf/std.AR934X

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

2016-08-05 Thread Adrian Chadd
Author: adrian Date: Fri Aug 5 17:16:35 2016 New Revision: 303778 URL: https://svnweb.freebsd.org/changeset/base/303778 Log: [arge] add some extra MDIO debugging support * add an ANY debug level which will always echo the message if debugging is compiled in; * log MDIO transaction

svn commit: r303751 - in head/sys/dev/etherswitch: . arswitch

2016-08-04 Thread Adrian Chadd
Author: adrian Date: Thu Aug 4 17:45:35 2016 New Revision: 303751 URL: https://svnweb.freebsd.org/changeset/base/303751 Log: [etherswitch] add in an initial API for controlling per-port LED behaviour. This is just implemented for the AR8327 for now. Submitted by: Dan Nelson

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

2016-08-03 Thread Adrian Chadd
Author: adrian Date: Thu Aug 4 01:49:18 2016 New Revision: 303736 URL: https://svnweb.freebsd.org/changeset/base/303736 Log: Add in tap/tun for openvpn-on-mips experiments. (FWIW, it does work.) Modified: head/sys/mips/conf/std.AR933X Modified: head/sys/mips/conf/std.AR933X

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

2016-08-03 Thread Adrian Chadd
Author: adrian Date: Wed Aug 3 19:23:22 2016 New Revision: 303732 URL: https://svnweb.freebsd.org/changeset/base/303732 Log: [ar934x] shuffle AR93XX_BASE -> std.AR934X Added: head/sys/mips/conf/std.AR934X - copied, changed from r303731, head/sys/mips/conf/AR934X_BASE Deleted:

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

2016-08-03 Thread Adrian Chadd
Author: adrian Date: Wed Aug 3 19:18:53 2016 New Revision: 303731 URL: https://svnweb.freebsd.org/changeset/base/303731 Log: [ar9330] ok, fine, I'll finally undo the 2011-era mistake of _BASE config files. Repeated prodding by: imp Added: head/sys/mips/conf/std.AR933X - copied,

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

2016-08-03 Thread Adrian Chadd
Author: adrian Date: Wed Aug 3 19:13:09 2016 New Revision: 303730 URL: https://svnweb.freebsd.org/changeset/base/303730 Log: [ar9330] add in module support for ipfw nat. This actually does work, and works pretty well. Modified: head/sys/mips/conf/AR933X_BASE Modified:

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

2016-07-31 Thread Adrian Chadd
Author: adrian Date: Mon Aug 1 00:36:29 2016 New Revision: 303602 URL: https://svnweb.freebsd.org/changeset/base/303602 Log: [ath] update comments. Modified: head/sys/dev/ath/if_athioctl.h Modified: head/sys/dev/ath/if_athioctl.h

svn commit: r303579 - head/share/man/man4

2016-07-31 Thread Adrian Chadd
Author: adrian Date: Sun Jul 31 06:53:50 2016 New Revision: 303579 URL: https://svnweb.freebsd.org/changeset/base/303579 Log: [gpioled] update manpage. Submitted by: Dan Nelson Modified: head/share/man/man4/gpioled.4 Modified: head/share/man/man4/gpioled.4

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

2016-07-31 Thread Adrian Chadd
Author: adrian Date: Sun Jul 31 06:52:19 2016 New Revision: 303578 URL: https://svnweb.freebsd.org/changeset/base/303578 Log: [wdr4300] invert the GPIO LED polarity. This makes them behave correctly. Submitted by: Dan Nelson Modified:

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

2016-07-31 Thread Adrian Chadd
Author: adrian Date: Sun Jul 31 06:51:34 2016 New Revision: 303577 URL: https://svnweb.freebsd.org/changeset/base/303577 Log: [ar71xx_gpio] handle AR934x and QCA953x GPIO OE polarity. For reasons I won't comment on, the AR934x and QCA953x GPIO_OE register value is inverted - bit set ==

svn commit: r303574 - head/sys/dev/gpio

2016-07-31 Thread Adrian Chadd
Author: adrian Date: Sun Jul 31 06:24:26 2016 New Revision: 303574 URL: https://svnweb.freebsd.org/changeset/base/303574 Log: [gpioled] add support for inverting the LED polarity. No, this isn't a star trek science joke - sometimes LEDs are wired up to be active low, so this is needed.

Re: svn commit: r303405 - in head/sys/dev/cxgbe: . tom

2016-07-27 Thread Adrian Chadd
[snip] When we had my kqueue sendfile stuff in tree to handle notifications, I was getting 40g across what, 64k sockets on 8 cores using SHM sendfile + kqueue sendfile completion. it worked pretty well. One core could get 40g if I pre-seeded enough data into it (ie, multiple sendfile transactions

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

2016-07-26 Thread Adrian Chadd
Author: adrian Date: Tue Jul 26 16:40:03 2016 New Revision: 303339 URL: https://svnweb.freebsd.org/changeset/base/303339 Log: Update my TODO items. Modified: head/sys/dev/etherswitch/arswitch/arswitch_7240.c head/sys/dev/etherswitch/arswitch/arswitch_8316.c Modified:

Re: svn commit: r301453 - in head/sys: arm/arm arm64/arm64 dev/fdt dev/gpio dev/iicbus dev/ofw dev/pci dev/vnic kern mips/mips sys

2016-07-24 Thread Adrian Chadd
[snip] Hi, I think a lot of this whole discussion stems from a reasonably unclear shared idea of where intrng is supposed to be going and what it's supposed to be doing. I'm sure everyone has their own ideas of what it is for their own needs, but this thread shows a clear separation between the

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

2016-07-21 Thread Adrian Chadd
Author: adrian Date: Thu Jul 21 15:48:41 2016 New Revision: 303150 URL: https://svnweb.freebsd.org/changeset/base/303150 Log: [mx25l] add new device id. Tested: * (submitter) TP-Link TL-WR1043nd v3 Submitted by: t...@enoti.me Modified: head/sys/dev/flash/mx25l.c Modified:

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

2016-07-18 Thread Adrian Chadd
Author: adrian Date: Tue Jul 19 00:27:17 2016 New Revision: 303015 URL: https://svnweb.freebsd.org/changeset/base/303015 Log: [ath] don't do LDPC, STBC or short-gi for locationing frames. The 11n duration calculation function in net80211 and the HAL round /up/ the duration calculation

svn commit: r302877 - in head/sys/dev/ath: . ath_hal ath_hal/ar5212 ath_rate/sample

2016-07-15 Thread Adrian Chadd
Author: adrian Date: Fri Jul 15 06:39:35 2016 New Revision: 302877 URL: https://svnweb.freebsd.org/changeset/base/302877 Log: [ath] [ath_hal] break out the duration calculation to optionally include SIFS. The pre-11n calculations include SIFS, but the 11n ones don't. The reason is

Re: svn commit: r271300 - in head/sys: net netinet

2016-07-13 Thread Adrian Chadd
ugh, hm. Wonder how I missed that. I'll go see about fixing it. -adrian On 13 July 2016 at 09:18, Andrey V. Elsukov <a...@freebsd.org> wrote: > On 09.09.14 08:18, Adrian Chadd wrote: >> Author: adrian >> Date: Tue Sep 9 04:18:20 2014 >> New Revision: 271300 >&g

Re: svn commit: r302691 - head/release

2016-07-13 Thread Adrian Chadd
... does dynamically linking the toolchain reduce its 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: r302468 - head/sys/contrib/dev/ath/ath_hal/ar9300

2016-07-08 Thread Adrian Chadd
Author: adrian Date: Fri Jul 8 22:59:15 2016 New Revision: 302468 URL: https://svnweb.freebsd.org/changeset/base/302468 Log: [ath_hal] add in locationing timer support and capabilities. * add support to read the timer and capability * add support to enable/disable the location timer.

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

2016-07-08 Thread Adrian Chadd
Author: adrian Date: Fri Jul 8 22:39:37 2016 New Revision: 302467 URL: https://svnweb.freebsd.org/changeset/base/302467 Log: [ath_hal] add locationing / tx-beamforming RX status descriptor decoding. * LOC_INFO is mostly just "did this packet come with a locationing timestamp instead

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

2016-07-08 Thread Adrian Chadd
Author: adrian Date: Fri Jul 8 22:37:52 2016 New Revision: 302466 URL: https://svnweb.freebsd.org/changeset/base/302466 Log: [ath_hal] Add setting positioning bit and clear sounding-disable bit. * If fast_ts is set then the TX timestamp is the fast timestamp, not normal TSF. * If

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

2016-07-08 Thread Adrian Chadd
Author: adrian Date: Fri Jul 8 22:20:35 2016 New Revision: 302464 URL: https://svnweb.freebsd.org/changeset/base/302464 Log: [ath] add a new buf flag, marking a buffer as involved with ToA/ToD positioning. Modified: head/sys/dev/ath/if_athvar.h Modified: head/sys/dev/ath/if_athvar.h

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

2016-07-08 Thread Adrian Chadd
Author: adrian Date: Fri Jul 8 21:37:04 2016 New Revision: 302463 URL: https://svnweb.freebsd.org/changeset/base/302463 Log: [ath_hal] add capability bit for querying/controlling the ToA/ToD positioning code. Modified: head/sys/dev/ath/ath_hal/ah.h Modified: head/sys/dev/ath/ath_hal/ah.h

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