svn commit: r330202 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:34:48 2018 New Revision: 330202 URL: https://svnweb.freebsd.org/changeset/base/330202 Log: MFC r318012: [iwm] Allow listening on both chains/atennas to get diversity. This might improve throughput slightly when far from the accesspoint, apparently

svn commit: r330201 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:34:21 2018 New Revision: 330201 URL: https://svnweb.freebsd.org/changeset/base/330201 Log: MFC r318005: [iwm] Add basic powermanagement support via ifconfig wlan0 powersave. * The DEVICE_POWER_FLAGS_CAM_MSK flag was removed in the upstream iwlwifi

svn commit: r330191 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:20:16 2018 New Revision: 330191 URL: https://svnweb.freebsd.org/changeset/base/330191 Log: MFC r314082: [iwm] Move iwm_dma_contig_alloc/_free functions to if_iwm_util.c. Modified: stable/11/sys/dev/iwm/if_iwm.c stable/11/sys/dev/iwm/if_iwm_util.c

svn commit: r330205 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:38:06 2018 New Revision: 330205 URL: https://svnweb.freebsd.org/changeset/base/330205 Log: MFC r318215: [iwm] change the check for ADD_STA status, use IWM_ADD_STA_STATUS_MASK. Modified: stable/11/sys/dev/iwm/if_iwm.c Directory Properties: stable/11/

svn commit: r330198 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:31:07 2018 New Revision: 330198 URL: https://svnweb.freebsd.org/changeset/base/330198 Log: MFC r315926: [iwm] Add the BSS's basic rates to iwm's LQ command, not all the rates. Makes the firmware use appropriate Tx rates for ACKs. Modified:

svn commit: r330190 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:19:53 2018 New Revision: 330190 URL: https://svnweb.freebsd.org/changeset/base/330190 Log: MFC r314081: [iwm] Switch 7265D and 3165 devices to 7265D firmware. Modified: stable/11/sys/dev/iwm/if_iwm_7000.c Directory Properties: stable/11/ (props

svn commit: r330196 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:27:39 2018 New Revision: 330196 URL: https://svnweb.freebsd.org/changeset/base/330196 Log: MFC r315784: [iwm] Make ucode capabilities and api flags handling more like iwlwifi. Modified: stable/11/sys/dev/iwm/if_iwm.c

svn commit: r330193 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:24:03 2018 New Revision: 330193 URL: https://svnweb.freebsd.org/changeset/base/330193 Log: MFC r315777: [iwm] Get rid of struct iwm_rx_data argument for iwm_mvm_rx_rx_mpdu. Modified: stable/11/sys/dev/iwm/if_iwm.c Directory Properties: stable/11/

svn commit: r330186 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:16:11 2018 New Revision: 330186 URL: https://svnweb.freebsd.org/changeset/base/330186 Log: MFC r314070: [iwm] Fix typo in commit a7697ea01c11fd493aec52260a02f31df680eb91. * The sc->sc_uc.uc_error_event_table value is now at sc->error_event_table,

svn commit: r330197 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:29:02 2018 New Revision: 330197 URL: https://svnweb.freebsd.org/changeset/base/330197 Log: MFC r315923: [iwm] Tiny cleanup in iwm_rx_addbuf(). Modified: stable/11/sys/dev/iwm/if_iwm.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r330183 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:13:01 2018 New Revision: 330183 URL: https://svnweb.freebsd.org/changeset/base/330183 Log: MFC r314066: [iwm] Sync IWM_MVM_ALIVE waiting and start_fw handling with iwlwifi. * Use the notification wait API, like it's done in the Linux iwlwifi code,

svn commit: r330192 - in stable/11/sys: conf dev/iwm modules/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:22:14 2018 New Revision: 330192 URL: https://svnweb.freebsd.org/changeset/base/330192 Log: MFC r314192,r314209: [iwm] Add support for Firmware paging, needed for newer 8000C firmware. * Uses the IWM_FW_PAGING_BLOCK_CMD firmware command to tell the

svn commit: r330187 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:16:40 2018 New Revision: 330187 URL: https://svnweb.freebsd.org/changeset/base/330187 Log: MFC r314074: [iwm] Simplify device id matching code a bit. * Just add the struct iwm_cfg pointers to the iwm_devices array, to get rid of the large switch

svn commit: r330195 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:27:10 2018 New Revision: 330195 URL: https://svnweb.freebsd.org/changeset/base/330195 Log: MFC r315780: [iwm] Remove a couple of unneeded IWM_UCODE_TLV_FLAGS_* flags. * All the supported firmwares have these flags set. * This removes the

