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

2016-07-26 Thread Imre Vadász
Author: ivadasz Date: Tue Jul 26 21:27:02 2016 New Revision: 303345 URL: https://svnweb.freebsd.org/changeset/base/303345 Log: Mention AC3165 and AC8260 chipsets in iwm(4) and mention AC3165 in iwmfw(4) - Support for the AC3165 and AC8260 chipsets was added by r303322 and r303327.

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

2016-07-27 Thread Imre Vadász
Author: ivadasz Date: Wed Jul 27 20:51:31 2016 New Revision: 303418 URL: https://svnweb.freebsd.org/changeset/base/303418 Log: [iwm] When stopping TX DMA, wait for all channels at once. * Makes the TX DMA stopping more similar to Linux code, and potentially a bit faster. Also,

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

2016-07-27 Thread Imre Vadász
Author: ivadasz Date: Wed Jul 27 20:46:51 2016 New Revision: 303416 URL: https://svnweb.freebsd.org/changeset/base/303416 Log: [iwm] Set different pm_timeout for action frames. When building a Tx Command for management frames, we are lacking a check for action frames, for which

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

2016-07-27 Thread Imre Vadász
Author: ivadasz Date: Wed Jul 27 20:43:08 2016 New Revision: 303413 URL: https://svnweb.freebsd.org/changeset/base/303413 Log: [iwm] Fix inverted logic in iwm_tx(). The PROT_REQUIRE flag in should be set for data frames above a certain length, but we were setting it for !data

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

2016-07-30 Thread Imre Vadász
Author: ivadasz Date: Sat Jul 30 19:03:32 2016 New Revision: 303557 URL: https://svnweb.freebsd.org/changeset/base/303557 Log: [iwm] Fix iwm_poll_bit() usage in iwm_stop_device(), fixup r303418. * iwm_poll_bit() returns 1 on success and 0 on failure, whereas iwl_poll_bit() in Linux's

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

2016-09-19 Thread Imre Vadász
Author: ivadasz Date: Mon Sep 19 22:06:00 2016 New Revision: 305999 URL: https://svnweb.freebsd.org/changeset/base/305999 Log: [iwm] Use htole16 for policy field in struct iwm_time_event_cmd_v2. The htole32 was working fine for little-endian machines, but would have been broken on

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

2016-09-19 Thread Imre Vadász
Author: ivadasz Date: Mon Sep 19 22:08:47 2016 New Revision: 306000 URL: https://svnweb.freebsd.org/changeset/base/306000 Log: [iwm] Remove unused field from iwm_rx_data. Use uint32_t instead of enum type. The wantresp field in struct iwm_rx_data has never been used for anything, so we

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

2016-09-19 Thread Imre Vadász
Author: ivadasz Date: Mon Sep 19 22:11:34 2016 New Revision: 306001 URL: https://svnweb.freebsd.org/changeset/base/306001 Log: [iwm] Fix off-by-one check in iwm_read_firmware(). This fixes a potential buffer overrun in the firmware parsing code. Reported by: Coverity Approved by:

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

2016-09-19 Thread Imre Vadász
Author: ivadasz Date: Mon Sep 19 22:13:08 2016 New Revision: 306002 URL: https://svnweb.freebsd.org/changeset/base/306002 Log: [iwm] Fix iwm_poll_bit() error value check in iwm_attach(). The iwm(4) iwm_poll_bit() function returns 1 on success, and 0 on failure, whereas the iwl_poll_bit()

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

2016-09-19 Thread Imre Vadász
Author: ivadasz Date: Mon Sep 19 22:36:30 2016 New Revision: 306007 URL: https://svnweb.freebsd.org/changeset/base/306007 Log: [iwm] Improve reliability of iwm_release on disassociation a bit. * We need to first call ivp->iv_newstate(), to enqueue the deauth/deassoc mgmt frame, then

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

2016-09-19 Thread Imre Vadász
Author: ivadasz Date: Mon Sep 19 22:16:03 2016 New Revision: 306003 URL: https://svnweb.freebsd.org/changeset/base/306003 Log: [iwm] Remove wrappers around iwm_dma_contig_free() calls. No functional changes. Inspired by: OpenBSD Approved by: adrian (mentor) Differential

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

2016-09-19 Thread Imre Vadász
Author: ivadasz Date: Mon Sep 19 22:20:46 2016 New Revision: 306004 URL: https://svnweb.freebsd.org/changeset/base/306004 Log: [iwm] Remove deprecated scan API definitions. * This removes deprecated scan API definitions, which have been unused since the upgrade to version 16 firmware

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

2016-09-19 Thread Imre Vadász
Author: ivadasz Date: Mon Sep 19 22:23:46 2016 New Revision: 306005 URL: https://svnweb.freebsd.org/changeset/base/306005 Log: [iwm] Use IWM_DEFAULT_SCAN_CHANNELS define as default for sc_capa_n_scan_channels. Approved by: adrian (mentor) Obtained from:Linux iwlwifi

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

2016-09-19 Thread Imre Vadász
Author: ivadasz Date: Mon Sep 19 22:26:37 2016 New Revision: 306006 URL: https://svnweb.freebsd.org/changeset/base/306006 Log: [iwm] Remove dead fw_totlen from struct iwm_fw_sects; clean up struct iwm_nvm_data. * No functional change, none of these values were ever read. * The values

svn commit: r308785 - head/sys/net80211

2016-11-17 Thread Imre Vadász
Author: ivadasz Date: Thu Nov 17 21:52:00 2016 New Revision: 308785 URL: https://svnweb.freebsd.org/changeset/base/308785 Log: [net80211] Don't check bgscanidle setting in net80211 for full-offload scan. If full-offload scan is used, the NIC driver (or rather the firmware of the NIC)

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

2016-11-17 Thread Imre Vadász
Author: ivadasz Date: Thu Nov 17 20:00:20 2016 New Revision: 308777 URL: https://svnweb.freebsd.org/changeset/base/308777 Log: [iwm] Sync iwm_nvm_read_chunk() function with Linux iwlwifi. This fixes an error handling detail in iwm_nvm_read_chunk(), where an error response from the

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

2016-11-01 Thread Imre Vadász
Author: ivadasz Date: Tue Nov 1 22:47:58 2016 New Revision: 308185 URL: https://svnweb.freebsd.org/changeset/base/308185 Log: [iwm] Set full-offload scan flag. Fixes fw panic when already associated. * Starting a scan from wpa_supplicant or via ifconfig while associated, should no

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

2016-11-01 Thread Imre Vadász
Author: ivadasz Date: Tue Nov 1 22:38:26 2016 New Revision: 308183 URL: https://svnweb.freebsd.org/changeset/base/308183 Log: [iwm] Get rid of SYNC_RESP_STRUCT and SYNC_RESP_PTR macros. * SYNC_RESP_STRUCT and SYNC_RESP_PTR originate from the OpenBSD version of iwm, and they weren't

svn commit: r319350 - head/sys/dev/sdhci

2017-05-31 Thread Imre Vadász
Author: ivadasz Date: Wed May 31 19:20:27 2017 New Revision: 319350 URL: https://svnweb.freebsd.org/changeset/base/319350 Log: Fix typo in Driver Type A/C/D capability checks in sdhci. Use the SDHCI_CAN_DRIVE_TYPE_A/_C/_D masks to check for Driver Type support, instead of using the