svn commit: r368246 - in head/sys/dev/usb: quirk storage

2020-12-01 Thread Bjoern A. Zeeb
Author: bz Date: Tue Dec 1 18:24:06 2020 New Revision: 368246 URL: https://svnweb.freebsd.org/changeset/base/368246 Log: USB umass: add quirk to not probe Some USB WLAN devices have "on-board" storage showing up as umass and making the root mount wait for a very long time. The WLAN

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Bjoern A. Zeeb
On 30 Nov 2020, at 14:53, cglogic wrote: So you propose to make it dependent on linuxkpi? What have to do a user who does not compile linuxkpi, but wants to use if_wg? If we’d move the implementations into linuxkpi you’d have to compile it to use if_wg. So that this however is only a

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Bjoern A. Zeeb
On 30 Nov 2020, at 9:27, Emmanuel Vadot wrote: On Mon, 30 Nov 2020 01:13:12 + "Bjoern A. Zeeb" wrote: On 29 Nov 2020, at 19:38, Matt Macy wrote: Author: mmacy Date: Sun Nov 29 19:38:03 2020 New Revision: 368163 URL: https://svnweb.freebsd.org/changeset/base/368163 Log: Imp

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Bjoern A. Zeeb
On 29 Nov 2020, at 19:38, Matt Macy wrote: Hi, Author: mmacy Date: Sun Nov 29 19:38:03 2020 New Revision: 368163 URL: https://svnweb.freebsd.org/changeset/base/368163 Log: Import kernel WireGuard support Data path largely shared with the OpenBSD implementation by Matt Dunwoodie MFC

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-29 Thread Bjoern A. Zeeb
On 29 Nov 2020, at 19:38, Matt Macy wrote: Author: mmacy Date: Sun Nov 29 19:38:03 2020 New Revision: 368163 URL: https://svnweb.freebsd.org/changeset/base/368163 Log: Import kernel WireGuard support Data path largely shared with the OpenBSD implementation by Matt Dunwoodie Reviewed

Re: svn commit: r368045 - in head: . etc/mtree rescue/rescue sbin sbin/ping sbin/ping/tests sbin/ping6 sbin/ping6/tests tools/build/mk

2020-11-27 Thread Bjoern A. Zeeb
On 26 Nov 2020, at 18:51, Alan Somers wrote: On Thu, Nov 26, 2020 at 2:16 AM Bjoern A. Zeeb < bzeeb-li...@lists.zabbadoz.net> wrote: On 26 Nov 2020, at 4:29, Alan Somers wrote: Author: asomers Date: Thu Nov 26 04:29:30 2020 New Revision: 368045 URL: https://svnweb.freebsd.org/changese

Re: svn commit: r368045 - in head: . etc/mtree rescue/rescue sbin sbin/ping sbin/ping/tests sbin/ping6 sbin/ping6/tests tools/build/mk

2020-11-26 Thread Bjoern A. Zeeb
On 26 Nov 2020, at 4:29, Alan Somers wrote: Author: asomers Date: Thu Nov 26 04:29:30 2020 New Revision: 368045 URL: https://svnweb.freebsd.org/changeset/base/368045 Log: Merge ping6 to ping There is now a single ping binary, which chooses to use ICMP or ICMPv4 based on the -4 and -6

svn commit: r368031 - in head: libexec/rc sys/netinet6

2020-11-25 Thread Bjoern A. Zeeb
Author: bz Date: Wed Nov 25 20:58:01 2020 New Revision: 368031 URL: https://svnweb.freebsd.org/changeset/base/368031 Log: IPv6: set ifdisabled in the kernel rather than in rc Enable ND6_IFF_IFDISABLED when the interface is created in the kernel before return to user space. This

svn commit: r367620 - stable/12/sys/arm64/arm64

2020-11-12 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 12 17:26:19 2020 New Revision: 367620 URL: https://svnweb.freebsd.org/changeset/base/367620 Log: MFC r367538: arm64: bs_sr_ take II In r367327 generic_bs_sr_ were derived from mips. Given we are calling generic_bs_w_ and no write directly, we do not

svn commit: r367540 - stable/12/sys/dev/usb

2020-11-09 Thread Bjoern A. Zeeb
Author: bz Date: Mon Nov 9 23:38:39 2020 New Revision: 367540 URL: https://svnweb.freebsd.org/changeset/base/367540 Log: MFC r367435,367539: usb_hub: giving up port reset - device vanished Improve the output of the recently often experienced debug message in order to gather

svn commit: r367539 - head/sys/dev/usb

2020-11-09 Thread Bjoern A. Zeeb
Author: bz Date: Mon Nov 9 23:36:51 2020 New Revision: 367539 URL: https://svnweb.freebsd.org/changeset/base/367539 Log: usb_hub: fix whitespace Fix a whitespace "error" introduced in r367435 noticed when preparing the MFC. No functional changes. Modified: head/sys/dev/usb/usb_hub.c

svn commit: r367538 - head/sys/arm64/arm64

