On Tue, Nov 27, 2012 at 1:23 PM, Ramanujan Seshadri <ksramanu...@gmail.com> wrote: > I want to know how many MPDU's are aggregated in each AMPDU transmission.
You could use following statistic counters RT2860_TX_AGG_CNT0 to 7 https://gitorious.org/run/run/blobs/11n_rc3/dev/usb/wlan/if_runreg.h#line186 Each 32-bit little-endian read-on-clear register contains 2 16-bit counters (total 16 16-bit counters). counter at offset 0x1720 MPDU count 1 counter at offset 0x1722 MPDU count 2 ... counter at offset 0x173c MPDU count 15 counter at offset 0x173e MPDU count >= 16 These regs are identical on RT2800 and RT2700 (pci/usb). Example (see #if 0 part) https://gitorious.org/run/run/blobs/11n_rc3/dev/usb/wlan/if_run.c#line2493 You can only find out statistical numbers (total Tx counts past X sec). You cannot find out an MPDU count in a particular packet, i.e. an aggregated packet just Tx'd, unless you read the counters on each Tx. AK > > -ram > > > On Tue, Nov 27, 2012 at 2:11 PM, PseudoCylon <moonlightak...@yahoo.ca> > wrote: >> >> > ------------------------------ >> > >> > Message: 12 >> > Date: Tue, 27 Nov 2012 04:33:37 -0500 >> > From: Ramanujan Seshadri <ksramanu...@gmail.com> >> > To: freebsd-net@freebsd.org >> > Subject: Ralink RT2860 Driver Code >> > Message-ID: >> > >> > <CAK=c58l7yap+ygk3pz2vjg9toakwcbhhi7xsaxth6-kyf0d...@mail.gmail.com> >> > Content-Type: text/plain; charset=ISO-8859-1 >> > >> > Hello, >> > Can i know how to get the MPDU's aggregated in each AMPDU in a ralink >> > driver code for RT2860. I saw the existing counters of ralink and tried >> > to >> > get some info, but was not very useful. >> > Any help is greatly appreciated. >> > >> >> https://gitorious.org/run/run/trees/11n_rc3/dev/usb/wlan >> >> What info are you trying to get? >> >> >> AK >> >> > Thanks >> > ram >> > >> > >> > ------------------------------ >> > >> > _______________________________________________ >> > freebsd-net@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-net >> > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" >> > >> > End of freebsd-net Digest, Vol 504, Issue 2 >> > ******************************************* > > _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"