svn commit: r344454 - in stable: 11/tools/build/mk 12/tools/build/mk

2019-02-21 Thread Andriy Voskoboinyk
Author: avos Date: Thu Feb 21 23:53:52 2019 New Revision: 344454 URL: https://svnweb.freebsd.org/changeset/base/344454 Log: MFC r344201: Remove vi(1)-related files via 'make delete-old' when WITHOUT_VI=1 is set. Modified: stable/12/tools/build/mk/OptionalObsoleteFiles.inc Directory Properti

svn commit: r344461 - stable/12/tools/build/mk

2019-02-22 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 22 08:04:50 2019 New Revision: 344461 URL: https://svnweb.freebsd.org/changeset/base/344461 Log: MFC r344214: Refresh OptionalObsoleteFiles.inc for MK_PMC: - Add missing /usr/sbin/pmc, pmcformat.h, libpmcstat.h and pmc.haswellxeon.3 to the list. - Correct ma

svn commit: r344462 - stable/11/tools/build/mk

2019-02-22 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 22 08:10:58 2019 New Revision: 344462 URL: https://svnweb.freebsd.org/changeset/base/344462 Log: MFC r344214: Refresh OptionalObsoleteFiles.inc for MK_PMC: - Add missing pmc.haswellxeon.3 to the list. - Correct man page section for pmcstudy.8. Modified: sta

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: 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: r344746 - in stable: 10/usr.sbin/rpc.ypupdated 11/usr.sbin/rpc.ypupdated 12/usr.sbin/rpc.ypupdated

2019-03-03 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 4 03:30:39 2019 New Revision: 344746 URL: https://svnweb.freebsd.org/changeset/base/344746 Log: MFC r344244: Fix memory / resource leaks in usr.sbin/rpc.ypupdated/update.c Re-apply r343909 to this file to get the issue fixed. PR: 204956 Reporte

svn commit: r344746 - in stable: 10/usr.sbin/rpc.ypupdated 11/usr.sbin/rpc.ypupdated 12/usr.sbin/rpc.ypupdated

2019-03-03 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 4 03:30:39 2019 New Revision: 344746 URL: https://svnweb.freebsd.org/changeset/base/344746 Log: MFC r344244: Fix memory / resource leaks in usr.sbin/rpc.ypupdated/update.c Re-apply r343909 to this file to get the issue fixed. PR: 204956 Reporte

svn commit: r344746 - in stable: 10/usr.sbin/rpc.ypupdated 11/usr.sbin/rpc.ypupdated 12/usr.sbin/rpc.ypupdated

2019-03-03 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 4 03:30:39 2019 New Revision: 344746 URL: https://svnweb.freebsd.org/changeset/base/344746 Log: MFC r344244: Fix memory / resource leaks in usr.sbin/rpc.ypupdated/update.c Re-apply r343909 to this file to get the issue fixed. PR: 204956 Reporte

svn commit: r344747 - in stable: 10/usr.sbin/bsnmpd/modules/snmp_hostres 11/usr.sbin/bsnmpd/modules/snmp_hostres 12/usr.sbin/bsnmpd/modules/snmp_hostres

2019-03-03 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 4 03:38:43 2019 New Revision: 344747 URL: https://svnweb.freebsd.org/changeset/base/344747 Log: MFC r344245: snmp_hostres(3): fix a typo in sanity checks in handle_chunk() PR: 204253 Submitted by: David Binderman Modified: stable/11/usr.sbin/bsn

svn commit: r344747 - in stable: 10/usr.sbin/bsnmpd/modules/snmp_hostres 11/usr.sbin/bsnmpd/modules/snmp_hostres 12/usr.sbin/bsnmpd/modules/snmp_hostres

2019-03-03 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 4 03:38:43 2019 New Revision: 344747 URL: https://svnweb.freebsd.org/changeset/base/344747 Log: MFC r344245: snmp_hostres(3): fix a typo in sanity checks in handle_chunk() PR: 204253 Submitted by: David Binderman Modified: stable/10/usr.sbin/bsn

svn commit: r344747 - in stable: 10/usr.sbin/bsnmpd/modules/snmp_hostres 11/usr.sbin/bsnmpd/modules/snmp_hostres 12/usr.sbin/bsnmpd/modules/snmp_hostres

