Page MenuHomeFreeBSD
Feed Search

Jun 3 2025

bz accepted D50644: net80211: migrate direct printf() to ieee80211_printf().

I have not checked each and every conversion but spotted a few vap and ic ones in between as well as the change in VHT. If it compiles, ship it.

Jun 3 2025, 10:06 PM · wireless
bz accepted D50642: net80211: create ieee80211_vap_printf() / ieee80211_ic_printf() for printing.
Jun 3 2025, 10:02 PM · wireless
bz requested changes to D50642: net80211: create ieee80211_vap_printf() / ieee80211_ic_printf() for printing.
Jun 3 2025, 10:02 PM · wireless
adrian closed D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given.
Jun 3 2025, 12:12 AM · wireless
bz accepted D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given.
Jun 3 2025, 12:09 AM · wireless

Jun 2 2025

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

migrate prefix to net80211_

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

rename prefix to net80211_

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

use net80211_ prefix

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

update commit message (locally)

Jun 2 2025, 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)?

Jun 2 2025, 9:17 PM · wireless
bz added a comment to D50642: net80211: create ieee80211_vap_printf() / ieee80211_ic_printf() for printing.

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)?

Jun 2 2025, 1:34 PM · wireless
bz accepted D50646: net80211: remove if_private.h from code that doesn't require it.

For once the if_printf changes are in

Jun 2 2025, 1:28 PM · wireless
bz accepted D50645: net80211: convert ieee80211_mesh.c to not require if_private.h.
Jun 2 2025, 1:27 PM · wireless
bz accepted D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given.
Jun 2 2025, 1:19 PM · wireless
bz updated subscribers of D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given.

Please add:

Jun 2 2025, 1:19 PM · wireless
adrian added a reviewer for D50646: net80211: remove if_private.h from code that doesn't require it: wireless.
Jun 2 2025, 2:42 AM · wireless
adrian added a reviewer for D50645: net80211: convert ieee80211_mesh.c to not require if_private.h: wireless.
Jun 2 2025, 2:41 AM · wireless
adrian added a reviewer for D50644: net80211: migrate direct printf() to ieee80211_printf(): wireless.
Jun 2 2025, 2:41 AM · wireless
adrian added a reviewer for D50643: net80211: migrate if_printf() -> ieee80211_vap_printf(): wireless.
Jun 2 2025, 2:41 AM · wireless
adrian added a reviewer for D50642: net80211: create ieee80211_vap_printf() / ieee80211_ic_printf() for printing: wireless.
Jun 2 2025, 2:40 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,

Jun 2 2025, 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

Jun 2 2025, 2:08 AM · wireless
bz requested changes to D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given.

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

Jun 2 2025, 1:13 AM · wireless
adrian added a reviewer for D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given: wireless.
Jun 2 2025, 12:17 AM · wireless

May 25 2025

adrian closed D50407: net80211: remove direct references to ifp->if_xname.
May 25 2025, 3:25 PM · wireless
adrian closed D50406: net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c.
May 25 2025, 3:25 PM · wireless
adrian closed D50405: net80211: migrate if_flags, if_drvflags out of most source files.
May 25 2025, 3:25 PM · wireless
adrian closed D50404: net80211: refactor the if_input call into ieee80211_vap_deliver_data().
May 25 2025, 3:24 PM · wireless
adrian closed D50023: net80211: move references to IF_LLADDR() into ieee80211_freebsd.c.
May 25 2025, 3:24 PM · wireless
bz accepted D50407: net80211: remove direct references to ifp->if_xname.
May 25 2025, 1:39 PM · wireless
bz accepted D50406: net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c.
May 25 2025, 1:38 PM · wireless
adrian updated the diff for D50407: net80211: remove direct references to ifp->if_xname.

comments from bz

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

comments from bz

May 25 2025, 1:58 AM · wireless

May 24 2025

bz requested changes to D50407: net80211: remove direct references to ifp->if_xname.

just style; so do and push them; no need to upload again

May 24 2025, 11:29 PM · wireless
bz requested changes to D50406: net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c.

Just style.

May 24 2025, 11:27 PM · wireless
bz accepted D50405: net80211: migrate if_flags, if_drvflags out of most source files.
May 24 2025, 11:23 PM · wireless
bz accepted D50404: net80211: refactor the if_input call into ieee80211_vap_deliver_data().
May 24 2025, 11:20 PM · wireless
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.

May 24 2025, 8:58 PM · wireless

May 20 2025

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

comment from bz

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

comments from bz

