All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Enabling debug on Ath9k
@ 2009-04-02 12:57 Giorgio Mazzucchelli
  2009-04-02 16:24 ` Pavel Roskin
  0 siblings, 1 reply; 2+ messages in thread
From: Giorgio Mazzucchelli @ 2009-04-02 12:57 UTC (permalink / raw)
  To: ath9k-devel

As far as I have learn, the first step to read the card's EEPROM is to
enabling debug, correct me if I'm wrong.

Here they are the steps that I have follow:

in *config.mk*
added  *CONFIG_ATH9K_DEBUG=y *
then* make *&&* make install* in compat wireless' directory

problem: where I can find this configuration menu? *make menuconfig* in
which directory?

Device Drivers  --->
  [*] Network device support  --->
        Wireless LAN  --->
          <M>   Atheros 802.11n wireless cards support
          [*]     Atheros ath9k debugging


The issue is that I can't see any 'debug' parameter for ath9k module, take a
look:

modinfo ath9k
filename:
/lib/modules/2.6.28-9-generic/updates/drivers/net/wireless/ath9k/ath9k.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:         Atheros Communications
srcversion:     0E00038F566194A06BE4261
alias:          pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Asv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000029sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000027sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000023sv*sd*bc*sc*i*
depends:        led-class,mac80211,cfg80211
vermagic:       2.6.28-9-generic SMP mod_unload modversions 586
parm:           nohwcrypt:Disable hardware encryption (int)
parm:           btcoex_enable:Enable Bluetooth coexistence support (bool)

Then,
*modprobe ath9k debug=*0xo... should return me the regulatory info write in
the EEPROM
and
*modprobe cfg80211 ieee80211_regdom=*(the country code that I want) should
let me set the country code

Might anyone tell me if it's right?

Thank you
G.M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090402/b51cec38/attachment.htm 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-02 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-02 12:57 [ath9k-devel] Enabling debug on Ath9k Giorgio Mazzucchelli
2009-04-02 16:24 ` Pavel Roskin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.