Linux wireless drivers development
 help / color / mirror / Atom feed
* [RFC] per-sta reassembly buffers
@ 2007-09-05 10:28 Johannes Berg
  2007-09-06  2:06 ` Jouni Malinen
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2007-09-05 10:28 UTC (permalink / raw)
  To: linux-wireless; +Cc: Jouni Malinen

[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]

Hey,

I was looking through the defragmentation code and noticed that we only
allow four fragmented frames to be in flight at the same time. It seems
that in a somewhat contended QoS network where fragmentation is enabled
this is far from enough since as far as I can tell from the standard
each source STA may be sending fragmented frames in the various access
categories (think starting in background and then preempting by best
effort etc.)

We could easily increase this by using per-sta reassembly buffers at no
CPU cost [1] but that has the obvious disadvantage of having much higher
worst-case memory usage. Thoughts?

johannes

[1] the reassembly code can even be made faster then: instead of looking
through all four reassembly buffers whether they match we already know
that the source MAC matches, and by default we can hash into the four
slots by the lowest two bits of the sequence number and only if no match
continue to look in the other slots, this shouldn't really ever happen
as far as I can tell.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-06 12:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-05 10:28 [RFC] per-sta reassembly buffers Johannes Berg
2007-09-06  2:06 ` Jouni Malinen
2007-09-06 12:03   ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox