Sylvain ROGER RIEUNIER <sylvain.roger.rieunier@xxxxxxxxx> schrieb: >Dear Helmut, > >I already did a test using the Sysfs with an synchronous read. But more >you >read TX_AGG_CNT counters and more you reduce the bandwith. >My idea was to make asynchronous read periodically to allow Sysfs >reading without >impact the bandwith performance. >Do you have an other suggestion? Maybe just rate limit register reading in the sysfs interface? Something like: we've just updated the stats a second ago, use the old data ... Or as a different idea, schedule a work from the tx status path (the counters can only change if we transmit something), also rate limited ... This could be used for rt2800pci as well then ... Helmut > >Sylvain > > > >2013/8/5 Helmut Schaa <helmut.schaa@xxxxxxxxxxxxxx> > >> On Thu, Aug 1, 2013 at 5:39 PM, Sylvain ROGER RIEUNIER >> <sylvain.roger.rieunier@xxxxxxxxx> wrote: >> > From: Sylvain Roger Rieunier <sylvain.roger.rieunier@xxxxxxxxx> >> > >> > I tried to read periodically TX_AGG_CNT registers on the rt2800usb >> driver. >> > I'had made USB synchronous and asynchronous read. But it's only >reduces >> the >> > bandwidth. >> > Does anyone have an idea? >> > >> > >> > Signed-off-by: Sylvain ROGER RIEUNIER ><sylvain.roger.rieunier@xxxxxxxxx> >> >> Instead of updating the statistics from within a timer can't you just >> update them when reading the sysfs file? >> Helmut >> -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. -- 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