Page MenuHomeFreeBSD

bz (Bjoern A. Zeeb)
User

Projects (12)

User Details

User Since
Aug 29 2014, 12:11 PM (544 w, 2 d)

Recent Activity

Yesterday

bz added a comment to D48763: kernel: Add `%pV` to kernel's printf format string.

device_printf() isn't a Linux API. Help me understand, maybe with an example, of why we'd need/want it to work there. The rewriting can be done with an inline block, so extra variables don't matter so much (I mean, it is the kernel, but I don't think this would break the bank).

Sat, Feb 1, 6:41 PM
bz committed rG95ea57c85639: LinnuxKPI: drm2: retire timespec_to_jiffies() (authored by bz).
LinnuxKPI: drm2: retire timespec_to_jiffies()
Sat, Feb 1, 12:50 AM
bz closed D48379: LinnuxKPI: drm2: retire timespec_to_jiffies().
Sat, Feb 1, 12:49 AM

Fri, Jan 31

bz committed rG94e6c8d7d19d: lindebugfs: use __func__ not __FUNCTION__ (authored by bz).
lindebugfs: use __func__ not __FUNCTION__
Fri, Jan 31, 11:54 PM
bz committed rG411c857b4cce: iwlwifi: module correct -DCONFIG_* (authored by bz).
iwlwifi: module correct -DCONFIG_*
Fri, Jan 31, 11:54 PM
bz committed rG7a5b55e3b448: rtw88/rtw89: add module_param to enable/disable HT/VHT and EHT (authored by bz).
rtw88/rtw89: add module_param to enable/disable HT/VHT and EHT
Fri, Jan 31, 11:54 PM
bz committed rGb4886c4ece3e: rtw88/rtw89: avoid duplicate top-level directory with debugfs (authored by bz).
rtw88/rtw89: avoid duplicate top-level directory with debugfs
Fri, Jan 31, 11:54 PM
bz committed rG446eab491e52: rtw89: turn on debugfs support (authored by bz).
rtw89: turn on debugfs support
Fri, Jan 31, 11:54 PM
bz closed D48736: lindebugfs: use __func__ not __FUNCTION__.
Fri, Jan 31, 11:54 PM
bz committed rG1b840f09b6b3: LinuxKPI: 802.11: remove rate_lowest_index() (authored by bz).
LinuxKPI: 802.11: remove rate_lowest_index()
Fri, Jan 31, 11:54 PM
bz committed rGc75a558d0729: LinuxKPI: 802.11: implement ieee80211_get_{he,eht}_iftype_cap{,_vif} (authored by bz).
LinuxKPI: 802.11: implement ieee80211_get_{he,eht}_iftype_cap{,_vif}
Fri, Jan 31, 11:54 PM
bz committed rGecb2e5f9c30a: LinuxKPI; 802.11 initalize ic_vht_cap.supp_mcs (authored by bz).
LinuxKPI; 802.11 initalize ic_vht_cap.supp_mcs
Fri, Jan 31, 11:54 PM
bz added a comment to D48678: preliminary usb support for fwget.
In D48678#1110205, @bz wrote:
Fri, Jan 31, 11:50 PM
bz added a comment to D48604: net80211: convert ni_txrate to a struct, with extra rate information.

updated; now it actually does do _HT and _VHT as separate rates, although both LEGACY and HT set dot11rate. That simplifies everything else.

Fri, Jan 31, 11:48 PM · wireless
bz added a comment to D48763: kernel: Add `%pV` to kernel's printf format string.
In D48763#1112273, @imp wrote:
Fri, Jan 31, 11:18 PM
bz added a comment to D48763: kernel: Add `%pV` to kernel's printf format string.

If we start this ..

Fri, Jan 31, 8:18 PM

Thu, Jan 30

bz abandoned D48723: rtw88: prevent skb leak take II.

This is covered by other local changes already to catch the skb in the error case and not the problem for the PR.

Thu, Jan 30, 11:56 PM
bz requested review of D48736: lindebugfs: use __func__ not __FUNCTION__.
Thu, Jan 30, 11:44 PM
bz updated the diff for D48723: rtw88: prevent skb leak take II.

Hopefully w/ the pci.c change this time.

Thu, Jan 30, 12:58 AM
bz requested review of D48723: rtw88: prevent skb leak take II.
Thu, Jan 30, 12:56 AM

