From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.toke.dk (mail.toke.dk [52.28.52.200]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id B8B273B2A4 for ; Tue, 12 Dec 2017 08:03:47 -0500 (EST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1513083824; bh=a/OGcf8wxaXRtXZdkpwrvvrAoKlFEJpyxsY3NEE1xZI=; h=From:To:Subject:In-Reply-To:References:Date:From; b=OPDACYVfgOAk1CUOrETCz2P9078CbsmyD3epW0vVZd7yZP+BVmW2ThJWeDAV7m5Ni hHqqkpB2tHUW+IxDMITdTme8JeG+PCUsTjUy/X8j2gX7jLUjk/V6jxfBOeNKlpxihm V8jRrO0acxos3QaHtjhrdLiKy5bRqqtHJ1TmRw5G0Dxd0nmh8Y7dAVij1fJ0MmYwtX TwsjUucp8NpLrZz/P6aSOAxfZLzkyJI/ziXgrqcROylE6Lnfkp0H2M7eoQOpJf0K4e 6RunFt7iTEeDMZa/wLOm48ToENGxX4PdwrF/D3QjTf+gqfosLiIvpfYQq1O97hao8+ 2saOK6FZ75izA== To: Louie Lu , Make-wifi-fast@lists.bufferbloat.net In-Reply-To: References: Date: Tue, 12 Dec 2017 14:03:42 +0100 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87d13kxfm9.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain 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: Tue, 12 Dec 2017 13:03:48 -0000 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 insmod > 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*). > 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. -Toke