svn commit: r330688 - in head/sys: dev/bwn dev/ral dev/usb/wlan net80211

2018-03-09 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 9 11:33:56 2018 New Revision: 330688 URL: https://svnweb.freebsd.org/changeset/base/330688 Log: net80211: wrap protection frame allocation into ieee80211_alloc_prot() Move copy-pasted code for RTS/CTS frame allocation into net80211. While here, add stat / debug

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

2018-03-10 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 10 22:52:39 2018 New Revision: 330747 URL: https://svnweb.freebsd.org/changeset/base/330747 Log: run(4): drop few unused variables. Found by: Clang static analyzer Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c ==

svn commit: r330749 - in head/sys: dev/usb/wlan modules/usb/rum modules/usb/run modules/usb/uath modules/usb/upgt modules/usb/ural modules/usb/urtw modules/usb/zyd

2018-03-10 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 10 23:16:24 2018 New Revision: 330749 URL: https://svnweb.freebsd.org/changeset/base/330749 Log: usb/wlan/*: properly include "opt_wlan.h" into all drivers Without it driver cannot be loaded when wlan(4) module is built with 'options IEEE80211_DEBUG_REFCNT'. Mo

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

2018-03-10 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 10 23:47:03 2018 New Revision: 330750 URL: https://svnweb.freebsd.org/changeset/base/330750 Log: rtwn(4): reset Tx power values before calling get_txpower() for RTL8192C / RTL8188E (like it is done for other chipsets). Modified: head/sys/dev/rtwn/rtl8188e/r88e_cha

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

2018-03-10 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 11 00:38:08 2018 New Revision: 330753 URL: https://svnweb.freebsd.org/changeset/base/330753 Log: otus(4): check mcast / mgt / ucast rates during Tx descriptor setup These parameters may be changed via ifconfig(8); by default, mgt / mcast rates are lowest possibl

svn commit: r331040 - head/sys/net

2018-03-15 Thread Andriy Voskoboinyk
Author: avos Date: Thu Mar 15 23:32:29 2018 New Revision: 331040 URL: https://svnweb.freebsd.org/changeset/base/331040 Log: Correct comment for IFM_IEEE80211_VHT media variant. Modified: head/sys/net/if_media.h Modified: head/sys/net/if_media.h ===

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

2018-03-15 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 16 00:09:16 2018 New Revision: 331041 URL: https://svnweb.freebsd.org/changeset/base/331041 Log: urtw(4): provide names for some commonly used rate indices + drop now-unused urtw_rate2rtl() Modified: head/sys/dev/usb/wlan/if_urtw.c Modified: head/sys/dev/usb/wlan

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

2018-03-15 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 16 00:38:10 2018 New Revision: 331042 URL: https://svnweb.freebsd.org/changeset/base/331042 Log: urtw(4), zyd(4): reduce code verbosity. No functional change intended. Modified: head/sys/dev/usb/wlan/if_urtw.c head/sys/dev/usb/wlan/if_zyd.c Modified: head/sy

svn commit: r331043 - in head/sys/dev/rtwn: . rtl8188e rtl8192c rtl8812a

2018-03-15 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 16 01:03:10 2018 New Revision: 331043 URL: https://svnweb.freebsd.org/changeset/base/331043 Log: rtwn(4): de-hardcode ('h/w rate index' - 'corresponding MCS index') constant Modified: head/sys/dev/rtwn/if_rtwn_ridx.h head/sys/dev/rtwn/rtl8188e/r88e_rx.c head/sys

svn commit: r309686 - in head/sys: dev/ath dev/mwl dev/rtwn dev/usb/wlan net80211

2016-12-07 Thread Andriy Voskoboinyk
Author: avos Date: Wed Dec 7 22:16:07 2016 New Revision: 309686 URL: https://svnweb.freebsd.org/changeset/base/309686 Log: net80211 + drivers: convert to ieee80211_crypto_get_key_wepidx(). Proposed by: adrian Modified: head/sys/dev/ath/if_ath_keycache.c head/sys/dev/mwl/if_mwl.c he

svn commit: r309695 - head/sys/net80211

2016-12-07 Thread Andriy Voskoboinyk
Author: avos Date: Wed Dec 7 23:33:59 2016 New Revision: 309695 URL: https://svnweb.freebsd.org/changeset/base/309695 Log: net80211: remove obsolete comment. The described LOR should be fixed in r302283. Modified: head/sys/net80211/ieee80211_superg.c Modified: head/sys/net80211/ieee802

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

2016-12-08 Thread Andriy Voskoboinyk
Author: avos Date: Thu Dec 8 20:54:54 2016 New Revision: 309721 URL: https://svnweb.freebsd.org/changeset/base/309721 Log: rsu: fix incorrect register addresses. Modified: head/sys/dev/usb/wlan/if_rsureg.h Modified: head/sys/dev/usb/wlan/if_rsureg.h =

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