svn commit: r330194 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:25:03 2018 New Revision: 330194 URL: https://svnweb.freebsd.org/changeset/base/330194 Log: MFC r315778: [iwm] Move mbuf hacks after sanity checks in iwm_mvm_rx_rx_mpdu(). * This avoids leaving the mbuf in a weird state, when dropping a packet.

svn commit: r330189 - stable/11/sys/modules/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:19:12 2018 New Revision: 330189 URL: https://svnweb.freebsd.org/changeset/base/330189 Log: MFC 314151: Unbreak if_iwm.ko after r314076 Add if_iwm_7000.c/if_iwm_8000.c to SRCS to match similar additions made to sys/conf/files after refactoring done

svn commit: r330184 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:14:09 2018 New Revision: 330184 URL: https://svnweb.freebsd.org/changeset/base/330184 Log: MFC r314067: [iwm] With the previous commits, this DELAY no longer seems to be needed. Modified: stable/11/sys/dev/iwm/if_iwm.c Directory Properties:

svn commit: r330188 - in stable/11/sys: conf dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:18:27 2018 New Revision: 330188 URL: https://svnweb.freebsd.org/changeset/base/330188 Log: MFC r314076: [iwm] Move struct iwm_cfg chipset configs to if_iwm_7000.c and _8000.c * This is more similar to how code/definitions are distributed in

svn commit: r330185 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:15:01 2018 New Revision: 330185 URL: https://svnweb.freebsd.org/changeset/base/330185 Log: MFC r314069: [iwm] Get rid of unneeded IWM_FWDMASEGSZ and IWM_FWMAXSIZE constants * We only need IWM_FH_MEM_TB_MAX_LENGTH bytes for the fw_dma memory.

svn commit: r330177 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:54:39 2018 New Revision: 330177 URL: https://svnweb.freebsd.org/changeset/base/330177 Log: MFC r313417: [iwm] Very basic DTS thermal sensor support (prints temp as debug msg). * Adds IWM_DEBUG_TEMP debug message type, for printing messages related

svn commit: r330182 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:01:33 2018 New Revision: 330182 URL: https://svnweb.freebsd.org/changeset/base/330182 Log: MFC r314065: [iwm] Synchronize firmware loading code with Linux iwlwifi. * While there, rename some functions to match the names and functionality of the

svn commit: r330180 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:00:31 2018 New Revision: 330180 URL: https://svnweb.freebsd.org/changeset/base/330180 Log: MFC r313429: [iwm] SCAN_ABORT_UMAC response doesn't use a wide id Modified: stable/11/sys/dev/iwm/if_iwm.c Directory Properties: stable/11/ (props changed)

svn commit: r330174 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:52:27 2018 New Revision: 330174 URL: https://svnweb.freebsd.org/changeset/base/330174 Log: MFC r313414: [iwm] Use iwm_mvm_scan_stop_wait to properly abort scans. * Add IWM_FLAG_SCAN_RUNNING to sc->sc_flags to track whether the firmware is

svn commit: r330173 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:51:35 2018 New Revision: 330173 URL: https://svnweb.freebsd.org/changeset/base/330173 Log: MFC r313413: [iwm] Add scan abort functions, to properly cancel a running scan. * Uses the notification wait api to wait for the corresponding scan

svn commit: r330179 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:59:58 2018 New Revision: 330179 URL: https://svnweb.freebsd.org/changeset/base/330179 Log: MFC r313427: [iwm] Recognize the IWM_UCODE_TLV_FW_MEM_SEG firmware section type. * Will be needed for loading version 22 of 7265D firmware. Modified:

svn commit: r330172 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:50:48 2018 New Revision: 330172 URL: https://svnweb.freebsd.org/changeset/base/330172 Log: MFC r313412: [iwm] Get rid of iwm_disable_rx_dma, just use iwm_pcie_rx_stop directly. * This also fixes one of many small nic lock handling bugs, and matches

svn commit: r330181 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 06:00:59 2018 New Revision: 330181 URL: https://svnweb.freebsd.org/changeset/base/330181 Log: MFC r313430: [iwm] Remove 1s delay after fw loading. Can't reproduce issues on AC8260. The 1s delay was added in the update to version 16 fw, where Family 8000

