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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

svn commit: r318859 - head/lib

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

svn commit: r318858 - head

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

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

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

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

2017-05-24 Thread Adrian Chadd
/ath/ah_osdep_ar5210.c Thu May 25 04:18:46 2017 (r318856) @@ -0,0 +1,74 @@ +/*- + * Copyright 2017 Adrian Chadd <adr...@freebsd.org>. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. R

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

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

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

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

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

2017-05-23 Thread Adrian Chadd
ded) +++ head/sys/mips/atheros/ar71xx_caldata.c Tue May 23 06:20:06 2017 (r318696) @@ -0,0 +1,176 @@ +/*- + * Copyright (c) 2017, Adrian Chadd <adr...@freebsd.org>. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are p

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

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

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

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

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

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

svn commit: r318566 - head/sys/net80211

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

svn commit: r318413 - head/sys/net80211

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2017-05-12 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:21:03 2017 New Revision: 318225 URL: https://svnweb.freebsd.org/changeset/base/318225 Log: [iwm] Already call iwm_mvm_power_update_mac() during SCAN<->AUTH paths. * Otherwise we would never update powersaving settings until we complete an association,

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

2017-05-12 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:16:11 2017 New Revision: 318224 URL: https://svnweb.freebsd.org/changeset/base/318224 Log: [iwm] Refuse connection to APs with beacon interval < 16. Obtained from:dragonflybsd.git aba448de727e9b122adadeb36fd00a8ad6018d4f Modified:

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

2017-05-12 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:05:34 2017 New Revision: 318223 URL: https://svnweb.freebsd.org/changeset/base/318223 Log: [iwm] Handle AUTH->SCAN/INIT and ASSOC->SCAN/INIT better * Tear down the relevant firmware state (i.e. the station, the vif binding) in these transition cases.

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

2017-05-12 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:03:23 2017 New Revision: 318222 URL: https://svnweb.freebsd.org/changeset/base/318222 Log: [iwm] Factor out firmware station handling into if_iwm_sta.c. * This adds iwm_mvm_rm_sta(), which will be used to tear down firmware state for better/cleaner

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:53:28 2017 New Revision: 318221 URL: https://svnweb.freebsd.org/changeset/base/318221 Log: [iwm] Deduplicate code in iwm_auth() from an if condition. Obtained from:dragonflybsd.git 03c6e6970115727c9d39f9358e0500ab4f4634cd Modified:

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:51:50 2017 New Revision: 318220 URL: https://svnweb.freebsd.org/changeset/base/318220 Log: [iwm] No need for iwm_assoc() in AUTH->ASSOC transition. * Hence no need to keep stuff in separate iwm_assoc() function, just inline the stuff into

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:50:38 2017 New Revision: 318219 URL: https://svnweb.freebsd.org/changeset/base/318219 Log: [iwm] Properly implement iwm_wme_update callback function. * Inspired by iwn(4) and Linux iwlwifi. * Read wme parameters into a buffer within struct iwm_vap in

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:49:24 2017 New Revision: 318218 URL: https://svnweb.freebsd.org/changeset/base/318218 Log: [iwm] Process multiple frames per RX buffer. * Factor out iwm_handle_rxb() function from iwm_notif_intr(). * Removing the

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:30:01 2017 New Revision: 318217 URL: https://svnweb.freebsd.org/changeset/base/318217 Log: [iwm] Change UCODE_TLV_API #define-s from bitmasks to indexes. * Fixes oversight from commit 757eecf0e6c92745aa2eee95811e573c8300850e. fw_has_api now uses the

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:28:49 2017 New Revision: 318216 URL: https://svnweb.freebsd.org/changeset/base/318216 Log: [iwm] Sync iwm_read_firmware()'s loop to iwlwifi's code. Obtained from:dragonflybsd.git d1c10ccfcf2d6d2a664f17197add0b4f9181 Modified:

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:22:29 2017 New Revision: 318215 URL: https://svnweb.freebsd.org/changeset/base/318215 Log: [iwm] change the check for ADD_STA status, use IWM_ADD_STA_STATUS_MASK. Obtained from:dragonflybsd.git 74d41163ddac72b0d7ea7b7873d53fe134723a12 Modified:

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:21:50 2017 New Revision: 318214 URL: https://svnweb.freebsd.org/changeset/base/318214 Log: [iwm] Sanity check channel for IEEE80211_CHAN_ANYC in if_iwm_mac_ctxt.c. * This avoids panicing in some broken vap state handling cases. Obtained from:

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:21:02 2017 New Revision: 318213 URL: https://svnweb.freebsd.org/changeset/base/318213 Log: [if_iwm] Get rid of another usage of the IWM_DEFAULT_MACID/_COLOR constant. Obtained from:dragonflybsd.git c009badecf7b1389cd86adde9fd35f6113c75b5b

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

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:19:08 2017 New Revision: 318212 URL: https://svnweb.freebsd.org/changeset/base/318212 Log: [if_iwm] Partly sync if_iwm_binding.c to Linux iwlwifi code. * Store macid and color values in struct iwm_vap, to avoid hardcoded constants a bit. * Add

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

2017-05-08 Thread Adrian Chadd
Author: adrian Date: Tue May 9 05:32:35 2017 New Revision: 318013 URL: https://svnweb.freebsd.org/changeset/base/318013 Log: [iwm] Move in_phyctxt from struct iwm_node to phy_ctxt in struct iwm_vap. * This better matches how things are organized in Linux's iwlwifi. Obtained from:

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

2017-05-08 Thread Adrian Chadd
Author: adrian Date: Tue May 9 05:31:38 2017 New Revision: 318012 URL: https://svnweb.freebsd.org/changeset/base/318012 Log: [iwm] Allow listening on both chains/atennas to get diversity. This might improve throughput slightly when far from the accesspoint, apparently by allowing the

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

2017-05-08 Thread Adrian Chadd
Author: adrian Date: Tue May 9 04:15:07 2017 New Revision: 318005 URL: https://svnweb.freebsd.org/changeset/base/318005 Log: [iwm] Add basic powermanagement support via ifconfig wlan0 powersave. * The DEVICE_POWER_FLAGS_CAM_MSK flag was removed in the upstream iwlwifi in Linux commit

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

2017-05-08 Thread Adrian Chadd
Author: adrian Date: Tue May 9 02:42:53 2017 New Revision: 318003 URL: https://svnweb.freebsd.org/changeset/base/318003 Log: [iwm] Add iwm_nic_unlock() calls missing from previous commit. Obtained from:dragonflybsd.git f88ab372284e63c4c13da93e9026a203b9b4cdc5 Modified:

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

2017-05-08 Thread Adrian Chadd
Author: adrian Date: Tue May 9 02:41:33 2017 New Revision: 318002 URL: https://svnweb.freebsd.org/changeset/base/318002 Log: [iwm] iwm_{read,write}_prph() don't grab the nic lock in iwm themselves. * Fix a couple of cases where the nic lock ended up not being grabbed during an

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

2017-05-08 Thread Adrian Chadd
Author: adrian Date: Tue May 9 02:38:23 2017 New Revision: 318001 URL: https://svnweb.freebsd.org/changeset/base/318001 Log: [iwm] include opt_iwm.h and opt_wlan.h consistently in all files. Modified: head/sys/dev/iwm/if_iwm.c head/sys/dev/iwm/if_iwm_7000.c

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

2017-05-06 Thread Adrian Chadd
Author: adrian Date: Sat May 6 06:08:44 2017 New Revision: 317870 URL: https://svnweb.freebsd.org/changeset/base/317870 Log: [mx25l] add new device ids. Submitted by: Hiroki Mori Differential Revision:https://reviews.freebsd.org/D10621 Modified:

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

2017-05-06 Thread Adrian Chadd
Author: adrian Date: Sat May 6 06:09:50 2017 New Revision: 317871 URL: https://svnweb.freebsd.org/changeset/base/317871 Log: [ar934x] do an ethernet analog reset; apparently some boards don't. Tested: * on IOData WN-G300R. may be same as Sitecom WLR-2100. Submitted by: Hiroki

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

2017-05-06 Thread Adrian Chadd
Author: adrian Date: Sat May 6 06:22:14 2017 New Revision: 317874 URL: https://svnweb.freebsd.org/changeset/base/317874 Log: [mediatek] [gpio] add PPS / interrupt support. Submitted by: Hiroki Mori Reviewed by: mizhka Differential Revision:

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

2017-05-06 Thread Adrian Chadd
Author: adrian Date: Sat May 6 06:06:11 2017 New Revision: 317868 URL: https://svnweb.freebsd.org/changeset/base/317868 Log: [ar531x] [if_are] Fix if_are behaviour under high load traffic * use ifqmaxlen * handle (inefficiently for now) meeting padding and alignment requirements for

svn commit: r317872 - in head/sys: arm/conf arm/ralink boot/fdt/dts/arm

2017-05-06 Thread Adrian Chadd
Author: adrian Date: Sat May 6 06:14:46 2017 New Revision: 317872 URL: https://svnweb.freebsd.org/changeset/base/317872 Log: [arm] [rt1310] add initial RT1310 SoC code. This code base on lpc code. Ralink RT1310 is oem from 5V Technologies. RT1310 is ARM926EJS(arm5t). Tested: *

svn commit: r317873 - in head/sys: conf dev/rt gnu/dts/mips mips/conf mips/mediatek

2017-05-06 Thread Adrian Chadd
Author: adrian Date: Sat May 6 06:20:34 2017 New Revision: 317873 URL: https://svnweb.freebsd.org/changeset/base/317873 Log: [mips] [rt2880] Add oldest Ralink MIPS SOC RT2880 support code. * Target module have ic plus etherswitch ip175c. * Also add etherswitch support code on rt driver.

svn commit: r317869 - head/sys/dev/etherswitch/e6000sw

2017-05-06 Thread Adrian Chadd
Author: adrian Date: Sat May 6 06:07:44 2017 New Revision: 317869 URL: https://svnweb.freebsd.org/changeset/base/317869 Log: [etherswitch] [e6000sw] fix compile issue under clang/arm Submitted by: Hiroki Mori Approved by: mizhka Differential Revision:

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

2017-05-06 Thread Adrian Chadd
Author: adrian Date: Sat May 6 06:01:17 2017 New Revision: 317867 URL: https://svnweb.freebsd.org/changeset/base/317867 Log: [etherswitch] add manpages for etherswitch supported devices. Submitted by: Hiroki Mori Reviewed by: mizhka Differential Revision:

svn commit: r317865 - head/sys/dev/cfi

2017-05-06 Thread Adrian Chadd
Author: adrian Date: Sat May 6 05:52:01 2017 New Revision: 317865 URL: https://svnweb.freebsd.org/changeset/base/317865 Log: [cfi] fix CFI flash reset command for MX29LV320T/B. MX flash MX29LV320T/B datasheet say reset is 0xf0. Submitted by: Hiroki Mori

svn commit: r317864 - head/sys/dev/etherswitch/infineon

2017-05-06 Thread Adrian Chadd
Author: adrian Date: Sat May 6 05:50:07 2017 New Revision: 317864 URL: https://svnweb.freebsd.org/changeset/base/317864 Log: [infineon] [etherswitch] no hardcode tagging port setting at amd6996fc Tagging port can set by etherswitchcfg command. Tested: * on Netgear_WGR614Cv7

svn commit: r317866 - head/sys/dev/etherswitch/ip17x

2017-05-06 Thread Adrian Chadd
Author: adrian Date: Sat May 6 05:53:42 2017 New Revision: 317866 URL: https://svnweb.freebsd.org/changeset/base/317866 Log: [ip17x] [etherswitch] fdt away and mii hang workaround on ip17x Add workaround mii access because of rt1310 is hang up on etherswitch mii poll. And FDT away on

svn commit: r317728 - head/tools/tools/net80211/scripts

2017-05-03 Thread Adrian Chadd
Author: adrian Date: Wed May 3 07:53:15 2017 New Revision: 317728 URL: https://svnweb.freebsd.org/changeset/base/317728 Log: [net80211] add another hard-learnt lesson about DWDS setup wlanwds monitors the physical interface for DWDS requests from VAPs, but the clone is created against

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

2017-05-02 Thread Adrian Chadd
Author: adrian Date: Wed May 3 05:45:43 2017 New Revision: 317727 URL: https://svnweb.freebsd.org/changeset/base/317727 Log: [mips] default AR933x/AR934x to include mips24k hwpmc and limit umtx chain memory wastage. Tested: * AR933x SoC (Carambola2) * AR934x SoC (TP-Link WDR3600)

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

2017-04-25 Thread Adrian Chadd
Author: adrian Date: Wed Apr 26 01:08:25 2017 New Revision: 317433 URL: https://svnweb.freebsd.org/changeset/base/317433 Log: [net80211] [wlanwds] allow logging to stderr as well as syslog. By default this logs to syslog only, not stderr. It makes it difficult to debug exactly what's

svn commit: r317430 - head/tools/tools/net80211/scripts

2017-04-25 Thread Adrian Chadd
Author: adrian Date: Wed Apr 26 00:07:51 2017 New Revision: 317430 URL: https://svnweb.freebsd.org/changeset/base/317430 Log: [net80211] document having to enable privacy on the dynamic plumbed VAPs. Modified: head/tools/tools/net80211/scripts/setup.wdsmain Modified:

svn commit: r317278 - head/sys/net80211

2017-04-21 Thread Adrian Chadd
Author: adrian Date: Sat Apr 22 02:12:07 2017 New Revision: 317278 URL: https://svnweb.freebsd.org/changeset/base/317278 Log: [net80211] add methods to fetch the global and per-VAP WME parameters. For now there isn't any per-VAP WME state. The eventual aim is to migrate the driver

svn commit: r316939 - head/lib/lib80211

2017-04-14 Thread Adrian Chadd
Author: adrian Date: Fri Apr 14 20:10:18 2017 New Revision: 316939 URL: https://svnweb.freebsd.org/changeset/base/316939 Log: [lib80211] fix a missing cleanup path. PR: lib/218655 Reported by: Modified: head/lib/lib80211/lib80211_regdomain.c

svn commit: r316696 - head/sys/net80211

2017-04-11 Thread Adrian Chadd
Author: adrian Date: Tue Apr 11 07:05:55 2017 New Revision: 316696 URL: https://svnweb.freebsd.org/changeset/base/316696 Log: [net80211] refactor out "add slot" and "purge slot" for A-MPDU. This is in preparation for A-MSDU decap in A-MPDU support. * refactor out the code to purge a

svn commit: r316547 - head/sys/net80211

2017-04-05 Thread Adrian Chadd
Author: adrian Date: Thu Apr 6 01:35:42 2017 New Revision: 316547 URL: https://svnweb.freebsd.org/changeset/base/316547 Log: [net80211] refactor out the A-MPDU dispatch routine. The "dispatch a frame from the A-MPDU reorder buffer" code is essentially duplicated in a couple of places.

svn commit: r316429 - head/sys/net80211

2017-04-02 Thread Adrian Chadd
Author: adrian Date: Sun Apr 2 20:59:12 2017 New Revision: 316429 URL: https://svnweb.freebsd.org/changeset/base/316429 Log: [net80211] refactor the A-MPDU RX window code The RX window update code is effectively the same in both locations. Reviewed by: avos Differential Revision:

svn commit: r316340 - head/sbin/ifconfig

2017-03-31 Thread Adrian Chadd
Author: adrian Date: Fri Mar 31 22:05:10 2017 New Revision: 316340 URL: https://svnweb.freebsd.org/changeset/base/316340 Log: [ifconfig] add some comments around missing net80211 VHT configuration. VHT STBC, A-MPDU density and A-MPDU size configuration parameters are different when doing

svn commit: r316206 - head/sys/sys

2017-03-29 Thread Adrian Chadd
Author: adrian Date: Thu Mar 30 02:34:21 2017 New Revision: 316206 URL: https://svnweb.freebsd.org/changeset/base/316206 Log: [mbufq] add a concat method. Reviewed by: gnn, ae, glebius Approved by: ae, glebius Differential Revision:https://reviews.freebsd.org/D10158

svn commit: r316063 - in head: etc/mtree lib/libevent lib/libsqlite3

2017-03-27 Thread Adrian Chadd
Author: adrian Date: Mon Mar 27 22:34:43 2017 New Revision: 316063 URL: https://svnweb.freebsd.org/changeset/base/316063 Log: [private] add libevent1 and sqlite3 include files for our private libraries. This, like including ucl private headers, is useful for writing new base system

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

2017-03-24 Thread Adrian Chadd
Author: adrian Date: Sat Mar 25 02:44:25 2017 New Revision: 315924 URL: https://svnweb.freebsd.org/changeset/base/315924 Log: [iwm] GC unused code from if_iwm_scan.c, copyied from iwn or iwlwifi/dvm. Obtained from:dragonflybsd.git 10881df269b93c26e5ee6af629c36db5672e6e52

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

2017-03-24 Thread Adrian Chadd
Author: adrian Date: Sat Mar 25 02:55:13 2017 New Revision: 315926 URL: https://svnweb.freebsd.org/changeset/base/315926 Log: [iwm] Add the BSS's basic rates to iwm's LQ command, not all the rates. Makes the firmware use appropriate Tx rates for ACKs. Obtained from: dragonflybsd.git

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

2017-03-24 Thread Adrian Chadd
Author: adrian Date: Sat Mar 25 02:49:20 2017 New Revision: 315925 URL: https://svnweb.freebsd.org/changeset/base/315925 Log: [iwm] Enable Energy Based Scan (EBS). This can significantly reduce scan duration thus saving time and power. EBS failure reported by FW disables EBS for current

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

2017-03-24 Thread Adrian Chadd
Author: adrian Date: Sat Mar 25 02:42:52 2017 New Revision: 315923 URL: https://svnweb.freebsd.org/changeset/base/315923 Log: [iwm] Tiny cleanup in iwm_rx_addbuf(). Obtained from:dragonflybsd.git 3370bc5504ebb3c1b9bb960a185cd0c8052a2845 Modified: head/sys/dev/iwm/if_iwm.c

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

2017-03-22 Thread Adrian Chadd
Author: adrian Date: Thu Mar 23 04:50:38 2017 New Revision: 315784 URL: https://svnweb.freebsd.org/changeset/base/315784 Log: [iwm] Make ucode capabilities and api flags handling more like iwlwifi. Obtained from:dragonflybsd.git 757eecf0e6c92745aa2eee95811e573c8300850e Modified:

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

2017-03-22 Thread Adrian Chadd
Author: adrian Date: Thu Mar 23 04:43:04 2017 New Revision: 315780 URL: https://svnweb.freebsd.org/changeset/base/315780 Log: [iwm] Remove a couple of unneeded IWM_UCODE_TLV_FLAGS_* flags. * All the supported firmwares have these flags set. * This removes the following flags:

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

2017-03-22 Thread Adrian Chadd
Author: adrian Date: Thu Mar 23 04:34:25 2017 New Revision: 315778 URL: https://svnweb.freebsd.org/changeset/base/315778 Log: [iwm] Move mbuf hacks after sanity checks in iwm_mvm_rx_rx_mpdu(). * This avoids leaving the mbuf in a weird state, when dropping a packet. Obtained from:

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

2017-03-22 Thread Adrian Chadd
Author: adrian Date: Thu Mar 23 04:33:15 2017 New Revision: 315777 URL: https://svnweb.freebsd.org/changeset/base/315777 Log: [iwm] Get rid of struct iwm_rx_data argument for iwm_mvm_rx_rx_mpdu. Obtained from:dragonflybsd.git b5cdd8067951dc90271ab104ef555b3b5a4d5d5a Modified:

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

2017-03-18 Thread Adrian Chadd
Author: adrian Date: Sun Mar 19 05:00:14 2017 New Revision: 315531 URL: https://svnweb.freebsd.org/changeset/base/315531 Log: [ath] prepare for "correct" group (bcast/mcast) address frame handling and software/hardware queue TID mapping. When I initially did this 11n TX work in days of

Re: svn commit: r315051 - in head: . gnu/usr.bin gnu/usr.bin/diff usr.bin usr.bin/diff usr.bin/diff/tests

2017-03-13 Thread Adrian Chadd
size. think 32/64mb RAM, 8mb flash storage. -adrian On 13 March 2017 at 08:40, Baptiste Daroussin wrote: > On Mon, Mar 13, 2017 at 09:55:52AM +0100, Michal Meloun wrote: >> >> >> On 11.03.2017 6:01, Baptiste Daroussin wrote: >> > Author: bapt >> > Date: Sat Mar 11 05:01:29

svn commit: r315198 - head/sys/net80211

2017-03-13 Thread Adrian Chadd
Author: adrian Date: Mon Mar 13 16:44:06 2017 New Revision: 315198 URL: https://svnweb.freebsd.org/changeset/base/315198 Log: [net80211] begin fleshing out per-VAP WME configurations. As part of (eventual) p2p/tdls/multi-STA support, a lot of global configuration parameters (WME, ERP

Re: svn commit: r311849 - in head: . sys/amd64/conf sys/arm64/conf sys/conf sys/dev/e1000 sys/i386/conf sys/mips/conf sys/modules sys/modules/em sys/modules/igb sys/powerpc/conf

2017-03-10 Thread Adrian Chadd
ike a GSoC project. :-) -adrian > Warner > > On Fri, Mar 10, 2017 at 1:07 PM, Adrian Chadd <adrian.ch...@gmail.com> wrote: >> s/ifconfig/put-it-in-a-config-file-in-share-so-we-dont-have-to-patch-ifconfig-every-time-we-change-this-kthxbai/g >> >> >> -adrian

Re: svn commit: r311849 - in head: . sys/amd64/conf sys/arm64/conf sys/conf sys/dev/e1000 sys/i386/conf sys/mips/conf sys/modules sys/modules/em sys/modules/igb sys/powerpc/conf

2017-03-10 Thread Adrian Chadd
s/ifconfig/put-it-in-a-config-file-in-share-so-we-dont-have-to-patch-ifconfig-every-time-we-change-this-kthxbai/g -adrian On 10 March 2017 at 11:12, Navdeep Parhar wrote: > On Fri, Mar 10, 2017 at 10:41 AM, Ryan Stone wrote: >> There's also the issue

Re: svn commit: r314687 - head/sys/dev/iwn

2017-03-05 Thread Adrian Chadd
Yeah. I mean, iwn and wpi are almost the same damned firmware API and hardware... kinda silly isn't it? :) I kinda wonder whether we should just unify them. -adrian On 4 March 2017 at 18:05, Andriy Voskoboinyk <a...@freebsd.org> wrote: > Sun, 05 Mar 2017 02:37:09 +0200 було написа

Re: svn commit: r314687 - head/sys/dev/iwn

2017-03-04 Thread Adrian Chadd
hihi! So the eventualy-ish attention is that if someone wanted to finish p2p/tdls support they could use this function for either context. But it don't think the feature was ever finished, because we don't have p2p/tdls support yet. Well, yet. It's coming. :) -adrian On 4 March 2017 at

Re: svn commit: r314209 - head/sys/dev/iwm

2017-02-24 Thread Adrian Chadd
[snip] (adrian ran out of coffee at home three days ago.) -adrian ___ 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: r314192 - in head/sys: conf dev/iwm modules/iwm

2017-02-24 Thread Adrian Chadd
Fixed! -a On 24 February 2017 at 06:10, Cy Schubert <cy.schub...@komquats.com> wrote: > In message <201702240707.v1o77was011...@repo.freebsd.org>, Adrian Chadd > writes: >> Author: adrian >> Date: Fri Feb 24 07:07:58 2017 >> New Revision: 314192 >>

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

2017-02-24 Thread Adrian Chadd
Author: adrian Date: Fri Feb 24 15:17:43 2017 New Revision: 314209 URL: https://svnweb.freebsd.org/changeset/base/314209 Log: [iwm] add if_iwm_fw.c. Added: head/sys/dev/iwm/if_iwm_fw.c (contents, props changed) head/sys/dev/iwm/if_iwm_fw.h (contents, props changed) Added:

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

2017-02-23 Thread Adrian Chadd
Author: adrian Date: Fri Feb 24 07:07:58 2017 New Revision: 314192 URL: https://svnweb.freebsd.org/changeset/base/314192 Log: [iwm] Add support for Firmware paging, needed for newer 8000C firmware. * Uses the IWM_FW_PAGING_BLOCK_CMD firmware command to tell the firmware what memory

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