Page MenuHomeFreeBSD

adrian (Adrian Chadd)
User

Projects

User Details

User Since
May 14 2014, 7:57 AM (577 w, 3 d)

Recent Activity

Yesterday

adrian updated the diff for D50694: iwx: enable seqno offload.

Address bz's comment - yup, this works with seqno offload and
with it just not populated in the driver encap path. Neat!

Fri, Jun 6, 9:25 PM · wireless
adrian accepted D50690: sound: Retire SND_DEV_*.

I assume it just works fine? :-)

Fri, Jun 6, 3:08 PM

Thu, Jun 5

adrian closed D50644: net80211: migrate direct printf() to ieee80211_printf().
Thu, Jun 5, 6:48 PM · wireless
adrian added inline comments to D50694: iwx: enable seqno offload.
Thu, Jun 5, 2:34 PM · wireless
adrian added a comment to D50692: net80211: add support for sequence number offloading.

Note: my hope is to eventually delete the TX lock entirely; this sets the ground work to first experiment and test various drivers in this stack.

Thu, Jun 5, 4:43 AM · wireless
adrian added a reviewer for D50694: iwx: enable seqno offload: thj.
Thu, Jun 5, 4:42 AM · wireless
adrian added a reviewer for D50694: iwx: enable seqno offload: wireless.
Thu, Jun 5, 4:41 AM · wireless
adrian requested review of D50694: iwx: enable seqno offload.
Thu, Jun 5, 3:51 AM · wireless
adrian added a reviewer for D50693: rtwn: enable seqno offload: wireless.
Thu, Jun 5, 12:49 AM · wireless
adrian requested review of D50693: rtwn: enable seqno offload.
Thu, Jun 5, 12:48 AM · wireless
adrian added a reviewer for D50692: net80211: add support for sequence number offloading: wireless.
Thu, Jun 5, 12:20 AM · wireless
adrian requested review of D50692: net80211: add support for sequence number offloading.
Thu, Jun 5, 12:19 AM · wireless

Wed, Jun 4

adrian added a reviewer for D50691: net80211: update ieee80211_output_seqno_assign() to 802.11-2020: wireless.
Wed, Jun 4, 9:51 PM · wireless
adrian requested review of D50691: net80211: update ieee80211_output_seqno_assign() to 802.11-2020.
Wed, Jun 4, 9:50 PM · wireless
adrian accepted D50621: mman: Reserve two PROT_ for CHERI use.
Wed, Jun 4, 4:22 PM
adrian committed rGa233c71650a1: net80211: remove if_private.h from code that doesn't require it (authored by adrian).
net80211: remove if_private.h from code that doesn't require it
Wed, Jun 4, 3:45 AM
adrian committed rG2a1beace07f1: net80211: convert ieee80211_mesh.c to not require if_private.h (authored by adrian).
net80211: convert ieee80211_mesh.c to not require if_private.h
Wed, Jun 4, 3:45 AM
adrian closed D50645: net80211: convert ieee80211_mesh.c to not require if_private.h.
Wed, Jun 4, 3:45 AM · wireless
adrian committed rG674362e27015: net80211: migrate direct printf() to net80211_printf() (authored by adrian).
net80211: migrate direct printf() to net80211_printf()
Wed, Jun 4, 3:45 AM
adrian committed rG1a3c03d88aaf: net80211: migrate if_printf() -> net80211_vap_printf() (authored by adrian).
net80211: migrate if_printf() -> net80211_vap_printf()
Wed, Jun 4, 3:45 AM
adrian closed D50646: net80211: remove if_private.h from code that doesn't require it.
Wed, Jun 4, 3:45 AM · wireless
adrian committed rG0861daf511dc: net80211: create net80211_vap_printf() / net80211_ic_printf() for printing (authored by adrian).
net80211: create net80211_vap_printf() / net80211_ic_printf() for printing
Wed, Jun 4, 3:44 AM
adrian closed D50643: net80211: migrate if_printf() -> ieee80211_vap_printf().
Wed, Jun 4, 3:44 AM · wireless
adrian closed D50642: net80211: create ieee80211_vap_printf() / ieee80211_ic_printf() for printing.
Wed, Jun 4, 3:44 AM · wireless
adrian accepted D50674: net80211: add the beginning of the extfield information elements (IE ext).
Wed, Jun 4, 12:21 AM

Tue, Jun 3

