Skip to contentSkip to conversation

locating the rcstat file

ath9k-devel BC 1 participant 2 messages Sep 2, 2010 – Oct 7, 2010 1 message not in the archive

lore
Share & tools
lore

BC

author
#0 lore raw

Iv been looking into using the rcstat file but I cannot seem to locate it in the system for some reason:
Rcstat file is used to know at what MCS rate that the ATH9k received the frames and you can find more details like PER (Packet error ratio), success and retries info. http://wireless.kernel.org/en/users/Drivers/ath9k/debug

It is supposed to be located here: /sys/kernel/debug/ath9k/phy0/rcstat
After issuing the command: 'mount -t debugfs debugfs /sys/kernel/debug/' but it does not work for me. My system does not have /sys/kernel/debug/ath9k only /sys/kernel/debug with no ath9k but, I am positive that I am using the ath9k driver? Thank you for any responses?

uname -a:

linux 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19

Brandon M. Combs
Brmcombs at iusb.edu
mypage.iusb.edu/~brmcombs
(574)202-0972
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100902/ff38ae1b/attachment.htm

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#2 lore raw
Quoted 6 lines

very Sorry for the late reply , have you seen whether

CONFIG_ATH9K_DEBUGFS=y is enable in config.mk of compat wireless

shafi

Thank you so much for the reply Shafi. That worked for me. I'd like to suggest to whomever maintains the site http://wireless.kernel.org/en/users/Drivers/ath9k/debug
to add those instructions on how debug by changing parameters in the config.mk file. While searching the web I have read that several wireless researchers cannot figure out how to enable debugging in ath9k and view the /sys/kernel/debug/ath9k/phy0 files.

Thanks again for the response, it's greatly appreciated!!!

Brandon M. Combs
Brmcombs at iusb.edu
mypage.iusb.edu/~brmcombs
(574)202-0972

-----Original Message-----
From: Mohammed Shafi <[email protected]>
To: BC <[email protected]>
Sent: Thu, Oct 7, 2010 4:04 am
Subject: Re: [ath9k-devel] locating the rcstat file

very Sorry for the late reply , have you seen whether

CONFIG_ATH9K_DEBUGFS=y is enable in config.mk of compat wireless

shafi

On Fri, Sep 3, 2010 at 2:37 AM, BC <[email protected]> wrote:

Iv been looking into using the rcstat file but I cannot seem to locate it in the system for some reason:
Rcstat file is used to know at what MCS rate that the ATH9k received the frames and you can find more details like PER (Packet error ratio), success and retries info. http://wireless.kernel.org/en/users/Drivers/ath9k/debug

It is supposed to be located here: /sys/kernel/debug/ath9k/phy0/rcstat
After issuing the command: 'mount -t debugfs debugfs /sys/kernel/debug/' but it does not work for me. My system does not have /sys/kernel/debug/ath9k only /sys/kernel/debug with no ath9k but, I am positive that I am using the ath9k driver? Thank you for any responses?

uname -a:

linux 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20101007/7d9de4e0/attachment.htm