2020-11-09 Thread Bjoern A. Zeeb
Author: bz Date: Mon Nov 9 23:34:32 2020 New Revision: 367538 URL: https://svnweb.freebsd.org/changeset/base/367538 Log: arm64: bs_sr_ take II In r367327 generic_bs_sr_ were derived from mips. Given we are calling generic_bs_w_ and no write directly, we do not have to do the address

svn commit: r367451 - stable/12/sys/arm64/arm64

2020-11-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Nov 7 16:35:48 2020 New Revision: 367451 URL: https://svnweb.freebsd.org/changeset/base/367451 Log: MFC r367327: arm64: implement bs_sr_ Implement the bs_sr_ generic functions based on the generic mips implementation calling the generic bs_w_ functions in

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

2020-11-07 Thread Bjoern A. Zeeb
Author: bz Date: Sat Nov 7 16:34:21 2020 New Revision: 367450 URL: https://svnweb.freebsd.org/changeset/base/367450 Log: MFC r367326: net80211: fix a typo Correct a typo referring to the wrong flags in a comment. No functional changes. Modified:

svn commit: r367435 - head/sys/dev/usb

2020-11-06 Thread Bjoern A. Zeeb
Author: bz Date: Fri Nov 6 22:40:00 2020 New Revision: 367435 URL: https://svnweb.freebsd.org/changeset/base/367435 Log: usb_hub: giving up port reset - device vanished Improve the output of the recently often experienced debug message in order to gather further data. PR:

svn commit: r367385 - stable/12/sys/dev/rtwn/usb

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 15:27:38 2020 New Revision: 367385 URL: https://svnweb.freebsd.org/changeset/base/367385 Log: MFC r366268 (and epoch parts of r357093): rtwn: narrow the epoch area Rather than placing the epoch around the entire receive loop which might call into

svn commit: r367382 - stable/12/sys/dev/extres/clk

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 13:45:26 2020 New Revision: 367382 URL: https://svnweb.freebsd.org/changeset/base/367382 Log: MFC r366799: clk: fix indentation Just fix indentation of an if() clause. No functional changes intended. Modified: stable/12/sys/dev/extres/clk/clk.c

svn commit: r367381 - stable/12/sys/netinet

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 13:43:06 2020 New Revision: 367381 URL: https://svnweb.freebsd.org/changeset/base/367381 Log: MFC r366623: ip_mroute: fix the viftable export sysctl It seems that in r354857 I got more than one thing wrong. Convert the SYSCTL_OPAQUE to a SYSCTL_PROC

svn commit: r367380 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 13:38:26 2020 New Revision: 367380 URL: https://svnweb.freebsd.org/changeset/base/367380 Log: MFC r366523: LinuxKPI: add a bitfield.h implementation. This code was iteratively implemented during the work on various WiFi drivers -- from individual

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

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 12:17:50 2020 New Revision: 367378 URL: https://svnweb.freebsd.org/changeset/base/367378 Log: MFC r366817: net80211: factor out the priv(9) checks into OS specifc code. Factor out the priv(9) checks into OS specifc code so other OSes can equally

svn commit: r367377 - in stable/12: sbin/ifconfig sys/net80211

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 12:16:22 2020 New Revision: 367377 URL: https://svnweb.freebsd.org/changeset/base/367377 Log: MFC r366800: net80211: update for (more) VHT160 support Implement two macros IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_IS_160MHZ() and its 80+80 counter part to

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

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 12:14:51 2020 New Revision: 367376 URL: https://svnweb.freebsd.org/changeset/base/367376 Log: MFC r366525: net80211: whitespace Fix indentation for the multi-line copies of ieee80211_add_channel_list_5ghz() for the 3 bands. Modified:

svn commit: r367375 - stable/12/sbin/ifconfig

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 12:12:26 2020 New Revision: 367375 URL: https://svnweb.freebsd.org/changeset/base/367375 Log: MFC r366524: 80211: ifconfig replace MS() with _IEEE80211_MASKSHIFT() As we did in the kernel in r366112 replace the MS() macro with the version(s) added

svn commit: r367374 - in stable/12: lib/lib80211 sbin/ifconfig sys/net80211

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 12:10:24 2020 New Revision: 367374 URL: https://svnweb.freebsd.org/changeset/base/367374 Log: MFC r366522: 80211: non-functional changes Sort a few VHT160 and 80+80 lines, update some comments, and remove a superfluous ','. No functional

svn commit: r367373 - in stable/12/sys: dev/ath dev/bwn dev/iwn dev/malo dev/mwl net80211

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 12:08:04 2020 New Revision: 367373 URL: https://svnweb.freebsd.org/changeset/base/367373 Log: MFC r366112: Provide MS() and SM() macros for 80211 and wireless drivers. We have (two versions) of MS() and SM() macros which we use throughout the

svn commit: r367371 - stable/12/sys/dev/iwm

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 11:56:49 2020 New Revision: 367371 URL: https://svnweb.freebsd.org/changeset/base/367371 Log: MFC r365633: iwm: fix regression from r365419 (ieee80211_media_change()) In r365419 ieee80211_media_change() callers were updated to not longer act on the

