Search Linux Wireless

Re: [PATCH 2/2] ath9k: Add more recv stats.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/04/2012 05:01 AM, Felix Fietkau wrote:

+ * @rx_beacons:  No. of beacons received.
+ * @rx_frags:  No. of rx-fragements received.
Why should the driver keep track of those last two?

Well, for instance, I often see around 5Mbps of total rx bytes
(as counted by the NIC), but much less transmitted.  And this is
with stations sending to stations.

I was trying to figure out where the extra packets come from.  It
seems beacons is a lot of it so it seemed worth counting.  And maybe
fragments count towards that too since there would be more overhead???

As for rx-frags, just seemed useful to know how many frags
were received.  My understanding is that this is like receiving
1/2 of a packet at a time...so if we wanted to know how many
real packets the NIC received, we'd need to take frags v/s non-frags
into account.  The current logic that counts 'all-packets' for
the rx path is counting individual fragments, I think.

At least for beacons, as long as they are always passed up
the stack, I can count them in the mac80211 layer instead if
you prefer.

Thanks,
Ben


- Felix


--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux