From mboxrd@z Thu Jan 1 00:00:00 1970 From: gtolon at inti.gob.ar Date: Wed, 30 Nov 2011 17:34:55 -0300 Subject: [ath9k-devel] ath9k debug, low bitrates In-Reply-To: References: Message-ID: <4ED6936F.1090100@inti.gob.ar> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi. I'm using some D-Link routers with Openwrt Backfire, each one with an Acces Point and an ad hoc interface (using virtual interfaces). Using the ad hoc interface between routers sometimes i get good bitrates with iperf, 70 Mbps for example, with less than 1% of error, but occasionally the error increases to larger values, up to 40%. I don't have reasons to think that it's a channel problem, because the routers are very close and sometimes the transference is good in one direction and not in the other, and i know there's not high interferences. I think that maybe it's a problem related to tx dma faillures (https://dev.openwrt.org/ticket/9693) but i'm not sure, because sometimes the low rates appear without that error. I know that maybe this is a problem related with openwrt and not with the driver, but to be sure i'd like to know more about the debug files of ath9k. I was searching for usefull data in the debug files like: /sys/kernel/debug/ieee80211/phy0/ath9k/wiphy /sys/kernel/debug/ieee80211/phy0/ath9k/xmit /sys/kernel/debug/ieee80211/phy0/ath9k/interrupt /sys/kernel/debug/ieee80211/phy0/ath9k/dma etc, but i found it very difficult to undersand the parameters showed. I've been looking in the source code also, in debug.h, and i saw the meaning of some abbreviations, but i still don't know how to interpret them. I would appreciate some help on this to use the debug files and know if the problem is related with the driver or not. Thanks! Gabriel