May 20 2025, 4:44 AM · wireless
lwhsu closed D50264: wtap build error - missing header file.
May 20 2025, 1:46 AM · wireless
emaste accepted D50264: wtap build error - missing header file.
May 20 2025, 1:43 AM · wireless
lwhsu accepted D50264: wtap build error - missing header file.
May 20 2025, 1:37 AM · wireless
farhan_farhan.codes updated the diff for D50264: wtap build error - missing header file.

Updated per comments

May 20 2025, 1:32 AM · wireless

May 19 2025

lwhsu added a comment to D50264: wtap build error - missing header file.

I updated it as follows, which is in the spirit of what the script produces:

avp->av_dev = make_dev(&wtap_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600,                                                "%s", (const char *)vap->iv_ifp->if_xname);

Regarding not including if_private.h directly, not including it results in missing structs. Also, other code imports it directly.

If there is another way, what exact patterns of includes are you suggesting?

May 19 2025, 4:22 AM · wireless
adrian added a comment to D50405: net80211: migrate if_flags, if_drvflags out of most source files.

fixed, i hope!

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

rebase

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

update from bz

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

update from bz

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

update from bz

May 19 2025, 4:00 AM · wireless

May 18 2025

adrian added inline comments to D50405: net80211: migrate if_flags, if_drvflags out of most source files.
May 18 2025, 11:47 PM · wireless
bz requested changes to D50405: net80211: migrate if_flags, if_drvflags out of most source files.
May 18 2025, 8:24 PM · wireless
bz accepted D50406: net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c.

Scrolling through apart from the local variable this looks good.

May 18 2025, 8:16 PM · wireless
bz accepted D50407: net80211: remove direct references to ifp->if_xname.

LGTM

May 18 2025, 8:13 PM · wireless
bz added a reviewer for D50405: net80211: migrate if_flags, if_drvflags out of most source files: jhibbits.
May 18 2025, 8:11 PM · wireless
bz accepted D50404: net80211: refactor the if_input call into ieee80211_vap_deliver_data().

If you remove the local variable then this is fine (it's also fine this way). I may not see this again before Thu so please go ahead.

May 18 2025, 7:55 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.

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

rebase

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

rebase

May 18 2025, 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

May 18 2025, 5:57 AM · wireless
adrian added a reviewer for D50407: net80211: remove direct references to ifp->if_xname: wireless.
May 18 2025, 5:00 AM · wireless
adrian added a reviewer for D50406: net80211: refactor out ifp->if_broadcastaddr into ieee80211_freebsd.c: wireless.
May 18 2025, 4:46 AM · wireless
adrian added a reviewer for D50405: net80211: migrate if_flags, if_drvflags out of most source files: wireless.
May 18 2025, 4:35 AM · wireless
adrian added a reviewer for D50404: net80211: refactor the if_input call into ieee80211_vap_deliver_data(): wireless.
May 18 2025, 4:20 AM · wireless
adrian updated the diff for D50023: net80211: move references to IF_LLADDR() into ieee80211_freebsd.c.

implement a separate copy routine, get rid of the last reference.

May 18 2025, 12:58 AM · wireless

May 17 2025

farhan_farhan.codes added a comment to D50188: Updating ISO 3166 list of countries in ieee80211_regdomain.h.

Bump :)

May 17 2025, 2:34 PM · wireless

May 16 2025

adrian closed D49764: net80211: refactor sequence number assignment code.
May 16 2025, 2:35 AM · wireless

May 15 2025

bz accepted D49764: net80211: refactor sequence number assignment code.

Scrolling through again this looks good. Thanks a lot for all the follow-up changes (incl. the extra one folding the ic_printf arguments into one line :) ).

May 15 2025, 9:48 PM · wireless
adrian updated the diff for D49764: net80211: refactor sequence number assignment code.

comment fixes; address a bug that bz caught, thanks!

May 15 2025, 6:19 AM · wireless
adrian added inline comments to D49764: net80211: refactor sequence number assignment code.
May 15 2025, 6:14 AM · wireless
adrian updated the diff for D49764: net80211: refactor sequence number assignment code.

address comments from bz@

May 15 2025, 5:31 AM · wireless
farhan_farhan.codes added a comment to D50188: Updating ISO 3166 list of countries in ieee80211_regdomain.h.

Hi,
Checking if there are any updates necessary to merge this?

May 15 2025, 1:00 AM · wireless

May 13 2025

adrian updated the diff for D49764: net80211: refactor sequence number assignment code.

address comments from bz

May 13 2025, 3:36 AM · wireless
adrian added inline comments to D49764: net80211: refactor sequence number assignment code.
May 13 2025, 2:09 AM · wireless

May 12 2025

