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 <lyn...@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); > >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev