svn commit: r346073 - in head/sys/dev: iwi otus usb/wlan

2019-09-03 Thread Andriy Voskoboinyk
Author: avos Date: Wed Apr 10 08:17:56 2019 New Revision: 346073 URL: https://svnweb.freebsd.org/changeset/base/346073 Log: urtw(4), otus(4), iwi(4): allow to set non-default MAC address via ifconfig(8) Tested with Netgear WG111 v3 (RTL8187B, urtw(4)), STA mode. MFC after:1 week M

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

2019-09-03 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 31 13:41:20 2019 New Revision: 345753 URL: https://svnweb.freebsd.org/changeset/base/345753 Log: run(4): do not clear PROTECTED bit if frame was not decrypted by NIC. Tested with D-Link DWA-140 rev B3, STA / MONITOR modes. MFC after:1 week Modified: he

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

2019-09-03 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 31 09:52:36 2019 New Revision: 345751 URL: https://svnweb.freebsd.org/changeset/base/345751 Log: uath(4), urtw(4): restart driver if device does not respond after Tx request MFC after:1 week Modified: head/sys/dev/usb/wlan/if_uath.c head/sys/dev/usb/wlan/

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

2019-09-03 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 30 09:24:06 2019 New Revision: 345729 URL: https://svnweb.freebsd.org/changeset/base/345729 Log: urtw(4): export TSF timestamp for received frames via radiotap Tested with Netgear WG111 v3 (RTL8187B), STA mode. MFC after:1 week Modified: head/sys/dev/u

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

2019-09-03 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 31 14:18:02 2019 New Revision: 345754 URL: https://svnweb.freebsd.org/changeset/base/345754 Log: run(4): properly set F_DATAPAD radiotap flag if frame has padding between frame header and data. This will fix 'Mysterious OLPC stuff' for received frames and wrong

svn commit: r350885 - head/sys/dev/rtwn/pci

2019-08-12 Thread Andriy Voskoboinyk
Author: avos Date: Mon Aug 12 08:01:21 2019 New Revision: 350885 URL: https://svnweb.freebsd.org/changeset/base/350885 Log: rtwn_pci: add device ID for RTL8192CE. PR: 239795 Submitted by: James Parsons MFC after:1 week Relnotes: yes Modified: head/sys/dev/rtwn/pc

svn commit: r346073 - in head/sys/dev: iwi otus usb/wlan

2019-04-10 Thread Andriy Voskoboinyk
Author: avos Date: Wed Apr 10 08:17:56 2019 New Revision: 346073 URL: https://svnweb.freebsd.org/changeset/base/346073 Log: urtw(4), otus(4), iwi(4): allow to set non-default MAC address via ifconfig(8) Tested with Netgear WG111 v3 (RTL8187B, urtw(4)), STA mode. MFC after:1 week M

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

2019-03-31 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 31 14:18:02 2019 New Revision: 345754 URL: https://svnweb.freebsd.org/changeset/base/345754 Log: run(4): properly set F_DATAPAD radiotap flag if frame has padding between frame header and data. This will fix 'Mysterious OLPC stuff' for received frames and wrong

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

2019-03-31 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 31 13:41:20 2019 New Revision: 345753 URL: https://svnweb.freebsd.org/changeset/base/345753 Log: run(4): do not clear PROTECTED bit if frame was not decrypted by NIC. Tested with D-Link DWA-140 rev B3, STA / MONITOR modes. MFC after:1 week Modified: he

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

2019-03-31 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 31 09:52:36 2019 New Revision: 345751 URL: https://svnweb.freebsd.org/changeset/base/345751 Log: uath(4), urtw(4): restart driver if device does not respond after Tx request MFC after:1 week Modified: head/sys/dev/usb/wlan/if_uath.c head/sys/dev/usb/wlan/

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

2019-03-30 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 30 09:24:06 2019 New Revision: 345729 URL: https://svnweb.freebsd.org/changeset/base/345729 Log: urtw(4): export TSF timestamp for received frames via radiotap Tested with Netgear WG111 v3 (RTL8187B), STA mode. MFC after:1 week Modified: head/sys/dev/u

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

2019-03-25 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 25 09:10:07 2019 New Revision: 345493 URL: https://svnweb.freebsd.org/changeset/base/345493 Log: run(4): merge some common TSF-related code into run_disable_tsf() No functional change intended. MFC after:5 days Modified: head/sys/dev/usb/wlan/if_run.c

svn commit: r345318 - head/usr.bin/lockf

2019-03-20 Thread Andriy Voskoboinyk
Author: avos Date: Wed Mar 20 07:40:38 2019 New Revision: 345318 URL: https://svnweb.freebsd.org/changeset/base/345318 Log: lockf(1): return EX_UNAVAILABLE if -n is used and the lock file does not exist Apply EX_UNAVAILABLE patch part from PR 170775 to match the documentation. Checke

svn commit: r345252 - head/sys/net80211