adrian added inline comments to D50674: net80211: add the beginning of the extfield information elements (IE ext).
Tue, Jun 3, 10:34 PM
adrian accepted D50671: net80211: add more information elements (IEs) definitions.
Tue, Jun 3, 10:23 PM
adrian committed rG36fcd52c2bd5: net80211: fix TKIP trailer trimming w/ no rx parameters given (authored by adrian).
net80211: fix TKIP trailer trimming w/ no rx parameters given
Tue, Jun 3, 12:12 AM
adrian closed D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given.
Tue, Jun 3, 12:12 AM · wireless

Mon, Jun 2

adrian updated the diff for D50644: net80211: migrate direct printf() to ieee80211_printf().

migrate prefix to net80211_

Mon, Jun 2, 11:43 PM · wireless
adrian updated the diff for D50643: net80211: migrate if_printf() -> ieee80211_vap_printf().

rename prefix to net80211_

Mon, Jun 2, 11:43 PM · wireless
adrian updated the diff for D50642: net80211: create ieee80211_vap_printf() / ieee80211_ic_printf() for printing.

use net80211_ prefix

Mon, Jun 2, 11:42 PM · wireless
adrian updated the diff for D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given.

update commit message (locally)

Mon, Jun 2, 11:32 PM · wireless
adrian added a comment to D50642: net80211: create ieee80211_vap_printf() / ieee80211_ic_printf() for printing.
In D50642#1156201, @bz wrote:

So i was thinking if we can start using ieee80211 for standards things and use a net80211 prefix for our own stuff (at least for anything new or we change)?

Mon, Jun 2, 9:17 PM · wireless
adrian added a reviewer for D50646: net80211: remove if_private.h from code that doesn't require it: wireless.
Mon, Jun 2, 2:42 AM · wireless
adrian added a reviewer for D50645: net80211: convert ieee80211_mesh.c to not require if_private.h: wireless.
Mon, Jun 2, 2:41 AM · wireless
adrian added a reviewer for D50644: net80211: migrate direct printf() to ieee80211_printf(): wireless.
Mon, Jun 2, 2:41 AM · wireless
adrian added a reviewer for D50643: net80211: migrate if_printf() -> ieee80211_vap_printf(): wireless.
Mon, Jun 2, 2:41 AM · wireless
adrian added a reviewer for D50642: net80211: create ieee80211_vap_printf() / ieee80211_ic_printf() for printing: wireless.
Mon, Jun 2, 2:40 AM · wireless
adrian requested review of D50646: net80211: remove if_private.h from code that doesn't require it.
Mon, Jun 2, 2:34 AM · wireless
adrian requested review of D50645: net80211: convert ieee80211_mesh.c to not require if_private.h.
Mon, Jun 2, 2:34 AM · wireless
adrian requested review of D50644: net80211: migrate direct printf() to ieee80211_printf().
Mon, Jun 2, 2:11 AM · wireless
adrian requested review of D50643: net80211: migrate if_printf() -> ieee80211_vap_printf().
Mon, Jun 2, 2:11 AM · wireless
adrian requested review of D50642: net80211: create ieee80211_vap_printf() / ieee80211_ic_printf() for printing.
Mon, Jun 2, 2:11 AM · wireless
adrian added a comment to D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given.
In D50638#1156017, @bz wrote:

Need to check all the other places which may have changed implicit behaviour too and they all need the same comment,

Mon, Jun 2, 2:09 AM · wireless
adrian updated the diff for D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given.

update from bz; matches what's in CCMP

Mon, Jun 2, 2:08 AM · wireless
adrian added a reviewer for D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given: wireless.
Mon, Jun 2, 12:17 AM · wireless
adrian requested review of D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given.
Mon, Jun 2, 12:15 AM · wireless

Sun, Jun 1

adrian accepted D50597: ipfw: prefixlen segfault bugfix in nptv6.
Sun, Jun 1, 3:35 AM
adrian added a comment to D50597: ipfw: prefixlen segfault bugfix in nptv6.

I think this looks fine. I'm personally not too worried about breaking things in ipfw to make them much cleaner/clearer/less error prone, as long as we document it in UPDATING.

Sun, Jun 1, 3:34 AM

Fri, May 30

adrian accepted D50602: kern: unix: raise POLLIN when the remote end has shutdown writes.
Fri, May 30, 2:44 AM

Thu, May 29

adrian accepted D50488: sound: Terminate stream properly when closing vchans.

tested on my MSI GE76 raider that was exhibiting this w/ firefox/pulseaudio; it no longer happens. Thanks!

Thu, May 29, 1:58 AM

Wed, May 28

adrian accepted D50576: if_vlan_var.h: fix value of DOT1Q_VID_MAX.
Wed, May 28, 4:10 PM
adrian accepted D50386: snd_dummy: Make callout stopping more robust.
Wed, May 28, 3:20 PM
adrian accepted D50462: if_iwx: use net80211 suspend and resume methods.