2016-12-10 Thread Andriy Voskoboinyk
Author: avos Date: Sat Dec 10 13:30:16 2016 New Revision: 309806 URL: https://svnweb.freebsd.org/changeset/base/309806 Log: rsu: add TSF field into Rx radiotap. Tested with Asus USB-N10. Modified: head/sys/dev/usb/wlan/if_rsu.c head/sys/dev/usb/wlan/if_rsureg.h Modified: head/sys/dev/

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

2016-12-10 Thread Andriy Voskoboinyk
Author: avos Date: Sat Dec 10 17:06:55 2016 New Revision: 309821 URL: https://svnweb.freebsd.org/changeset/base/309821 Log: rsu: increase Rx buffer size from 8k to 30k. This is required for USB Rx aggregation (and fixes 'could not allocate RX mbuf' / few other failures). While here,

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

2016-12-10 Thread Andriy Voskoboinyk
Author: avos Date: Sat Dec 10 18:47:13 2016 New Revision: 309825 URL: https://svnweb.freebsd.org/changeset/base/309825 Log: rsu: add promiscuous mode support. - Add partial promiscuous mode support (no management frames; they cannot be received by the firmware and net80211 at the same tim

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

2016-12-10 Thread Andriy Voskoboinyk
Author: avos Date: Sat Dec 10 19:14:51 2016 New Revision: 309826 URL: https://svnweb.freebsd.org/changeset/base/309826 Log: rsu(4): refresh the manpage. - Add monitor mode into the list of supported modes. - Describe promiscuous mode limitations in CAVEATS section. Reported by: adri

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

2016-12-10 Thread Andriy Voskoboinyk
Author: avos Date: Sat Dec 10 20:19:57 2016 New Revision: 309827 URL: https://svnweb.freebsd.org/changeset/base/309827 Log: rsu: use bitmap for all debug messages. - Replace all remaining DPRINTF(N)'s with RSU_DPRINTF. - Add new RSU_DEBUG_USB flag to track error codes returned by usbd_d

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

2016-12-10 Thread Andriy Voskoboinyk
Sat, 10 Dec 2016 20:57:32 +0200 було написано Adrian Chadd : Done in r309826. Would you mind updating the manpage to state this monitor/promisc difference in the LIMITATIONS section, or something? Thanks! -a On 10 December 2016 at 10:47, Andriy Voskoboinyk wrote: Author: avos Date

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

2016-12-10 Thread Andriy Voskoboinyk
Author: avos Date: Sat Dec 10 22:31:49 2016 New Revision: 309838 URL: https://svnweb.freebsd.org/changeset/base/309838 Log: rsu: various initialization fixes. - Do not ignore initialization errors; call ieee80211_stop() when initialization failed. - Use usb_pause_mtx() instead of DELAY(

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

2016-12-11 Thread Andriy Voskoboinyk
Author: avos Date: Sun Dec 11 17:15:25 2016 New Revision: 309852 URL: https://svnweb.freebsd.org/changeset/base/309852 Log: rsu: fix and enable Rx TCP checksum offloading. Tested with Asus USB-N10, STA mode. Modified: head/sys/dev/usb/wlan/if_rsu.c head/sys/dev/usb/wlan/if_rsureg.h Mo

svn commit: r310089 - head/sbin/ifconfig

2016-12-14 Thread Andriy Voskoboinyk
Author: avos Date: Wed Dec 14 21:12:43 2016 New Revision: 310089 URL: https://svnweb.freebsd.org/changeset/base/310089 Log: ifconfig: do not truncate SSID in verbose mode. Fix 32-character SSID abbreviation for 'ifconfig -v wlan0 scan' command. PR: 215301 Submitted by: M

svn commit: r310233 - stable/11/etc

2016-12-18 Thread Andriy Voskoboinyk
Author: avos Date: Sun Dec 18 20:40:22 2016 New Revision: 310233 URL: https://svnweb.freebsd.org/changeset/base/310233 Log: MFC r309534: Do not try to recreate wlan(4) interface if it already exists. This should fix error messages caused by devd(8) during startup: Starting Network: l

svn commit: r310235 - stable/11/sbin/ifconfig

2016-12-18 Thread Andriy Voskoboinyk
Author: avos Date: Sun Dec 18 20:59:24 2016 New Revision: 310235 URL: https://svnweb.freebsd.org/changeset/base/310235 Log: MFC r310089: ifconfig: do not truncate SSID in verbose mode. Fix 32-character SSID abbreviation for 'ifconfig -v wlan0 scan' command. PR: 215301 Sub

svn commit: r310529 - head/sys/net80211

2016-12-24 Thread Andriy Voskoboinyk
Author: avos Date: Sat Dec 24 23:43:14 2016 New Revision: 310529 URL: https://svnweb.freebsd.org/changeset/base/310529 Log: net80211: fix 'pending CAC -> RUN transition lost' bug. Ensure that CAC -> RUN state transition will be requested for every vap only once. Modified: head/sys/net8

svn commit: r310676 - in head: share/man/man4 tools/build/mk

