Re: [RFC 1/2] wireless: add ieee80211_asmdu_to_8023s

Johannes Berg
2009-11-27T09:18:21Z

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

On Fri, 2009-11-27 at 09:06 +0800, Zhu Yi wrote:

> > > + dev->stats.rx_packets++;
> > > + dev->stats.rx_bytes += skb->len;
> >
> > Shouldn't rx_packets be per sub-frame?
>
> Not very sure. Maybe it's one frame from the device's perspective? The
> original code does this so I didn't change the behavior. Should I?

Ah, yes, I remember now -- had been wondering about this before. What
does everybody else think?