It's better than the status quo in -HEAD, so let's get it in and then churn some more on making it recover better!

Wed, May 28, 3:29 AM

Tue, May 27

adrian added a comment to D50555: ifconfig: 802.11: factor out keyix printing.

technically (cry) ucast will eventually be keyix 0 and keyix 1, but not the WEP/global slots. Aiee. :-)

Tue, May 27, 9:34 PM
adrian added a comment to D50462: if_iwx: use net80211 suspend and resume methods.

This doesn't apply cleanly on -head, it requires D49827 first

Tue, May 27, 12:15 AM

Mon, May 26

adrian accepted D35694: Add ts(1) command.
Mon, May 26, 9:31 PM
adrian added a comment to D50462: if_iwx: use net80211 suspend and resume methods.

I'm finally updating my GE76 w/ AX210 to test iwx and iwlwifi in -head out, so I'll have to apply this to actually get it to pass a suspend/resume pass. stay tuned!

Mon, May 26, 3:21 AM

Sun, May 25

adrian added a comment to D50483: Extended errors from kernel.

I'm still not a big fan of putting the strings in the kernel syscall ABI (as i guarantee someone's gonna end up writing stuff that depends upon the content of the strings!), but I /am/ a fan of how the kernel source is being updated with errors. We can at least grep for the macro use to see what they're doing, and they're a no-op if it's not compiled in.

Sun, May 25, 5:46 PM
adrian accepted D50513: net80211: make sure to not start a BGSCAN if not enabled.
Sun, May 25, 5:00 PM
adrian committed rG249f14c87fd5: net80211: remove direct references to ifp->if_xname (authored by adrian).
net80211: remove direct references to ifp->if_xname
Sun, May 25, 3:25 PM
adrian committed rGed987e16887b: net80211: migrate if_flags, if_drvflags out of most source files (authored by adrian).
net80211: migrate if_flags, if_drvflags out of most source files
Sun, May 25, 3:25 PM
adrian committed rGa278d11a60e0: net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c (authored by adrian).
net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c
Sun, May 25, 3:25 PM
adrian committed rG3f6a84ffbf39: net80211: refactor the if_input call into ieee80211_vap_deliver_data() (authored by adrian).
net80211: refactor the if_input call into ieee80211_vap_deliver_data()
Sun, May 25, 3:25 PM
adrian closed D50407: net80211: remove direct references to ifp->if_xname.
Sun, May 25, 3:25 PM · wireless
adrian closed D50406: net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c.
Sun, May 25, 3:25 PM · wireless
adrian closed D50405: net80211: migrate if_flags, if_drvflags out of most source files.
Sun, May 25, 3:25 PM · wireless
adrian committed rGe035e8661c37: net80211: move references to IF_LLADDR() into ieee80211_freebsd.c (authored by adrian).
net80211: move references to IF_LLADDR() into ieee80211_freebsd.c
Sun, May 25, 3:25 PM
adrian closed D50404: net80211: refactor the if_input call into ieee80211_vap_deliver_data().
Sun, May 25, 3:24 PM · wireless
adrian closed D50023: net80211: move references to IF_LLADDR() into ieee80211_freebsd.c.
Sun, May 25, 3:24 PM · wireless
adrian added a comment to D50386: snd_dummy: Make callout stopping more robust.

The bug D50488 solves could be a reason why the callout was being rescheduled.

It could be, but I still think it's worth being more defensive in making sure we clean things up / stop things right.

Again, the change in the patch introduces a new bug: if callout_stop() returns 0, then the callout thread is blocked on the softc lock, which means that it's waiting for the callout_stop() caller to release the lock, which means that the loop while (callout_stop(&sc->callout) == 0) ; never terminates.

Sun, May 25, 3:18 PM
adrian accepted D50409: sound: Merge pcm_sysinit() with pcm_register().
Sun, May 25, 3:07 PM
adrian updated the diff for D50407: net80211: remove direct references to ifp->if_xname.

comments from bz

Sun, May 25, 1:58 AM · wireless
adrian updated the diff for D50406: net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c.

comments from bz

Sun, May 25, 1:58 AM · wireless

Sat, May 24

adrian added a comment to D49419: net80211: bump crypto keysize to 384 bits.
In D49419#1147670, @bz wrote:

Sorry I don't know; this window came up in a restored browser session; I thought I had submitted this ages ago.

Sat, May 24, 8:58 PM · wireless
adrian added a comment to D50128: ixgbe: add MDIO bus support.

I would assume if you hold the fw semaphore you'd have exclusive access to the adapter..

