From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:c:538::194]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 7CD263BA8E for ; Thu, 14 Dec 2017 08:45:16 -0500 (EST) X-Originating-IP: 74.125.82.46 Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) (Authenticated sender: me@louie.lu) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 48046C5A68 for ; Thu, 14 Dec 2017 14:45:15 +0100 (CET) Received: by mail-wm0-f46.google.com with SMTP id y82so26326030wmg.1 for ; Thu, 14 Dec 2017 05:45:15 -0800 (PST) X-Gm-Message-State: AKGB3mIky/F9374JcfoYGVgU+BDN6XRfNmNlswaKGX4kVAQIJVRY32LD Ex+KSJDCZb35KiIQEPloJjaGtE2E0tWn0VG2MzA= X-Google-Smtp-Source: ACJfBovyfyTTyYQW9xRHYTemV1cFGuI8u9iRUWQ0ohsthYvgTkWB8gSiVg7xDpclyGsoKvtFa6ow8UzTpEZfAbuiUS0= X-Received: by 10.80.128.134 with SMTP id 6mr12504236edb.32.1513259114719; Thu, 14 Dec 2017 05:45:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.141.205 with HTTP; Thu, 14 Dec 2017 05:45:14 -0800 (PST) In-Reply-To: <87d13kxfm9.fsf@toke.dk> References: <87d13kxfm9.fsf@toke.dk> From: Louie Lu Date: Thu, 14 Dec 2017 21:45:14 +0800 X-Gmail-Original-Message-ID: Message-ID: To: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= Cc: Make-wifi-fast@lists.bufferbloat.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Make-wifi-fast] How to efficient test ath10k driver changed on LEDE platform? X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2017 13:45:16 -0000 2017-12-12 21:03 GMT+08:00 Toke H=C3=B8iland-J=C3=B8rgensen : > Louie Lu writes: > >> Hi all, >> >> I'm using TP-Link C2600 with LEDE to test ath10k driver, >> not sure if there have a better way to make the procedure more efficient= . >> >> This is my current workflow: >> >> 1. Using ath.git to make the changed I want (apply make-wifi-fast path >> for example) >> 2. git-patch to get the patch file >> 3. Put the patch file into LEDE ./package/kernel/mac80211/patches/ >> 4. Build up LEDE >> 5. scp ath10k kernel module into C2600 and reboot C2600 >> 6. Check and test with the modified driver >> >> I'm wondering if step 5 can reduce the reboot step, just rmmod and insmo= d >> ath10k driver when it is running to save the reboot time. > > Yup, reinstalling the kmod-ath10k package (or just copying over the new > .ko) and rmmod/insmod is fine. Just make sure you get all the modules > (including all the ath* and mac80211*). > Great, I'll take a try with only rmmod/insmod! >> Also, sometimes apply patch into LEDE may cause error when compiling >> ath10k driver, >> is there any way to specify which version of ath10k that LEDE to >> build? > > LEDE backports the entire WiFi stack. So it's way newer than the rest of > the kernel; think you can see the date it was backported in the version > number in the Makefile. So it is not easy to replace ath10k in LEDE to a spicific version, right? > -Toke Louie.