2019-03-03 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 4 03:38:43 2019 New Revision: 344747 URL: https://svnweb.freebsd.org/changeset/base/344747 Log: MFC r344245: snmp_hostres(3): fix a typo in sanity checks in handle_chunk() PR: 204253 Submitted by: David Binderman Modified: stable/12/usr.sbin/bsn

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: r344968 - stable/12/sys/dev/rtwn/rtl8192c

2019-03-09 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 9 12:44:05 2019 New Revision: 344968 URL: https://svnweb.freebsd.org/changeset/base/344968 Log: MFC r344744: rtwn_usb(4): fix LED blinking for RTL8192CU during scanning Modified: stable/12/sys/dev/rtwn/rtl8192c/r92c_init.c Directory Properties: stable/12/ (pr

svn commit: r344969 - in stable: 11/sys/dev/malo 11/sys/dev/mwl 11/sys/dev/usb/wlan 11/sys/net80211 12/sys/dev/malo 12/sys/dev/mwl 12/sys/dev/usb/wlan 12/sys/net80211

2019-03-09 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 9 12:54:10 2019 New Revision: 344969 URL: https://svnweb.freebsd.org/changeset/base/344969 Log: MFC r343990: net80211: hide casts for 'i_seq' field offset calculation inside ieee80211_getqos() and reuse it in various places. Modified: stable/11/sys/dev/malo/if_

svn commit: r344969 - in stable: 11/sys/dev/malo 11/sys/dev/mwl 11/sys/dev/usb/wlan 11/sys/net80211 12/sys/dev/malo 12/sys/dev/mwl 12/sys/dev/usb/wlan 12/sys/net80211

2019-03-09 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 9 12:54:10 2019 New Revision: 344969 URL: https://svnweb.freebsd.org/changeset/base/344969 Log: MFC r343990: net80211: hide casts for 'i_seq' field offset calculation inside ieee80211_getqos() and reuse it in various places. Modified: stable/12/sys/dev/malo/if_

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

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: r345172 - stable/12/sys/dev/iwm

2019-03-15 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 15 07:34:06 2019 New Revision: 345172 URL: https://svnweb.freebsd.org/changeset/base/345172 Log: MFC r345002: 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 t

svn commit: r345173 - in stable: 11/sbin/ifconfig 12/sbin/ifconfig

2019-03-15 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 15 08:18:02 2019 New Revision: 345173 URL: https://svnweb.freebsd.org/changeset/base/345173 Log: MFC r344748: Allow to build ifconfig(8) without wireless support The change removes SIOC[GS]IEEE80211 handling from ifconfig(8) if WITHOUT_WIRELESS_SUPPORT=yes is

svn commit: r345173 - in stable: 11/sbin/ifconfig 12/sbin/ifconfig

2019-03-15 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 15 08:18:02 2019 New Revision: 345173 URL: https://svnweb.freebsd.org/changeset/base/345173 Log: MFC r344748: Allow to build ifconfig(8) without wireless support The change removes SIOC[GS]IEEE80211 handling from ifconfig(8) if WITHOUT_WIRELESS_SUPPORT=yes is

svn commit: r345174 - stable/10/sbin/ifconfig

2019-03-15 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 15 08:21:11 2019 New Revision: 345174 URL: https://svnweb.freebsd.org/changeset/base/345174 Log: MFC r344748: Allow to build ifconfig(8) without wireless support The change removes SIOC[GS]IEEE80211 handling from ifconfig(8) if WITHOUT_WIRELESS_SUPPORT=yes is

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)

svn commit: r345253 - in stable/12/sys/dev/rtwn/rtl8192c: . usb

2019-03-17 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 18 02:56:51 2019 New Revision: 345253 URL: https://svnweb.freebsd.org/changeset/base/345253 Log: MFC r344745: rtwn_usb(4): fix Tx instability with RTL8192CU chipsets PR: 233949 Modified: stable/12/sys/dev/rtwn/rtl8192c/r92c_reg.h stable/12/sys/dev

svn commit: r345254 - stable/11/sys/dev/urtwn

2019-03-17 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 18 02:58:34 2019 New Revision: 345254 URL: https://svnweb.freebsd.org/changeset/base/345254 Log: MFC r344745: urtwn(4): fix Tx instability with RTL8192CU chipsets PR: 233949 Modified: stable/11/sys/dev/urtwn/if_urtwn.c stable/11/sys/dev/urtwn/if_u

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: 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: r345569 - in stable: 10/usr.bin/lockf 11/usr.bin/lockf 12/usr.bin/lockf