svn commit: r367370 - stable/12/sys/dev/usb/storage

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 11:37:14 2020 New Revision: 367370 URL: https://svnweb.freebsd.org/changeset/base/367370 Log: MFC r365335: umass: enhance debugging Investigating a hang I found having some more error information available would be helpful, so be more verbose and

svn commit: r367369 - stable/12/sys/dev/usb/storage

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 11:33:23 2020 New Revision: 367369 URL: https://svnweb.freebsd.org/changeset/base/367369 Log: MFC r365334: umass: fix a cam_sim leak in error case While debugging a hang I noticed that in case of error in umass_cam_attach_sim() we miss a

svn commit: r367367 - stable/12/sys/cam

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 11:19:31 2020 New Revision: 367367 URL: https://svnweb.freebsd.org/changeset/base/367367 Log: MFC r365333: cam_sim: harmonize code related to acquiring a mtx cam_sim_free(), cam_sim_release(), and cam_sim_hold() all assign a mtx variable during

svn commit: r367366 - stable/12/sys/net

2020-11-05 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 5 11:11:50 2020 New Revision: 367366 URL: https://svnweb.freebsd.org/changeset/base/367366 Log: MFC r364305: For consistency and to avoid any problems getting past the 31bit boundry change the last two IF_Mbps(2500) and additionally one IF_Mbps(5000) to

svn commit: r367327 - head/sys/arm64/arm64

2020-11-04 Thread Bjoern A. Zeeb
Author: bz Date: Wed Nov 4 12:11:50 2020 New Revision: 367327 URL: https://svnweb.freebsd.org/changeset/base/367327 Log: arm64: implement bs_sr_ Implement the bs_sr_ generic functions based on the generic mips implementation calling the generic bs_w_ functions in a loop. ral(4)

svn commit: r367326 - head/sys/net80211

2020-11-04 Thread Bjoern A. Zeeb
Author: bz Date: Wed Nov 4 12:07:33 2020 New Revision: 367326 URL: https://svnweb.freebsd.org/changeset/base/367326 Log: net80211: fix a typo Correct a typo referring to the wrong flags in a comment. No functional changes. MFC after:3 days Sponsored by: Rubicon

svn commit: r366817 - head/sys/net80211

2020-10-18 Thread Bjoern A. Zeeb
Author: bz Date: Sun Oct 18 21:34:04 2020 New Revision: 366817 URL: https://svnweb.freebsd.org/changeset/base/366817 Log: net80211: factor out the priv(9) checks into OS specifc code. Factor out the priv(9) checks into OS specifc code so other OSes can equally implement them. This sorts

svn commit: r366800 - in head: sbin/ifconfig sys/net80211

2020-10-17 Thread Bjoern A. Zeeb
Author: bz Date: Sun Oct 18 00:27:20 2020 New Revision: 366800 URL: https://svnweb.freebsd.org/changeset/base/366800 Log: net80211: update for (more) VHT160 support Implement two macros IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_IS_160MHZ() and its 80+80 counter part to check in vhtcaps for

svn commit: r366799 - head/sys/dev/extres/clk

2020-10-17 Thread Bjoern A. Zeeb
Author: bz Date: Sat Oct 17 23:42:33 2020 New Revision: 366799 URL: https://svnweb.freebsd.org/changeset/base/366799 Log: clk: fix indentation Just fix indentation of an if() clause. No functional changes intended. MFC after:3 days Modified: head/sys/dev/extres/clk/clk.c

svn commit: r366798 - head/sys/kern

2020-10-17 Thread Bjoern A. Zeeb
Author: bz Date: Sat Oct 17 22:47:08 2020 New Revision: 366798 URL: https://svnweb.freebsd.org/changeset/base/366798 Log: ddb: add show sysinit command Add a show sysinit command to ddb (similar to show vnet_sysinit) which proved to be helpful to debug some ordering issues on early-mid

Re: svn commit: r366372 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf

2020-10-17 Thread Bjoern A. Zeeb
On 17 Oct 2020, at 20:48, Sean Bruno wrote: Same buildfailure with GENERIC-NODEBUG. Seems different. https://people.freebsd.org/~sbruno/backlight.txt HEAD with which version of the drm port/package? /bz sbruno@alice:~ % pkg info |grep kmod drm-current-kmod-4.16.g20200320 DRM modules

Re: svn commit: r366372 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf

2020-10-17 Thread Bjoern A. Zeeb
On 17 Oct 2020, at 20:14, Sean Bruno wrote: On 2020-10-17 05:27, Alexander V. Chernikov wrote: 02.10.2020, 19:26, "Emmanuel Vadot" : Author: manu Date: Fri Oct 2 18:26:41 2020 New Revision: 366372 URL: https://svnweb.freebsd.org/changeset/base/366372 Log:   linuxkpi:

svn commit: r366623 - head/sys/netinet

2020-10-10 Thread Bjoern A. Zeeb
Author: bz Date: Sun Oct 11 00:01:00 2020 New Revision: 366623 URL: https://svnweb.freebsd.org/changeset/base/366623 Log: ip_mroute: fix the viftable export sysctl It seems that in r354857 I got more than one thing wrong. Convert the SYSCTL_OPAQUE to a SYSCTL_PROC to properly export the

svn commit: r366525 - head/sys/net80211

