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

2020-12-08 Thread Adrian Chadd
Author: adrian Date: Tue Dec 8 17:28:42 2020 New Revision: 368451 URL: https://svnweb.freebsd.org/changeset/base/368451 Log: [ath] also remove the magic size value here for the transmit antenna statistics. Modified: head/sys/dev/ath/if_athvar.h Modified: head/sys/dev/ath/if_athvar.h

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

2020-12-08 Thread Adrian Chadd
Author: adrian Date: Tue Dec 8 17:27:24 2020 New Revision: 368450 URL: https://svnweb.freebsd.org/changeset/base/368450 Log: [ath] Don't use hard-coded values in the sanity check. Don't use hard-coded values in the phy error and receive antenna checks. Modified:

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

2020-12-08 Thread Adrian Chadd
Author: adrian Date: Tue Dec 8 17:25:59 2020 New Revision: 368449 URL: https://svnweb.freebsd.org/changeset/base/368449 Log: [ath] replace the hard-coded magic values in if_athioctl.h with constant defines Replace some hard-coded magic values in the ioctl stats struct with #defines.

svn commit: r368305 - head/sys/dev/axgbe

2020-12-03 Thread Adrian Chadd
Author: adrian Date: Thu Dec 3 16:54:59 2020 New Revision: 368305 URL: https://svnweb.freebsd.org/changeset/base/368305 Log: [axgbe] Fix compiler warnings in gcc-6.3; perhaps fix a PHY issue * uninitialised variable use * Using AXGBE_SET_ADV() where it was intended; using AXGBE_ADV()

svn commit: r367771 - head/sbin/nvmecontrol

2020-11-17 Thread Adrian Chadd
Author: adrian Date: Tue Nov 17 17:12:28 2020 New Revision: 367771 URL: https://svnweb.freebsd.org/changeset/base/367771 Log: [nvmecontrol] Fix type signedness warning-to-error on gcc-6.4 This fixes a type signedness comparison warning-to-error on gcc-6.4. The ternary operation casts it

svn commit: r367770 - head/sys/cddl/contrib/opensolaris/common/lz4

2020-11-17 Thread Adrian Chadd
Author: adrian Date: Tue Nov 17 17:11:07 2020 New Revision: 367770 URL: https://svnweb.freebsd.org/changeset/base/367770 Log: [cddl] Fix lz4 function definitions to not tri pup compile. This tripped up in llvm compilation on amd64 noting that lz4_init/lz4_fini were lacking in being

svn commit: r367647 - head/tests/sys/vm

2020-11-13 Thread Adrian Chadd
Author: adrian Date: Fri Nov 13 18:50:24 2020 New Revision: 367647 URL: https://svnweb.freebsd.org/changeset/base/367647 Log: [tests] Fix unused variable warning in gcc Reviewed by: markj, imp, cem, Approved by: markj Differential Revision:https://reviews.freebsd.org/D26792

svn commit: r367629 - head/sys/sys

2020-11-12 Thread Adrian Chadd
Author: adrian Date: Fri Nov 13 01:53:59 2020 New Revision: 367629 URL: https://svnweb.freebsd.org/changeset/base/367629 Log: [malloc] quieten -Werror=missing-braces with malloc.h wth gcc-6.4 This sets off gcc-6.4 to spit out a 'error: missing braces around initializer' error when

svn commit: r367273 - head/lib/libnetmap

2020-11-02 Thread Adrian Chadd
Author: adrian Date: Mon Nov 2 15:01:37 2020 New Revision: 367273 URL: https://svnweb.freebsd.org/changeset/base/367273 Log: [libnetmap] Fix 32 bit compilation under gcc-6.4 Use uintptr_t to cast a uint64_t to a pointer type. Yeah, it isn't technically correct for platforms with

svn commit: r367257 - head/usr.sbin/ctld

2020-11-01 Thread Adrian Chadd
Author: adrian Date: Sun Nov 1 21:18:21 2020 New Revision: 367257 URL: https://svnweb.freebsd.org/changeset/base/367257 Log: [ctld] Fix compilation under gcc-6.4 * remove dup yylex symbol; already defined in a header file * uint64_t is always >= 0 Reviewed by: cem, imp

svn commit: r367248 - head/usr.bin/iscsictl

2020-11-01 Thread Adrian Chadd
Author: adrian Date: Sun Nov 1 15:57:14 2020 New Revision: 367248 URL: https://svnweb.freebsd.org/changeset/base/367248 Log: [iscsictl] Fix compile issues that creep up with gcc-6.4 This fixes two warnings: * double-definition of a symbol in a yacc header * Comparison of an

svn commit: r366818 - head/sys/conf

2020-10-18 Thread Adrian Chadd
Author: adrian Date: Sun Oct 18 22:37:58 2020 New Revision: 366818 URL: https://svnweb.freebsd.org/changeset/base/366818 Log: [zfs] Remove a non-existent directory in the build infra This directory doesn't exist and causes gcc-6.4 to complain about a non-existent include directory

svn commit: r366814 - head/contrib/llvm-project/libcxx/include