2019-03-17 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 18 02:40:22 2019 New Revision: 345252 URL: https://svnweb.freebsd.org/changeset/base/345252 Log: net80211: correct check for SMPS node flags updates Update node flags when driver supports SMPS, not when it is disabled or in dynamic mode ((iv_htcaps & HTCAP_SMPS)

Re: svn commit: r344990 - in head: share/man/man9 sys/dev/ath sys/dev/bwi sys/dev/bwn sys/dev/ipw sys/dev/iwi sys/dev/iwm sys/dev/iwn sys/dev/malo sys/dev/mwl sys/dev/otus sys/dev/ral sys/dev/rtwn sys

2019-03-11 Thread Andriy Voskoboinyk
On Sun, Mar 10, 2019 at 8:12 PM Rodney W. Grimes wrote: Author: avos Date: Mon Mar 11 01:27:01 2019 New Revision: 344990 URL: https://svnweb.freebsd.org/changeset/base/344990 Log: Fix ieee80211_radiotap(9) usage in wireless drivers: - Alignment issues: *

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

2019-03-11 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 11 08:30:29 2019 New Revision: 345002 URL: https://svnweb.freebsd.org/changeset/base/345002 Log: iwm(4): use correct channel list source for Intel 3168 Intel 3168 uses another EEPROM section to store channel flags; port missing bits from iwlwifi to make it work.

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

2019-03-10 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 11 02:02:04 2019 New Revision: 344994 URL: https://svnweb.freebsd.org/changeset/base/344994 Log: urtw(4): add promiscuous mode callback Also, pass control frames to the host while in MONITOR mode and / or when promiscuous mode is enabled. Tested with Netgea

svn commit: r344990 - in head: share/man/man9 sys/dev/ath sys/dev/bwi sys/dev/bwn sys/dev/ipw sys/dev/iwi sys/dev/iwm sys/dev/iwn sys/dev/malo sys/dev/mwl sys/dev/otus sys/dev/ral sys/dev/rtwn sys/...

2019-03-10 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 11 01:27:01 2019 New Revision: 344990 URL: https://svnweb.freebsd.org/changeset/base/344990 Log: Fix ieee80211_radiotap(9) usage in wireless drivers: - Alignment issues: * Add missing __packed attributes + padding across all drivers; in most places there was

svn commit: r344748 - head/sbin/ifconfig

2019-03-03 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 4 03:47:06 2019 New Revision: 344748 URL: https://svnweb.freebsd.org/changeset/base/344748 Log: Allow to build ifconfig(8) without wireless support The change removes SIOC[GS]IEEE80211 handling from ifconfig(8) if WITHOUT_WIRELESS_SUPPORT=yes is set in src.conf

svn commit: r344745 - in head/sys/dev/rtwn/rtl8192c: . usb

2019-03-03 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 4 03:02:14 2019 New Revision: 344745 URL: https://svnweb.freebsd.org/changeset/base/344745 Log: rtwn_usb(4): fix Tx instability with RTL8192CU chipsets - Fix data frames transmission via POWER_STATUS register setup - it seems to be set by MACID_CONFIG firmware

svn commit: r344744 - head/sys/dev/rtwn/rtl8192c

2019-03-03 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 4 01:54:28 2019 New Revision: 344744 URL: https://svnweb.freebsd.org/changeset/base/344744 Log: rtwn_usb(4): fix LED blinking for RTL8192CU during scanning Tested with RTL8188CUS, STA mode. MFC after:5 days Modified: head/sys/dev/rtwn/rtl8192c/r92c_in

svn commit: r344245 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2019-02-17 Thread Andriy Voskoboinyk
Author: avos Date: Mon Feb 18 03:23:10 2019 New Revision: 344245 URL: https://svnweb.freebsd.org/changeset/base/344245 Log: snmp_hostres(3): fix a typo in sanity checks in handle_chunk() PR: 204253 Submitted by: David Binderman MFC after:5 days Modified: head/usr.sbin/

svn commit: r344244 - head/usr.sbin/rpc.ypupdated

2019-02-17 Thread Andriy Voskoboinyk
Author: avos Date: Mon Feb 18 03:15:25 2019 New Revision: 344244 URL: https://svnweb.freebsd.org/changeset/base/344244 Log: Fix memory / resource leaks in usr.sbin/rpc.ypupdated/update.c Re-apply r343909 to this file to get the issue fixed. PR: 204956 Reported by: David Bi

svn commit: r344216 - head/tools/build/mk

2019-02-16 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 16 16:34:23 2019 New Revision: 344216 URL: https://svnweb.freebsd.org/changeset/base/344216 Log: Few more corrections to WITHOUT_OFED=1 make delete-old removal: - Drop profile libraries; MK_PROFILE=no is set in all Makefile's. - Correct library path to libmlx5.s

svn commit: r344215 - head/tools/build/mk

2019-02-16 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 16 16:17:46 2019 New Revision: 344215 URL: https://svnweb.freebsd.org/changeset/base/344215 Log: Remove corresponding lib32/ files when WITHOUT_OFED=1 is set MFC after:5 days MFC with: 344207 Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Mo