svn commit: r330178 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:58:53 2018 New Revision: 330178 URL: https://svnweb.freebsd.org/changeset/base/330178 Log: MFC r313418: [iwm] Recognize IWM_DTS_MEASUREMENT_NOTIF_WIDE notification. * Add the command groups enum, and the iwm_phy_ops_subcmd_ids enum to if_iwmreg.h

svn commit: r330176 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:53:55 2018 New Revision: 330176 URL: https://svnweb.freebsd.org/changeset/base/330176 Log: MFC r313416: [iwm] Only for family 7000 power-down busmaster DMA clocks when stopping. Modified: stable/11/sys/dev/iwm/if_iwm.c Directory Properties:

svn commit: r330169 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:46:11 2018 New Revision: 330169 URL: https://svnweb.freebsd.org/changeset/base/330169 Log: MFC r313317: [iwm] Change 2nd arg of iwm_phy_db_set_section() to struct iwm_rx_packet. * This matches the function declaration in Linux's iwlwifi. Modified:

svn commit: r330170 - in stable/11/sys: conf dev/iwm modules/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:48:20 2018 New Revision: 330170 URL: https://svnweb.freebsd.org/changeset/base/330170 Log: MFC r313322,r313354: [iwm] Add implementation of the notification wait api from iwlwifi. Added: stable/11/sys/dev/iwm/if_iwm_notif_wait.c - copied unchanged

svn commit: r330175 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:53:12 2018 New Revision: 330175 URL: https://svnweb.freebsd.org/changeset/base/330175 Log: MFC r313415: [iwm] Implement apmg_wake_up_wa workaround properly for 7000 family. * Add iwm_pcie_set_cmd_in_flight() and iwm_pcie_clear_cmd_in_flight()

svn commit: r330171 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:49:32 2018 New Revision: 330171 URL: https://svnweb.freebsd.org/changeset/base/330171 Log: MFC r313325: [iwm] Use notification wait API to wait for calibration to complete. Tested: * 7260, STA mode (2g, 5g) Modified:

svn commit: r330168 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:45:22 2018 New Revision: 330168 URL: https://svnweb.freebsd.org/changeset/base/330168 Log: MFC r313315,r313316: [iwm] Get rid of some gratuitous constant renaming wrt. Linux iwlwifi. * IWM_UCODE_SECT_MAX -> IWM_UCODE_SECTION_MAX *

svn commit: r330165 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:42:00 2018 New Revision: 330165 URL: https://svnweb.freebsd.org/changeset/base/330165 Log: MFC r313311: [iwm] Sync nvm parsing code with Linux iwlwifi. * sc->sc_nvm becomes sc->nvm_data and is now a pointer instead of an inlined struct. *

svn commit: r330166 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:43:10 2018 New Revision: 330166 URL: https://svnweb.freebsd.org/changeset/base/330166 Log: MFC r313312: [iwm] Use chipset configuration structs like iwlwifi does. * This makes it a bit easier to factor out common parts for e.g. the 7000 chipset

svn commit: r330167 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:44:16 2018 New Revision: 330167 URL: https://svnweb.freebsd.org/changeset/base/330167 Log: MFC r313314: [iwm] Sync valid_tx_ant and valid_rx_ant mask handling with iwlwifi. * This fixes the phy_cfg field sent in the iwm_send_phy_cfg_cmd()

svn commit: r330164 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:40:00 2018 New Revision: 330164 URL: https://svnweb.freebsd.org/changeset/base/330164 Log: MFC r313310: [iwm] make sure we call iwm_detach_local() only once. Modified: stable/11/sys/dev/iwm/if_iwm.c stable/11/sys/dev/iwm/if_iwmvar.h Directory

svn commit: r330162 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:09:08 2018 New Revision: 330162 URL: https://svnweb.freebsd.org/changeset/base/330162 Log: MFC r313308: [iwm] The HW Revision stepping constants should be in if_iwmreg.h. Modified: stable/11/sys/dev/iwm/if_iwmreg.h stable/11/sys/dev/iwm/if_iwmvar.h

svn commit: r330161 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:08:27 2018 New Revision: 330161 URL: https://svnweb.freebsd.org/changeset/base/330161 Log: MFC r313307: [iwm] TODO for QOS support. Modified: stable/11/sys/dev/iwm/if_iwm_mac_ctxt.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r330163 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:09:49 2018 New Revision: 330163 URL: https://svnweb.freebsd.org/changeset/base/330163 Log: MFC r313309: [iwm] Sync if_iwm_phy_db code with Linux iwlwifi. Modified: stable/11/sys/dev/iwm/if_iwm.c stable/11/sys/dev/iwm/if_iwm_phy_db.c