2019-03-27 Thread Andriy Voskoboinyk
Author: avos Date: Wed Mar 27 08:55:59 2019 New Revision: 345569 URL: https://svnweb.freebsd.org/changeset/base/345569 Log: MFC r345318: 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 documentati

svn commit: r345569 - in stable: 10/usr.bin/lockf 11/usr.bin/lockf 12/usr.bin/lockf

2019-03-27 Thread Andriy Voskoboinyk
Author: avos Date: Wed Mar 27 08:55:59 2019 New Revision: 345569 URL: https://svnweb.freebsd.org/changeset/base/345569 Log: MFC r345318: 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 documentati

svn commit: r345569 - in stable: 10/usr.bin/lockf 11/usr.bin/lockf 12/usr.bin/lockf

2019-03-27 Thread Andriy Voskoboinyk
Author: avos Date: Wed Mar 27 08:55:59 2019 New Revision: 345569 URL: https://svnweb.freebsd.org/changeset/base/345569 Log: MFC r345318: 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 documentati

svn commit: r345570 - in stable: 11/sys/dev/usb/wlan 12/sys/dev/usb/wlan

2019-03-27 Thread Andriy Voskoboinyk
Author: avos Date: Wed Mar 27 09:18:34 2019 New Revision: 345570 URL: https://svnweb.freebsd.org/changeset/base/345570 Log: MFC r344994: urtw(4): add promiscuous mode callback Also, pass control frames to the host while in MONITOR mode and / or when promiscuous mode is enabled. Was

svn commit: r345570 - in stable: 11/sys/dev/usb/wlan 12/sys/dev/usb/wlan

2019-03-27 Thread Andriy Voskoboinyk
Author: avos Date: Wed Mar 27 09:18:34 2019 New Revision: 345570 URL: https://svnweb.freebsd.org/changeset/base/345570 Log: MFC r344994: urtw(4): add promiscuous mode callback Also, pass control frames to the host while in MONITOR mode and / or when promiscuous mode is enabled. Was

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

2019-01-01 Thread Andriy Voskoboinyk
Author: avos Date: Tue Jan 1 23:41:16 2019 New Revision: 342672 URL: https://svnweb.freebsd.org/changeset/base/342672 Log: rtwn_pci: fix excessive packet loss on Tx with RTL8188EE. Use proper flags for bus_dmamap_sync() in Tx path. Tested with: RTL8188EE, STA mode MFC after:

svn commit: r342673 - in head/sys/dev/rtwn/rtl8192c: . pci

2019-01-01 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 04:08:37 2019 New Revision: 342673 URL: https://svnweb.freebsd.org/changeset/base/342673 Log: rtwn(4): provide register definitions for RTL8188CE calibration routines. No functional change intended. MFC after:4 days Modified: head/sys/dev/rtwn/rtl81

svn commit: r342674 - head/sys/dev/rtwn/rtl8188e

2019-01-01 Thread Andriy Voskoboinyk
/sys/dev/rtwn/rtl8188e/r88e_calib.c Wed Jan 2 04:19:28 2019 (r342674) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2016 Andriy Voskoboinyk + * Copyright (c) 2016-2019 Andriy Voskoboinyk * * Permission to use, copy, modify, and distribute this software for any * purpose with or without

svn commit: r342675 - in head/sys/dev/rtwn: rtl8188e/usb rtl8192e/usb

2019-01-01 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 04:27:39 2019 New Revision: 342675 URL: https://svnweb.freebsd.org/changeset/base/342675 Log: rtwn(4): drop obsolete comment + use 'nop' function for 92eu calibration RTL8192EU was not tested with previously added code. MFC after:4 days Modified: he

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

2019-01-01 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 04:56:36 2019 New Revision: 342676 URL: https://svnweb.freebsd.org/changeset/base/342676 Log: rtwn_pci(4): use proper bus_dmamap_sync flags after Tx (sync with r342672) MFC after:4 days Modified: head/sys/dev/rtwn/pci/rtwn_pci_rx.c Modified: head/sys/de

svn commit: r342677 - in head/sys: dev/rtwn/pci dev/rtwn/rtl8188e dev/rtwn/rtl8188e/usb dev/rtwn/rtl8192c dev/rtwn/rtl8192c/pci dev/rtwn/rtl8192c/usb modules/rtwn_usb