svn commit: r344214 - head/tools/build/mk

2019-02-16 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 16 16:01:23 2019 New Revision: 344214 URL: https://svnweb.freebsd.org/changeset/base/344214 Log: Refresh OptionalObsoleteFiles.inc for MK_PMC: - Add missing /usr/sbin/pmc, pmcformat.h, libpmcstat.h and pmc.haswellxeon.3 to the list. - Correct man page section

svn commit: r344208 - head/tools/build/mk

2019-02-16 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 16 05:04:01 2019 New Revision: 344208 URL: https://svnweb.freebsd.org/changeset/base/344208 Log: Add more rc.d scripts / empty directors / config files into OptionalObsoleteFiles.inc Note: only files with conditional installation logic were included from the P

svn commit: r344207 - head/tools/build/mk

2019-02-16 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 16 04:49:51 2019 New Revision: 344207 URL: https://svnweb.freebsd.org/changeset/base/344207 Log: Allow to remove unused files via 'make delete-old(-libs)' when WITHOUT_OFED and / or WITHOUT_OFED_EXTRA src.conf(5) options are set. MFC after:5 days Modified:

svn commit: r344201 - head/tools/build/mk

2019-02-16 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 16 03:49:48 2019 New Revision: 344201 URL: https://svnweb.freebsd.org/changeset/base/344201 Log: Remove vi(1)-related files via 'make delete-old' when WITHOUT_VI=1 is set. MFC after:5 days Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: h

svn commit: r344198 - in head/sys: conf dev/ata

2019-02-15 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 16 01:48:38 2019 New Revision: 344198 URL: https://svnweb.freebsd.org/changeset/base/344198 Log: GC ATA_REQUEST_TIMEOUT option remnants It was removed from code in r249083 and from sys/conf/options in r249213. PR: 222170 MFC after:3 days Modi

svn commit: r344115 - head

2019-02-14 Thread Andriy Voskoboinyk
Author: avos Date: Thu Feb 14 09:21:19 2019 New Revision: 344115 URL: https://svnweb.freebsd.org/changeset/base/344115 Log: Add UPDATING entry for IEEE80211_AMPDU_AGE and AH_SUPPORT_AR5416 options removal Notified by: ian Modified: head/UPDATING Modified: head/UPDATING ==

svn commit: r343990 - in head/sys: dev/malo dev/mwl dev/usb/wlan net80211

2019-02-10 Thread Andriy Voskoboinyk
Author: avos Date: Sun Feb 10 23:58:56 2019 New Revision: 343990 URL: https://svnweb.freebsd.org/changeset/base/343990 Log: net80211(4): hide casts for 'i_seq' field offset calculation inside ieee80211_getqos() and reuse it in various places. Checked with RTL8188EE, HOSTAP mode + RTL8188C

svn commit: r343980 - head/sbin/ifconfig

2019-02-10 Thread Andriy Voskoboinyk
Author: avos Date: Sun Feb 10 21:32:39 2019 New Revision: 343980 URL: https://svnweb.freebsd.org/changeset/base/343980 Log: ifconfig(8): display 802.11n rates correctly for 'roam:rate' parameter MFC after:5 days Modified: head/sbin/ifconfig/ifieee80211.c Modified: head/sbin/ifconfig

svn commit: r343909 - head/usr.bin/newkey

2019-02-08 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 8 14:31:44 2019 New Revision: 343909 URL: https://svnweb.freebsd.org/changeset/base/343909 Log: newkey(8): fix 'tmpname' memory leak (always) and input file descriptor leak when output file cannot be opened PR: 201732 Reported by: David Binderman

svn commit: r343871 - head/sbin/recoverdisk

2019-02-07 Thread Andriy Voskoboinyk
Author: avos Date: Thu Feb 7 14:40:28 2019 New Revision: 343871 URL: https://svnweb.freebsd.org/changeset/base/343871 Log: recoverdisk(1): fclose() file supplied via '-r readlist' parameter when it's no longer needed PR: 204952 Reported by: David Binderman MFC after:5

svn commit: r343870 - head/usr.bin/ipcs

2019-02-07 Thread Andriy Voskoboinyk
Author: avos Date: Thu Feb 7 14:29:45 2019 New Revision: 343870 URL: https://svnweb.freebsd.org/changeset/base/343870 Log: ipcs(1): drop obsolete error checking This code is not reached since r77551. PR: 201728 MFC after:5 days Modified: head/usr.bin/ipcs/ipcs.c Mo

svn commit: r343868 - head/tools/build/mk

2019-02-07 Thread Andriy Voskoboinyk
Author: avos Date: Thu Feb 7 13:12:43 2019 New Revision: 343868 URL: https://svnweb.freebsd.org/changeset/base/343868 Log: Correct ypldap(8) install path in OptionalObsoleteFiles.inc It's installed to /usr/sbin, not to /usr/bin (and was always here). While here, add missing manpages a

svn commit: r343837 - head/sys/net80211