svn commit: r330159 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:05:08 2018 New Revision: 330159 URL: https://svnweb.freebsd.org/changeset/base/330159 Log: MFC r308577: iwm: If firmware load fails during init via iwm_preinit() we bail out before calling ieee80211_ifattach() so the taskqueue hasn't been initialized.

svn commit: r330157 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:01:55 2018 New Revision: 330157 URL: https://svnweb.freebsd.org/changeset/base/330157 Log: MFC r306900: iwm: add missing 'Rx errors' counter incrementation. Modified: stable/11/sys/dev/iwm/if_iwm.c Directory Properties: stable/11/ (props changed)

svn commit: r330158 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:03:18 2018 New Revision: 330158 URL: https://svnweb.freebsd.org/changeset/base/330158 Log: MFC r308183: [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,

svn commit: r330160 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 05:06:16 2018 New Revision: 330160 URL: https://svnweb.freebsd.org/changeset/base/330160 Log: MFC r308777: [iwm] Sync iwm_nvm_read_chunk() function with Linux iwlwifi. This fixes an error handling detail in iwm_nvm_read_chunk(), where an error

svn commit: r330156 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:59:55 2018 New Revision: 330156 URL: https://svnweb.freebsd.org/changeset/base/330156 Log: MFC r306286: [iwm] fix default antenna selection a bit; fix 5GHz rate control handling. * Don't do the antenna switching when setting up the rate table - we

svn commit: r330155 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:58:00 2018 New Revision: 330155 URL: https://svnweb.freebsd.org/changeset/base/330155 Log: MFC r306142: [iwm] use rate control info from the node txrates; use mgmtrate for EAPOL frames This changes the transmit rate control code to do a few things:

svn commit: r330154 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:56:49 2018 New Revision: 330154 URL: https://svnweb.freebsd.org/changeset/base/330154 Log: MFC r306007: [iwm] Improve reliability of iwm_release on disassociation a bit. * We need to first call ivp->iv_newstate(), to enqueue the deauth/deassoc

svn commit: r330153 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:55:00 2018 New Revision: 330153 URL: https://svnweb.freebsd.org/changeset/base/330153 Log: MFC r306005: [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.

svn commit: r330152 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:53:54 2018 New Revision: 330152 URL: https://svnweb.freebsd.org/changeset/base/330152 Log: MFC r306005: [iwm] Use IWM_DEFAULT_SCAN_CHANNELS define as default for sc_capa_n_scan_channels. Modified: stable/11/sys/dev/iwm/if_iwm.c

svn commit: r330151 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:52:23 2018 New Revision: 330151 URL: https://svnweb.freebsd.org/changeset/base/330151 Log: MFC r306004: [iwm] Remove deprecated scan API definitions. * This removes deprecated scan API definitions, which have been unused since the upgrade to

svn commit: r330150 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:50:42 2018 New Revision: 330150 URL: https://svnweb.freebsd.org/changeset/base/330150 Log: MFC r30600 [iwm] Remove wrappers around iwm_dma_contig_free() calls. No functional changes. Modified: stable/11/sys/dev/iwm/if_iwm.c Directory Properties:

svn commit: r330149 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:49:42 2018 New Revision: 330149 URL: https://svnweb.freebsd.org/changeset/base/330149 Log: MFC r306002 [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

svn commit: r330148 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:46:58 2018 New Revision: 330148 URL: https://svnweb.freebsd.org/changeset/base/330148 Log: MFC r306001 [iwm] Fix off-by-one check in iwm_read_firmware(). This fixes a potential buffer overrun in the firmware parsing code. Modified:

svn commit: r330146 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:43:52 2018 New Revision: 330146 URL: https://svnweb.freebsd.org/changeset/base/330146 Log: MFC r306000 [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

svn commit: r330145 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:28:54 2018 New Revision: 330145 URL: https://svnweb.freebsd.org/changeset/base/330145 Log: MFC r305999: [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

svn commit: r330144 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:26:33 2018 New Revision: 330144 URL: https://svnweb.freebsd.org/changeset/base/330144 Log: MFC r305917: [iwm] fix up RSSI calculations for both scan results and normal RX operations. * hard code a noise floor of -96 for now. The noise floor update

svn commit: r330143 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:23:51 2018 New Revision: 330143 URL: https://svnweb.freebsd.org/changeset/base/330143 Log: MFC r304891: iwm: fix few comment typos. Modified: stable/11/sys/dev/iwm/if_iwmreg.h Directory Properties: stable/11/ (props changed) Modified:

