Open GoogleCodeExporter opened 9 years ago
dump9300 original dump
dump9300 modded dump using ghex
Original comment by bigboo3...@gmail.com
on 13 May 2014 at 3:12
Attachments:
Same from here :
Dumped Rom
Changed Regdomain
Fix CRC
Used iwl to write rom
iwl reported no error but rom did not changed
Original comment by pana...@gmail.com
on 29 May 2014 at 9:06
[deleted comment]
CRC stays the same also for me.
iwleeprom -D1 -d 0000:03:00.0 -i etsic0x65.bin
debug level: 1
Using device 0000:03:00.0 [RW] AR9462 Wireless Adapter (PCI-E)
IO driver: ath9300
Supported ops: read write parse
address: f7c00000
HW: AR9462 (PCI) rev 0002
RF: integrated
Trying EEPROM access...
OTP address out of range: 0fff
OTP address out of range: 1001
ath9300_eeprom_check_header 00000000 @0fff r=0
Filling ath9300 EEPROM... DONE
OTP address out of range: 0401
ath9300_eeprom_check_header 00000000 @03ff r=0
ath9300_eeprom_check_header 00000000 @01ff r=0
Trying OTP access...
DONE
ath9300_eeprom_check_header 0c642d93 @03ff r=1
AR9300 device NVM type: OTP (data block @03ff)
Found block at 3ff: code=3 ref=4 length=729 major=3 minor=12 (RAW: 0c932d64)
Calculating EEPROM CRC...
CRC (stored): acd8
CRC (eval) : acd8
compression : block
ath9300 short eeprom base: 289 (0x0121) size: 735
Would be nice to if someone can have a look at it.
Original comment by florian.nolden
on 10 Nov 2014 at 2:51
@florian.nolden
> AR9300 device NVM type: OTP (data block @03ff)
In your case the EEPROM is not writable (OTP means One-Time Programmable). I'm
no expert, but I don't think it's possible to fix it programmatically.
There is problem with iwleeprom silently ignoring any write-related commands if
`eeprom_writable` flag is not set, while, IMHO, the expected behaviour is to
raise an error:
Index: iwleeprom.c
===================================================================
--- iwleeprom.c (revision 44)
+++ iwleeprom.c (working copy)
@@ -608,11 +608,19 @@
if (parse && dev.ops->eeprom_parse)
dev.ops->eeprom_parse(&dev);
- if (ifname && dev.ops->eeprom_writable)
- eeprom_write(ifname);
+ if (ifname) {
+ if (dev.ops->eeprom_writable)
+ eeprom_write(ifname);
+ else
+ die("Read-only eeprom!\n");
+ }
- if (patch11n && dev.ops->eeprom_writable)
- dev.ops->eeprom_patch11n(&dev);
+ if (patch11n) {
+ if (dev.ops->eeprom_writable)
+ dev.ops->eeprom_patch11n(&dev);
+ else
+ die("Read-only eeprom!\n");
+ }
if (parse && dev.ops->eeprom_parse && (ifname || patch11n)) {
printf("\n\ndevice capabilities after eeprom writing:\n");
Original comment by al42...@gmail.com
on 10 Feb 2015 at 12:59
Thanks, for the clarification.
I got the card from ebay. Is there a way known to figure out if a wifi card is
OTP before buying it?
My card was labeled as:
Lite-On WCBN611AH Half Size MINI PCI Express
with Qualcomm Atheros AR9462 Wlan+Bluetooth 4.0+HS
But this card is OTP and disallows any host/ap wifi at 5 Ghz by default, maybe
that helps atleast others.
Original comment by florian.nolden
on 10 Feb 2015 at 2:04
Original issue reported on code.google.com by
bigboo3...@gmail.com
on 13 May 2014 at 3:07