Thread (24 messages) 24 messages, 7 authors, 2010-08-16

Re: [PATCH v2] net: add Fast Ethernet driver for PXA168.

From: Philip Rakity <hidden>
Date: 2010-08-10 16:37:17


On Aug 10, 2010, at 5:33 AM, Lennert Buytenhek wrote:
On Tue, Aug 10, 2010 at 02:00:04PM +0530, Sachin Sanap wrote:
quoted
* Headroom in SKB for 802.11 not included in the patch since that
 varies based on 802.11 a/b/g/n.
I don't think this is true?

(The 11a/b/n on-the-air preambles are of different lengths (and are
sent at different rates), but that isn't visible to software.)

802.11b/g headers are larger and if not handled by firmware in an offload engine are programmed by the driver.  There needs to be room for 

a) Frame Control (2 bytes)
b) AID (2 bytes)
c) address-1 (6 bytes)
d) address-2 (6 bytes)
e) address-3 (6 bytes)
f) seqfrag  (2 bytes)
g) address-4 (6 bytes) 


or 30 bytes. 11n needs more.  Some of these fields ARE visible to s/w.  So the skb prepend area needs to be larger when sending from ethernet to wifi since there will not be room for some of these fields.

Philip


<snip> 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help