2020-10-07 Thread Bjoern A. Zeeb
Author: bz Date: Wed Oct 7 22:52:24 2020 New Revision: 366525 URL: https://svnweb.freebsd.org/changeset/base/366525 Log: net80211: whitespace Fix indentation for the multi-line copies of ieee80211_add_channel_list_5ghz() for the 3 bands. MFC after:1 week Sponsored by: The

svn commit: r366524 - head/sbin/ifconfig

2020-10-07 Thread Bjoern A. Zeeb
Author: bz Date: Wed Oct 7 22:29:26 2020 New Revision: 366524 URL: https://svnweb.freebsd.org/changeset/base/366524 Log: 80211: ifconfig replace MS() with _IEEE80211_MASKSHIFT() As we did in the kernel in r366112 replace the MS() macro with the version(s) added to the kernel:

svn commit: r366523 - head/sys/compat/linuxkpi/common/include/linux

2020-10-07 Thread Bjoern A. Zeeb
Author: bz Date: Wed Oct 7 22:07:26 2020 New Revision: 366523 URL: https://svnweb.freebsd.org/changeset/base/366523 Log: LinuxKPI: add a bitfield.h implementation. This code was iteratively implemented during the work on various WiFi drivers -- from individual functions to a

svn commit: r366522 - in head: lib/lib80211 sbin/ifconfig sys/net80211

2020-10-07 Thread Bjoern A. Zeeb
Author: bz Date: Wed Oct 7 21:56:58 2020 New Revision: 366522 URL: https://svnweb.freebsd.org/changeset/base/366522 Log: 80211: non-functional changes Sort a few VHT160 and 80+80 lines, update some comments, and remove a superfluous ','. No functional changes intended. MFC

svn commit: r366268 - head/sys/dev/rtwn/usb

2020-09-29 Thread Bjoern A. Zeeb
Author: bz Date: Tue Sep 29 20:46:25 2020 New Revision: 366268 URL: https://svnweb.freebsd.org/changeset/base/366268 Log: rtwn: narrow the epoch area Rather than placing the epoch around the entire receive loop which might call into rtwn_rx_frame() and USB and sleep, split the loop

Re: svn commit: r366196 - head/sys/arm64/conf

2020-09-27 Thread Bjoern A. Zeeb
On 27 Sep 2020, at 10:15, Michal Meloun wrote: Author: mmel Date: Sun Sep 27 10:15:03 2020 New Revision: 366196 URL: https://svnweb.freebsd.org/changeset/base/366196 Log: Add LINUX_BOOT_ABI back to arm64 GENERIC kernel. It was removed in r355289 but forgot to return it back when new

svn commit: r366112 - in head/sys: dev/ath dev/bwn dev/iwn dev/malo dev/mwl net80211

2020-09-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 24 10:57:39 2020 New Revision: 366112 URL: https://svnweb.freebsd.org/changeset/base/366112 Log: Provide MS() and SM() macros for 80211 and wireless drivers. We have (two versions) of MS() and SM() macros which we use throughout the wireless code. Change all but

Re: svn commit: r366042 - in head/stand: i386/zfsboot libsa

2020-09-23 Thread Bjoern A. Zeeb
On 23 Sep 2020, at 1:04, Warner Losh wrote: >Ideally, we'd keep the cp /dev/null in the > build as a regression test, Well or at least write a test case so that at least CI catches it. /bz ___ svn-src-all@freebsd.org mailing list

svn commit: r365673 - in releng/12.2: sbin/rtsol usr.sbin/rtsold

2020-09-12 Thread Bjoern A. Zeeb
Author: bz Date: Sat Sep 12 21:50:25 2020 New Revision: 365673 URL: https://svnweb.freebsd.org/changeset/base/365673 Log: MFS r365630 (markj, bz) - Capsicumize rtsol(8) and rtsold(8). - Avoid relying on pollution from libcasper.h. - Add script for "M bit". Approved by:

svn commit: r365670 - in releng/12.2: lib/lib80211 sbin/ifconfig share/man/man4 sys/contrib/dev/ath/ath_hal/ar9300 sys/dev/an sys/dev/ath sys/dev/ath/ath_dfs/null sys/dev/ath/ath_hal sys/dev/ath/at...

2020-09-12 Thread Bjoern A. Zeeb
Author: bz Date: Sat Sep 12 19:33:25 2020 New Revision: 365670 URL: https://svnweb.freebsd.org/changeset/base/365670 Log: MFS r365608: Merge WiFi net80211, drivers, and management in order to support better 11n and upcoming 11ac. This includes an ath(4) update, some run(4) 11n

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

2020-09-11 Thread Bjoern A. Zeeb
Author: bz Date: Fri Sep 11 14:18:47 2020 New Revision: 365633 URL: https://svnweb.freebsd.org/changeset/base/365633 Log: iwm: fix regression from r365419 (ieee80211_media_change()) In r365419 ieee80211_media_change() callers were updated to not longer act on the obselete ENETRESET

svn commit: r365630 - in stable/12: sbin/rtsol usr.sbin/rtsold

