Page MenuHomeFreeBSD

wirelessGroup
ActivePublic

Details

Description

Working on wireless improvements

Recent Activity

Yesterday

bz requested changes to D58384: net80211: migrate the ioctl API to a 128 bit specific API + use key API.
Wed, Jul 22, 7:54 AM · wireless
bz added a comment to D26018: Methodize the TX power limit retrival in ieee80211_ioctl_get80211().

Making this an inline function for the point of making it a function seems hard to justify for single use code.
Can we at least keep it as a normal function in ioctl.c?

Wed, Jul 22, 7:24 AM · wireless
adrian accepted D26018: Methodize the TX power limit retrival in ieee80211_ioctl_get80211().
Wed, Jul 22, 3:43 AM · wireless

Tue, Jul 21

adrian abandoned D45397: net80211: Add crypto module support for AES-GCMP 128 and 256 bit..

Landed via another review (https://reviews.freebsd.org/D49161)

Tue, Jul 21, 8:01 PM · wireless
adrian abandoned D49419: net80211: bump crypto keysize to 384 bits.

I've been working in this in another stack (https://reviews.freebsd.org/D58384 as an example) to do a lot of needed API cleanup before we can bump this without breaking the current ioctls.

Tue, Jul 21, 8:00 PM · wireless
adrian added a reviewer for D58384: net80211: migrate the ioctl API to a 128 bit specific API + use key API: wireless.
Tue, Jul 21, 7:59 PM · wireless
adrian added a comment to D26018: Methodize the TX power limit retrival in ieee80211_ioctl_get80211().

oh damn i missed this, I think it's worth refactoring it so we do have a specific place to pull the TX power from.

Tue, Jul 21, 7:50 PM · wireless

Mon, Jul 20

adrian closed D58098: net80211: update drivers to allocate sequence numbers in the raw path.
Mon, Jul 20, 10:50 PM · wireless

Wed, Jul 8

adrian added a reviewer for D58098: net80211: update drivers to allocate sequence numbers in the raw path: wireless.
Wed, Jul 8, 5:55 AM · wireless

Tue, Jul 7

me_runxiyu.org added a comment to D58020: net80211: don't do_ht in sta_recv_mgmt without htcap/htinfo.

Since it is also part of the VHT code path we can't just /not/ do it here; I think we need to handle NULL IE pointers in ieee80211_ht_updateparams_final() and just not do the htinfo deferefence there. (And document that the function must handle NULL IEs.)
Would you like to try that instead?

Tue, Jul 7, 1:03 PM · wireless
me_runxiyu.org added a comment to D58020: net80211: don't do_ht in sta_recv_mgmt without htcap/htinfo.

@adrian It's a (pretty terrible) AP from Huawei

Tue, Jul 7, 1:02 PM · wireless

Fri, Jul 3

bz added a comment to D58020: net80211: don't do_ht in sta_recv_mgmt without htcap/htinfo.

ugh ok why's do_ht being set when there's no htcap/htinfo fields.

OH, hilarious, it's because you have VHT parameters but not HT parameters? That's problematic. Would you mind doing an "ifconfig -v wlan0 list scan" to capture what's being seen in the scan, find the entry that has VHT parameters and not HT parameters, and including it in here?

Fri, Jul 3, 8:32 PM · wireless
adrian added a comment to D58020: net80211: don't do_ht in sta_recv_mgmt without htcap/htinfo.

ugh ok why's do_ht being set when there's no htcap/htinfo fields.

Fri, Jul 3, 7:08 PM · wireless
adrian added reviewers for D58020: net80211: don't do_ht in sta_recv_mgmt without htcap/htinfo: wireless, bz.
Fri, Jul 3, 3:14 PM · wireless

Wed, Jul 1

adrian closed D57799: net80211: fix CCMP/GCMP AAD for MFP frames.
Wed, Jul 1, 12:21 AM · wireless

Mon, Jun 29

nagymas_gmail.com added a comment to D57762: Reporting/debug path changed to display VHT80 and VHT160.

For now I'd like to stay close to the original implementation and only extend the diagnostic where necessary.

Mon, Jun 29, 2:21 AM · wireless

Sun, Jun 28

nagymas_gmail.com added a comment to D57762: Reporting/debug path changed to display VHT80 and VHT160.
Sun, Jun 28, 11:49 AM · wireless
nagymas_gmail.com added a comment to D57762: Reporting/debug path changed to display VHT80 and VHT160.
Sun, Jun 28, 2:01 AM · wireless
nagymas_gmail.com added a comment to D57762: Reporting/debug path changed to display VHT80 and VHT160.
Sun, Jun 28, 1:18 AM · wireless
bz added a comment to D57762: Reporting/debug path changed to display VHT80 and VHT160.

I personally I would go with the simpler solution calling IEEE80211_IS_CHAN_VHTxxx macros already combines mode and width.

static const char *
net80211_get_chanmode_descr(const struct ieee80211_channel *c)
{

...
<VHT*>

Sun, Jun 28, 12:48 AM · wireless
nagymas_gmail.com added a comment to D57762: Reporting/debug path changed to display VHT80 and VHT160.

I personally I would go with the simpler solution calling IEEE80211_IS_CHAN_VHTxxx macros already combines mode and width.

Sun, Jun 28, 12:41 AM · wireless
nagymas_gmail.com added a comment to D57762: Reporting/debug path changed to display VHT80 and VHT160.

I think we should just create a function to return a static channel description for this. something like

/*
 * Return a string like <MODE><WIDTH> - eg HT20, VHT80+80, etc.
 */
static const char * net80211_get_chanmode_descr(const struct ieee80211_channel *c)
{
  // do all the HT/VHT stuff currently done in the above log code
 // default
  return "<undef>";
}

What do you think?

Sun, Jun 28, 12:35 AM · wireless

Sat, Jun 27

adrian added a comment to D57762: Reporting/debug path changed to display VHT80 and VHT160.

I think we should just create a function to return a static channel description for this. something like

Sat, Jun 27, 6:17 PM · wireless

Wed, Jun 24

adrian added a reviewer for D57796: net80211: add IEEE80211_KEY_MFP; set for MFP unicast keys: wireless.
Wed, Jun 24, 4:25 AM · wireless
adrian added a reviewer for D57798: net80211: encrypt/decrypt MFP CCMP frames: wireless.
Wed, Jun 24, 4:25 AM · wireless
adrian added a reviewer for D57799: net80211: fix CCMP/GCMP AAD for MFP frames: wireless.
Wed, Jun 24, 4:25 AM · wireless
nagymas_gmail.com updated the diff for D57762: Reporting/debug path changed to display VHT80 and VHT160.

Reverted back to the original branching to keep the original structure. %s%d canged to %s%s to hande 80P80

Wed, Jun 24, 2:48 AM · wireless
nagymas_gmail.com updated the diff for D57762: Reporting/debug path changed to display VHT80 and VHT160.

Test HT20, HT40, VHT20, VHT40, VHT80, VHT160 not tested VHT80P80

Wed, Jun 24, 1:55 AM · wireless
nagymas_gmail.com updated the diff for D57762: Reporting/debug path changed to display VHT80 and VHT160.

Debug string update to be able to display VHT40U and VHT40D

Wed, Jun 24, 12:32 AM · wireless

Tue, Jun 23

nagymas_gmail.com added a comment to D57762: Reporting/debug path changed to display VHT80 and VHT160.

Original reporting:
VHT80
VHT160
VHT (covers VHT20/VHT40)
Updated reporting:
VHT20
VHT40U
VHT40D
VHT80
VHT160
VHT80P80
Reason:
ni->ni_chan->ic_flags already contains the full channel-width information, so the patch makes the debug output reflect the actual negotiated channel state.

Tue, Jun 23, 10:30 PM · wireless
nagymas_gmail.com updated the diff for D57762: Reporting/debug path changed to display VHT80 and VHT160.

Added every configuration currently available for more accurate debuging

Tue, Jun 23, 10:21 PM · wireless
nagymas_gmail.com accepted D57762: Reporting/debug path changed to display VHT80 and VHT160.

Agreed but we could detail VHT40U and D and VHT20 too

Tue, Jun 23, 10:18 PM · wireless

Jun 23 2026

bz requested changes to D57762: Reporting/debug path changed to display VHT80 and VHT160.

If we do it then let us do better than AI and also document 80P80.

Jun 23 2026, 1:30 PM · wireless
adrian added a project to D57762: Reporting/debug path changed to display VHT80 and VHT160: wireless.
Jun 23 2026, 6:24 AM · wireless

Jun 20 2026

adrian added a comment to D37973: wtapctl(8): Introduce new tool for wtap(4).

ok, this is the next thing to dig into and figure out how to land.

Jun 20 2026, 4:04 PM · wireless

Jun 17 2026

adrian closed D57597: mtw: Fix firmware loading and memory leaks.
Jun 17 2026, 2:39 PM · drivers, wireless
adrian accepted D57597: mtw: Fix firmware loading and memory leaks.
Jun 17 2026, 2:30 PM · drivers, wireless
guest-seuros added a comment to D57597: mtw: Fix firmware loading and memory leaks.

You can eject the usb via software, that will init a reset.

Jun 17 2026, 1:51 PM · drivers, wireless
adrian added a comment to D57597: mtw: Fix firmware loading and memory leaks.

interesting, is there no way to force a firmware reload without just power cycling the device?
eg if i wanted to test two different firmware images by unloading and reloading the driver?

Jun 17 2026, 1:41 AM · drivers, wireless
adrian added a project to D57597: mtw: Fix firmware loading and memory leaks: drivers.
Jun 17 2026, 1:40 AM · drivers, wireless

Jun 16 2026

adrian closed D36469: wtap(4): implement monitor mode and handle radiotap.
Jun 16 2026, 3:01 PM · wireless
adrian added a comment to D36469: wtap(4): implement monitor mode and handle radiotap.

landed, i fixed it locally

Jun 16 2026, 3:01 PM · wireless
adrian closed D36243: wtap(4): Implement STA/HostAP mode and support WPA/WPA2.
Jun 16 2026, 2:58 PM · wireless
adrian closed D54547: wtap: Remove bogus NULL check in wtap_transmit.
Jun 16 2026, 2:58 PM · wireless
adrian added a reviewer for D45909: wpa: add MFP configuration if requested: wireless.
Jun 16 2026, 5:02 AM · wireless
adrian added a reviewer for D46498: ifconfig: add IEEE80211_NODE_MFP flag printing.: wireless.
Jun 16 2026, 5:02 AM · wireless
adrian added a reviewer for D57556: net80211: add node to the crypto encap/decap functions: wireless.
Jun 16 2026, 5:01 AM · wireless
adrian added a reviewer for D57551: net80211: add IGTK key slots needed for later MFP support: wireless.
Jun 16 2026, 5:01 AM · wireless

Jun 15 2026

guest-seuros added inline comments to D57597: mtw: Fix firmware loading and memory leaks.
Jun 15 2026, 4:44 PM · drivers, wireless
bz added inline comments to D57597: mtw: Fix firmware loading and memory leaks.
Jun 15 2026, 4:16 PM · drivers, wireless