2016-12-28 Thread Andriy Voskoboinyk
Author: avos Date: Wed Dec 28 09:32:02 2016 New Revision: 310676 URL: https://svnweb.freebsd.org/changeset/base/310676 Log: rum.4, run.4, runfw.4, zyd.4: do not install when MK_USB == no. While here, add missing if_rtwn_usb.4.gz symlink into OptionalObsoleteFiles.inc Modified: head/sha

svn commit: r310793 - head/sys/dev/rtwn/rtl8812a

2016-12-29 Thread Andriy Voskoboinyk
Author: avos Date: Thu Dec 29 22:36:16 2016 New Revision: 310793 URL: https://svnweb.freebsd.org/changeset/base/310793 Log: rtwn: silence compiler warning (-Wmaybe-uninitialized). Reported by: adrian Modified: head/sys/dev/rtwn/rtl8812a/r12a_chan.c Modified: head/sys/dev/rtwn/rtl8812a/

svn commit: r310867 - in head/sys: dev/rtwn dev/rtwn/rtl8812a dev/rtwn/rtl8821a dev/rtwn/rtl8821a/usb modules/rtwn_usb

2016-12-30 Thread Andriy Voskoboinyk
ach; sc->sc_postattach = r21a_postattach; sc->sc_detach_private = r12a_detach_private; #ifndef RTWN_WITHOUT_UCODE Added: head/sys/dev/rtwn/rtl8821a/usb/r21au_dfs.c == --- /dev/

svn commit: r310961 - head/sbin/sysctl

2016-12-31 Thread Andriy Voskoboinyk
Author: avos Date: Sat Dec 31 12:39:15 2016 New Revision: 310961 URL: https://svnweb.freebsd.org/changeset/base/310961 Log: sysctl(8): fix typename for uint32_t. MFC after:5 days. Modified: head/sbin/sysctl/sysctl.c Modified: head/sbin/sysctl/sysctl.c ===

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

2017-01-02 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 2 16:58:55 2017 New Revision: 311105 URL: https://svnweb.freebsd.org/changeset/base/311105 Log: rsu: restore 40Mhz channel support. MFC after:4 days. Modified: head/sys/dev/usb/wlan/if_rsu.c Modified: head/sys/dev/usb/wlan/if_rsu.c ===

svn commit: r311206 - head/sys/dev/rtwn

2017-01-03 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 4 00:26:41 2017 New Revision: 311206 URL: https://svnweb.freebsd.org/changeset/base/311206 Log: rtwn: fix possible buffer overrun. r297596 was not merged properly into new code; restore lost part. Modified: head/sys/dev/rtwn/if_rtwnvar.h Modified: head/sys/de

svn commit: r322108 - head/usr.bin/calendar/calendars

2017-08-05 Thread Andriy Voskoboinyk
) @@ -154,6 +154,7 @@ 04/22 Jakub Klama born in Blachownia, Silesia, Poland, 1989 04/25 Richard Gallamore born in Kissimmee, Florida, United States, 1987 04/26 Rene Ladan born in Geldrop, the Netherlands, 1980 +04/28 Andriy Voskoboinyk born in Bila Tserkva, Ukraine, 1992 04/29 Adam Weinberger

svn commit: r322124 - head/usr.sbin/bluetooth/rfcomm_pppd

2017-08-06 Thread Andriy Voskoboinyk
Author: avos Date: Sun Aug 6 21:54:43 2017 New Revision: 322124 URL: https://svnweb.freebsd.org/changeset/base/322124 Log: rfcomm_pppd.8: fix a typo (SPD -> SDP). MFC after:3 days Modified: head/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8 Modified: head/usr.sbin/bluetooth/rfcomm_p

svn commit: r322393 - stable/11/usr.sbin/bluetooth/rfcomm_pppd

2017-08-11 Thread Andriy Voskoboinyk
Author: avos Date: Fri Aug 11 07:27:55 2017 New Revision: 322393 URL: https://svnweb.freebsd.org/changeset/base/322393 Log: MFC r322124: rfcomm_pppd.8: fix a typo (SPD -> SDP). Modified: stable/11/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8 Directory Properties: stable/11/ (props chang

svn commit: r322462 - stable/10/usr.sbin/bluetooth/rfcomm_pppd

2017-08-13 Thread Andriy Voskoboinyk
Author: avos Date: Sun Aug 13 17:30:03 2017 New Revision: 322462 URL: https://svnweb.freebsd.org/changeset/base/322462 Log: MFC r322124: rfcomm_pppd.8: fix a typo (SPD -> SDP). Approved by: re (marius) Modified: stable/10/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8 Directory Properti

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

2017-08-27 Thread Andriy Voskoboinyk
Author: avos Date: Sun Aug 27 12:44:56 2017 New Revision: 322949 URL: https://svnweb.freebsd.org/changeset/base/322949 Log: rtwn(4): change type for Tx power values (RTL8192C / RTL8188EU). Tx power values can easily fit into uint8_t + only 8 bits are written to registers; values may overf

svn commit: r322950 - in head/sys/dev/rtwn: rtl8192c rtl8192e