2020-09-11 Thread Bjoern A. Zeeb
Author: bz Date: Fri Sep 11 12:36:05 2020 New Revision: 365630 URL: https://svnweb.freebsd.org/changeset/base/365630 Log: MFC r342788,354926,364771 (markj, bz) - Capsicumize rtsol(8) and rtsold(8). - Avoid relying on pollution from libcasper.h. - Add script for "M bit". Added:

svn commit: r365608 - in stable/12: lib/lib80211 sbin/ifconfig share/man/man4 sys/contrib/dev/ath/ath_hal/ar9300 sys/dev/an sys/dev/ath sys/dev/ath/ath_dfs/null sys/dev/ath/ath_hal sys/dev/ath/ath_...

2020-09-10 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 10 19:00:17 2020 New Revision: 365608 URL: https://svnweb.freebsd.org/changeset/base/365608 Log: MFC r344749-344750,344841-344843,345284,346405,346470,347140-347141,348331, 349593,351868,353506-353507,353809,353853,353858,353860,356852,359063,

Re: svn commit: r365445 - head/sys/cam/mmc

2020-09-08 Thread Bjoern A. Zeeb
On 8 Sep 2020, at 7:10, Andriy Gapon wrote: On 08/09/2020 08:46, Andriy Gapon wrote: Author: avg Date: Tue Sep 8 05:46:10 2020 New Revision: 365445 URL: https://svnweb.freebsd.org/changeset/base/365445 Log: mmc_da: make sure that part_index is not used uninitialized in sddastart [snip]

svn commit: r365419 - in head/sys/dev: ath bwi iwm iwn mwl otus usb/wlan wtap

2020-09-07 Thread Bjoern A. Zeeb
Author: bz Date: Mon Sep 7 15:35:40 2020 New Revision: 365419 URL: https://svnweb.freebsd.org/changeset/base/365419 Log: WiFi: fix ieee80211_media_change() callers In r178354 with the introduction of multi-bss ("vap") support factoring out started and with r193340

svn commit: r365416 - stable/12

2020-09-07 Thread Bjoern A. Zeeb
Author: bz Date: Mon Sep 7 14:22:27 2020 New Revision: 365416 URL: https://svnweb.freebsd.org/changeset/base/365416 Log: MFC r364466: After the clang/llvm version 11 import LLD_VERSION is no longer used upstream so Version.inc now only defines LLD_VERSION_STRING. This breaks

svn commit: r365350 - head/sys/netinet/tcp_stacks

2020-09-04 Thread Bjoern A. Zeeb
Author: bz Date: Sat Sep 5 00:20:32 2020 New Revision: 365350 URL: https://svnweb.freebsd.org/changeset/base/365350 Log: bbr: remove unused static function bbr_log_type_hrdwtso() is a file local static unused function. Remove it to avoid warnings on kernel compiles. Reviewed by:

svn commit: r365349 - head/sys/kern

2020-09-04 Thread Bjoern A. Zeeb
Author: bz Date: Sat Sep 5 00:19:40 2020 New Revision: 365349 URL: https://svnweb.freebsd.org/changeset/base/365349 Log: uipc_ktls: remove unused static function m_segments() was added with r363464 but never used. Remove it to avoid warnings when compiling kernels. Reported by:

svn commit: r365335 - head/sys/dev/usb/storage

2020-09-04 Thread Bjoern A. Zeeb
Author: bz Date: Fri Sep 4 18:29:59 2020 New Revision: 365335 URL: https://svnweb.freebsd.org/changeset/base/365335 Log: umass: enhance debugging Investigating a hang I found having some more error information available would be helpful, so be more verbose and also tell cam/xpt status

svn commit: r365334 - head/sys/dev/usb/storage

2020-09-04 Thread Bjoern A. Zeeb
Author: bz Date: Fri Sep 4 18:26:35 2020 New Revision: 365334 URL: https://svnweb.freebsd.org/changeset/base/365334 Log: umass: fix a cam_sim leak in error case While debugging a hang I noticed that in case of error in umass_cam_attach_sim() we miss a cam_sim_free() call. Added that

svn commit: r365333 - head/sys/cam

2020-09-04 Thread Bjoern A. Zeeb
Author: bz Date: Fri Sep 4 18:18:05 2020 New Revision: 365333 URL: https://svnweb.freebsd.org/changeset/base/365333 Log: cam_sim: harmonize code related to acquiring a mtx cam_sim_free(), cam_sim_release(), and cam_sim_hold() all assign a mtx variable during declaration and then if NULL

svn commit: r365230 - svnadmin/conf

2020-09-01 Thread Bjoern A. Zeeb
Author: bz Date: Tue Sep 1 22:36:24 2020 New Revision: 365230 URL: https://svnweb.freebsd.org/changeset/base/365230 Log: Release thj from mentorship. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors

svn commit: r365059 - in stable/12/sys: netinet netinet6 sys

2020-09-01 Thread Bjoern A. Zeeb
Author: bz Date: Tue Sep 1 19:54:43 2020 New Revision: 365059 URL: https://svnweb.freebsd.org/changeset/base/365059 Log: MFC r364018: IPV6_PKTINFO support for v4-mapped IPv6 sockets When using v4-mapped IPv6 sockets with IPV6_PKTINFO we do not respect the given v4-mapped src

