Le vendredi 07 janvier 2011 à 02:04 +0100, Christian Lamparter a écrit :
> On Friday 07 January 2011 01:46:03 gree...@candelatech.com wrote:
> > From: Ben Greear <gree...@candelatech.com>
> > 
> > Patch is from Eric Dumazet, as described here:
> > https://patchwork.kernel.org/patch/104271/
> > 
> > Reported-by: Michael Guntsche <m...@it-loops.com>
> > Signed-off-by: Eric Dumazet <eric.duma...@gmail.com>
> > Signed-off-by: Ben Greear <gree...@candelatech.com>
> > ---
> > 
> > NOTE:  This needs review by ath9k and/or other informed
> > people.
> 
> Does the hardware support vector-i/o for rx (like for instance iwlagn)?
> Else, this change would break A-MSDU rx - which is a mandatory feature
> (although, not very popular) of 802.11n - 
> 
> See for example 802.11n-2009 9.7c:
> 
> "Support for the reception of an A-MSDU, where [...], is mandatory for
> an HT STA"
> 
> And 7.1.2 "The maximum frame body size is determined by the maximum
> MSDU size (2304 octets) OR the maximum A-MSDU (3839 or 7935 octets,
> depending upon the STA's capability), plus any overhead from security
> encapsulation.

Then, only solution is to mark this broken, and perform a copy of each
received frame, to keep a order-1 buffer(s) allocated for hardware.

Its too easy to have memory allocation failures for high order pages and
freeze the card.

A copy is time consuming, but at least works.



_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to