[OpenWrt-Devel] [PATCH] ath79: Add SUPPORTED_DEVICES for Archer C7 v1/v2

David Bauer mail at david-bauer.net
Sun Apr 21 05:42:52 EDT 2019


Hello Christian,

On 20.04.19 20:59, Christian Lamparter wrote:
> On Wednesday, April 17, 2019 3:45:52 PM CEST Adrian Schmutzler wrote:
>> The identifier for both devices is "archer-c7" on ar71xx, set here:
>> https://github.com/openwrt/openwrt/blob/master/target/linux/ar71xx/base-files/lib/ar71xx.sh#L348
>> https://github.com/openwrt/openwrt/blob/master/target/linux/ar71xx/base-files/lib/ar71xx.sh#L511
>>
>> Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
>> ---
>>  target/linux/ath79/image/generic-tp-link.mk | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk
>> index 6853f12341..db1eabd420 100644
>> --- a/target/linux/ath79/image/generic-tp-link.mk
>> +++ b/target/linux/ath79/image/generic-tp-link.mk
>> @@ -70,6 +70,7 @@ define Device/tplink_archer-c7-v1
>>    DEVICE_TITLE := TP-Link Archer C7 v1
>>    DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
>>    TPLINK_HWID := 0x75000001
>> +  SUPPORTED_DEVICES += archer-c7
>>  endef
>>  TARGET_DEVICES += tplink_archer-c7-v1
>>  
>> @@ -79,6 +80,7 @@ define Device/tplink_archer-c7-v2
>>    DEVICE_TITLE := TP-Link Archer C7 v2
>>    DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
>>    TPLINK_HWID := 0xc7000002
>> +  SUPPORTED_DEVICES += archer-c7
> In case of the v2, I think there's still the problem that a straight up upgrade
> from ar71xx to ath79 will affect the 5GHz ath10k wireless because it now has a
> new device path and hence a new default configuration (where the card is 
> disabled) is created.

I recall upgrading my OCEDO Koala (which uses the same 9558/9880 combo)
from ar71xx to ath79 and the PCIe path being consistent on both platforms.

This however might have changed in the meantime, so someone should
probably confirm this with a real C7.

Best wishes
David

> 
> Tomasz Maciej Nowak worked on the WMAC part already (that's why the C7 v1
> hunk should be fine! But I think untested) in his series for the EPG5000.
> <https://patchwork.ozlabs.org/patch/1056131/>.
> 
> So I think that maybe it's possible to extend the migration script for
> pcie devices as well.
> 
> Cheers,
> Christian
> 
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list