svn commit: r364771 - head/usr.sbin/rtsold

2020-08-25 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 25 16:09:23 2020 New Revision: 364771 URL: https://svnweb.freebsd.org/changeset/base/364771 Log: rtsol(d): add script for "M bit" While we do support the "O bit" running a script (usually to start a dhcpv6 client) we have no options for setups which set the "M

svn commit: r364673 - in head/sys: dev/rtwn dev/usb/wlan net80211

2020-08-24 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 24 13:15:08 2020 New Revision: 364673 URL: https://svnweb.freebsd.org/changeset/base/364673 Log: net80211: enhance getflags*() and ieee80211_add_channel*() For ieee80211_add_channel+*() we are passing in an int flag for ht40 and in some cases another int flag for

svn commit: r364553 - head/sys/net80211

2020-08-23 Thread Bjoern A. Zeeb
Author: bz Date: Sun Aug 23 21:42:23 2020 New Revision: 364553 URL: https://svnweb.freebsd.org/changeset/base/364553 Log: net80211: improve media information for VHT5GHZ Improve ieee80211_media_setup(), media2mode(), and ieee80211_rate2media() for VHT5GHZ at least. Reviewed by:

svn commit: r364551 - head/sys/net80211

2020-08-23 Thread Bjoern A. Zeeb
Author: bz Date: Sun Aug 23 21:37:20 2020 New Revision: 364551 URL: https://svnweb.freebsd.org/changeset/base/364551 Log: net80211: set_vht_extchan() reverse order to always return best In set_vht_extchan() the checks are performed in the order of VHT20/40/80. That means if a channel has

svn commit: r364466 - head

2020-08-21 Thread Bjoern A. Zeeb
Author: bz Date: Fri Aug 21 22:31:45 2020 New Revision: 364466 URL: https://svnweb.freebsd.org/changeset/base/364466 Log: After the clang/llvm version 11 import LLD_VERSION is no longer used upstream so Version.inc now only defines LLD_VERSION_STRING. This breaks the WANT_LINKER_VERSION

svn commit: r364327 - head/sys/net80211

2020-08-17 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 17 20:18:01 2020 New Revision: 364327 URL: https://svnweb.freebsd.org/changeset/base/364327 Log: net80211: replace magic number by define Rather than coding an array size of [4] replace the number with WME_NUM_AC. MFC after:2 weeks Reviewed by: adrian

svn commit: r364326 - head/sys/net80211

2020-08-17 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 17 20:16:33 2020 New Revision: 364326 URL: https://svnweb.freebsd.org/changeset/base/364326 Log: net80211: VHT correct NSS Set loop boundary For the tuple, NSS is 1..8 (or in our loop case 0..7 but not 0..6). Correct the boundry to check for < 8 and not < 7.

svn commit: r364324 - head/sys/dev/mmc/host

2020-08-17 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 17 20:07:14 2020 New Revision: 364324 URL: https://svnweb.freebsd.org/changeset/base/364324 Log: dwmmc: remove printf even under bootverbose Remove two debugging printfs, even if hidden under boot -v. They seemed to be of debug nature and always spit onto the

svn commit: r364315 - head/sys/net80211

2020-08-17 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 17 16:51:21 2020 New Revision: 364315 URL: https://svnweb.freebsd.org/changeset/base/364315 Log: net80211: return 80P80 before 160 In ieee80211_vht_get_chwidth_ie() we need to return 80P80 (3) before VHT160 (2) as otherwise we'll never use 80P80. Fix the order.

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

2020-08-17 Thread Bjoern A. Zeeb
On 17 Aug 2020, at 16:42, Oliver Pinter wrote: On Monday, August 17, 2020, Bjoern A. Zeeb wrote: Author: bz Date: Mon Aug 17 16:28:59 2020 New Revision: 364312 URL: https://svnweb.freebsd.org/changeset/base/364312 Log: net80211: remove vertical whitespace No functional changes. MFC

svn commit: r364312 - head/sys/net80211

2020-08-17 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 17 16:28:59 2020 New Revision: 364312 URL: https://svnweb.freebsd.org/changeset/base/364312 Log: net80211: remove vertical whitespace No functional changes. MFC after:2 weeks Sponsored by: Rubicon Communications, LLC (d/b/a "Netgate") Modified:

svn commit: r364305 - head/sys/net

2020-08-17 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 17 13:51:25 2020 New Revision: 364305 URL: https://svnweb.freebsd.org/changeset/base/364305 Log: For consistency and to avoid any problems getting past the 31bit boundry change the last two IF_Mbps(2500) and additionally one IF_Mbps(5000) to ULL as well. MFC

svn commit: r364303 - in head: sbin/ifconfig sys/net80211

2020-08-17 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 17 13:04:18 2020 New Revision: 364303 URL: https://svnweb.freebsd.org/changeset/base/364303 Log: 80211: consistently order 160 and 80+80 For flags and checks the order goes VHT160 and then VHT80P80 unless checks are in reverse order ("more comes first") in which

svn commit: r364301 - in head: lib/lib80211 sbin/ifconfig sys/net80211

