linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* changing dev->needed_headroom/needed_tailroom?
@ 2013-07-26 14:50 Johannes Berg
  2013-08-02  8:55 ` Ben Hutchings
  0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2013-07-26 14:50 UTC (permalink / raw)
  To: netdev; +Cc: linux-wireless

Does it seem reasonable to change dev->needed_headroom and
dev->needed_tailroom on the fly?

We currently set needed_headroom to the max of what we need, but we
could do better like making it depend on the interface type (e.g. only
asking for mesh space on mesh interfaces). This would be done only when
the interface isn't connected, I can't promise it would be down but the
carrier would be off.

Another thing we might want to do is change it according to the
currently configured crypto (this would also affect
dev->needed_tailroom) since we actually only need tailroom when TKIP is
used. This could might be done on the fly, but could also be done when
the carrier is still down during connection establishment (which would
not be a complete optimisation but still be better than what we have
now)

Thoughts?

johannes


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

end of thread, other threads:[~2013-08-20 16:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-26 14:50 changing dev->needed_headroom/needed_tailroom? Johannes Berg
2013-08-02  8:55 ` Ben Hutchings
2013-08-02 13:11   ` Eric Dumazet
2013-08-05 14:00     ` Johannes Berg
2013-08-20 10:00       ` Florian Fainelli
2013-08-20 16:20         ` Stephen Hemminger
2013-08-20 16:24           ` Johannes Berg
2013-08-20 16:29             ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).