2017-08-27 Thread Andriy Voskoboinyk
Author: avos Date: Sun Aug 27 13:02:51 2017 New Revision: 322950 URL: https://svnweb.freebsd.org/changeset/base/322950 Log: rtwn(4): deduplicate r92c_write_txpower(). Modified: head/sys/dev/rtwn/rtl8192c/r92c.h head/sys/dev/rtwn/rtl8192c/r92c_chan.c head/sys/dev/rtwn/rtl8192e/r92e_chan.c

svn commit: r322957 - head/sys/net80211

2017-08-27 Thread Andriy Voskoboinyk
Author: avos Date: Sun Aug 27 22:13:03 2017 New Revision: 322957 URL: https://svnweb.freebsd.org/changeset/base/322957 Log: net80211: fix a typo (premable -> preamble). Modified: head/sys/net80211/ieee80211_output.c Modified: head/sys/net80211/ieee80211_output.c =

svn commit: r322988 - in head/sys/dev/rtwn: . rtl8188e rtl8192c rtl8192e rtl8812a

2017-08-28 Thread Andriy Voskoboinyk
Author: avos Date: Mon Aug 28 22:14:16 2017 New Revision: 322988 URL: https://svnweb.freebsd.org/changeset/base/322988 Log: rtwn(4): some initial preparations for (basic) VHT support. Rename RTWN_RIDX_MCS to RTWN_RIDX_HT_MCS before adding 802.11ac MCS rate indexes (they have different off

svn commit: r315917 - head/sys/net80211

2017-03-24 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 24 22:29:51 2017 New Revision: 315917 URL: https://svnweb.freebsd.org/changeset/base/315917 Log: net80211: fix possible panic when wlan(4) interface is destroyed. If this is the last running vap wait until device will be powered off (fixes panic when 'ifconfig w

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

2017-03-25 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 25 13:15:43 2017 New Revision: 315946 URL: https://svnweb.freebsd.org/changeset/base/315946 Log: iwn: add few missing notification types into iwn_intr_str() Modified: head/sys/dev/iwn/if_iwn_debug.h Modified: head/sys/dev/iwn/if_iwn_debug.h

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

2017-03-25 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 25 15:57:47 2017 New Revision: 315958 URL: https://svnweb.freebsd.org/changeset/base/315958 Log: iwn: do not try to update node configuration when the node does not exist. Firmware will just respond with status '0x8' (node does not exist) or will hang -> cause '

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

2017-03-25 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 25 22:07:21 2017 New Revision: 315966 URL: https://svnweb.freebsd.org/changeset/base/315966 Log: iwn: fix return code conflict in iwn_init_locked() Do not try to use errno(2) codes here; instead, just return unique value (1) when radio is disabled via hardware s

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

2017-03-26 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 26 09:10:01 2017 New Revision: 315981 URL: https://svnweb.freebsd.org/changeset/base/315981 Log: iwn: omit unneeded bus_dmamap_sync() calls when compiled without 'options IWN_DEBUG' Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

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

2017-03-26 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 26 09:41:08 2017 New Revision: 315982 URL: https://svnweb.freebsd.org/changeset/base/315982 Log: iwn: deduplicate code in iwn_tx_data() and iwn_tx_data_raw(). Some code was additionally moved for (future) lock splitting. Tested with Intel 6205, STA mode.

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

2017-03-26 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 26 16:46:39 2017 New Revision: 315988 URL: https://svnweb.freebsd.org/changeset/base/315988 Log: iwn: drop unneeded bus_dmamap_sync() calls. 1) They are using wrong tag (Tx) + map (Rx) combination. 2) Rx descriptor is already synchronized in iwn_notif_intr() 3

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

2017-03-26 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 26 17:59:51 2017 New Revision: 315992 URL: https://svnweb.freebsd.org/changeset/base/315992 Log: iwn: fix error handling for one well-known corner case. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

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

2017-03-26 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 26 18:06:51 2017 New Revision: 315996 URL: https://svnweb.freebsd.org/changeset/base/315996 Log: iwn: fix debug message Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

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

2017-03-27 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 27 07:02:27 2017 New Revision: 316010 URL: https://svnweb.freebsd.org/changeset/base/316010 Log: iwm: fix build without IWM_DEBUG. Reported by: O. Hartmann Reviewed by: adrian Differential Revision:https://reviews.freebsd.org/D10146 Modified: hea

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

2017-03-27 Thread Andriy Voskoboinyk
Sun, 26 Mar 2017 17:43:18 +0300 було написано Hartmann, O. : On Sun, 26 Mar 2017 09:10:02 + (UTC) Andriy Voskoboinyk wrote: Author: avos Date: Sun Mar 26 09:10:01 2017 New Revision: 315981 URL: https://svnweb.freebsd.org/changeset/base/315981 Log: iwn: omit unneeded bus_dmamap_sync

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