2020-08-17 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 17 12:52:57 2020 New Revision: 364301 URL: https://svnweb.freebsd.org/changeset/base/364301 Log: 80211: consistently spell 80P80 The standard uses 80+80 and 80p80 but nowhere 80_80. Switch the latter to 80P80 for all the macros and comments refering to #defined

svn commit: r364299 - in head: sbin/ifconfig sys/net80211

2020-08-17 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 17 12:43:07 2020 New Revision: 364299 URL: https://svnweb.freebsd.org/changeset/base/364299 Log: net80211 / ifconfig: cleanup the use of IEEE80211_FVHT_USEVHT* Rather then using magic numbers duplicate IEEE80211_FVHT_VHT* in ifconfig (cleanup of these and other

svn commit: r364075 - in head/sys: netinet netinet6

2020-08-10 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 10 10:58:43 2020 New Revision: 364075 URL: https://svnweb.freebsd.org/changeset/base/364075 Log: MC: add a note with reference to the discussion and history as-to why we are where we are now. The main thing is to try to get rid of the delayed freeing to avoid

svn commit: r364043 - head/sys/cam/mmc

2020-08-07 Thread Bjoern A. Zeeb
Author: bz Date: Fri Aug 7 19:58:16 2020 New Revision: 364043 URL: https://svnweb.freebsd.org/changeset/base/364043 Log: mmc_da: fix memory leak in sddaregister() In case we are failing to allocate mmcdata, we are returning with a softc allocated but not attached to anything and thus

svn commit: r364018 - in head/sys: netinet netinet6 sys

2020-08-07 Thread Bjoern A. Zeeb
Author: bz Date: Fri Aug 7 15:13:53 2020 New Revision: 364018 URL: https://svnweb.freebsd.org/changeset/base/364018 Log: IPV6_PKTINFO support for v4-mapped IPv6 sockets When using v4-mapped IPv6 sockets with IPV6_PKTINFO we do not respect the given v4-mapped src address on the IPv4

svn commit: r364012 - head/lib/lib80211

2020-08-07 Thread Bjoern A. Zeeb
Author: bz Date: Fri Aug 7 12:47:00 2020 New Revision: 364012 URL: https://svnweb.freebsd.org/changeset/base/364012 Log: lib80211: fix indentation of comments for some netbands. Whitespace only; no functional changes. MFC after:2 weeks Sponsored by: Rubicon Communications, LLC

svn commit: r364011 - in head: sbin/ifconfig share/man/man4 sys/net80211

2020-08-07 Thread Bjoern A. Zeeb
Author: bz Date: Fri Aug 7 12:24:23 2020 New Revision: 364011 URL: https://svnweb.freebsd.org/changeset/base/364011 Log: net80211/ifconfig: print hardware device name for wlan interfaces Add IEEE80211_IOC_IC_NAME to query the ic_name field and in ifconfig to print the parent interface

Re: svn commit: r363862 - head/sys/cam/mmc

2020-08-05 Thread Bjoern A. Zeeb
On 4 Aug 2020, at 20:04, Emmanuel Vadot wrote: Author: manu Date: Tue Aug 4 20:04:00 2020 New Revision: 363862 URL: https://svnweb.freebsd.org/changeset/base/363862 Log: mmccam: Hold the periph during init We need to sleep during this routine so acquire the cam hold too. Turns out that

Re: svn commit: r363489 - head/sys/dev/mmc/host

2020-07-24 Thread Bjoern A. Zeeb
On 24 Jul 2020, at 19:52, Emmanuel Vadot wrote: > Author: manu > Date: Fri Jul 24 19:52:52 2020 > New Revision: 363489 > URL: https://svnweb.freebsd.org/changeset/base/363489 > > Log: > dwmmc: Add MMCCAM part > > Add support for MMCCAM for dwmmc > > Submitted by: kibab > Tested On:

Re: svn commit: r363061 - in head/usr.sbin/wpa: hostapd wpa_supplicant

2020-07-10 Thread Bjoern A. Zeeb
On 9 Jul 2020, at 23:01, Cy Schubert wrote: > Author: cy > Date: Thu Jul 9 23:01:36 2020 > New Revision: 363061 > URL: https://svnweb.freebsd.org/changeset/base/363061 > > Log: > Enable support for IEEE 802.11N, 802.11W, 802.11AC and 802.11.AX to > hostapd and wpa_supplicant. Thank you for

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

2020-07-01 Thread Bjoern A. Zeeb
On 1 Jul 2020, at 0:23, Adrian Chadd wrote: Author: adrian Date: Wed Jul 1 00:23:49 2020 New Revision: 362815 URL: https://svnweb.freebsd.org/changeset/base/362815 Log: [net80211] Migrate HT/legacy protection mode and preamble calculation to per-VAP flags can you please put these changes

svn commit: r362494 - stable/12/sys/netinet

2020-06-22 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 22 10:52:30 2020 New Revision: 362494 URL: https://svnweb.freebsd.org/changeset/base/362494 Log: MFC r362472: Rather than zeroing MAXVIFS times size of pointer [r362289] (still better than sizeof pointer before [r354857]), we need to zero MAXVIFS times the