2019-01-01 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 05:21:06 2019 New Revision: 342677 URL: https://svnweb.freebsd.org/changeset/base/342677 Log: rtwn_pci(4): add support for event-based Tx reports. It will be used for RTL8188EE (and, probably, others). MFC after:4 days Deleted: head/sys/dev/rtwn/rtl

svn commit: r342678 - in head/sys/dev/rtwn/rtl8188e: . usb

2019-01-01 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 05:30:41 2019 New Revision: 342678 URL: https://svnweb.freebsd.org/changeset/base/342678 Log: Move USB-specific parts from rtwn(4) to rtwn_usb(4) MFC after:4 days Modified: head/sys/dev/rtwn/rtl8188e/r88e.h head/sys/dev/rtwn/rtl8188e/r88e_init.c head

svn commit: r342679 - head/sys/dev/rtwn/rtl8188e

2019-01-01 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 05:37:30 2019 New Revision: 342679 URL: https://svnweb.freebsd.org/changeset/base/342679 Log: rtwn(4): do not try to start RTL8188E* MCU during device shutdown. MFC after:4 days Modified: head/sys/dev/rtwn/rtl8188e/r88e_fw.c Modified: head/sys/dev/rtwn/

svn commit: r342680 - in head/sys/dev/rtwn/rtl8188e: . usb

2019-01-01 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 05:43:33 2019 New Revision: 342680 URL: https://svnweb.freebsd.org/changeset/base/342680 Log: rtwn(4): rename common RTL8188E* structures. No functional change intended. MFC after:4 days Modified: head/sys/dev/rtwn/rtl8188e/r88e_priv.h head/sys/de

svn commit: r342681 - in head/sys/dev/rtwn: rtl8188e rtl8188e/usb rtl8192c rtl8192c/pci rtl8192c/usb

2019-01-01 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 06:03:19 2019 New Revision: 342681 URL: https://svnweb.freebsd.org/changeset/base/342681 Log: rtwn(4): rename set_name -> set_rom_opts method and reuse it for RTL8188E* MFC after:4 days Modified: head/sys/dev/rtwn/rtl8188e/r88e_rom.c head/sys/dev/rtwn/

svn commit: r342682 - in head: share/man/man4 sys/contrib/dev/rtwn sys/dev/rtwn/pci sys/dev/rtwn/rtl8188e sys/dev/rtwn/rtl8188e/pci sys/dev/rtwn/rtl8188e/usb sys/modules/rtwn_pci sys/modules/rtwnfw...

2019-01-01 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 06:48:53 2019 New Revision: 342682 URL: https://svnweb.freebsd.org/changeset/base/342682 Log: rtwn_pci(4): add support for RTL8188EE chipset. Initially based on https://reviews.freebsd.org/D15692; later deduplicated and improved a bit (Tx reports, IQ calibrat

Re: svn commit: r342682 - in head: share/man/man4 sys/contrib/dev/rtwn sys/dev/rtwn/pci sys/dev/rtwn/rtl8188e sys/dev/rtwn/rtl8188e/pci sys/dev/rtwn/rtl8188e/usb sys/modules/rtwn_pci sys/modules/rtwnf

2019-01-01 Thread Andriy Voskoboinyk
Wed, 02 Jan 2019 08:48:53 +0200 було написано Andriy Voskoboinyk : Tested with: RTL8188CUS, RTL8188EE, RTL8188EU and RTL8821AU ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any

svn commit: r342684 - head/sys/conf

2019-01-02 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 15:01:55 2019 New Revision: 342684 URL: https://svnweb.freebsd.org/changeset/base/342684 Log: Refresh sys/conf/files after recent rtwn(4) update. MFC after:4 days Modified: head/sys/conf/files Modified: head/sys/conf/files ==

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

2019-01-02 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 17:13:55 2019 New Revision: 342700 URL: https://svnweb.freebsd.org/changeset/base/342700 Log: rtwn_pci(4): fix panic with INVARIANTS (due to inverted assertion logic) MFC after:4 days Modified: head/sys/dev/rtwn/pci/rtwn_pci_rx.c Modified: head/sys/dev/

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

2019-01-02 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 18:30:22 2019 New Revision: 342702 URL: https://svnweb.freebsd.org/changeset/base/342702 Log: rtwn(4): refresh manpages. - Add 'device rtwn' to rtwn_pci(4) and rtwn_usb(4) config sample; kernel will not compile otherwise. - Refresh devices list in rtwn_usb(

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

