* [ath9k-devel] Read and write the EEPROM
@ 2009-04-01 8:02 Giorgio Mazzucchelli
2009-04-01 9:00 ` Sujith
0 siblings, 1 reply; 5+ messages in thread
From: Giorgio Mazzucchelli @ 2009-04-01 8:02 UTC (permalink / raw)
To: ath9k-devel
Hi,
Is there something for ath9k similar to
ath_info<http://madwifi-project.org/wiki/UserDocs/AthInfo>,
the command that I was used to call in for reading and writing the EEPROM
with the Mad-WiFi driver.
If that command doesn't work anymore, might someone please suggest me how
could I get the data out of the card's memory.
Thank you.
G.M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090401/0bbf91c9/attachment.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] Read and write the EEPROM
2009-04-01 8:02 Giorgio Mazzucchelli
@ 2009-04-01 9:00 ` Sujith
0 siblings, 0 replies; 5+ messages in thread
From: Sujith @ 2009-04-01 9:00 UTC (permalink / raw)
To: ath9k-devel
Giorgio Mazzucchelli wrote:
> Hi,
>
> Is there something for ath9k similar to ath_info<http://madwifi-project.org/wiki/UserDocs/AthInfo>, the command that I was used to call in for reading and writing the EEPROM with the Mad-WiFi driver.
>
No, ath_info doesn't parse EEPROM data of the chipsets supported by ath9k.
> If that command doesn't work anymore, might someone please suggest me how could I get the data out of the card's memory.
Take a look at eeprom.[ch] in ath9k/ and you could probably
write a parser or extend ath_info maybe ...
Sujith
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] Read and write the EEPROM
@ 2009-04-01 12:40 Giorgio Mazzucchelli
2009-04-01 14:15 ` Pavel Roskin
0 siblings, 1 reply; 5+ messages in thread
From: Giorgio Mazzucchelli @ 2009-04-01 12:40 UTC (permalink / raw)
To: ath9k-devel
OK, but I would like to know how to read the country code written in the
card's EEPROM, and how to set.
Is there any wiki page, any guide or tutorial that explains it?
Searching far and wide in this mailing list didn't helped me so much, by
now.
Thanks
G.M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090401/e09de98e/attachment.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] Read and write the EEPROM
2009-04-01 12:40 [ath9k-devel] Read and write the EEPROM Giorgio Mazzucchelli
@ 2009-04-01 14:15 ` Pavel Roskin
2009-04-01 16:16 ` Luis R. Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Pavel Roskin @ 2009-04-01 14:15 UTC (permalink / raw)
To: ath9k-devel
On Wed, 2009-04-01 at 14:40 +0200, Giorgio Mazzucchelli wrote:
> OK, but I would like to know how to read the country code written in
> the card's EEPROM, and how to set.
The country code is read from EEPROM in the beginning of
ath9k_hw_fill_cap_info() in drivers/net/wireless/ath9k/hw.c. Writing
EEPROM is not supported by ath9k.
> Is there any wiki page, any guide or tutorial that explains it?
> Searching far and wide in this mailing list didn't helped me so much,
> by now.
The ath9k wiki is here:
http://linuxwireless.org/en/users/Drivers/ath9k
I'm not aware about any resources specifically about reading or writing
EEPROM in ath9k.
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] Read and write the EEPROM
2009-04-01 14:15 ` Pavel Roskin
@ 2009-04-01 16:16 ` Luis R. Rodriguez
0 siblings, 0 replies; 5+ messages in thread
From: Luis R. Rodriguez @ 2009-04-01 16:16 UTC (permalink / raw)
To: ath9k-devel
On Wed, Apr 1, 2009 at 7:15 AM, Pavel Roskin <proski@gnu.org> wrote:
> On Wed, 2009-04-01 at 14:40 +0200, Giorgio Mazzucchelli wrote:
>> OK, but I would like to know how to read the country code written in
>> the card's EEPROM, and how to set.
>
> The country code is read from EEPROM in the beginning of
> ath9k_hw_fill_cap_info() in drivers/net/wireless/ath9k/hw.c. ?Writing
> EEPROM is not supported by ath9k.
>
>> Is there any wiki page, any guide or tutorial that explains it?
>> Searching far and wide in this mailing list didn't helped me so much,
>> by now.
>
> The ath9k wiki is here:
> http://linuxwireless.org/en/users/Drivers/ath9k
>
> I'm not aware about any resources specifically about reading or writing
> EEPROM in ath9k.
If you write to the EEPROM you could be tuning the device out of
calibrated values used and tesed for compliance and therefore it is
not supported. Users just do not need this, manufacturers however do.
You can read the value on the EEPROM by enabling the ath9k debug
kconfig option, it will be outputed in hex format when loading ath9k.
Luis
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-04-01 16:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-01 12:40 [ath9k-devel] Read and write the EEPROM Giorgio Mazzucchelli
2009-04-01 14:15 ` Pavel Roskin
2009-04-01 16:16 ` Luis R. Rodriguez
-- strict thread matches above, loose matches on Subject: below --
2009-04-01 8:02 Giorgio Mazzucchelli
2009-04-01 9:00 ` Sujith
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.