> but since the payload should be aligned to a 4 byte boundrary anyway That's not true. The "payload" in terms of "802.11 frame" shouldn't be aligned on a four-byte boundary for QoS or 4-addr frames. > can't predict what header length the frame will contain. :( Well, good hardware inserts padding, cf. http://bcm-v4.sipsolutions.net/802.11/RX > Although it would safe the initial allocation of the DMA buffer... > I'll look into it to see if it would be useful. More importantly, it'd save you the copy if your hardware is decent and inserts two bytes padding for QoS/WDS frames. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part