I don't know how I missed that while reading the datasheets, but there are two registers used for SW/FW synchronization. IXGBE_SWSM is used to ensure that only one SW thread is accessing HW. I'm sorry for misleading you.

We /may/ need to move the child bus attach stuff to a new iflib routine that's documented to being called without the ctx lock held?

Because @kbowling is right about the semaphore I think we don't need to use a iflib CTX lock for MDIO read operation. For writes I think CTX lock is still required. Some operations on PHY use read/modify/write pattern (e.g. ixgbe_init_ext_t_x550em). Without CTX lock write from MDIO bus may get between that read and write.

Regarding E610 - it does have IXGBE_MSCA register, but it's strongly advised to use ACI commands for PHY access instead. It may be better idea to not add independent interface but set phy->ops.read_reg_mdi and phy->ops.write_reg_mdi for X553 backplane and rely on phy.ops.read_reg and phy.ops.write_reg to do the right thing for given HW.

Sat, May 24, 6:06 PM

Fri, May 23

adrian added a comment to D50386: snd_dummy: Make callout stopping more robust.

The bug D50488 solves could be a reason why the callout was being rescheduled.

Fri, May 23, 5:46 PM
adrian accepted D50488: sound: Terminate stream properly when closing vchans.
Fri, May 23, 4:36 PM
adrian added a comment to D50128: ixgbe: add MDIO bus support.

So this panics the kernel if e6000sw is built in or loaded at boot time.

Fri, May 23, 2:38 PM
adrian added inline comments to D50370: ufshci: Introduce the ufshci(4) driver.
Fri, May 23, 1:57 AM

Thu, May 22

adrian added a comment to D50370: ufshci: Introduce the ufshci(4) driver.

first pass - this on the surface looks like a well formatted / written driver. no magic numbers, consistent indenting, commented code, handling errors, thanks!

Thu, May 22, 3:01 PM
adrian accepted D50462: if_iwx: use net80211 suspend and resume methods.
Thu, May 22, 2:36 PM

Tue, May 20

adrian updated the diff for D50406: net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c.

comment from bz

Tue, May 20, 4:44 AM · wireless
adrian updated the diff for D50023: net80211: move references to IF_LLADDR() into ieee80211_freebsd.c.

comments from bz

Tue, May 20, 4:44 AM · wireless

Mon, May 19

adrian accepted D50412: mtkswitch.4: Initial manual page.
Mon, May 19, 5:07 PM
adrian added a comment to D50405: net80211: migrate if_flags, if_drvflags out of most source files.

fixed, i hope!

Mon, May 19, 4:12 AM · wireless
adrian updated the diff for D50407: net80211: remove direct references to ifp->if_xname.

rebase

Mon, May 19, 4:11 AM · wireless
adrian updated the diff for D50406: net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c.

update from bz

Mon, May 19, 4:11 AM · wireless
adrian updated the diff for D50405: net80211: migrate if_flags, if_drvflags out of most source files.

update from bz

Mon, May 19, 4:11 AM · wireless
adrian updated the diff for D50404: net80211: refactor the if_input call into ieee80211_vap_deliver_data().

update from bz

Mon, May 19, 4:00 AM · wireless
adrian added inline comments to D50295: ixgbe: improve MDIO performance by reducing semaphore/IPC delays.
Mon, May 19, 2:35 AM
adrian accepted D50411: ip17x.4: Initial manual page.
Mon, May 19, 2:34 AM

Sun, May 18

adrian added inline comments to D50405: net80211: migrate if_flags, if_drvflags out of most source files.
Sun, May 18, 11:47 PM · wireless
adrian added a comment to D50023: net80211: move references to IF_LLADDR() into ieee80211_freebsd.c.

So I'm going to do the "clean up if_private.h abuse in net80211" work in different diffs, and I plan on just leaving this diff as a straight refactor.

Sun, May 18, 2:58 PM · wireless
adrian updated the diff for D50407: net80211: remove direct references to ifp->if_xname.

rebase

Sun, May 18, 5:58 AM · wireless
adrian updated the diff for D50406: net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c.

rebase

Sun, May 18, 5:58 AM · wireless
adrian updated the diff for D50405: net80211: migrate if_flags, if_drvflags out of most source files.

add some more stuff

Sun, May 18, 5:57 AM · wireless
adrian added a reviewer for D50407: net80211: remove direct references to ifp->if_xname: wireless.
Sun, May 18, 5:00 AM · wireless
adrian requested review of D50407: net80211: remove direct references to ifp->if_xname.
Sun, May 18, 4:59 AM · wireless