2020-10-18 Thread Adrian Chadd
Author: adrian Date: Sun Oct 18 17:31:10 2020 New Revision: 366814 URL: https://svnweb.freebsd.org/changeset/base/366814 Log: [libcxx] Fix atomic type for mips32 on gcc to work w/out needing libatomic When compiling this for mips32 on gcc-6.x, we'd hit issues where we don't have 64 bit

svn commit: r366765 - head/contrib/libgnuregex

2020-10-16 Thread Adrian Chadd
Author: adrian Date: Fri Oct 16 14:28:13 2020 New Revision: 366765 URL: https://svnweb.freebsd.org/changeset/base/366765 Log: This fixes some fun type size truncation that shows up giving errors like " changes value from '287948901175001088' to '0' " .. which turns out is a known issue

svn commit: r366728 - head/sbin/pfctl/tests

2020-10-15 Thread Adrian Chadd
Author: adrian Date: Thu Oct 15 14:56:51 2020 New Revision: 366728 URL: https://svnweb.freebsd.org/changeset/base/366728 Log: [pfctl_tests] Add missing void to empty function declaration Our gcc-6.4 flags require non-empty function declarations. Fix this to match the rest of the

svn commit: r366727 - head/contrib/netbsd-tests/lib/libc/sys

2020-10-15 Thread Adrian Chadd
Author: adrian Date: Thu Oct 15 14:55:07 2020 New Revision: 366727 URL: https://svnweb.freebsd.org/changeset/base/366727 Log: [tests] Fix itimer test warning-errors on gcc-6.4 This fixes a "suggested parens" compile warning-into-error that shows up on gcc-6.4. Reviewed by: ngie

svn commit: r366709 - head/sys/crypto/skein/amd64

2020-10-14 Thread Adrian Chadd
Author: adrian Date: Wed Oct 14 20:55:31 2020 New Revision: 366709 URL: https://svnweb.freebsd.org/changeset/base/366709 Log: [skein] Fix compile issue with unknown symbol SKEIN_ASM_UNROLL1024 Weirdly, I needed to sprinkle more parens here to get gcc-as in 6.4 to correctly generate

svn commit: r366703 - head/sys/crypto/skein/amd64

2020-10-14 Thread Adrian Chadd
Author: adrian Date: Wed Oct 14 14:29:56 2020 New Revision: 366703 URL: https://svnweb.freebsd.org/changeset/base/366703 Log: [skein] Fix compilation on gnu assembler with gcc-6 and gcc-9 For some reason I don't want to really understand, the following happens with gnu as.

svn commit: r366690 - head/usr.sbin/traceroute6

2020-10-13 Thread Adrian Chadd
Author: adrian Date: Wed Oct 14 00:01:17 2020 New Revision: 366690 URL: https://svnweb.freebsd.org/changeset/base/366690 Log: [traceroute6] Don't do the casper bits when we're not doing casper This with the previous patch I committed makes traceroute6/traceroute compile fine when

svn commit: r366688 - head/lib/libcasper/services/cap_dns

2020-10-13 Thread Adrian Chadd
Author: adrian Date: Tue Oct 13 22:49:43 2020 New Revision: 366688 URL: https://svnweb.freebsd.org/changeset/base/366688 Log: [libcasper] Update cap_dns API to not trigger unused variable warnings when disabled When compiling without casper these API calls result in unused variable

svn commit: r366680 - head/tools/tools/ath

2020-10-13 Thread Adrian Chadd
Author: adrian Date: Tue Oct 13 18:36:35 2020 New Revision: 366680 URL: https://svnweb.freebsd.org/changeset/base/366680 Log: [ath] Set WARNS to 0 here for now There are still more warnings to fix here, but gcc on mips treats a lot of these as failures. So stop it stopping me for

svn commit: r366679 - head/tools/tools/ath/athdebug

2020-10-13 Thread Adrian Chadd
Author: adrian Date: Tue Oct 13 18:35:43 2020 New Revision: 366679 URL: https://svnweb.freebsd.org/changeset/base/366679 Log: [athdebug] Fix warnings generated by gcc on mips * commented out currently unused/dead code; need to see what it was once used for * remove unused variable

svn commit: r365957 - in head: sbin/rcorder usr.sbin/crunch/crunchgen

2020-09-21 Thread Adrian Chadd
Author: adrian Date: Mon Sep 21 17:59:45 2020 New Revision: 365957 URL: https://svnweb.freebsd.org/changeset/base/365957 Log: [rcorder] [crunch] Fix C function declarations to include void This fixes a compile issue under gcc6 which complains about legacy style C function declarations.

Re: svn commit: r364091 - head/lib/libc/gen

2020-08-27 Thread Adrian Chadd
{snip} and for completeness sake, bsearch_b.c has the same issue but isn't included in lib/Makefile; thus why it's not tripping the compiler error. -adrian ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r364091 - head/lib/libc/gen