2019-02-06 Thread Andriy Voskoboinyk
Author: avos Date: Wed Feb 6 13:01:21 2019 New Revision: 343837 URL: https://svnweb.freebsd.org/changeset/base/343837 Log: net80211(4): validate supplied roam:rate values from ifconfig(8) MFC after:4 days Modified: head/sys/net80211/ieee80211_ioctl.c Modified: head/sys/net80211/iee

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

2019-02-05 Thread Andriy Voskoboinyk
Author: avos Date: Wed Feb 6 01:34:14 2019 New Revision: 343815 URL: https://svnweb.freebsd.org/changeset/base/343815 Log: iwn(4): plug initialization path vs interrupt handler races There are few places in interrupt handler where the driver lock is dropped; ensure that device is still r

svn commit: r343699 - head/sys/net80211

2019-02-03 Thread Andriy Voskoboinyk
Author: avos Date: Sun Feb 3 04:31:50 2019 New Revision: 343699 URL: https://svnweb.freebsd.org/changeset/base/343699 Log: net80211(4): do not setup Tx parameters for unsupported modes. That should shorten 'ifconfig list txparam' output since unsupported modes will not be shown. Ch

svn commit: r343700 - head/sbin/ifconfig

2019-02-03 Thread Andriy Voskoboinyk
Author: avos Date: Sun Feb 3 04:41:00 2019 New Revision: 343700 URL: https://svnweb.freebsd.org/changeset/base/343700 Log: ifconfig(8): actually, non-11n rates should be divided by 2... MFC after:1 week MFC with: 343698 Modified: head/sbin/ifconfig/ifieee80211.c Modified: hea

svn commit: r343698 - head/sbin/ifconfig

2019-02-02 Thread Andriy Voskoboinyk
Author: avos Date: Sun Feb 3 03:02:59 2019 New Revision: 343698 URL: https://svnweb.freebsd.org/changeset/base/343698 Log: ifconfig(8): display management / multicast wlan(4) rates properly For 11n / 11ac we are still using non-11n rates for management and multicast traffic by default; c

svn commit: r343697 - head/sys/net80211

2019-02-02 Thread Andriy Voskoboinyk
Author: avos Date: Sun Feb 3 02:32:13 2019 New Revision: 343697 URL: https://svnweb.freebsd.org/changeset/base/343697 Log: net80211(4): fix rate check when 'roaming' ifconfig(8) option is set to 'auto' Do not try to clear 'basic rate' bit from roamRate; it cannot be here and, actually, t

svn commit: r343696 - head/sys/net80211

2019-02-02 Thread Andriy Voskoboinyk
Author: avos Date: Sun Feb 3 01:32:02 2019 New Revision: 343696 URL: https://svnweb.freebsd.org/changeset/base/343696 Log: net80211(4): do not setup roaming parameters for unsupported modes. ifconfig(8) prints per-mode parameters if they are non-zero; since we have 13 possible modes with

svn commit: r343690 - head/sbin/ifconfig

2019-02-02 Thread Andriy Voskoboinyk
Author: avos Date: Sun Feb 3 00:18:29 2019 New Revision: 343690 URL: https://svnweb.freebsd.org/changeset/base/343690 Log: ifconfig(8): interpret VHT rates correctly for 'list roam / txparam' options They are represented via MCS rate index, not as a 'speed in MBps' * 2. MFC after:

Re: svn commit: r343682 - head/sys/dev/wtap

2019-02-02 Thread Andriy Voskoboinyk
Sat, 02 Feb 2019 19:30:53 +0200 було написано Rodney W. Grimes : [ Charset UTF-8 unsupported, converting... ] Author: avos Date: Sat Feb 2 16:15:46 2019 New Revision: 343682 URL: https://svnweb.freebsd.org/changeset/base/343682 Log: sys/dev/wtap: Check return value from malloc(..., M_NOWA

Re: svn commit: r343682 - head/sys/dev/wtap

2019-02-02 Thread Andriy Voskoboinyk
Sat, 02 Feb 2019 19:43:31 +0200 було написано Rodney W. Grimes : Sat, 02 Feb 2019 19:25:56 +0200 Rodney W. Grimes : >> Author: avos >> Date: Sat Feb 2 16:15:46 2019 >> New Revision: 343682 >> URL: https://svnweb.freebsd.org/changeset/base/343682 >> >> Log: >> sys/dev/wtap: Ch

Re: svn commit: r343682 - head/sys/dev/wtap

2019-02-02 Thread Andriy Voskoboinyk
Sat, 02 Feb 2019 19:25:56 +0200 було написано Rodney W. Grimes : [ Charset UTF-8 unsupported, converting... ] Author: avos Date: Sat Feb 2 16:15:46 2019 New Revision: 343682 URL: https://svnweb.freebsd.org/changeset/base/343682 Log: sys/dev/wtap: Check return value from malloc(..., M_NOWA

svn commit: r343684 - head/sys/net80211