2017-03-28 Thread Andriy Voskoboinyk
Author: avos Date: Tue Mar 28 22:31:48 2017 New Revision: 316114 URL: https://svnweb.freebsd.org/changeset/base/316114 Log: iwn: drop duplicate synchronization requests. Rx descriptor / payload is already synchronized in iwn_notif_intr() (before accessing desc->type / desc->qid fields).

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

2017-03-28 Thread Andriy Voskoboinyk
Author: avos Date: Tue Mar 28 22:40:51 2017 New Revision: 316116 URL: https://svnweb.freebsd.org/changeset/base/316116 Log: iwn: remove unneeded cast. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

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

2017-04-02 Thread Andriy Voskoboinyk
Author: avos Date: Sun Apr 2 13:24:58 2017 New Revision: 316415 URL: https://svnweb.freebsd.org/changeset/base/316415 Log: iwn: use correct mask for queue ids (0xf -> 0x1f). Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

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

2017-04-12 Thread Andriy Voskoboinyk
Author: avos Date: Wed Apr 12 07:21:54 2017 New Revision: 316723 URL: https://svnweb.freebsd.org/changeset/base/316723 Log: rtwn: remove out-of-bounds access + fix debug output. Omit unused rates while initializing / dumping Tx power values. They were not accessed anywhere (except for

svn commit: r313028 - head/sys/net80211

2017-01-31 Thread Andriy Voskoboinyk
Author: avos Date: Tue Jan 31 22:21:08 2017 New Revision: 313028 URL: https://svnweb.freebsd.org/changeset/base/313028 Log: net80211: cleanup ic_flags / iv_flags Flags - IEEE80211_F_ASCAN - IEEE80211_F_SIBSS - IEEE80211_F_IBSSON are not used since r170530 (old WI compatibility io

svn commit: r313694 - head/sys/dev/iwi

2017-02-12 Thread Andriy Voskoboinyk
Author: avos Date: Mon Feb 13 02:15:56 2017 New Revision: 313694 URL: https://svnweb.freebsd.org/changeset/base/313694 Log: iwi: add 12-14 2GHz channels into channel list. Return full channel list via iwi_getradiocaps() method (ieee80211_init_channels() was replaced with iwi_getradiocaps(

svn commit: r313906 - in head/sys/dev: iwi ral usb/wlan

2017-02-17 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 17 23:20:22 2017 New Revision: 313906 URL: https://svnweb.freebsd.org/changeset/base/313906 Log: iwi, ral, zyd: fix possible use-after-free. MFC after:5 days Modified: head/sys/dev/iwi/if_iwi.c head/sys/dev/ral/rt2661.c head/sys/dev/usb/wlan/if_zyd.c M

svn commit: r313921 - stable/11/sys/dev/iwi

2017-02-18 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 18 19:19:08 2017 New Revision: 313921 URL: https://svnweb.freebsd.org/changeset/base/313921 Log: MFC r313694: iwi: add 12-14 2GHz channels into channel list. Return full channel list via iwi_getradiocaps() method (ieee80211_init_channels() was replaced with iw

svn commit: r314222 - in stable/11/sys/dev: iwi ral usb/wlan

2017-02-24 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 24 21:19:40 2017 New Revision: 314222 URL: https://svnweb.freebsd.org/changeset/base/314222 Log: MFC r313906: iwi, ral, zyd: fix possible use-after-free. Modified: stable/11/sys/dev/iwi/if_iwi.c stable/11/sys/dev/ral/rt2661.c stable/11/sys/dev/usb/wlan/if_zyd.

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

2017-02-24 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 25 00:40:50 2017 New Revision: 314234 URL: https://svnweb.freebsd.org/changeset/base/314234 Log: iwn: some initialization / RF switch state change fixes. - Check return code from initialization path; otherwise, vap state may be wrong after an error. - Do not t

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

2017-02-25 Thread Andriy Voskoboinyk
Author: avos Date: Sun Feb 26 01:05:27 2017 New Revision: 314287 URL: https://svnweb.freebsd.org/changeset/base/314287 Log: iwn: stop all watchdogs on device shutdown. Tested with Intel 6205, STA mode. MFC after:5 days Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/

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

2017-09-30 Thread Andriy Voskoboinyk
Author: avos Date: Sat Sep 30 21:00:46 2017 New Revision: 324144 URL: https://svnweb.freebsd.org/changeset/base/324144 Log: uath(4): fix varible types, add missing checks for descriptor / command header structure fields. Reported by: hselasky Reviewed by: hselasky Differential Revis

svn commit: r324157 - head/share/mk

2017-10-01 Thread Andriy Voskoboinyk
Author: avos Date: Sun Oct 1 12:54:40 2017 New Revision: 324157 URL: https://svnweb.freebsd.org/changeset/base/324157 Log: Mark libifconfig as private library in src.libnames.mk (completes r305700) Modified: head/share/mk/src.libnames.mk Modified: head/share/mk/src.libnames.mk =

svn commit: r324656 - head/lib/libifconfig

