Working on wireless improvements
Details
Yesterday
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?
Tue, Jul 21
Landed via another review (https://reviews.freebsd.org/D49161)
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.
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.
Mon, Jul 20
Wed, Jul 8
Tue, Jul 7
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?
@adrian It's a (pretty terrible) AP from Huawei
Fri, Jul 3
ugh ok why's do_ht being set when there's no htcap/htinfo fields.
Wed, Jul 1
Mon, Jun 29
For now I'd like to stay close to the original implementation and only extend the diagnostic where necessary.
Sun, Jun 28
...
<VHT*>
I personally I would go with the simpler solution calling IEEE80211_IS_CHAN_VHTxxx macros already combines mode and width.
Sat, Jun 27
I think we should just create a function to return a static channel description for this. something like
Wed, Jun 24
Reverted back to the original branching to keep the original structure. %s%d canged to %s%s to hande 80P80
Test HT20, HT40, VHT20, VHT40, VHT80, VHT160 not tested VHT80P80
Debug string update to be able to display VHT40U and VHT40D
Tue, Jun 23
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.
Added every configuration currently available for more accurate debuging
Agreed but we could detail VHT40U and D and VHT20 too
Jun 23 2026
If we do it then let us do better than AI and also document 80P80.
Jun 20 2026
ok, this is the next thing to dig into and figure out how to land.
Jun 17 2026
You can eject the usb via software, that will init a reset.
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 16 2026
landed, i fixed it locally