svn commit: r330142 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 04:21:18 2018 New Revision: 330142 URL: https://svnweb.freebsd.org/changeset/base/330142 Log: MFC r304880: iwm: add 'command accepted' debug notification (copied from wpi(4)). Now it should be easier to find out which command causes firmware

svn commit: r330140 - stable/11/sys/dev/iwm

2018-02-28 Thread Eitan Adler
Author: eadler Date: Thu Mar 1 03:05:00 2018 New Revision: 330140 URL: https://svnweb.freebsd.org/changeset/base/330140 Log: MFC r314073: [iwm] Remove OpenBSD-specific comment. Beautify pci cfg space accesses. Modified: stable/11/sys/dev/iwm/if_iwm.c Directory Properties:

Re: svn commit: r324434 - in head/sys: dev/iwm modules/iwmfw/iwm8265fw

2018-02-27 Thread Eitan Adler
file is newly added) > +++ head/sys/modules/iwmfw/iwm8265fw/Makefile Mon Oct 9 15:48:56 2017 > (r324434) > @@ -0,0 +1,6 @@ > +# $FreeBSD$ > + > +KMOD= iwm8265fw > +IMG= iwm-8265-22 > + > +.include > ___ > svn-src-all@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org" -- Eitan Adler ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r329797 - stable/11/share/misc

2018-02-21 Thread Eitan Adler
Author: eadler Date: Thu Feb 22 02:39:33 2018 New Revision: 329797 URL: https://svnweb.freebsd.org/changeset/base/329797 Log: MFC r326633 r327282 r328085 r329311: share: update pci_vendors to 2018.02.15 Modified: stable/11/share/misc/pci_vendors Directory Properties: stable/11/

svn commit: r329599 - head/tools/tools/net80211/w00t/ap

2018-02-19 Thread Eitan Adler
Author: eadler Date: Mon Feb 19 19:01:46 2018 New Revision: 329599 URL: https://svnweb.freebsd.org/changeset/base/329599 Log: tools/80211: correct array index wh->i_dur is a two byte value; not a single byte set twice Reported by: swild...@dragonflybsd.org Modified:

svn commit: r329312 - head/etc/autofs

2018-02-15 Thread Eitan Adler
Author: eadler Date: Thu Feb 15 11:41:38 2018 New Revision: 329312 URL: https://svnweb.freebsd.org/changeset/base/329312 Log: etc: clean up trailing whitespace in autofs Obtained from:DragonFlyBSD (48a93f514f93ff671b7b6c9bbed54d45b3f65180) Modified: head/etc/autofs/special_media

svn commit: r329311 - head/share/misc

2018-02-15 Thread Eitan Adler
Author: eadler Date: Thu Feb 15 11:13:21 2018 New Revision: 329311 URL: https://svnweb.freebsd.org/changeset/base/329311 Log: share: update pci_vendors to 2018.02.15 MFC After:1 week Modified: head/share/misc/pci_vendors Modified: head/share/misc/pci_vendors

Re: svn commit: r329296 - head/sbin/devd

2018-02-14 Thread Eitan Adler
On 14 February 2018 at 19:48, Warner Losh <i...@bsdimp.com> wrote: > > > On Wed, Feb 14, 2018 at 8:39 PM, Warner Losh <i...@bsdimp.com> wrote: >> >> >> >> On Feb 14, 2018 8:23 PM, "Eitan Adler" <ead...@freebsd.org> wrote: >>

svn commit: r329296 - head/sbin/devd

2018-02-14 Thread Eitan Adler
Author: eadler Date: Thu Feb 15 03:22:53 2018 New Revision: 329296 URL: https://svnweb.freebsd.org/changeset/base/329296 Log: devd: don't pass in useless parameters to select(2) select(2) should be declared as restrict. In addition the only fd in the fdset is open O_RDONLY, and it's not

svn commit: r329259 - head/lib/msun/src

2018-02-14 Thread Eitan Adler
Author: eadler Date: Wed Feb 14 07:59:30 2018 New Revision: 329259 URL: https://svnweb.freebsd.org/changeset/base/329259 Log: msun: signed overflow in atan2 As a component of atan2(y, x), the case of x == 1.0 is farmed out to atan(y). The current implementation of this comparison is

svn commit: r329121 - stable/11/sys/dev/uart