2017-10-15 Thread Andriy Voskoboinyk
Author: avos Date: Mon Oct 16 06:54:26 2017 New Revision: 324656 URL: https://svnweb.freebsd.org/changeset/base/324656 Log: libifconfig: allow to get original interface name via ifconfig_get_orig_name() Uses the same method as in tools/tools/ifinfo/ifinfo.c (via net.link.generic sysctl).

svn commit: r324657 - head/usr.sbin/wlandebug

2017-10-16 Thread Andriy Voskoboinyk
Author: avos Date: Mon Oct 16 07:01:27 2017 New Revision: 324657 URL: https://svnweb.freebsd.org/changeset/base/324657 Log: wlandebug(8): obtain original interface name via ifconfig_get_orig_name() Modified: head/usr.sbin/wlandebug/Makefile head/usr.sbin/wlandebug/wlandebug.c Modified: hea

svn commit: r324658 - head/usr.sbin/wlandebug

2017-10-16 Thread Andriy Voskoboinyk
Author: avos Date: Mon Oct 16 07:15:50 2017 New Revision: 324658 URL: https://svnweb.freebsd.org/changeset/base/324658 Log: wlandebug(8): add a sanity check. Modified: head/usr.sbin/wlandebug/wlandebug.c Modified: head/usr.sbin/wlandebug/wlandebug.c ==

Re: svn commit: r324656 - head/lib/libifconfig

2017-10-16 Thread Andriy Voskoboinyk
Mon, 16 Oct 2017 19:06:55 +0300 було написано Alan Somers : On Mon, Oct 16, 2017 at 12:54 AM, Andriy Voskoboinyk wrote: Author: avos Date: Mon Oct 16 06:54:26 2017 New Revision: 324656 URL: https://svnweb.freebsd.org/changeset/base/324656 Log: libifconfig: allow to get original

svn commit: r324672 - head/sys/net

2017-10-16 Thread Andriy Voskoboinyk
Author: avos Date: Mon Oct 16 21:21:31 2017 New Revision: 324672 URL: https://svnweb.freebsd.org/changeset/base/324672 Log: ifnet(9): split ifc_alloc_unit() (should simplify code flow) Allocate smallest unit number from pool via ifc_alloc_unit_next() and exact unit number (if available) v

svn commit: r324673 - head/sys/kern

2017-10-16 Thread Andriy Voskoboinyk
Author: avos Date: Mon Oct 16 21:46:11 2017 New Revision: 324673 URL: https://svnweb.freebsd.org/changeset/base/324673 Log: mbuf(9): unbreak m_fragment() - Fix it by replacing m_cat() with m_prev->m_next = m_new (m_cat() will try to append data - as a result, there will be no fragmentat

Re: svn commit: r324656 - head/lib/libifconfig

2017-10-16 Thread Andriy Voskoboinyk
On Mon, Oct 16, 2017 at 06:54:26AM +, Andriy Voskoboinyk wrote: Author: avos Date: Mon Oct 16 06:54:26 2017 New Revision: 324656 URL: https://svnweb.freebsd.org/changeset/base/324656 Log: libifconfig: allow to get original interface name via ifconfig_get_orig_name() Uses the same

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

2017-10-16 Thread Andriy Voskoboinyk
Tue, 17 Oct 2017 00:53:28 +0300 було написано Bryan Drewery : On 10/16/2017 2:46 PM, Andriy Voskoboinyk wrote: Author: avos Date: Mon Oct 16 21:46:11 2017 New Revision: 324673 URL: https://svnweb.freebsd.org/changeset/base/324673 Log: mbuf(9): unbreak m_fragment() How was it broken

svn commit: r324812 - stable/11/sys/net

2017-10-21 Thread Andriy Voskoboinyk
Author: avos Date: Sat Oct 21 10:21:34 2017 New Revision: 324812 URL: https://svnweb.freebsd.org/changeset/base/324812 Log: MFC r324672: ifnet(9): split ifc_alloc_unit() (should simplify code flow) Allocate smallest unit number from pool via ifc_alloc_unit_next() and exact unit number (

svn commit: r324813 - stable/10/sys/net

2017-10-21 Thread Andriy Voskoboinyk
Author: avos Date: Sat Oct 21 10:48:06 2017 New Revision: 324813 URL: https://svnweb.freebsd.org/changeset/base/324813 Log: MFC r324672: ifnet(9): split ifc_alloc_unit() (should simplify code flow) Allocate smallest unit number from pool via ifc_alloc_unit_next() and exact unit number (

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

2017-10-30 Thread Andriy Voskoboinyk
Author: avos Date: Mon Oct 30 08:57:08 2017 New Revision: 325137 URL: https://svnweb.freebsd.org/changeset/base/325137 Log: rtwn_usb(4): add few USB IDs. Submitted by: wfpo...@yandex.ru (via github). Modified: head/sys/dev/rtwn/usb/rtwn_usb_attach.h head/sys/dev/usb/usbdevs Modified:

svn commit: r325252 - head/etc/devd

2017-10-31 Thread Andriy Voskoboinyk
Author: avos Date: Tue Oct 31 23:33:24 2017 New Revision: 325252 URL: https://svnweb.freebsd.org/changeset/base/325252 Log: Regenerate etc/devd/usb.conf Reminded by: hselasky Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf =

svn commit: r314315 - in head/sys/dev: bwi bwn iwm iwn otus ral rtwn usb/wlan wpi

2017-02-26 Thread Andriy Voskoboinyk
Author: avos Date: Sun Feb 26 20:49:35 2017 New Revision: 314315 URL: https://svnweb.freebsd.org/changeset/base/314315 Log: net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters directly from the node. - Use ni_txparms directly instead of calculating them manually every

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

2017-02-28 Thread Andriy Voskoboinyk
Author: avos Date: Wed Mar 1 00:42:38 2017 New Revision: 314443 URL: https://svnweb.freebsd.org/changeset/base/314443 Log: iwn: fix data rate parsing for Rx radiotap header. Tested with Intel 6205, MONITOR mode + RTL8188EU, STA mode. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iw

svn commit: r314574 - stable/11/sys/dev/iwn

2017-03-02 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 3 00:47:42 2017 New Revision: 314574 URL: https://svnweb.freebsd.org/changeset/base/314574 Log: MFC r314287: iwn: stop all watchdogs on device shutdown. Tested with Intel 6205, STA mode. Modified: stable/11/sys/dev/iwn/if_iwn.c Directory Properties: stable

svn commit: r314575 - head/sys/net80211

2017-03-02 Thread Andriy Voskoboinyk
Author: avos Date: Fri Mar 3 01:06:27 2017 New Revision: 314575 URL: https://svnweb.freebsd.org/changeset/base/314575 Log: net80211: fix ieee80211_htrateset setup, return EINVAL for an unsupported ucast/mcast/mgmt HT rate. - Init global ieee80211_htrateset only once; neither ic_htcaps no

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

2017-03-04 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 4 23:07:54 2017 New Revision: 314687 URL: https://svnweb.freebsd.org/changeset/base/314687 Log: iwn: drop 'channel' parameter from iwn*_set_txpower() For 4965 just extract 'is_chan_5ghz' flag from the RXON structure (like it was done in r281287); for others it

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

2017-03-04 Thread Andriy Voskoboinyk
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 15:07, Andriy Voskoboinyk wrote: Author: avos Date: Sat Mar 4 23:07:54 20

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

2017-03-06 Thread Andriy Voskoboinyk
Author: avos Date: Tue Mar 7 07:49:25 2017 New Revision: 314839 URL: https://svnweb.freebsd.org/changeset/base/314839 Log: iwn: deduplicate (RXON + txpower + broadcast node) command sequence. Was previously applied to wpi(4) as a part of r278366. Tested with Intel 6205, STA / MONITOR

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

2017-03-08 Thread Andriy Voskoboinyk
Author: avos Date: Wed Mar 8 22:49:22 2017 New Revision: 314923 URL: https://svnweb.freebsd.org/changeset/base/314923 Log: iwn: add promiscuous mode support. Tested with Intel 6205, STA / MONITOR modes. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h head/sys/dev/iw

svn commit: r315583 - head/sys/net80211

2017-03-19 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 19 20:05:21 2017 New Revision: 315583 URL: https://svnweb.freebsd.org/changeset/base/315583 Log: net80211: add a timer to flush fast-frames queues. This should allow to drop 'ieee80211_ff_[age/flush]' calls from drivers (an additional call can be made from ieee8

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

2017-03-19 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 19 20:51:28 2017 New Revision: 315584 URL: https://svnweb.freebsd.org/changeset/base/315584 Log: rtwn: drop unneeded (after r315583) code. Tested with RTL8188EU, HOSTAP mode + RTL8821AU, STA mode (fast-frames / A-MSDU). Modified: head/sys/dev/rtwn/pci/rtwn_pc

svn commit: r315594 - head/sys/net80211

2017-03-19 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 19 22:18:44 2017 New Revision: 315594 URL: https://svnweb.freebsd.org/changeset/base/315594 Log: net80211: do not cancel callout when FF queue is empty. This should reduce overhead for aggregates (since every second frame clears the queue and reschedules the tas

svn commit: r315596 - head/sys/net80211

2017-03-19 Thread Andriy Voskoboinyk
Author: avos Date: Sun Mar 19 23:05:03 2017 New Revision: 315596 URL: https://svnweb.freebsd.org/changeset/base/315596 Log: net80211: reschedule tasks properly after r315594. Modified: head/sys/net80211/ieee80211_superg.c Modified: head/sys/net80211/ieee80211_superg.c ===

svn commit: r315623 - head/sys/dev/rtwn

2017-03-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Mar 20 08:10:35 2017 New Revision: 315623 URL: https://svnweb.freebsd.org/changeset/base/315623 Log: rtwn: fix node id assignment. Do not assign new id if node is reused. Tested with RTL8821AU, HOSTAP mode + RTL8188EU, STA mode (with inactivity timeout == 90)

svn commit: r319087 - head/sys/dev/rtwn/rtl8192e/usb