bz requested changes to D49764: net80211: refactor sequence number assignment code.
May 12 2025, 9:45 AM · wireless
bz added a comment to D49419: net80211: bump crypto keysize to 384 bits.

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

May 12 2025, 8:37 AM · wireless

May 11 2025

farhan_farhan.codes updated the diff for D49884: Porting athn from OpenBSD.

Current Problem: Running into a recursive mutex based on FreeBSD/OpenBSD mutex styles.

May 11 2025, 5:47 PM · wireless, USB, network

May 9 2025

farhan_farhan.codes added a comment to D50264: wtap build error - missing header file.

I'm not sure why this was never connected to the build, I would have fixed it during my IfAPI work if it were connected then.

You can use the script tools/ifnet/convert_ifapi.sh to assist in converting the driver to IfAPI.

May 9 2025, 10:49 PM · wireless
jhibbits requested changes to D50264: wtap build error - missing header file.
May 9 2025, 4:57 PM · wireless
jhibbits added a comment to D50264: wtap build error - missing header file.

I'm not sure why this was never connected to the build, I would have fixed it during my IfAPI work if it were connected then.

May 9 2025, 4:57 PM · wireless
bz requested changes to D50264: wtap build error - missing header file.
May 9 2025, 4:08 PM · wireless
farhan_farhan.codes updated the diff for D50264: wtap build error - missing header file.

Ordering of includes. It builds.

May 9 2025, 3:39 PM · wireless
thj requested changes to D50264: wtap build error - missing header file.
May 9 2025, 8:56 AM · wireless
farhan_farhan.codes updated the test plan for D50264: wtap build error - missing header file.
May 9 2025, 3:52 AM · wireless
farhan_farhan.codes requested review of D50264: wtap build error - missing header file.
May 9 2025, 3:51 AM · wireless

May 8 2025

adrian added inline comments to D49764: net80211: refactor sequence number assignment code.
May 8 2025, 3:33 AM · wireless
adrian updated the diff for D49764: net80211: refactor sequence number assignment code.

feedback from bz

May 8 2025, 3:32 AM · wireless

May 7 2025

adrian closed D49765: net80211: document the vap / device transmit paths, fragment node references.
May 7 2025, 4:22 AM · wireless
adrian accepted D50174: mtw(4) Cleanup. No functional changes.
May 7 2025, 2:47 AM · wireless

May 6 2025

jsm updated the diff for D50174: mtw(4) Cleanup. No functional changes.

guard the debug sysctl by MTW_DEBUG, which is defined if USB_DEBUG is defined, like if_run does it..

May 6 2025, 5:57 PM · wireless
farhan_farhan.codes added inline comments to D50188: Updating ISO 3166 list of countries in ieee80211_regdomain.h.
May 6 2025, 5:46 PM · wireless
farhan_farhan.codes updated the diff for D50188: Updating ISO 3166 list of countries in ieee80211_regdomain.h.

Changed Taiwan's from "Taiwan, Province of China" back to "Taiwan".

May 6 2025, 5:46 PM · wireless
farhan_farhan.codes updated the diff for D49884: Porting athn from OpenBSD.

Working to update the athn_usb_init, currently working through the newstate handler.

May 6 2025, 3:06 AM · wireless, USB, network
farhan_farhan.codes added a comment to D50188: Updating ISO 3166 list of countries in ieee80211_regdomain.h.

FreeBSD uses a list derived from ISO 3166 [1], which is at src/share/misc/iso3166. It would be nice if we can have this enum generated from that list so we have a single source of truth.

May 6 2025, 2:56 AM · wireless
lwhsu added a comment to D50188: Updating ISO 3166 list of countries in ieee80211_regdomain.h.

FreeBSD uses a list derived from ISO 3166 [1], which is at src/share/misc/iso3166. It would be nice if we can have this enum generated from that list so we have a single source of truth.

May 6 2025, 2:49 AM · wireless
farhan_farhan.codes requested review of D50188: Updating ISO 3166 list of countries in ieee80211_regdomain.h.
May 6 2025, 2:40 AM · wireless

May 5 2025

adrian added a comment to D50174: mtw(4) Cleanup. No functional changes.

in general +1, but why put debugging behind USB_DEBUG ? Doesn't USB_DEBUG pull in a bunch of other stuff?

May 5 2025, 8:04 PM · wireless
jsm requested review of D50174: mtw(4) Cleanup. No functional changes.
May 5 2025, 7:42 PM · wireless

May 3 2025

adrian closed D50095: net80211: document where to find the HT TX width action frame..
May 3 2025, 3:39 PM · wireless
adrian closed D49766: net80211: fix ff_approx_txtime() to handle VHT rates.
May 3 2025, 3:39 PM · wireless