2018-02-10 Thread Eitan Adler
Author: eadler Date: Sun Feb 11 07:04:48 2018 New Revision: 329121 URL: https://svnweb.freebsd.org/changeset/base/329121 Log: MFC r308926: Add Intel Atom Cherryview SOC HSUART support PR: 207910 Submitted by: johan...@brilliantservice.co.jp Modified:

svn commit: r329120 - stable/11/bin/ps

2018-02-10 Thread Eitan Adler
Author: eadler Date: Sun Feb 11 07:00:40 2018 New Revision: 329120 URL: https://svnweb.freebsd.org/changeset/base/329120 Log: MFC r304007: Correct the history of where ps first appeared. PR: 211741 Submitted by: Sevan Janiyan Modified:

svn commit: r328875 - in stable/10: contrib/file contrib/file/doc contrib/file/magic contrib/file/magic/Magdir contrib/file/python contrib/file/src contrib/file/tests lib/libmagic

2018-02-05 Thread Eitan Adler
Author: eadler Date: Mon Feb 5 08:50:34 2018 New Revision: 328875 URL: https://svnweb.freebsd.org/changeset/base/328875 Log: MFC r323683: MFV r323678: file 5.32 Added: stable/10/contrib/file/magic/Magdir/apache - copied unchanged from r323683, head/contrib/file/magic/Magdir/apache

svn commit: r328874 - in stable/11: contrib/file contrib/file/doc contrib/file/magic contrib/file/magic/Magdir contrib/file/python contrib/file/src contrib/file/tests lib/libmagic

2018-02-05 Thread Eitan Adler
Author: eadler Date: Mon Feb 5 08:20:11 2018 New Revision: 328874 URL: https://svnweb.freebsd.org/changeset/base/328874 Log: MFC r323683: MFV r323678: file 5.32 Added: stable/11/contrib/file/magic/Magdir/apache - copied unchanged from r323683, head/contrib/file/magic/Magdir/apache

svn commit: r328832 - head/usr.sbin/newsyslog

2018-02-03 Thread Eitan Adler
Author: eadler Date: Sat Feb 3 20:53:21 2018 New Revision: 328832 URL: https://svnweb.freebsd.org/changeset/base/328832 Log: newsyslog: fix typeo for 'zstd' Reported by: swild...@dragonflybsd.org MFC After:1 week Modified: head/usr.sbin/newsyslog/newsyslog.8 Modified:

svn commit: r328831 - head/share/man/man3

2018-02-03 Thread Eitan Adler
Author: eadler Date: Sat Feb 3 20:50:46 2018 New Revision: 328831 URL: https://svnweb.freebsd.org/changeset/base/328831 Log: pthread: adding missing header to man page Reported by: swild...@dragonflybsd.org Modified: head/share/man/man3/pthread_join.3 Modified:

svn commit: r328587 - stable/11/usr.sbin/newsyslog

2018-01-29 Thread Eitan Adler
Author: eadler Date: Tue Jan 30 04:50:23 2018 New Revision: 328587 URL: https://svnweb.freebsd.org/changeset/base/328587 Log: MFC r327451: newsyslog: implement 'p' flag Implement the 'p' flag for newsyslog from NetBSD. This flag results in the first log file for a given file to

svn commit: r328509 - head/tools/tools

2018-01-28 Thread Eitan Adler
Author: eadler Date: Sun Jan 28 05:45:20 2018 New Revision: 328509 URL: https://svnweb.freebsd.org/changeset/base/328509 Log: tools: remove note about diffburst. Said tool was removed in 1999 in r51579 Modified: head/tools/tools/README Modified: head/tools/tools/README

svn commit: r328503 - stable/11/lib/libiconv_modules/ISO2022

2018-01-27 Thread Eitan Adler
Author: eadler Date: Sun Jan 28 00:27:51 2018 New Revision: 328503 URL: https://svnweb.freebsd.org/changeset/base/328503 Log: MFC r328222: iconv: adding missing break break is probably intended and correct, but has no correctness implications due to is94 => is96 Modified:

svn commit: r328502 - stable/11/usr.bin/limits

2018-01-27 Thread Eitan Adler
Author: eadler Date: Sun Jan 28 00:26:05 2018 New Revision: 328502 URL: https://svnweb.freebsd.org/changeset/base/328502 Log: MFC r328212: limits(1): fix always true condition Modified: stable/11/usr.bin/limits/limits.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r328501 - stable/11/usr.bin/limits

2018-01-27 Thread Eitan Adler
Author: eadler Date: Sat Jan 27 23:40:41 2018 New Revision: 328501 URL: https://svnweb.freebsd.org/changeset/base/328501 Log: MFC r328206: limits(1): add missing break Modified: stable/11/usr.bin/limits/limits.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r328483 - stable/11/share/termcap

2018-01-27 Thread Eitan Adler
Author: eadler Date: Sat Jan 27 16:56:54 2018 New Revision: 328483 URL: https://svnweb.freebsd.org/changeset/base/328483 Log: MFC r328209: termcap: add xterm-termite Modified: stable/11/share/termcap/termcap Directory Properties: stable/11/ (props changed) Modified:

Re: svn commit: r328430 - head/sbin/devd

2018-01-25 Thread Eitan Adler
On 25 January 2018 at 21:02, Matt Joras <matt.jo...@gmail.com> wrote: > On Thu, Jan 25, 2018 at 8:52 PM, Warner Losh <i...@bsdimp.com> wrote: >> >> >> On Thu, Jan 25, 2018 at 9:40 PM, Eitan Adler <ead...@freebsd.org> wrote: >>> >>> Author: e

svn commit: r328431 - head/sbin/devd

2018-01-25 Thread Eitan Adler
Author: eadler Date: Fri Jan 26 05:03:37 2018 New Revision: 328431 URL: https://svnweb.freebsd.org/changeset/base/328431 Log: devd: readd virtual - my C++ knowledge is old and rusty. re-add virtual Modified: head/sbin/devd/devd.hh Modified: head/sbin/devd/devd.hh

svn commit: r328430 - head/sbin/devd

2018-01-25 Thread Eitan Adler
Author: eadler Date: Fri Jan 26 04:40:41 2018 New Revision: 328430 URL: https://svnweb.freebsd.org/changeset/base/328430 Log: devd: minor nits - mark usage as noreturn - config does not need a virtual destructor Modified: head/sbin/devd/devd.cc head/sbin/devd/devd.hh Modified:

svn commit: r328428 - head/share/examples/kld/cdev/module

2018-01-25 Thread Eitan Adler
Author: eadler Date: Fri Jan 26 04:24:39 2018 New Revision: 328428 URL: https://svnweb.freebsd.org/changeset/base/328428 Log: example cdev: use make_dev_s Make use of make_dev_s in the example cdev. While here, fix warnings. Reviewed by: rpokala Modified:

svn commit: r328427 - head/bin/dd

2018-01-25 Thread Eitan Adler
Author: eadler Date: Fri Jan 26 03:30:05 2018 New Revision: 328427 URL: https://svnweb.freebsd.org/changeset/base/328427 Log: dd(1): Use a local swapbytes() function. swab(3) has restrict qualifiers for src and dst. Avoid relying on undefined overlapping swab behavior. Obtained

svn commit: r328319 - head/usr.bin/m4

2018-01-23 Thread Eitan Adler
Author: eadler Date: Wed Jan 24 07:01:44 2018 New Revision: 328319 URL: https://svnweb.freebsd.org/changeset/base/328319 Log: m4: add annotations to various functions Explain to the compiler that several functions are either noreturn or take printf like arguments Discussed with:

svn commit: r328244 - stable/11/usr.bin/units

2018-01-21 Thread Eitan Adler
Author: eadler Date: Mon Jan 22 04:15:12 2018 New Revision: 328244 URL: https://svnweb.freebsd.org/changeset/base/328244 Log: MFC r328008: units(1) free savescr in error condition too CID: 978392 Modified: stable/11/usr.bin/units/units.c Directory Properties: stable/11/

svn commit: r328222 - head/lib/libiconv_modules/ISO2022

2018-01-21 Thread Eitan Adler
Author: eadler Date: Sun Jan 21 21:09:08 2018 New Revision: 328222 URL: https://svnweb.freebsd.org/changeset/base/328222 Log: iconv: adding missing break break is probably intended and correct, but has no correctness implications due to is94 => is96 Reviewed by: cem, jilles

svn commit: r328212 - head/usr.bin/limits

2018-01-21 Thread Eitan Adler
Author: eadler Date: Sun Jan 21 08:48:26 2018 New Revision: 328212 URL: https://svnweb.freebsd.org/changeset/base/328212 Log: limits(1): fix always true condition Reviewed by: imp MFC After:1 week Modified: head/usr.bin/limits/limits.c Modified: head/usr.bin/limits/limits.c

svn commit: r328209 - head/share/termcap