2019-02-02 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 2 16:23:45 2019 New Revision: 343684 URL: https://svnweb.freebsd.org/changeset/base/343684 Log: Drop unused M_80211_COM malloc(9) type. It is not used since r287197. MFC after:3 days Modified: head/sys/net80211/ieee80211_freebsd.c Modified: head/sys/

svn commit: r343683 - head/sys/net80211

2019-02-02 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 2 16:21:23 2019 New Revision: 343683 URL: https://svnweb.freebsd.org/changeset/base/343683 Log: Do not acquire IEEE80211_LOCK twice in cac_timeout(); reuse locked function instead. It is externally visible since r257065. MFC after:5 days Modified: h

Re: svn commit: r343681 - head/sys/dev/usb/wlan

2019-02-02 Thread Andriy Voskoboinyk
Sat, 02 Feb 2019 18:07:56 +0200 було написано Andriy Voskoboinyk : Author: avos Date: Sat Feb 2 16:07:56 2019 New Revision: 343681 URL: https://svnweb.freebsd.org/changeset/base/343681 Log: run(4): fix allocated memory type for ieee80211_node(4). Wrong man page number, it should be

svn commit: r343682 - head/sys/dev/wtap

2019-02-02 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 2 16:15:46 2019 New Revision: 343682 URL: https://svnweb.freebsd.org/changeset/base/343682 Log: sys/dev/wtap: Check return value from malloc(..., M_NOWAIT) and drop unneeded cast. MFC after:3 days Modified: head/sys/dev/wtap/if_wtap.c Modified: head/sys

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

2019-02-02 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 2 16:07:56 2019 New Revision: 343681 URL: https://svnweb.freebsd.org/changeset/base/343681 Log: run(4): fix allocated memory type for ieee80211_node(4). PR: 177366 MFC after:3 days Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/de

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

2019-02-02 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 2 16:06:06 2019 New Revision: 343680 URL: https://svnweb.freebsd.org/changeset/base/343680 Log: run(4): revert previous commit; there were no compiler warning (at least, from clang(1)). Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_

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

2019-02-02 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 2 16:01:16 2019 New Revision: 343679 URL: https://svnweb.freebsd.org/changeset/base/343679 Log: run(4): fix allocated memory type and -Wincompatible-pointer-types compiler warning. PR: 177366 MFC after:3 days Modified: head/sys/dev/usb/wlan/i

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

2019-01-31 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jan 31 11:12:31 2019 New Revision: 343604 URL: https://svnweb.freebsd.org/changeset/base/343604 Log: bwn(4): reuse ieee80211_tx_complete function. MFC after:1 week Modified: head/sys/dev/bwn/if_bwn.c Modified: head/sys/dev/bwn/if_bwn.c

svn commit: r343603 - head/sys/dev/ipw

2019-01-31 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jan 31 10:44:00 2019 New Revision: 343603 URL: https://svnweb.freebsd.org/changeset/base/343603 Log: ipw(4): reuse ieee80211_tx_complete function This should partially fix 'netstat -b -I wlan0' output MFC after:1 week Modified: head/sys/dev/ipw/if_ipw.c M

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

2019-01-30 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 30 13:19:05 2019 New Revision: 343577 URL: https://svnweb.freebsd.org/changeset/base/343577 Log: rsu(4): add support for ifconfig(8) 'maxretry' option. Tested with Asus USB-N10, STA mode; maxretry 0 / 1 / 6 / 12 Checked with RTL8188EE, MONITOR mode. MFC aft

svn commit: r343576 - head/usr.sbin/ndiscvt

2019-01-30 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 30 12:32:47 2019 New Revision: 343576 URL: https://svnweb.freebsd.org/changeset/base/343576 Log: ndiscvt(8): abort if no IDs were found during conversion. Checked with Broadcom driver mentioned in PR 179285. PR: 69268 Submitted by: MFC after:

svn commit: r343574 - in head/sys: compat/ndis dev/if_ndis

2019-01-30 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 30 11:40:12 2019 New Revision: 343574 URL: https://svnweb.freebsd.org/changeset/base/343574 Log: Fix compilation with 'option NDISAPI + device ndis' and without 'device pccard' in the kernel config file. PR: 171532 Reported by: Robert Bonomi MFC

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

2019-01-28 Thread Andriy Voskoboinyk
Author: avos Date: Tue Jan 29 03:31:36 2019 New Revision: 343542 URL: https://svnweb.freebsd.org/changeset/base/343542 Log: upgt(4): unbreak build with UPGT_DEBUG MFC after:1 week Modified: head/sys/dev/usb/wlan/if_upgt.c Modified: head/sys/dev/usb/wlan/if_upgt.c ===

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

2019-01-28 Thread Andriy Voskoboinyk
Author: avos Date: Tue Jan 29 03:28:47 2019 New Revision: 343541 URL: https://svnweb.freebsd.org/changeset/base/343541 Log: Drop some unneeded includes from wireless USB drivers. MFC after:1 week Modified: head/sys/dev/usb/wlan/if_rsu.c head/sys/dev/usb/wlan/if_rum.c head/sys/dev

Re: svn commit: r343524 - head/sys/dev/usb/wlan

2019-01-28 Thread Andriy Voskoboinyk
Mon, 28 Jan 2019 13:39:54 +0200 було написано Andriy Voskoboinyk : Author: avos Date: Mon Jan 28 11:39:54 2019 New Revision: 343524 URL: https://svnweb.freebsd.org/changeset/base/343524 Log: rsu(4): do not ignore mgmtrate / mcastrate / ucastrate. Enforce net80211 rates for control

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

2019-01-28 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 28 11:39:54 2019 New Revision: 343524 URL: https://svnweb.freebsd.org/changeset/base/343524 Log: rsu(4): do not ignore mgmtrate / mcastrate / ucastrate. Enforce net80211 rates for control / management / multicast / EAPOL frames and allow to override rate for uni

svn commit: r343518 - in head: share/man/man4 sys/dev/rtwn/usb sys/dev/usb

2019-01-27 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 28 02:15:41 2019 New Revision: 343518 URL: https://svnweb.freebsd.org/changeset/base/343518 Log: rtwn_usb(4): add new USB id. Submitted by: Github issue: https://github.com/s3erios/rtwn/issues/4 MFC after:5 days Modified: head/share/man/man4/rtwn_usb.4

svn commit: r343502 - head/tools/build/mk

2019-01-27 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 27 18:53:36 2019 New Revision: 343502 URL: https://svnweb.freebsd.org/changeset/base/343502 Log: Remove RADIUS-related files when WITHOUT_RADIUS_SUPPORT=true is set in src.conf(5) PR: 234041 MFC after:5 days Modified: head/tools/build/mk/Optio

svn commit: r343501 - head/sys/cam/scsi

2019-01-27 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 27 17:51:49 2019 New Revision: 343501 URL: https://svnweb.freebsd.org/changeset/base/343501 Log: Add NO_6_BYTE / NO_SYNC_CACHE quirks for (C|D|E).* Olympus digital cameras PR: 97472 Submitted by: Fabio Luis Girardi Reviewed by: imp MFC after:

svn commit: r343500 - head/sys/kern

2019-01-27 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 27 16:44:27 2019 New Revision: 343500 URL: https://svnweb.freebsd.org/changeset/base/343500 Log: m_getm2: correct a comment. The comment states that function always return a top of allocated mbuf; however, the function actually return the overall mbuf chain top

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

2019-01-27 Thread Andriy Voskoboinyk
Sun, 27 Jan 2019 18:44:27 +0200 було написано Andriy Voskoboinyk : Author: avos Date: Sun Jan 27 16:44:27 2019 New Revision: 343500 URL: https://svnweb.freebsd.org/changeset/base/343500 Log: m_getm2: correct a comment. The comment states that function always return a top of allocated mbuf

svn commit: r343499 - head/libexec/rc

2019-01-27 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 27 15:55:31 2019 New Revision: 343499 URL: https://svnweb.freebsd.org/changeset/base/343499 Log: rc(8): do not stop dhclient(8) when wpa_supplicant(8) / hostapd(8) is used They will stop it automatically ('Interface wlan0 is down, dhclient exiting'); use /etc/rc

svn commit: r343496 - head/sys/dev/pcf

2019-01-27 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 27 15:19:28 2019 New Revision: 343496 URL: https://svnweb.freebsd.org/changeset/base/343496 Log: pcf(4): fix parentheses in if condition PR: 210709 Submitted by: David Binderman MFC after:5 days Modified: head/sys/dev/pcf/pcf_isa.c Modified:

svn commit: r343497 - head/sbin/devd

2019-01-27 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 27 15:29:58 2019 New Revision: 343497 URL: https://svnweb.freebsd.org/changeset/base/343497 Log: devd.conf(5): simplify regex Submitted by: Helge Oldach MFC after:5 days Modified: head/sbin/devd/devd.conf Modified: head/sbin/devd/devd.conf =

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

2019-01-27 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 27 15:10:20 2019 New Revision: 343495 URL: https://svnweb.freebsd.org/changeset/base/343495 Log: wlan.4: improve wording PR: 218075 Submitted by: Aaron Taylor MFC after:5 days Modified: head/share/man/man4/wlan.4 Modified: head/share/man/man

svn commit: r343476 - head

2019-01-26 Thread Andriy Voskoboinyk
Author: avos Date: Sat Jan 26 17:27:12 2019 New Revision: 343476 URL: https://svnweb.freebsd.org/changeset/base/343476 Log: ObsoleteFiles.inc: remove adv(4) / adw(4) man pages after r339567 Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r343475 - head/sys/geom/uzip

2019-01-26 Thread Andriy Voskoboinyk
Author: avos Date: Sat Jan 26 17:17:25 2019 New Revision: 343475 URL: https://svnweb.freebsd.org/changeset/base/343475 Log: geom_uzip(4): set 'gp != NULL' assertion on top of the function There was yet another access to this variable in g_trace() few lines upper. PR: 203499