Wed, Jan 29

bz added a reviewer for D48379: LinnuxKPI: drm2: retire timespec_to_jiffies(): dumbbell.

@dumbbell can you check drm-kmod will be fine on all relevant branches with this too (especially the older ones)?

Wed, Jan 29, 11:07 PM
bz added inline comments to D48606: rtwn: move to using ieee80211_node_get_txrate().
Wed, Jan 29, 12:58 AM · wireless
bz added inline comments to D48605: net80211: add ieee80211_node_get_txrate() to populate the "new" transmit struct.
Wed, Jan 29, 12:55 AM · wireless
bz added inline comments to D48604: net80211: convert ni_txrate to a struct, with extra rate information.
Wed, Jan 29, 12:52 AM · wireless
bz added inline comments to D48614: net80211: add static initialisers for the ieee80211_node_txrate options.
Wed, Jan 29, 12:44 AM · wireless

Mon, Jan 27

bz committed rG4ae0fa8a2f8b: ng_hci: add support for Bluetooth Secure Simple Pairing (authored by Andreas Kempe <kempe@lysator.liu.se>).
ng_hci: add support for Bluetooth Secure Simple Pairing
Mon, Jan 27, 1:29 PM
bz requested changes to D48604: net80211: convert ni_txrate to a struct, with extra rate information.

Actually not requesting changes yet but more requesting discussion ...

Mon, Jan 27, 12:21 AM · wireless

Sun, Jan 26

bz requested changes to D48603: net80211: change ieee80211_ratectl_rate() to not return a rix.
Sun, Jan 26, 10:31 PM · wireless
bz requested changes to D48601: net80211: remove direct use of ni->ni_txrate, add indirection methods.
Sun, Jan 26, 10:23 PM · wireless
bz requested changes to D48602: sys: convert ni->ni_txrate references use to the new net80211 API.
Sun, Jan 26, 10:23 PM · wireless
bz added a comment to D48601: net80211: remove direct use of ni->ni_txrate, add indirection methods.

I think the commit description needs updating to kbit/s.

Sun, Jan 26, 10:06 PM · wireless

Sat, Jan 25

bz requested changes to D25181: Introduce net.inet6.icmp6.reply_from_interface and net.inet6.icmp6.reply_src sysctls.
Sat, Jan 25, 10:57 AM
bz added a comment to D48678: preliminary usb support for fwget.

I was pondering this for a while -- also for other devices -- but I highly felt that usbconfig wanted some improvements first to make this a lot easier.
There are tricky bits with USB devices changing "identity" depending on quirks or other state (i.e., first show up as CD-ROM and then become a network device).

Sat, Jan 25, 10:34 AM
bz added a reviewer for D48678: preliminary usb support for fwget: USB.
Sat, Jan 25, 10:26 AM

Thu, Jan 23

bz abandoned D48474: rtw88: try to see if this is the skb leak.

The skbs are still leaking even with this so it should be elsewhere.

Thu, Jan 23, 8:18 PM

Mon, Jan 20

bz added a comment to D48523: linuxkpi: Introduce a properly typed jiffies.

I'll try to do both the testing and a review in the next 72 hours if that is ok.

Mon, Jan 20, 6:35 PM

Thu, Jan 16

bz accepted D48248: net80211: refactor amrr_update() into HT and legacy paths.

I just looked through the delta changes, so the original comment about the duplication assumption stays. The changes seem fine. Thank you for doing them!

Thu, Jan 16, 11:36 AM · wireless

Wed, Jan 15

bz committed rG054c5ddf587a: net80211: add IEEE80211_IS_LOCKED() (authored by bz).
net80211: add IEEE80211_IS_LOCKED()
Wed, Jan 15, 11:36 PM
bz closed D48475: net80211: add IEEE80211_IS_LOCKED().
Wed, Jan 15, 11:36 PM
bz requested review of D48475: net80211: add IEEE80211_IS_LOCKED().
Wed, Jan 15, 10:54 PM
bz requested review of D48474: rtw88: try to see if this is the skb leak.
Wed, Jan 15, 10:44 PM

Wed, Jan 8

