Page MenuHomeFreeBSD

iwx: clean up TX AMPDU session establishment and checking
ClosedPublic

Authored by adrian on Thu, Nov 13, 4:36 AM.
Referenced Files
F135949557: D53725.id166413.diff
Fri, Nov 14, 11:43 AM
F135928440: D53725.id166403.diff
Fri, Nov 14, 6:14 AM
F135906526: D53725.id.diff
Fri, Nov 14, 1:08 AM
Unknown Object (File)
Thu, Nov 13, 4:02 PM
Unknown Object (File)
Thu, Nov 13, 8:16 AM
Unknown Object (File)
Thu, Nov 13, 7:33 AM
Unknown Object (File)
Thu, Nov 13, 7:08 AM
Unknown Object (File)
Thu, Nov 13, 4:46 AM
Subscribers

Details

Summary

iwx: clean up TX AMPDU session establishment and checking

  • Send a TX AMPDU exchange successfully; we were allocating the AMPDU TX queue but returning 0 to net80211 was telling it to not establish the TX AMPDU session and none of the BA session tracking stuff would work.
  • Clean up the TX AMPDU queue lookup in the transmit path - only QoS data frames are allowed, not qos null-data, cf/ack/etc frames; only send them if the AMPDU session is established.
  • Tell net80211 that we've established the TX AMPDU session once the firmware queue has been created.
  • Check to make sure we're not double (or more) creating TX AMDPU sessions - only allocate a qid if we're not doing AMPDU yet.
  • Delete IWX_FLAG_AMPDUTX - it's now being properly tracked!

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

more "correct" fixes, i hope!

adrian edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Thu, Nov 13, 9:26 AM

I am reluctant to click on Request Changes for this but maybe you can still fix the local bits before committing.

It's A-MPDU not AMPDU. sed-replace

sys/dev/iwx/if_iwx.c
3528

could be an uint8_t or if you really wanted an uint16_t

3557

We need to get rid of the magic number. I guess even a bool passing true or defining 1 to something in net80211 will do us good.

10962
/*
 * There is ...
This revision now requires review to proceed.Fri, Nov 14, 1:42 AM
This revision was not accepted when it landed; it landed in state Needs Review.Fri, Nov 14, 2:37 AM
This revision was automatically updated to reflect the committed changes.