svn commit: r343474 - in head/sys: dev/bwi dev/iwi dev/ral dev/rtwn dev/usb/wlan net80211

2019-01-26 Thread Andriy Voskoboinyk
Author: avos Date: Sat Jan 26 17:00:55 2019 New Revision: 343474 URL: https://svnweb.freebsd.org/changeset/base/343474 Log: Remove 2GHz channel list copies from wireless drivers. Wrap ieee80211_add_channel_list_2ghz into another function which supplies default (1-14) channel list to it an

svn commit: r343473 - head/sys/geom/uzip

2019-01-26 Thread Andriy Voskoboinyk
Author: avos Date: Sat Jan 26 14:54:06 2019 New Revision: 343473 URL: https://svnweb.freebsd.org/changeset/base/343473 Log: geom_uzip(4): move NULL pointer KASSERT check before it is dereferenced PR: 203499 Submitted by: MFC after:5 days Modified: head/sys/geom/uzip/g_

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

2019-01-26 Thread Andriy Voskoboinyk
Author: avos Date: Sat Jan 26 14:14:25 2019 New Revision: 343472 URL: https://svnweb.freebsd.org/changeset/base/343472 Log: otus(4): fix a typo in man page (802.11 -> 802.11n) MFC after:3 days Modified: head/share/man/man4/otus.4 Modified: head/share/man/man4/otus.4

svn commit: r343427 - in head: share/man/man4 sys/amd64/conf sys/conf sys/i386/conf sys/mips/conf sys/modules/ath_hal_ar5416 sys/powerpc/conf sys/sparc64/conf tools/tools/ath/ath_ee_9300_print tool...

2019-01-25 Thread Andriy Voskoboinyk
Author: avos Date: Fri Jan 25 13:48:40 2019 New Revision: 343427 URL: https://svnweb.freebsd.org/changeset/base/343427 Log: Garbage collect AH_SUPPORT_AR5416 config option. It does nothing since r318857. Modified: head/share/man/man4/ath.4 head/share/man/man4/ath_hal.4 head/sys/amd64

svn commit: r343417 - in head/sys: dev/rtwn/pci dev/rtwn/usb net80211

2019-01-24 Thread Andriy Voskoboinyk
Author: avos Date: Fri Jan 25 01:05:18 2019 New Revision: 343417 URL: https://svnweb.freebsd.org/changeset/base/343417 Log: net80211: reuse TICKS_2_MSEC / MSEC_2_TICKS macros from sys/time.h Replace in-place implementation with system-wide one; since it guarantees non-zero result drop all

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

2019-01-23 Thread Andriy Voskoboinyk
Wed, 23 Jan 2019 15:17:03 +0200 було написано Andriy Voskoboinyk : Author: avos Date: Wed Jan 23 13:17:03 2019 New Revision: 343342 URL: https://svnweb.freebsd.org/changeset/base/343342 Log: net80211: turn channel mode check into assertion. There is may be only 11b channel (since

svn commit: r343342 - head/sys/net80211

2019-01-23 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 23 13:17:03 2019 New Revision: 343342 URL: https://svnweb.freebsd.org/changeset/base/343342 Log: net80211: turn channel mode check into assertion. There is may be only 11b channel (since chanflags[] table maps MODE_AUTO to the corresponding 11b channel flags).

svn commit: r343341 - head/sbin/ifconfig

2019-01-23 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 23 13:07:05 2019 New Revision: 343341 URL: https://svnweb.freebsd.org/changeset/base/343341 Log: ifconfig: drop unused macros from ifieee80211.c MFC after:5 days Modified: head/sbin/ifconfig/ifieee80211.c Modified: head/sbin/ifconfig/ifieee80211.c

svn commit: r343340 - head/sys/net80211

2019-01-23 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 23 12:43:46 2019 New Revision: 343340 URL: https://svnweb.freebsd.org/changeset/base/343340 Log: net80211: fix channel list construction for non-auto operating mode. Change the way how channel list mode <-> desired mode match is done: - Match channel list mode f

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

2019-01-21 Thread Andriy Voskoboinyk
Author: avos Date: Tue Jan 22 01:44:47 2019 New Revision: 343292 URL: https://svnweb.freebsd.org/changeset/base/343292 Log: iwn(4): drop i_seq field initialization for A-MPDU frames. It is done by net80211 since r319460. MFC after:24 days X-MFC-With: 343094 Modified: head/sy

svn commit: r343249 - head/sbin/devd

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 21 04:50:56 2019 New Revision: 343249 URL: https://svnweb.freebsd.org/changeset/base/343249 Log: Fix duplicate wpa_supplicant(8) / hostapd(8) startup with devd(8) Do not invoke 'wlan_up' function from devd(8) on interface creation event (an example to create suc