2019-01-02 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 2 18:35:40 2019 New Revision: 342703 URL: https://svnweb.freebsd.org/changeset/base/342703 Log: rtwn_usb(4): add USB id for TP-LINK TL-WN821N v5. It is already mentioned in manpage, but was missing from the driver. MFC after:4 days Modified: head/sys/

svn commit: r342713 - stable/12/sys/net80211

2019-01-02 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jan 3 02:59:12 2019 New Revision: 342713 URL: https://svnweb.freebsd.org/changeset/base/342713 Log: MFC r342604: net80211: fix duplicate sequence number bump for non-AMPDU QoS frames. This should be a part of r312972. Modified: stable/12/sys/net80211/ieee80211_o

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

2019-01-02 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jan 3 03:27:37 2019 New Revision: 342714 URL: https://svnweb.freebsd.org/changeset/base/342714 Log: rtwnfw(4): refresh this manpage too (add rtwn-rtl8188eefw module). MFC after:3 days Modified: head/share/man/man4/rtwnfw.4 Modified: head/share/man/man4/rtwnfw

svn commit: r342759 - in head/sys/dev/rtwn: rtl8188e rtl8188e/pci rtl8192c

2019-01-03 Thread Andriy Voskoboinyk
Author: avos Date: Fri Jan 4 04:26:39 2019 New Revision: 342759 URL: https://svnweb.freebsd.org/changeset/base/342759 Log: rtwn_pci(4): sync r88ee_power_on() with OpenBSD Tested with RTL8188EE, STA mode Submitted by: Farhan Khan MFC after:3 days Differential Revision:

svn commit: r342810 - head/usr.sbin/powerd

2019-01-05 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 6 02:39:03 2019 New Revision: 342810 URL: https://svnweb.freebsd.org/changeset/base/342810 Log: powerd(8): allow to force a method of battery state query This change allows to determine power source via sysctl or /dev/apm when devd(8) is running (used by defaul

svn commit: r342827 - stable/12/sys/dev/rtwn/pci

2019-01-06 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 7 03:36:33 2019 New Revision: 342827 URL: https://svnweb.freebsd.org/changeset/base/342827 Log: MFC r342672: rtwn_pci: fix excessive packet loss on Tx with RTL8188EE. Use proper flags for bus_dmamap_sync() in Tx path. MFC r342676: rtwn_pci(4): use proper

svn commit: r342828 - in stable/12/sys/dev/rtwn/rtl8192c: . pci

2019-01-06 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 7 03:47:28 2019 New Revision: 342828 URL: https://svnweb.freebsd.org/changeset/base/342828 Log: MFC r342673: rtwn(4): provide register definitions for RTL8188CE calibration routines. No functional change intended. Modified: stable/12/sys/dev/rtwn/rtl8192c/pc

svn commit: r342829 - in stable/12/sys/dev/rtwn: rtl8188e rtl8188e/usb rtl8192e/usb

2019-01-06 Thread Andriy Voskoboinyk
Mon Jan 7 04:10:54 2019(r342829) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2016 Andriy Voskoboinyk + * Copyright (c) 2016-2019 Andriy Voskoboinyk * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provide

svn commit: r342830 - in stable/12/sys: dev/rtwn/pci dev/rtwn/rtl8188e dev/rtwn/rtl8188e/usb dev/rtwn/rtl8192c dev/rtwn/rtl8192c/pci dev/rtwn/rtl8192c/usb modules/rtwn_usb

2019-01-06 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 7 04:23:06 2019 New Revision: 342830 URL: https://svnweb.freebsd.org/changeset/base/342830 Log: MFC r342677: rtwn_pci(4): add support for event-based Tx reports. It will be used for RTL8188EE (and, probably, others). MFC r342700: rtwn_pci(4): fix panic w

svn commit: r342831 - in stable/12/sys/dev/rtwn/rtl8188e: . usb

2019-01-06 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 7 04:31:41 2019 New Revision: 342831 URL: https://svnweb.freebsd.org/changeset/base/342831 Log: MFC r342678: Move USB-specific parts from rtwn(4) to rtwn_usb(4) Modified: stable/12/sys/dev/rtwn/rtl8188e/r88e.h stable/12/sys/dev/rtwn/rtl8188e/r88e_init.c stabl

