[LEDE-DEV] [PATCH 2/2] [RFC] ar71xx/cpe510: use second wifi calibration table

Matthias Schiffer mschiffer at universe-factory.net
Mon May 23 10:19:27 PDT 2016


On 05/23/2016 03:23 AM, Alexander Couzens wrote:
> The cpe510 has two calibration tables. The first calibration
> table requires to modify ath9k driver to work (patched tx gain table).

Hi,
do you have any idea if the TP-Link firmware also uses the second
calibration table, or if their version of the WLAN driver is modified in a
way similar to the ath9k patch you sent a few days ago?

I find it quite unfortunate that we can't support both devices using a
single image, even though the original firmware can. The CPE210 and CPE510
can be easily differentiated by looking at the product-info partition, so
the caldata address could be chosen accordingly.

Regards,
Matthias


> 
> Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
> ---
>  target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
> index 74daf43..875589d 100644
> --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
> +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
> @@ -117,7 +117,7 @@ static void __init cpe210_setup(void)
>  static void __init cpe510_setup(void)
>  {
>  	u8 *mac = (u8 *) KSEG1ADDR(0x1f830008);
> -	u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);
> +	u8 *ee = (u8 *) KSEG1ADDR(0x1fff5000);
>  
>  	cpe_setup(mac);
>  
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20160523/12d17aa7/attachment.sig>


More information about the Lede-dev mailing list