2020-08-27 Thread Adrian Chadd
Hi! This breaks when compiling FreeBSD-mips on GCC-9. :( In file included from /usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/gen/scandir.c:50, from /usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/gen/scandir_b.c:29:

svn commit: r363328 - head/sys/dev/an

2020-07-19 Thread Adrian Chadd
Author: adrian Date: Sun Jul 19 17:27:48 2020 New Revision: 363328 URL: https://svnweb.freebsd.org/changeset/base/363328 Log: [if_an] unbreak! .. I missed this when checking drivers. Differential Revision:https://reviews.freebsd.org/D25723 Modified: head/sys/dev/an/if_an.c

svn commit: r363327 - head/sys/sys

2020-07-19 Thread Adrian Chadd
Author: adrian Date: Sun Jul 19 16:07:51 2020 New Revision: 363327 URL: https://svnweb.freebsd.org/changeset/base/363327 Log: [net80211] missing from last commit, le whoops Differential Revision:https://reviews.freebsd.org/D25630 Modified: head/sys/sys/priv.h Modified:

svn commit: r363325 - in head/sys: kern net80211

2020-07-19 Thread Adrian Chadd
Author: adrian Date: Sun Jul 19 15:16:27 2020 New Revision: 363325 URL: https://svnweb.freebsd.org/changeset/base/363325 Log: [net80211] Add new privileges; restrict what can be done in a jail. Split the MANAGE privilege into MANAGE, SETMAC and CREATE_VAP. + VAP_MANAGE is everything

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

2020-07-15 Thread Adrian Chadd
Author: adrian Date: Wed Jul 15 19:34:19 2020 New Revision: 363236 URL: https://svnweb.freebsd.org/changeset/base/363236 Log: [ar71xx] fix watchdog to work on subsequent SoCs The AR9341 AHB runs at 225MHz, much faster than the 33MHz of the AR71xx AHB. So not only is the math going to do

Re: svn commit: r363171 - head/contrib/flex/src

2020-07-14 Thread Adrian Chadd
Hi! On Tue, 14 Jul 2020 at 08:00, Jung-uk Kim wrote: > On 20. 7. 14., Adrian Chadd wrote: > > Author: adrian > > Date: Tue Jul 14 05:00:08 2020 > > New Revision: 363171 > > URL: https://svnweb.freebsd.org/changeset/base/363171 > > > > Log: > > [f

Re: svn commit: r363172 - head/contrib/bc/src

2020-07-14 Thread Adrian Chadd
flex and bc. -adrian > > Warner > > On Mon, Jul 13, 2020 at 11:02 PM Adrian Chadd wrote: > >> Author: adrian >> Date: Tue Jul 14 05:02:18 2020 >> New Revision: 363172 >> URL: https://svnweb.freebsd.org/changeset/base/363172 >> >> Log: >&g

svn commit: r363176 - head/usr.sbin

2020-07-13 Thread Adrian Chadd
Author: adrian Date: Tue Jul 14 05:33:23 2020 New Revision: 363176 URL: https://svnweb.freebsd.org/changeset/base/363176 Log: [pmc] whoops, remove spurious #'s pointed out by gonzo@, thanks! Modified: head/usr.sbin/Makefile Modified: head/usr.sbin/Makefile

svn commit: r363174 - head/usr.sbin

2020-07-13 Thread Adrian Chadd
Author: adrian Date: Tue Jul 14 05:10:50 2020 New Revision: 363174 URL: https://svnweb.freebsd.org/changeset/base/363174 Log: [hwpmc] Compile 'pmc' only if we have C++11. I noticed when compiling with ye olde gcc-6.3.0 on mips that it tripped over a lack of C++11 bits. This allows it to

svn commit: r363173 - head/sbin/ipfw

2020-07-13 Thread Adrian Chadd
Author: adrian Date: Tue Jul 14 05:07:16 2020 New Revision: 363173 URL: https://svnweb.freebsd.org/changeset/base/363173 Log: [ipfw] quieten maybe-uninitialized errors in ipfw when compiled under mips-gcc-6.3.0. This is mostly an exercise to set variables to NULL/0 when declared, but

svn commit: r363172 - head/contrib/bc/src

2020-07-13 Thread Adrian Chadd
Author: adrian Date: Tue Jul 14 05:02:18 2020 New Revision: 363172 URL: https://svnweb.freebsd.org/changeset/base/363172 Log: [bc] Fix a "maybe uninitialized" compiler warning under mips-gcc-6.3.0. I guess this didn't like the case statements.. ? But this does quieten the compiler error.

svn commit: r363171 - head/contrib/flex/src

2020-07-13 Thread Adrian Chadd
Author: adrian Date: Tue Jul 14 05:00:08 2020 New Revision: 363171 URL: https://svnweb.freebsd.org/changeset/base/363171 Log: [flex] Fix compilation issue under mips-gcc-6.4 This was triggering a pointer-losing-constness error. Modified: head/contrib/flex/src/main.c Modified:

svn commit: r362816 - head/sys/net80211

2020-06-30 Thread Adrian Chadd
Author: adrian Date: Wed Jul 1 00:24:55 2020 New Revision: 362816 URL: https://svnweb.freebsd.org/changeset/base/362816 Log: [net80211] Commit files missing in the previous commit These belong to my previous commit, but apparently I typed ieee80211_vhf.[ch] and forgot ht.h. Le oops.

svn commit: r362815 - head/sys/net80211

2020-06-30 Thread Adrian Chadd
Author: adrian Date: Wed Jul 1 00:23:49 2020 New Revision: 362815 URL: https://svnweb.freebsd.org/changeset/base/362815 Log: [net80211] Migrate HT/legacy protection mode and preamble calculation to per-VAP flags The later firmware devices (including iwn!) support multiple configuration

svn commit: r362718 - head/usr.sbin/fifolog/lib

2020-06-28 Thread Adrian Chadd
Author: adrian Date: Sun Jun 28 06:52:39 2020 New Revision: 362718 URL: https://svnweb.freebsd.org/changeset/base/362718 Log: [fifolog] wrap the recno when we hit the end of the provided file size. Without this the log just keeps growing to infinity. Reviewed by: phk Differential

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

2020-06-26 Thread Adrian Chadd
Author: adrian Date: Sat Jun 27 02:59:51 2020 New Revision: 362671 URL: https://svnweb.freebsd.org/changeset/base/362671 Log: [ath_hal] Add KeyMiss for AR5212/AR5416 series chips. This is a flag from the MAC that says the received packet didn't match a keycache slot. This isn't

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

2020-06-16 Thread Adrian Chadd
Author: adrian Date: Wed Jun 17 03:16:20 2020 New Revision: 362257 URL: https://svnweb.freebsd.org/changeset/base/362257 Log: [ath] Mention DWDS, expresscard and minipcie. I use all of these.. Modified: head/share/man/man4/ath.4 Modified: head/share/man/man4/ath.4

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

2020-06-16 Thread Adrian Chadd
Author: adrian Date: Wed Jun 17 03:12:43 2020 New Revision: 362256 URL: https://svnweb.freebsd.org/changeset/base/362256 Log: [run] mention that some 11n functionality is now available. A-MPDU, short-gi and 40MHz mode is currently not supported, but hey, it supports enough 11n to be

svn commit: r362216 - head/sbin/ifconfig

2020-06-15 Thread Adrian Chadd
Author: adrian Date: Tue Jun 16 04:17:08 2020 New Revision: 362216 URL: https://svnweb.freebsd.org/changeset/base/362216 Log: [ifconfig] add UAPSD and LPDC flags * Add UAPSD and LDPC flags * expand the FLAGS section; it's kinda grown since I started hacking on net80211.. Modified:

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

2020-06-15 Thread Adrian Chadd
Author: adrian Date: Tue Jun 16 01:11:40 2020 New Revision: 362213 URL: https://svnweb.freebsd.org/changeset/base/362213 Log: [rsu] Update wme ie API use. Whoops, forgot to land this one too! Modified: head/sys/dev/usb/wlan/if_rsu.c Modified: head/sys/dev/usb/wlan/if_rsu.c

svn commit: r362212 - head/sys/net80211

2020-06-15 Thread Adrian Chadd
Author: adrian Date: Tue Jun 16 00:28:45 2020 New Revision: 362212 URL: https://svnweb.freebsd.org/changeset/base/362212 Log: [net80211] Add missing commit to previous-1 uapsd commit. Whoops; somehow my big commit line didn't include this.. cue the tree breakage emails. Modified:

svn commit: r362211 - head/sbin/ifconfig

2020-06-15 Thread Adrian Chadd
Author: adrian Date: Tue Jun 16 00:28:08 2020 New Revision: 362211 URL: https://svnweb.freebsd.org/changeset/base/362211 Log: [net80211] Add uapsd option to ifconfig Add an enable/disable option for controlling uapsd. I'm not yet controlling the individual AC configs or the service

svn commit: r362210 - head/sys/net80211

2020-06-15 Thread Adrian Chadd
Author: adrian Date: Tue Jun 16 00:27:32 2020 New Revision: 362210 URL: https://svnweb.freebsd.org/changeset/base/362210 Log: [net80211] Add initial U-APSD negotiation support. U-APSD (unscheduled automatic power save delivery) is a power save method that's a bit better than legacy

svn commit: r362162 - head/sys/net80211

2020-06-13 Thread Adrian Chadd
Author: adrian Date: Sun Jun 14 00:23:06 2020 New Revision: 362162 URL: https://svnweb.freebsd.org/changeset/base/362162 Log: [net80211] Treat frames without an rx status as not a decap'ed A-MSDU. Drivers for NICs which do A-MSDU decap in hardware / driver will need to set the rx status,

svn commit: r362161 - head/sys/net80211

2020-06-13 Thread Adrian Chadd
Author: adrian Date: Sun Jun 14 00:21:48 2020 New Revision: 362161 URL: https://svnweb.freebsd.org/changeset/base/362161 Log: [net80211] Also convert the ddb path Whoops - this belonged in my previous commit. Modified: head/sys/net80211/ieee80211_ddb.c Modified:

svn commit: r362157 - head/sys/net80211

2020-06-13 Thread Adrian Chadd
Author: adrian Date: Sat Jun 13 23:35:22 2020 New Revision: 362157 URL: https://svnweb.freebsd.org/changeset/base/362157 Log: [net80211] Handle offloaded AMSDU in AMPDU reordering. In the 11n world, most NICs did A-MPDU receive/transmit offloading but not A-MSDU offloading. So, the

svn commit: r362156 - head/sys/net80211

2020-06-13 Thread Adrian Chadd
Author: adrian Date: Sat Jun 13 22:20:02 2020 New Revision: 362156 URL: https://svnweb.freebsd.org/changeset/base/362156 Log: [net80211] separate out node allocation and node initialisation. This is a new, optional (for now!) method that drivers can use to separate node allocation and

svn commit: r362085 - head/tools/tools/net80211/wlanstats

2020-06-12 Thread Adrian Chadd
Author: adrian Date: Fri Jun 12 06:10:27 2020 New Revision: 362085 URL: https://svnweb.freebsd.org/changeset/base/362085 Log: [wlanstats] Add the per-node amsdu hardware decap'ed receive stats. This is useful for tracking hardware provided AMSDU frames to see when we're (a) seeing them,

svn commit: r362084 - head/sys/net80211

2020-06-11 Thread Adrian Chadd
Author: adrian Date: Fri Jun 12 04:19:03 2020 New Revision: 362084 URL: https://svnweb.freebsd.org/changeset/base/362084 Log: [net80211] First part of A-MSDU offload handling - don't bump A-MPDU reordering seqno When doing A-MSDU offload handling the driver is required to mark A-MSDUs

svn commit: r362016 - head/sys/net80211

2020-06-10 Thread Adrian Chadd
Author: adrian Date: Wed Jun 10 18:59:46 2020 New Revision: 362016 URL: https://svnweb.freebsd.org/changeset/base/362016 Log: [net80211] ok ok if_xname won't ever be NULL. Somewhere in net80211 if_xname is checked against NULL but it doesn't trigger a compiler warning, but this does. So

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

2020-06-06 Thread Adrian Chadd
Author: adrian Date: Sun Jun 7 05:08:44 2020 New Revision: 361886 URL: https://svnweb.freebsd.org/changeset/base/361886 Log: [if_ath] Don't update the beacon bits from beacon frames in hostapd mode. This logic is running the beacon receive bits in STA+AP mode on both the STA and AP

svn commit: r361885 - head/sys/net80211

2020-06-06 Thread Adrian Chadd
Author: adrian Date: Sun Jun 7 04:57:48 2020 New Revision: 361885 URL: https://svnweb.freebsd.org/changeset/base/361885 Log: [net80211] Add a method to return the vap's ifname. This removes the requirement to know what's in the ifp. (If someone wants a quick clean-up task, it'd be

svn commit: r361878 - head/sys/net80211

2020-06-06 Thread Adrian Chadd
Author: adrian Date: Sat Jun 6 22:25:00 2020 New Revision: 361878 URL: https://svnweb.freebsd.org/changeset/base/361878 Log: [net80211] Flip on A-MPDU, A-MSDU, A-MPDU+A-MSDU and Fast frames options. This updates the logic to allow: * A-MPDU if available; * A-MSDU if available and

svn commit: r361864 - head/sys/net80211

2020-06-06 Thread Adrian Chadd
Author: adrian Date: Sat Jun 6 06:17:51 2020 New Revision: 361864 URL: https://svnweb.freebsd.org/changeset/base/361864 Log: [net80211] Fix this typo! I've just started using this macro in upcoming amsdu/ampdu/ff rework and yes, too many parens. Oops! Modified:

svn commit: r361863 - head/sys/net80211

2020-06-05 Thread Adrian Chadd
Author: adrian Date: Sat Jun 6 05:46:12 2020 New Revision: 361863 URL: https://svnweb.freebsd.org/changeset/base/361863 Log: [net80211] Fix typo. Oops! Modified: head/sys/net80211/ieee80211_node.c Modified: head/sys/net80211/ieee80211_node.c

svn commit: r361834 - head/sys/net80211

2020-06-05 Thread Adrian Chadd
Author: adrian Date: Fri Jun 5 14:17:19 2020 New Revision: 361834 URL: https://svnweb.freebsd.org/changeset/base/361834 Log: [net80211] Don't call ic_updateslot if it's not set. Turns out this isn't a required call. I didn't pick it up because my uncommitted changes involve new

svn commit: r361826 - head/sys/net80211

2020-06-05 Thread Adrian Chadd
Author: adrian Date: Fri Jun 5 07:38:46 2020 New Revision: 361826 URL: https://svnweb.freebsd.org/changeset/base/361826 Log: [net80211] print out node A-MSDU state. Now that the node AMSDU TX/RX flags are correctly set in ieee80211_ht.c, we can print out the AMSDU state here. Modified:

svn commit: r361825 - head/sys/net80211

2020-06-05 Thread Adrian Chadd
Author: adrian Date: Fri Jun 5 07:38:10 2020 New Revision: 361825 URL: https://svnweb.freebsd.org/changeset/base/361825 Log: [net80211] Add initial A-MSDU in A-MPDU negotation support. This is hopefully a big no-op unless you're running some extra patches to flip on A-MSDU options in a

svn commit: r361822 - head/sys/net80211

2020-06-05 Thread Adrian Chadd
Author: adrian Date: Fri Jun 5 06:21:23 2020 New Revision: 361822 URL: https://svnweb.freebsd.org/changeset/base/361822 Log: [net80211] Migrate short slot time configuration into per-vap and deferred taskqueue updates. The 11b/11g ERP and slot time update handling are two things which

svn commit: r361821 - head/sys/net80211

2020-06-05 Thread Adrian Chadd
Author: adrian Date: Fri Jun 5 06:07:23 2020 New Revision: 361821 URL: https://svnweb.freebsd.org/changeset/base/361821 Log: [net80211] Add some TODOs around A-MSDU in A-MPDU negotiation. net80211 currently doesn't negotiate A-MSDU in A-MPDU during ADDBA. I've added the field in

svn commit: r361820 - head/sys/dev/iwn

2020-06-04 Thread Adrian Chadd
Author: adrian Date: Fri Jun 5 04:24:34 2020 New Revision: 361820 URL: https://svnweb.freebsd.org/changeset/base/361820 Log: [iwn] Set default ampdu parameters. These are from the linux iwlwifi driver ;the default use smaller maximum AMPDUs (8k) and a much smaller density (none.) The

svn commit: r361819 - head/sys/net80211

2020-06-04 Thread Adrian Chadd
Author: adrian Date: Fri Jun 5 04:04:47 2020 New Revision: 361819 URL: https://svnweb.freebsd.org/changeset/base/361819 Log: [net80211] Add field definition for A-MSDU inside A-MPDU. Now that I have A-MSDU and A-MPDU coexisting together, we need to actually announce if (a) it's

svn commit: r361813 - head/sys/net80211

2020-06-04 Thread Adrian Chadd
Author: adrian Date: Fri Jun 5 00:16:54 2020 New Revision: 361813 URL: https://svnweb.freebsd.org/changeset/base/361813 Log: [net80211] Add some more debugging during scanning I'm trying to chase down more weird "I am not doing an incremental scan when being asked" issues so these

svn commit: r361812 - head/sys/net80211

2020-06-04 Thread Adrian Chadd
Author: adrian Date: Fri Jun 5 00:14:02 2020 New Revision: 361812 URL: https://svnweb.freebsd.org/changeset/base/361812 Log: [net80211] Print out a bad PN in both hex and decimal. I've been using this to visually identify when I'm getting corrupted PNs from the hardware. :( Modified:

svn commit: r361811 - head/sys/net80211

2020-06-04 Thread Adrian Chadd
Author: adrian Date: Fri Jun 5 00:11:44 2020 New Revision: 361811 URL: https://svnweb.freebsd.org/changeset/base/361811 Log: [net80211] Send a probe request after IBSS node discovery This sends a probe request after IBSS node discovery through beacon frames. This allows things like HT

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

2020-06-03 Thread Adrian Chadd
Author: adrian Date: Wed Jun 3 22:30:44 2020 New Revision: 361778 URL: https://svnweb.freebsd.org/changeset/base/361778 Log: [run] Fix up tx/rx frame size. This specifically fixes that TX frames are large enough now to hold a 3900 odd byte AMSDU (the little ones); me flipping it on

svn commit: r361768 - head/sys/dev/otus

2020-06-03 Thread Adrian Chadd
Author: adrian Date: Wed Jun 3 20:25:02 2020 New Revision: 361768 URL: https://svnweb.freebsd.org/changeset/base/361768 Log: [otus] enable 802.11n for 2GHz and 5GHz. This flips on basic 11n for 2GHz/5GHz station operation. * It flips on HT20 and MCS rates; * It enables A-MPDU decap

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

2020-06-02 Thread Adrian Chadd
Author: adrian Date: Tue Jun 2 22:37:53 2020 New Revision: 361738 URL: https://svnweb.freebsd.org/changeset/base/361738 Log: [run] note that PHY_HT is for mixed mode. Submitted by: Ashish Gupta Differential Revision:https://reviews.freebsd.org/D25108 Modified:

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

2020-06-02 Thread Adrian Chadd
Author: adrian Date: Tue Jun 2 22:36:17 2020 New Revision: 361737 URL: https://svnweb.freebsd.org/changeset/base/361737 Log: [run] Set the number of HT chains. * Set the tx/rx chains based on the existing MIMO eeprom reads * Add 3-chain rates Tested: * MAC/BBP RT5390 (rev

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

2020-06-02 Thread Adrian Chadd
Author: adrian Date: Tue Jun 2 16:40:58 2020 New Revision: 361726 URL: https://svnweb.freebsd.org/changeset/base/361726 Log: [run] Add 11NA flags for 5G NICs that support HT. Now that I'm a proud owner of an ASUS USB-N66, I can test 2G/5G and 3-stream configurations. For now, just

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

2020-06-01 Thread Adrian Chadd
Author: adrian Date: Mon Jun 1 06:10:25 2020 New Revision: 361687 URL: https://svnweb.freebsd.org/changeset/base/361687 Log: [ath] Don't re-program the beacon timers if we miss a beacon in software-beacon STA mode. This is something I added a few years ago to handle resyncing the beacon

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

2020-05-29 Thread Adrian Chadd
Author: adrian Date: Sat May 30 00:07:42 2020 New Revision: 361637 URL: https://svnweb.freebsd.org/changeset/base/361637 Log: [run] Don't add 11ng channels (2GHz) for RF2020 Don't also add the 11ng channels if we're not in 11n mode or net80211 will get super weird. Modified:

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

2020-05-29 Thread Adrian Chadd
Author: adrian Date: Sat May 30 00:06:26 2020 New Revision: 361636 URL: https://svnweb.freebsd.org/changeset/base/361636 Log: [run] Set ampdu rxmax same as linux; RF2020 isn't an 11n NIC This is from the linux driver: * set the ampdu rx max to 32k for 1 stream devics like mine, and

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

2020-05-29 Thread Adrian Chadd
Author: adrian Date: Fri May 29 15:56:44 2020 New Revision: 361626 URL: https://svnweb.freebsd.org/changeset/base/361626 Log: [run] Add initial 802.11n support. * Enable self-generated 11n frames * add MCS rates for 1-stream and 2-stream rates; will do 3-stream once the rest of this

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

2020-05-28 Thread Adrian Chadd
Author: adrian Date: Fri May 29 00:05:43 2020 New Revision: 361612 URL: https://svnweb.freebsd.org/changeset/base/361612 Log: [mips] fix up the assembly generation of unaligned exception loads I noticed that unaligned accesses were returning garbage values. Give test data like this:

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

2020-05-27 Thread Adrian Chadd
Author: adrian Date: Wed May 27 22:48:34 2020 New Revision: 361566 URL: https://svnweb.freebsd.org/changeset/base/361566 Log: [ath] Update ath_rate_sample to use the same base type as ticks. Until net80211 grows a specific ticks type that matches the system, manually use the same type as

svn commit: r361560 - head/sys/net80211

2020-05-27 Thread Adrian Chadd
Author: adrian Date: Wed May 27 18:32:12 2020 New Revision: 361560 URL: https://svnweb.freebsd.org/changeset/base/361560 Log: [net80211] Fix interrupted scan logic and ticks comparison The scan task refactoring stuff circa 2014-2016 broke the blocking task into a taskqueue with some

svn commit: r361546 - head/sys/cam/ata

2020-05-26 Thread Adrian Chadd
Author: adrian Date: Wed May 27 02:10:09 2020 New Revision: 361546 URL: https://svnweb.freebsd.org/changeset/base/361546 Log: [ata_da] remove duplicate definition; it trips up ye olde gcc-6 on mips32 Checked first with: irc Modified: head/sys/cam/ata/ata_da.c Modified:

svn commit: r361486 - in head/sys: contrib/dev/ath/ath_hal/ar9300 dev/ath dev/ath/ath_hal/ar5416 dev/ath/ath_hal/ar9001 dev/ath/ath_hal/ar9002

2020-05-25 Thread Adrian Chadd
Author: adrian Date: Mon May 25 22:31:45 2020 New Revision: 361486 URL: https://svnweb.freebsd.org/changeset/base/361486 Log: [ath] [ath_hal] Propagate the HAL_RESET_TYPE through to the chip reset; set it during ath_reset() Although I added the reset type field to ath_hal_reset() years

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

2020-05-20 Thread Adrian Chadd
Author: adrian Date: Thu May 21 04:35:12 2020 New Revision: 361321 URL: https://svnweb.freebsd.org/changeset/base/361321 Log: [ath] Hopefully recover better-er upon RX restart on AR9380. This is all very long-standing bug stuff that is touchy and still poorly documented. Ok, here goes.

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

2020-05-20 Thread Adrian Chadd
Author: adrian Date: Thu May 21 04:26:20 2020 New Revision: 361320 URL: https://svnweb.freebsd.org/changeset/base/361320 Log: [ath] reset hardware if this particular mac bug is seen. I have to dig into why I'm seeing it on chips as late as the AR9380 era stuff (as it's marked as an

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

2020-05-20 Thread Adrian Chadd
Author: adrian Date: Thu May 21 03:53:45 2020 New Revision: 361319 URL: https://svnweb.freebsd.org/changeset/base/361319 Log: [ath_rate_sample] Obey the maximum frame length even when using static rates. I wasn't enforcing the maximum packet length when using static rates so although the

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

2020-05-16 Thread Adrian Chadd
Author: adrian Date: Sat May 16 21:59:41 2020 New Revision: 361118 URL: https://svnweb.freebsd.org/changeset/base/361118 Log: [ath_rate_sample] Fix correct status when completing frames with short failures. My preivous logic was a bit wrong. This caused transmissions that failed due to

svn commit: r361115 - head/tools/tools/ath/athratestats

2020-05-16 Thread Adrian Chadd
Author: adrian Date: Sat May 16 18:49:37 2020 New Revision: 361115 URL: https://svnweb.freebsd.org/changeset/base/361115 Log: [ath] Flip athratestats to use two columns for now. Yeah I have too many rates on the screen now... Modified: head/tools/tools/ath/athratestats/main.c Modified:

svn commit: r361107 - head/tools/tools/ath/athratestats

2020-05-16 Thread Adrian Chadd
Author: adrian Date: Sat May 16 06:09:24 2020 New Revision: 361107 URL: https://svnweb.freebsd.org/changeset/base/361107 Log: [ath] ok ok, fix the indenting now that I have 5 column packet sizes. Now things line up nicely again. There's a lot of them, and I don't have a long enough

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

2020-05-15 Thread Adrian Chadd
Author: adrian Date: Sat May 16 05:07:45 2020 New Revision: 361106 URL: https://svnweb.freebsd.org/changeset/base/361106 Log: [ath_rate_sample] Limit the tx schedules for A-MPDU ; don't take short retries into account and remove the requirement that the MCS rate is "higher" if we're

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

2020-05-15 Thread Adrian Chadd
Author: adrian Date: Sat May 16 01:56:06 2020 New Revision: 361098 URL: https://svnweb.freebsd.org/changeset/base/361098 Log: [ath_rate_sample] Fix logic for determining whether to bump up an MCS rate. * Fix formatting, cause reasons; * Put back the "and the chosen rate is within 90% of

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

2020-05-15 Thread Adrian Chadd
Author: adrian Date: Fri May 15 20:03:53 2020 New Revision: 361087 URL: https://svnweb.freebsd.org/changeset/base/361087 Log: [ath] [ath_rate_sample] le oops, trim out an #if 1 that I didn't fully delete. Cool, so now I know it's about 3 weeks between starting on freebsd coding and

svn commit: r361085 - in head/sys/dev/ath: . ath_hal/ar5416 ath_rate/amrr ath_rate/onoe ath_rate/sample

2020-05-15 Thread Adrian Chadd
Author: adrian Date: Fri May 15 18:51:20 2020 New Revision: 361085 URL: https://svnweb.freebsd.org/changeset/base/361085 Log: [ath] [ath_rate] Extend ath_rate_sample to better handle 11n rates and aggregates. My initial rate control code was .. suboptimal. I wanted to at least get MCS

svn commit: r361025 - head/tools/tools/ath/athratestats

2020-05-13 Thread Adrian Chadd
Author: adrian Date: Thu May 14 05:01:18 2020 New Revision: 361025 URL: https://svnweb.freebsd.org/changeset/base/361025 Log: [ath] Extend the colours to 4, not 2. There's 8 bins in the upcoming changeset to ath/ath_rate, so I need more colours. Yeah, I know. Modified:

svn commit: r361009 - head/tools/tools/ath/athratestats

2020-05-13 Thread Adrian Chadd
Author: adrian Date: Wed May 13 16:36:42 2020 New Revision: 361009 URL: https://svnweb.freebsd.org/changeset/base/361009 Log: [ath] Prepare for .. more sample rate control entries This is in preparation for me bumping how many size buckets are used for ath_rate_sample statistics. *

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

2020-05-12 Thread Adrian Chadd
Author: adrian Date: Wed May 13 00:05:11 2020 New Revision: 360998 URL: https://svnweb.freebsd.org/changeset/base/360998 Log: [ath] [ath_rate] Add some extra data into the rate control lookup. Right now (well, since I did this in 2011/2012) the rate control code makes some super bad

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

2020-05-11 Thread Adrian Chadd
Author: adrian Date: Tue May 12 02:23:11 2020 New Revision: 360954 URL: https://svnweb.freebsd.org/changeset/base/360954 Log: [ath_hal_ar9300] Ensure AH_BYTE_ORDER is defined before used. Same deal here - ensure endian bits are set here first! Modified:

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

2020-05-11 Thread Adrian Chadd
Author: adrian Date: Tue May 12 02:20:27 2020 New Revision: 360953 URL: https://svnweb.freebsd.org/changeset/base/360953 Log: [ath_hal] [ath_hal_ar9300] Fix endian macros to work in and out of kernel tree. Yes, people shouldn't use bitfields in C for structure parsing. If someone ever

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

2020-05-11 Thread Adrian Chadd
Author: adrian Date: Tue May 12 01:40:48 2020 New Revision: 360951 URL: https://svnweb.freebsd.org/changeset/base/360951 Log: [ar9300] Fix up this tool after test compiling it with LLVM. Le oops. Modified: head/tools/tools/ath/ath_ee_9300_print/main.c Modified:

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

2020-05-11 Thread Adrian Chadd
Author: adrian Date: Tue May 12 01:36:48 2020 New Revision: 360950 URL: https://svnweb.freebsd.org/changeset/base/360950 Log: [ar9300] Update the ar9300 eeprom dump utility to include target power and CTL. This lets me easily see what the EEPROM target power and regulatory compliance

  1   2   3   4   5   6   7   8   9   10   >