2018-01-20 Thread Eitan Adler
Author: eadler Date: Sat Jan 20 22:24:45 2018 New Revision: 328209 URL: https://svnweb.freebsd.org/changeset/base/328209 Log: termcap: add xterm-termite Obtained from:DragonFly MFC After:1 week Modified: head/share/termcap/termcap Modified: head/share/termcap/termcap

svn commit: r328206 - head/usr.bin/limits

2018-01-20 Thread Eitan Adler
Author: eadler Date: Sat Jan 20 18:27:00 2018 New Revision: 328206 URL: https://svnweb.freebsd.org/changeset/base/328206 Log: limits(1): add missing break Reported by: swild...@dragonflybsd.org MFC After:1 week Modified: head/usr.bin/limits/limits.c Modified:

svn commit: r328186 - stable/11/usr.bin/limits

2018-01-19 Thread Eitan Adler
Author: eadler Date: Sat Jan 20 01:01:28 2018 New Revision: 328186 URL: https://svnweb.freebsd.org/changeset/base/328186 Log: MFC r327946 r327947: limits(1): fix grammar PR: 225147 Modified: stable/11/usr.bin/limits/limits.1 Directory Properties: stable/11/ (props

Re: svn commit: r327949 - in head/sys/dev: aacraid advansys ath beri/virtio bnxt bwn ciss cxgbe/crypto esp fb gpio if_ndis iwi kbd liquidio liquidio/base mpr mps mpt mrsas mxge netmap nvme pst ral rp

2018-01-15 Thread Eitan Adler
-Differential revision:" tag in > this case. > > > I just list it per normal, but reopen the review if I need to. > If you keep the D in the message, phabricator will add a connection to the commit, even if you don't include the full "Differential Revision' line. -- Eitan Adler ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r328008 - head/usr.bin/units

2018-01-15 Thread Eitan Adler
Author: eadler Date: Mon Jan 15 17:27:43 2018 New Revision: 328008 URL: https://svnweb.freebsd.org/changeset/base/328008 Log: units(1): units(1) free savescr in error condition too CID: 978392 Reviewed by: des MFC After:1 week Modified: head/usr.bin/units/units.c

svn commit: r328006 - stable/11/lib/libc/stdio

2018-01-15 Thread Eitan Adler
Author: eadler Date: Mon Jan 15 16:51:04 2018 New Revision: 328006 URL: https://svnweb.freebsd.org/changeset/base/328006 Log: MFC r327099: fopen.1: document truncation This documentation truncation similar to POSIX and glibc. PR: 202545 Modified:

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

2018-01-14 Thread Eitan Adler
Author: eadler Date: Sun Jan 14 20:30:58 2018 New Revision: 327975 URL: https://svnweb.freebsd.org/changeset/base/327975 Log: vmm(4): add to Makefile r326281 added the vmm man page, but it needs to be installed. PR: 205705 Modified: head/share/man/man4/Makefile Modified:

svn commit: r327974 - stable/11/share/man/man4

2018-01-14 Thread Eitan Adler
Author: eadler Date: Sun Jan 14 20:23:44 2018 New Revision: 327974 URL: https://svnweb.freebsd.org/changeset/base/327974 Log: MFC r326281: Add vmm(4) man page PR: 205705 Added: stable/11/share/man/man4/vmm.4 - copied unchanged from r326281, head/share/man/man4/vmm.4

svn commit: r327947 - head/usr.bin/limits

2018-01-13 Thread Eitan Adler
Author: eadler Date: Sat Jan 13 21:37:14 2018 New Revision: 327947 URL: https://svnweb.freebsd.org/changeset/base/327947 Log: limits(1): also bump .Dd... PR: 225147 MFC After:1 week Modified: head/usr.bin/limits/limits.1 Modified: head/usr.bin/limits/limits.1

svn commit: r327946 - head/usr.bin/limits

2018-01-13 Thread Eitan Adler
Author: eadler Date: Sat Jan 13 21:36:39 2018 New Revision: 327946 URL: https://svnweb.freebsd.org/changeset/base/327946 Log: limits(1): fix grammar Submitted by: yuri PR: 225147 MFC After:1 week Modified: head/usr.bin/limits/limits.1 Modified:

svn commit: r327941 - head/usr.sbin/timed/timed

2018-01-13 Thread Eitan Adler
Author: eadler Date: Sat Jan 13 20:35:32 2018 New Revision: 327941 URL: https://svnweb.freebsd.org/changeset/base/327941 Log: timed: slave is an infinite loop, mark it as such Modified: head/usr.sbin/timed/timed/extern.h head/usr.sbin/timed/timed/slave.c Modified:

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