Subject: Re: generic 802.11 stack

From: "David S. Miller" <[email-masked]>
Date: Tue, 7 Sep 2004 12:10:19 -0700

On Tue, 7 Sep 2004 21:41:54 +0300
Vladimir Kondratiev <[email-masked]> wrote:

> This should be done in generic way. This information used to communicate 
> berween particular driver and generic stack. For example, Rx PHY info and Tx 
> status info should be used for in-stack generic rate scaling algorithm.
> 
> To complicate it a bit, cb[] is only 48 bytes long. PHY info may easily exceed 
> this size, so it's better to allocate something and free it in destructor.
> 
> But again, point is this structure should be generic since it is used by 
> stack.

TCP does the same thing, and if space is an issue you can use
pointers in the cb[] area, other subsystems do this.