bz added a reverting change for rGfd27f86dd71b: LinuxKPI: switch jiffies and timer->expire to unsigned long: rG2bb0efbb7b64: Revert: LinuxKPI: switch jiffies and timer->expire to unsigned long.
Wed, Jan 8, 8:34 AM
bz committed rG2bb0efbb7b64: Revert: LinuxKPI: switch jiffies and timer->expire to unsigned long (authored by bz).
Revert: LinuxKPI: switch jiffies and timer->expire to unsigned long
Wed, Jan 8, 8:34 AM
bz added a reverting change for D48318: LinuxKPI: switch jiffies and timer->expire to unsigned long: rG2bb0efbb7b64: Revert: LinuxKPI: switch jiffies and timer->expire to unsigned long.
Wed, Jan 8, 8:34 AM

Tue, Jan 7

bz accepted D48113: rtwn: don't set the RTS/CTS primary channel field for RTL8812AU/RTL8821AU.
Tue, Jan 7, 11:00 PM · wireless
bz accepted D48113: rtwn: don't set the RTS/CTS primary channel field for RTL8812AU/RTL8821AU.
Tue, Jan 7, 10:59 PM · wireless
bz requested review of D48379: LinnuxKPI: drm2: retire timespec_to_jiffies().
Tue, Jan 7, 10:51 PM
bz closed D48318: LinuxKPI: switch jiffies and timer->expire to unsigned long.
Tue, Jan 7, 10:48 PM
bz committed rGfd27f86dd71b: LinuxKPI: switch jiffies and timer->expire to unsigned long (authored by bz).
LinuxKPI: switch jiffies and timer->expire to unsigned long
Tue, Jan 7, 10:48 PM
bz added inline comments to D46656: LinuxKPI: make __kmalloc() play by the rules.
Tue, Jan 7, 8:15 PM
bz updated the diff for D48278: Status/2024Q4: Add lkpi-wireless.adoc.

Fix another typo.

Tue, Jan 7, 8:09 PM
bz added a comment to D46657: LinuxKPI: switch mallocarray to an lpi implementation using __kmalloc().

It's a helper function; because we do use mallocarray internally and it doesn't go by Linux guarantees on memory being physically contiguous in some cases. I can replace all the mallocarray calls directly with __kmalloc() but that just makes it harder to maintain in many places rather one. We can name this whatever we want it to be if you do not like the name...

Tue, Jan 7, 8:07 PM
bz added a comment to D48278: Status/2024Q4: Add lkpi-wireless.adoc.

@salvadore ? Can you approve as well?

Tue, Jan 7, 7:43 PM
bz added inline comments to D48318: LinuxKPI: switch jiffies and timer->expire to unsigned long.
Tue, Jan 7, 7:42 PM
bz committed rGa4cdb785bbd7: LinuxKPI: 802.11: improve the IMPROVE_HT() macro (authored by bz).
LinuxKPI: 802.11: improve the IMPROVE_HT() macro
Tue, Jan 7, 7:36 PM
bz closed D48375: net80211 / LinuxKPI 802.11: correct enum ieee80211_sta_rx_bw.
Tue, Jan 7, 7:34 PM
bz committed rG2c8b0d6205f6: net80211 / LinuxKPI 802.11: correct enum ieee80211_sta_rx_bw (authored by bz).
net80211 / LinuxKPI 802.11: correct enum ieee80211_sta_rx_bw
Tue, Jan 7, 7:34 PM
bz requested changes to D48113: rtwn: don't set the RTS/CTS primary channel field for RTL8812AU/RTL8821AU.
In D48113#1099180, @fuz wrote:

Not a big fan of #if 0. Can we either remove this entirely (it can be restored from git history if required) or put it behind a sysctl?

I'd rather leave it as #if 0 for now until I finish bringing up 11ac TX path and can properly dig into what's actually going on here.

It's possible that it's actually beneficial to force the RTS/CTS bandwidth versus letting the MAC do it; heck it could be the MAC is NOT sending RTS/CTS on other channels in wider channels (it needs to duplicate it for each 20MHz channel).

What I do know is the vendor driver and linux effectively ignore this field entirely and simply set it (by not setting it) to 0, but that doesn't mean it's "correct".

So, is a promise I'll go sort it out in more detail later enough? :-)

Tue, Jan 7, 7:18 PM · wireless
bz accepted D48118: rtwn: set the maximum AMPDU size correctly for RTL8812AU/RTL8821AU.

