Lets make wifi fast again!
 help / color / mirror / Atom feed
* [Make-wifi-fast] How to efficient test ath10k driver changed on LEDE platform?
@ 2017-12-12 12:28 Louie Lu
  2017-12-12 13:03 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 4+ messages in thread
From: Louie Lu @ 2017-12-12 12:28 UTC (permalink / raw)
  To: Make-wifi-fast

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.

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?

Thanks,
Louie.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Make-wifi-fast] How to efficient test ath10k driver changed on LEDE platform?
  2017-12-12 12:28 [Make-wifi-fast] How to efficient test ath10k driver changed on LEDE platform? Louie Lu
@ 2017-12-12 13:03 ` Toke Høiland-Jørgensen
  2017-12-14 13:45   ` Louie Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Toke Høiland-Jørgensen @ 2017-12-12 13:03 UTC (permalink / raw)
  To: Louie Lu, Make-wifi-fast

Louie Lu <me@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Make-wifi-fast] How to efficient test ath10k driver changed on LEDE platform?
  2017-12-12 13:03 ` Toke Høiland-Jørgensen
@ 2017-12-14 13:45   ` Louie Lu
  2017-12-14 14:28     ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 4+ messages in thread
From: Louie Lu @ 2017-12-14 13:45 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: Make-wifi-fast

2017-12-12 21:03 GMT+08:00 Toke Høiland-Jørgensen <toke@toke.dk>:
> Louie Lu <me@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*).
>
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Make-wifi-fast] How to efficient test ath10k driver changed on LEDE platform?
  2017-12-14 13:45   ` Louie Lu
@ 2017-12-14 14:28     ` Toke Høiland-Jørgensen
  0 siblings, 0 replies; 4+ messages in thread
From: Toke Høiland-Jørgensen @ 2017-12-14 14:28 UTC (permalink / raw)
  To: Louie Lu; +Cc: Make-wifi-fast

Louie Lu <me@louie.lu> writes:

>>> 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?

Not really, no. You can include specific patches, of course. But LEDE
(or I guess we should go back to saying OpenWrt now) also applies a
bunch of other patches, so there's not a single 1-to-1 correspondence to
an upstream "version" (whatever that means).

-Toke

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-12-14 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-12 12:28 [Make-wifi-fast] How to efficient test ath10k driver changed on LEDE platform? Louie Lu
2017-12-12 13:03 ` Toke Høiland-Jørgensen
2017-12-14 13:45   ` Louie Lu
2017-12-14 14:28     ` Toke Høiland-Jørgensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox