Re: [OpenWrt-Devel] [PATCH] lantiq: add ath9k support to netgear dgn3500 platform

2012-03-31 Thread Andrej Vlašić
Hi Pieter, I found an eeprom signature in the "DPF" partition, offset 0x2f000. > The data in here contains the same PCI header, but other sections > differ from the file. The data in the eeprom contains a lot more 0xff > sections than the file... > Maybe it is only pci fixup data without the eepr

Re: [OpenWrt-Devel] [PATCH] lantiq: add ath9k support to netgear dgn3500 platform

2012-03-31 Thread simon h
Pieter, the structure of the data is defined in the Ath5k/9k directories of compat_wireless. s On Sat, Mar 31, 2012 at 11:41 AM, Pieter Voorthuijsen wrote: > Hello Andrej, > >> Are you sure that /etc/ath/eeprom isn't created from some flash partition in >> boot time, because usually every devi

Re: [OpenWrt-Devel] [PATCH] lantiq: add ath9k support to netgear dgn3500 platform

2012-03-31 Thread Pieter Voorthuijsen
Hello Andrej, > Are you sure that /etc/ath/eeprom isn't created from some flash partition in > boot time, because usually every device should have it's own eeprom I found an eeprom signature in the "DPF" partition, offset 0x2f000. The data in here contains the same PCI header, but other sections

Re: [OpenWrt-Devel] [PATCH] lantiq: add ath9k support to netgear dgn3500 platform

2012-03-29 Thread Pieter Voorthuijsen
Hi Simon, > I hardcoded only the first part of the data - the fixup data - which > should not change between different insttances of the same model, and > then read the nand partition at the time the ath driver loaded. > > you should be able to do something similar to read your file? My eeprom fi

Re: [OpenWrt-Devel] [PATCH] lantiq: add ath9k support to netgear dgn3500 platform

2012-03-29 Thread simon h
Hi Pieter, on my BT HHV2B, my calibration data is in nand. I need it at two points, the first to read the PCI fixup data (used before nand has been probed) and then for the actual ath driver (after nand has been probed). I hardcoded only the first part of the data - the fixup data - which should

Re: [OpenWrt-Devel] [PATCH] lantiq: add ath9k support to netgear dgn3500 platform

2012-03-28 Thread Pieter Voorthuijsen
Hi Andrej, > Are you sure that /etc/ath/eeprom isn't created from some flash partition in > boot time, because usually every device should have it's own eeprom > calibration data to make wifi performance best. >From manufacturers point of view it is easier to have identical products... The file i

Re: [OpenWrt-Devel] [PATCH] lantiq: add ath9k support to netgear dgn3500 platform

2012-03-27 Thread Andrej Vlašić
On 27 March 2012 22:53, Pieter Voorthuijsen wrote: > The eeprom data is extracted from the original firmware located in > /etc/ath/eeprom. > Hi Are you sure that /etc/ath/eeprom isn't created from some flash partition in boot time, because usually every device should have it's own eeprom calibr

Re: [OpenWrt-Devel] [PATCH] lantiq: add ath9k support to netgear dgn3500 platform

2012-03-27 Thread John Crispin
On 27/03/12 22:53, Pieter Voorthuijsen wrote: > This patch adds support for the AR9223 wifi chip on the Netgear DGN3500 ADSL2 > router. Originally the chip was identified with PCI product ID 0xff1d. This > was fixed by using ltq_pci_ath_fixup similair to other implementations with > the AR9223.

[OpenWrt-Devel] [PATCH] lantiq: add ath9k support to netgear dgn3500 platform

2012-03-27 Thread Pieter Voorthuijsen
This patch adds support for the AR9223 wifi chip on the Netgear DGN3500 ADSL2 router. Originally the chip was identified with PCI product ID 0xff1d. This was fixed by using ltq_pci_ath_fixup similair to other implementations with the AR9223. The eeprom data is extracted from the original firmwar