Adjust the comments and good to go I would say.

Tue, Jan 7, 7:14 PM · wireless
bz requested changes to D48140: rtwn: explicitly configure RTS based on basic rates.

There are pending requests fr changes from @fuz and me here.

Tue, Jan 7, 7:06 PM · wireless
bz requested changes to D48141: rtwn: refactor out datarate and short preamble setup.

One question from me (which may or may not lead to a follow-up change) and one request for change from @fuz

Tue, Jan 7, 7:04 PM · wireless
bz requested changes to D48142: rtwn: refactor out the r92c path protection decision / configuration.

@adrian, do you want to update according @fuz 's requests?

Tue, Jan 7, 6:58 PM · wireless
bz accepted D48143: rtwn: allow firmware rate control to be enabled for rtl8192cu.
Tue, Jan 7, 6:56 PM · wireless
bz added a comment to D48172: net80211: add macros for testing if a channel is defined / channel is "any channel".

Ok, so where do you want to take this? Find all the places in the tree and replace them, just do net80211 and leave the drivers? Just add the macros and let someone else do them all in a go?

Tue, Jan 7, 6:54 PM · wireless
bz added a comment to D48209: iwm: update rate tables from OpenBSD.

Not reviewed just expressing my indifference on this. I would rather see us getting other bits going and demote iwm.

Tue, Jan 7, 6:53 PM · wireless
bz accepted D48210: iwm: add sku_cap_mimo_disable; populate sku_cap_11n_enable.

Do you really want to pull 11n into iwm(4) still? Or do we have bigger fish to fry?

Tue, Jan 7, 6:48 PM · wireless
bz requested changes to D48248: net80211: refactor amrr_update() into HT and legacy paths.

Assuming you did the c&p replication in full this seems fine as a start modulo style.

Tue, Jan 7, 6:45 PM · wireless
bz requested review of D48375: net80211 / LinuxKPI 802.11: correct enum ieee80211_sta_rx_bw.
Tue, Jan 7, 6:22 PM
bz committed rG5fdc4824a5e2: net80211: (v)ht: use macros at hand (authored by bz).
net80211: (v)ht: use macros at hand
Tue, Jan 7, 6:19 PM
bz closed D48359: net80211: (v)ht: use macros at hand.
Tue, Jan 7, 6:19 PM
bz closed D48356: nnet80211: regdomain: add the two other 160MHz bands.
Tue, Jan 7, 6:17 PM
bz committed rGa3a308f0f29b: lib80211: regdomain: add the two other 160MHz bands (authored by bz).
lib80211: regdomain: add the two other 160MHz bands
Tue, Jan 7, 6:17 PM
bz committed rG1832eb102e10: net80211: add missing 80Mhz and 160Mhz channel ranges (authored by bz).
net80211: add missing 80Mhz and 160Mhz channel ranges
Tue, Jan 7, 6:14 PM
bz closed D48357: net80211: add missing 80Mhz and 160Mhz channel ranges.
Tue, Jan 7, 6:14 PM
bz committed rG42410c6d682c: ifconfig: make -vht work (authored by bz).
ifconfig: make -vht work
Tue, Jan 7, 6:10 PM
bz closed D48326: ifconfig: make -vht work.
Tue, Jan 7, 6:10 PM
bz committed rG07f6575585bf: LinuxKPI: 802.11: turn on debugfs for iwlwifi and rtw88 (authored by bz).
LinuxKPI: 802.11: turn on debugfs for iwlwifi and rtw88
Tue, Jan 7, 6:08 PM
bz added a comment to D48359: net80211: (v)ht: use macros at hand.