svn commit: r342832 - stable/12/sys/dev/rtwn/rtl8188e

2019-01-06 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 7 04:34:15 2019 New Revision: 342832 URL: https://svnweb.freebsd.org/changeset/base/342832 Log: MFC r342679: rtwn(4): do not try to start RTL8188E* MCU during device shutdown. Modified: stable/12/sys/dev/rtwn/rtl8188e/r88e_fw.c Directory Properties: stable/12/

svn commit: r342833 - in stable/12/sys/dev/rtwn/rtl8188e: . usb

2019-01-06 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 7 04:38:50 2019 New Revision: 342833 URL: https://svnweb.freebsd.org/changeset/base/342833 Log: MFC r342680: rtwn(4): rename common RTL8188E* structures. No functional change intended. Modified: stable/12/sys/dev/rtwn/rtl8188e/r88e_priv.h stable/12/sys/dev

svn commit: r342834 - in stable/12/sys/dev/rtwn: rtl8188e rtl8188e/usb rtl8192c rtl8192c/pci rtl8192c/usb

2019-01-06 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 7 04:41:50 2019 New Revision: 342834 URL: https://svnweb.freebsd.org/changeset/base/342834 Log: MFC r342681: rtwn(4): rename set_name -> set_rom_opts method and reuse it for RTL8188E* Modified: stable/12/sys/dev/rtwn/rtl8188e/r88e_rom.c stable/12/sys/dev/rtwn/r

svn commit: r342835 - in stable/12: share/man/man4 sys/contrib/dev/rtwn sys/dev/rtwn/pci sys/dev/rtwn/rtl8188e sys/dev/rtwn/rtl8188e/pci sys/dev/rtwn/rtl8188e/usb sys/modules/rtwn_pci sys/modules/r...

2019-01-06 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 7 04:58:10 2019 New Revision: 342835 URL: https://svnweb.freebsd.org/changeset/base/342835 Log: MFC r342682: rtwn_pci(4): add support for RTL8188EE chipset. Initially based on https://reviews.freebsd.org/D15692; later deduplicated and improved a bit (Tx repor

svn commit: r342836 - in stable/12/sys/dev/rtwn: rtl8188e rtl8188e/pci rtl8192c

2019-01-06 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 7 05:17:34 2019 New Revision: 342836 URL: https://svnweb.freebsd.org/changeset/base/342836 Log: MFC r342759: rtwn_pci(4): sync r88ee_power_on() with OpenBSD Submitted by: Farhan Khan Differential Revision:https://reviews.freebsd.org/D18727 Modified:

svn commit: r342837 - stable/12/sys/conf

2019-01-06 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 7 05:20:24 2019 New Revision: 342837 URL: https://svnweb.freebsd.org/changeset/base/342837 Log: MFC r342684: Refresh sys/conf/files after recent rtwn(4) update. Modified: stable/12/sys/conf/files Directory Properties: stable/12/ (props changed) Modified: sta

svn commit: r342838 - stable/12/share/man/man4

2019-01-06 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 7 05:28:00 2019 New Revision: 342838 URL: https://svnweb.freebsd.org/changeset/base/342838 Log: MFC r342702: rtwn(4): refresh manpages. - Add 'device rtwn' to rtwn_pci(4) and rtwn_usb(4) config sample; kernel will not compile otherwise. - Refresh devices li

svn commit: r342839 - in stable/12/sys/dev: rtwn/usb usb

2019-01-06 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 7 05:31:40 2019 New Revision: 342839 URL: https://svnweb.freebsd.org/changeset/base/342839 Log: MFC r342703: rtwn_usb(4): add USB id for TP-LINK TL-WN821N v5. It is already mentioned in manpage, but was missing from the driver. Modified: stable/12/sys/dev/rt

svn commit: r342883 - head/sys/net80211

2019-01-09 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 9 12:50:24 2019 New Revision: 342883 URL: https://svnweb.freebsd.org/changeset/base/342883 Log: net80211: fix panic when device is removed during initialization if_dead() is called during device detach - check if interface is still exists before trying to refre

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

2019-01-09 Thread Andriy Voskoboinyk
Wed, 09 Jan 2019 14:50:25 +0200 було написано Andriy Voskoboinyk : Tested with:Asus USB-N10 (rsu(4)), STA mode. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to &quo

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).

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: r342983 - stable/10/usr.sbin/powerd