svn commit: r343244 - head/sbin/devd

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 21 03:38:37 2019 New Revision: 343244 URL: https://svnweb.freebsd.org/changeset/base/343244 Log: devd.conf(5): add otus(4) into wifi-driver-regex MFC after:5 days Modified: head/sbin/devd/devd.conf Modified: head/sbin/devd/devd.conf ===

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

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 21 00:53:38 2019 New Revision: 343238 URL: https://svnweb.freebsd.org/changeset/base/343238 Log: urtw(4): add length checks in Rx path. - Check if buffer can contain Rx descriptor before accessing it. - Verify upper / lower bounds for frame length. - Do not pa

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

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 21 00:09:54 2019 New Revision: 343235 URL: https://svnweb.freebsd.org/changeset/base/343235 Log: iwn(4): drop return code from iwn_*attach functions (they cannot fail) While here, add missing trace 'end' marker in iwn5000_attach(). MFC after:1 week Modif

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

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 21 00:03:35 2019 New Revision: 343234 URL: https://svnweb.freebsd.org/changeset/base/343234 Log: run(4): add more length checks in Rx path. - Discard frames that are bigger than MCLBYTES (to prevent buffer overrun). - Check buffer length before accessing its con

svn commit: r343219 - in head: sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/mips/conf sys/sparc64/conf tools/tools/nanobsd/pcengines

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 20 15:17:56 2019 New Revision: 343219 URL: https://svnweb.freebsd.org/changeset/base/343219 Log: Remove IEEE80211_AMPDU_AGE config option. It is noop since r297774. Modified: head/sys/amd64/conf/GENERIC head/sys/arm/conf/RK3188 head/sys/conf/NOTES head/sy

Re: svn commit: r343213 - in head/sys: net80211 sys

2019-01-20 Thread Andriy Voskoboinyk
Sun, 20 Jan 2019 16:02:08 +0200 було написано Bjoern A. Zeeb : On 20 Jan 2019, at 13:39, Andriy Voskoboinyk wrote: Author: avos Date: Sun Jan 20 13:39:18 2019 New Revision: 343213 URL: https://svnweb.freebsd.org/changeset/base/343213 Log: net80211: resolve ioctl <-> detach ra

svn commit: r343213 - in head/sys: net80211 sys

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 20 13:39:18 2019 New Revision: 343213 URL: https://svnweb.freebsd.org/changeset/base/343213 Log: net80211: resolve ioctl <-> detach race for ieee80211com structure Since r287197 ieee80211com is a part of drivers softc; as a result, after detach all pointers to i

svn commit: r343190 - head/sys/net80211

2019-01-19 Thread Andriy Voskoboinyk
Author: avos Date: Sat Jan 19 16:04:26 2019 New Revision: 343190 URL: https://svnweb.freebsd.org/changeset/base/343190 Log: net80211: drop m_pullup call from ieee80211_crypto_decap. For most wireless drivers Rx mbuf is allocated as one contiguous chunk; only few are using chains for alloc

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

2019-01-16 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 16 12:33:06 2019 New Revision: 343094 URL: https://svnweb.freebsd.org/changeset/base/343094 Log: iwn(4): (partially) rewrite A-MPDU Tx path Generic Tx stats fixes: - do not try to parse "aggregation status" for single frames; send them to iwn_tx_done() instead

svn commit: r343092 - in head/sys/dev/rtwn: rtl8192c rtl8812a

2019-01-16 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 16 12:11:29 2019 New Revision: 343092 URL: https://svnweb.freebsd.org/changeset/base/343092 Log: rtwn(4): clear 'basic' rate bit before calculating RTS/CTS rate. Rate tables have this bit set to indicate minimal set of basic rates; however, it overlappes with MC

svn commit: r343088 - in head/sys/dev: rtwn/usb usb

2019-01-16 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 16 10:33:51 2019 New Revision: 343088 URL: https://svnweb.freebsd.org/changeset/base/343088 Log: rtwn_usb(4): add new USB id for RTL8821AU Reported by: Mike Tancsa Tested by:Mike Tancsa MFC after:3 days Modified: head/sys/dev/rtwn/usb/rtwn_usb_at

svn commit: r342991 - head/sys/net80211

2019-01-13 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 13 06:01:36 2019 New Revision: 342991 URL: https://svnweb.freebsd.org/changeset/base/342991 Log: net80211: provide rate validation for injected frames. There may be various side effects (device timeout, firmware and / or kernel panic) when an invalid (or inappli

svn commit: r342966 - head/sys/net80211

2019-01-12 Thread Andriy Voskoboinyk
Author: avos Date: Sat Jan 12 14:57:12 2019 New Revision: 342966 URL: https://svnweb.freebsd.org/changeset/base/342966 Log: net80211: fix possible panic for some drivers after r342211 Check if rate control structures were allocated before trying to access them in various places; this was

svn commit: r342912 - in head/sys/dev/rtwn/rtl8192c: . usb

2019-01-09 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jan 10 05:49:47 2019 New Revision: 342912 URL: https://svnweb.freebsd.org/changeset/base/342912 Log: rtwn_usb(4): add IQ calibration support for RTL8192CU The code is similar to the one for RTL8188E* and probably should be shared with RTL8188CE (needs to be tested).

  1   2   3   4   5   >