Note: I believe the logic here needs to be reversed and we need to check for 80P80 first. (otherwise we'll never hit the else if case). If anyone agrees with me I'll open another review for that once this is in.

Tue, Jan 7, 3:06 PM
bz requested review of D48359: net80211: (v)ht: use macros at hand.
Tue, Jan 7, 3:06 PM
bz committed rGe6d40f90110a: net80211: correct typo s/Insure/Ensure/ (authored by bz).
net80211: correct typo s/Insure/Ensure/
Tue, Jan 7, 3:02 PM
bz closed D48358: net80211: correct typo s/Insure/Ensure/.
Tue, Jan 7, 3:02 PM
bz committed rGcf71349a23f0: ifconfig: 802.11: fix indentation of a line (authored by bz).
ifconfig: 802.11: fix indentation of a line
Tue, Jan 7, 2:56 PM
bz requested review of D48358: net80211: correct typo s/Insure/Ensure/.
Tue, Jan 7, 2:53 PM
bz committed rGf1aeb5d850cf: LinuxKPI: 802.11: add a print mask for ieee80211_rx_status_flags bits (authored by bz).
LinuxKPI: 802.11: add a print mask for ieee80211_rx_status_flags bits
Tue, Jan 7, 2:51 PM
bz requested review of D48357: net80211: add missing 80Mhz and 160Mhz channel ranges.
Tue, Jan 7, 2:48 PM
bz requested review of D48356: nnet80211: regdomain: add the two other 160MHz bands.
Tue, Jan 7, 2:46 PM
bz committed rG91a4107d6d30: ifconfig: remove debug printfs from set80211vhtconf() (authored by bz).
ifconfig: remove debug printfs from set80211vhtconf()
Tue, Jan 7, 2:32 PM
bz closed D48319: ifconfig: remove debug printfs from set80211vhtconf().
Tue, Jan 7, 2:32 PM
bz closed D48161: LinuxKPI 802.11 / rtw88: make packets flow again.
Tue, Jan 7, 2:30 PM
bz committed rG2372f8cc640c: LinuxKPI 802.11 / rtw88: make packets flow again (authored by bz).
LinuxKPI 802.11 / rtw88: make packets flow again
Tue, Jan 7, 2:30 PM
bz updated the diff for D48326: ifconfig: make -vht work.

As hinted by @emaste hide the -vht under ifconfig -v as well to be
consistent. I'd rather do it once and for all now than having to
start again. I am typing -v anyway all the time while developing
(given not even pre-vht stuff is all consistent as we have pointed
out in the other review).

Tue, Jan 7, 2:13 PM

Sun, Jan 5

bz requested review of D48326: ifconfig: make -vht work.
Sun, Jan 5, 12:31 PM

Sat, Jan 4

bz added a comment to D48319: ifconfig: remove debug printfs from set80211vhtconf().

So, yeah, let's land this diff, then go fix +vht / -vht to clear/set FVHT_VHT and verify that does the right thing, without having to set/clear all the flags.

I think a good mini project for someone is to turn the HTCONF ioctl bits to actually use defines, not magic numbers. :-)

Sat, Jan 4, 11:03 PM
bz updated subscribers of D48319: ifconfig: remove debug printfs from set80211vhtconf().
In D48319#1102005, @bz wrote:

rofl nice catch, wanna land that too? :-)

The question is, should -vht also clear -vht40 -vht80 -vht160 -cht80p80?

It should just disable vht entirely, but it shouldn't need to clear ALL the flags.
The net80211 code should be checking if vht is enabled before checking the channel bandwidths avaliable.

I'm /pretty/ sure setting -ht doesn't also clear -ht40 greenfield, etc, it just disables being able to negotiate HT to begin with.

Sat, Jan 4, 8:26 PM
bz added a comment to D48319: ifconfig: remove debug printfs from set80211vhtconf().

rofl nice catch, wanna land that too? :-)

Sat, Jan 4, 7:40 PM
bz added a comment to D48319: ifconfig: remove debug printfs from set80211vhtconf().

That /does/ remind me, we should figure out why "ifconfig wlan0 -vht" doesn't work :-)

(ifconfig wlan0 -ht and ifconfig wlan0 ht works though!)

Sat, Jan 4, 4:58 PM
bz committed rG95a7aa800987: LinuxKPI: 802.11: implement wiphy_{,un}lock() (authored by bz).
LinuxKPI: 802.11: implement wiphy_{,un}lock()
Sat, Jan 4, 2:01 PM
bz added a comment to D48298: libusb: fix hotplug sigbus.

FYI for next time there is a USB group; feel free to add it or yourself to it if you are interested in USB.

Sat, Jan 4, 1:59 PM
bz requested review of D48319: ifconfig: remove debug printfs from set80211vhtconf().
Sat, Jan 4, 1:57 PM
bz requested review of D48318: LinuxKPI: switch jiffies and timer->expire to unsigned long.
Sat, Jan 4, 1:54 PM