2019-01-12 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 13 02:27:10 2019 New Revision: 342983 URL: https://svnweb.freebsd.org/changeset/base/342983 Log: MFC r342810: powerd(8): allow to force a method of battery state query This change allows to determine power source via sysctl or /dev/apm when devd(8) is running

svn commit: r342981 - stable/12/usr.sbin/powerd

2019-01-13 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 13 02:19:01 2019 New Revision: 342981 URL: https://svnweb.freebsd.org/changeset/base/342981 Log: MFC r342810: powerd(8): allow to force a method of battery state query This change allows to determine power source via sysctl or /dev/apm when devd(8) is running

svn commit: r342982 - stable/11/usr.sbin/powerd

2019-01-13 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 13 02:23:18 2019 New Revision: 342982 URL: https://svnweb.freebsd.org/changeset/base/342982 Log: MFC r342810: powerd(8): allow to force a method of battery state query This change allows to determine power source via sysctl or /dev/apm when devd(8) is running

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: r343018 - stable/12/sys/net80211

2019-01-13 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 14 07:50:23 2019 New Revision: 343018 URL: https://svnweb.freebsd.org/changeset/base/343018 Log: MFC r342883: net80211: fix panic when device is removed during initialization if_dead() is called during device detach - check if interface is still exists before

svn commit: r343019 - stable/11/sys/net80211

2019-01-13 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 14 07:54:11 2019 New Revision: 343019 URL: https://svnweb.freebsd.org/changeset/base/343019 Log: MFC r342883: net80211: fix panic when device is removed during initialization if_dead() is called during device detach - check if interface is still exists before

svn commit: r343032 - in stable/12/sys/dev/rtwn/rtl8192c: . usb

2019-01-14 Thread Andriy Voskoboinyk
Author: avos Date: Tue Jan 15 01:57:46 2019 New Revision: 343032 URL: https://svnweb.freebsd.org/changeset/base/343032 Log: MFC r342912: 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

svn commit: r343033 - stable/12/sys/net80211

2019-01-14 Thread Andriy Voskoboinyk
Author: avos Date: Tue Jan 15 02:05:51 2019 New Revision: 343033 URL: https://svnweb.freebsd.org/changeset/base/343033 Log: MFC r342966: net80211: fix possible panic for some drivers after r342463 Check if rate control structures were allocated before trying to access them in various pl

svn commit: r343035 - stable/11/sys/net80211

2019-01-14 Thread Andriy Voskoboinyk
Author: avos Date: Tue Jan 15 02:16:23 2019 New Revision: 343035 URL: https://svnweb.freebsd.org/changeset/base/343035 Log: MFC r342966: net80211: fix possible panic for some drivers after r342464 Check if rate control structures were allocated before trying to access them in various pl

svn commit: r343036 - stable/10/sys/net80211

2019-01-14 Thread Andriy Voskoboinyk
Author: avos Date: Tue Jan 15 02:26:03 2019 New Revision: 343036 URL: https://svnweb.freebsd.org/changeset/base/343036 Log: MFC r342966: net80211: fix possible panic for some drivers after r342465 Check if rate control structures were allocated before trying to access them in various pl

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: 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: 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: r343189 - in stable/12/sys/dev: rtwn/usb usb

2019-01-19 Thread Andriy Voskoboinyk
Author: avos Date: Sat Jan 19 15:07:25 2019 New Revision: 343189 URL: https://svnweb.freebsd.org/changeset/base/343189 Log: MFC r343088: rtwn_usb(4): add new USB id for RTL8821AU Reported by: Mike Tancsa Tested by:Mike Tancsa Modified: stable/12/sys/dev/rtwn/usb/rtwn_usb_attac

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: r343216 - stable/12/sys/net80211

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 20 14:33:29 2019 New Revision: 343216 URL: https://svnweb.freebsd.org/changeset/base/343216 Log: MFC r342991: net80211: provide rate validation for injected frames. There may be various side effects (device timeout, firmware and / or kernel panic) when an inva

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

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

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: 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: 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: r343239 - in stable/12/sys/dev/rtwn: rtl8192c rtl8812a

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 21 01:03:03 2019 New Revision: 343239 URL: https://svnweb.freebsd.org/changeset/base/343239 Log: MFC r343092: 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 ove

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

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

<    1   2   3   4   5   6   7   8   >