svn commit: r362472 - head/sys/netinet

2020-06-21 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jun 21 22:09:30 2020 New Revision: 362472 URL: https://svnweb.freebsd.org/changeset/base/362472 Log: Rather than zeroing MAXVIFS times size of pointer [r362289] (still better than sizeof pointer before [r354857]), we need to zero MAXVIFS times the size of the struct.

svn commit: r362465 - stable/12/sys/netinet

2020-06-21 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jun 21 11:48:55 2020 New Revision: 362465 URL: https://svnweb.freebsd.org/changeset/base/362465 Log: MFC r362289: When converting the static arrays to mallocarray() in r356621 I missed one place where we now need to multiply the size of the struct with the

svn commit: r362289 - head/sys/netinet

2020-06-17 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 17 21:04:38 2020 New Revision: 362289 URL: https://svnweb.freebsd.org/changeset/base/362289 Log: When converting the static arrays to mallocarray() in r356621 I missed one place where we now need to multiply the size of the struct with the number of entries. This

svn commit: r362288 - head/sys/netinet

2020-06-17 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 17 20:58:37 2020 New Revision: 362288 URL: https://svnweb.freebsd.org/changeset/base/362288 Log: The call into ifa_ifwithaddr() needs to be epoch protected; ortherwise we'll panic on an assertion. While here, leave a comment that the ifp was never protected and

Re: svn commit: r361723 - head/sys/compat/linuxkpi/common/include/linux

2020-06-02 Thread Bjoern A. Zeeb
On 2 Jun 2020, at 10:36, Emmanuel Vadot wrote: Hello Hans, On Tue, 2 Jun 2020 10:19:45 + (UTC) Hans Petter Selasky wrote: Author: hselasky Date: Tue Jun 2 10:19:45 2020 New Revision: 361723 URL: https://svnweb.freebsd.org/changeset/base/361723 Log: Implement struct_size() function

svn commit: r361444 - svnadmin/conf

2020-05-25 Thread Bjoern A. Zeeb
Author: bz Date: Mon May 25 09:52:44 2020 New Revision: 361444 URL: https://svnweb.freebsd.org/changeset/base/361444 Log: Release Peter Grehan (grehan) from "mentor ship". He can surf on his own again. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors

svn commit: r359630 - svnadmin/conf

2020-04-04 Thread Bjoern A. Zeeb
Author: bz Date: Sat Apr 4 11:11:27 2020 New Revision: 359630 URL: https://svnweb.freebsd.org/changeset/base/359630 Log: Welcome Peter Grehan (grehan) back (see r334992) as a source committer. I'll be "mentoring". Approved by: core (core-secretary) Modified: svnadmin/conf/access

svn commit: r359020 - stable/11/sys/kern

2020-03-16 Thread Bjoern A. Zeeb
Author: bz Date: Mon Mar 16 21:12:32 2020 New Revision: 359020 URL: https://svnweb.freebsd.org/changeset/base/359020 Log: MFC r358992: kern_jail: missing \0 termination check on osrelease parameter If a user spplies a non-\0 terminated osrelease parameter reading it back may

svn commit: r359021 - stable/12/sys/kern

2020-03-16 Thread Bjoern A. Zeeb
Author: bz Date: Mon Mar 16 21:12:46 2020 New Revision: 359021 URL: https://svnweb.freebsd.org/changeset/base/359021 Log: MFC r358992: kern_jail: missing \0 termination check on osrelease parameter If a user spplies a non-\0 terminated osrelease parameter reading it back may

svn commit: r358992 - head/sys/kern

2020-03-14 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 14 14:04:55 2020 New Revision: 358992 URL: https://svnweb.freebsd.org/changeset/base/358992 Log: kern_jail: missing \0 termination check on osrelease parameter If a user spplies a non-\0 terminated osrelease parameter reading it back may disclose kernel memory.

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

2020-03-11 Thread Bjoern A. Zeeb
Author: bz Date: Wed Mar 11 20:23:36 2020 New Revision: 358897 URL: https://svnweb.freebsd.org/changeset/base/358897 Log: Correctly spell TUNABLES. Modified: head/share/man/man4/liquidio.4 Modified: head/share/man/man4/liquidio.4

svn commit: r358625 - head/sys/net

2020-03-04 Thread Bjoern A. Zeeb
Author: bz Date: Wed Mar 4 17:17:02 2020 New Revision: 358625 URL: https://svnweb.freebsd.org/changeset/base/358625 Log: Implement optional table entry limits for if_llatbl. Implement counting of table entries linked on a per-table base with an optional (if set > 0) limit of the maximum

svn commit: r358620 - in head: sys/netinet usr.bin/netstat

2020-03-04 Thread Bjoern A. Zeeb
Author: bz Date: Wed Mar 4 16:20:59 2020 New Revision: 358620 URL: https://svnweb.freebsd.org/changeset/base/358620 Log: Add new ICMPv6 counters for Anti-DoS limits. Add four new counters for ND6 related Anti-DoS measures. We split these out into a separate upfront commit so that we

  1   2   3   4   5   6   7   8   9   10   >