2017-05-28 Thread Andriy Voskoboinyk
Author: avos Date: Sun May 28 22:38:19 2017 New Revision: 319087 URL: https://svnweb.freebsd.org/changeset/base/319087 Log: rtwn_usb: fix build with 'options RTWN_WITHOUT_UCODE' Modified: head/sys/dev/rtwn/rtl8192e/usb/r92eu_attach.c Modified: head/sys/dev/rtwn/rtl8192e/usb/r92eu_attach.c ==

svn commit: r319088 - head/sys/dev/rtwn

2017-05-28 Thread Andriy Voskoboinyk
Author: avos Date: Sun May 28 22:51:06 2017 New Revision: 319088 URL: https://svnweb.freebsd.org/changeset/base/319088 Log: rtwn: fix connection problems with 'options RTWN_WITHOUT_UCODE' sc_set_media_status() callback may involve some generic code in addition to firmware-specific part (e

svn commit: r319460 - head/sys/net80211

2017-06-01 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jun 1 20:46:43 2017 New Revision: 319460 URL: https://svnweb.freebsd.org/changeset/base/319460 Log: net80211: initialize i_seq for A-MPDU frames. Fragment number field (part of i_seq) is used for AAD calculation; as a result, without this patch every driver without

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

2017-06-01 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jun 1 21:20:44 2017 New Revision: 319476 URL: https://svnweb.freebsd.org/changeset/base/319476 Log: rtwn: drop obsolete (since r319460) code. Tested with RTL8188EU, STA mode. Modified: head/sys/dev/rtwn/rtl8192c/r92c_tx.c head/sys/dev/rtwn/rtl8812a/r12a_tx.c Mo

svn commit: r319733 - in head: . share/man/man4 sys/modules/rtwn

2017-06-09 Thread Andriy Voskoboinyk
Author: avos Date: Fri Jun 9 07:08:58 2017 New Revision: 319733 URL: https://svnweb.freebsd.org/changeset/base/319733 Log: rtwn: rename module (if_rtwn.ko -> rtwn.ko) to match module name + drop manpage link. Reported by: mav, hselasky Modified: head/ObsoleteFiles.inc head/share/ma

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

2017-07-04 Thread Andriy Voskoboinyk
Author: avos Date: Tue Jul 4 07:07:08 2017 New Revision: 320640 URL: https://svnweb.freebsd.org/changeset/base/320640 Log: rtwn_usb: reject too long (>16K) mbufs. While here move RTWN_TXBUFSZ constant from common to USB specific code (it's not used anywhere else). Modified: head/sys/d

svn commit: r320725 - in head/sys/dev/rtwn: . pci usb

2017-07-06 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jul 6 07:37:33 2017 New Revision: 320725 URL: https://svnweb.freebsd.org/changeset/base/320725 Log: rtwn: add Rx descriptor structures for common code. Remove any chipset specific usage of Rx descriptor structure / bits from common code to prevent misuse of fields

svn commit: r321401 - head/sys/net80211

2017-07-23 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jul 23 22:38:00 2017 New Revision: 321401 URL: https://svnweb.freebsd.org/changeset/base/321401 Log: net80211: do not allow to unload rate control module if it is still in use. Keep 'nrefs' counter up-to-date, so 'kldunload wlan_amrr' with 1+ active wlan(4) interfac

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

2017-07-30 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jul 30 18:29:28 2017 New Revision: 321724 URL: https://svnweb.freebsd.org/changeset/base/321724 Log: MFC r321401: net80211: do not allow to unload rate control module if it is still in use. Keep 'nrefs' counter up-to-date, so 'kldunload wlan_amrr' with 1+ active w

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

2017-07-30 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jul 30 18:38:05 2017 New Revision: 321725 URL: https://svnweb.freebsd.org/changeset/base/321725 Log: MFC r321401: net80211: do not allow to unload rate control module if it is still in use. Keep 'nrefs' counter up-to-date, so 'kldunload wlan_amrr' with 1+ active w

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

2017-07-30 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jul 30 21:50:45 2017 New Revision: 321729 URL: https://svnweb.freebsd.org/changeset/base/321729 Log: rtwn: drop unnecessary / wrong conversion. The 'chan' field occupies only one byte. Modified: head/sys/dev/rtwn/rtl8188e/r88e_rx.c Modified: head/sys/dev/rtwn/rtl8

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

2017-07-30 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jul 30 22:17:08 2017 New Revision: 321732 URL: https://svnweb.freebsd.org/changeset/base/321732 Log: zyd: code cleanup + drop unneeded cast. No functional change intended. Modified: head/sys/dev/usb/wlan/if_zyd.c Modified: head/sys/dev/usb/wlan/if_zyd.c ==

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

2017-07-30 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jul 30 23:35:21 2017 New Revision: 321735 URL: https://svnweb.freebsd.org/changeset/base/321735 Log: rtwn_usb: add support for fragmented Rx. Since device can pass multiple frames in a single payload temporary Rx buffer was big enough to hold all of them; now the dr

<    1   2   3   4   5   6   7   8   >