Page MenuHomeFreeBSD

run(4): convert to ieee80211_tx_complete()
ClosedPublic

Authored by avos on Oct 23 2015, 4:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 23, 11:59 PM
Unknown Object (File)
Thu, Mar 19, 7:26 AM
Unknown Object (File)
Mon, Mar 16, 8:15 AM
Unknown Object (File)
Mon, Mar 16, 2:24 AM
Unknown Object (File)
Feb 27 2026, 11:01 PM
Unknown Object (File)
Feb 23 2026, 2:24 AM
Unknown Object (File)
Jan 22 2026, 3:41 AM
Unknown Object (File)
Dec 31 2025, 1:08 PM
Subscribers

Details

Test Plan

(untested, should be noop)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avos retitled this revision from to run(4): convert to ieee80211_tx_complete().
avos updated this object.
avos edited the test plan for this revision. (Show Details)
avos added reviewers: adrian, kevlo.
avos set the repository for this revision to rS FreeBSD src repository - subversion.
sys/dev/usb/wlan/if_run.c
3034 ↗(On Diff #9664)

This is now being called regardless of whether data->m is NULL.

Let's ensure we don't call it if data->m is NULL.

(And yes, we should get you some hardware.)

sys/dev/usb/wlan/if_run.c
3034 ↗(On Diff #9664)

Is it possible? (run_tx() / run_tx_mgt() / run_sendprot() / run_tx_param() will never initialize data->m / data->ni to NULL).

Ah, ok. this is slightly different to other drivers where this function would also be called when tearing down the queues (eg during XXX_stop()). Ok.

adrian edited edge metadata.

We can fix any unintended consequences later; this is definitely cleaner. go for it!

This revision is now accepted and ready to land.Oct 23 2015, 4:55 PM
This revision was automatically updated to reflect the committed changes.