From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arend van Spriel Date: Sat, 10 Jan 2015 12:50:41 +0100 Subject: [ath9k-devel] ath9k-devel Digest, Vol 79, Issue 6 In-Reply-To: References: <54AFA6DD.50905@broadcom.com> Message-ID: <54B11211.90303@broadcom.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 01/10/15 03:00, ??? wrote: > Hi Arend > My development environment is LINUX 2.26.31 Kernel, and I could not use > new version kernel (The whole project work in Kernel 2.26.31, and the > 2.26.31 is provided by my device manufactuer, I had no power to update > to new kernel). Could you give a suggestion how to test your patch in > LINUX 2.26.31? I am new to LINUX. I see. Well, you could grab this backports package [1] and apply the patch there. There is a twiki [2] containing info how to build, etc. Regards, Arend [1] http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.19-rc1/backports-3.19-rc1-1.tar.xz [2] https://backports.wiki.kernel.org/ > Thanks, > David > ------------------ Original ------------------ > *From: * "Arend van Spriel"; > *Date: * Fri, Jan 9, 2015 06:01 PM > *To: * "???"; > *Cc: * "ath9k-devel"; > *Subject: * Re: ath9k-devel Digest, Vol 79, Issue 6 > On 01/09/15 02:54, ??? wrote: > > Hi Arend, > > I had ATH9k hardware, my wireless device is WLE350NX, it is AR9580 chip. > > Please send me your code to test! > > I am new to LINUX. > > Ok. The patch can be found on patchwork [1]. That page contains download > links to get the patch. _mbox_ link can be used with 'git am' command. > _patch_ link can be used with 'patch' command. > > Regards, > Arend > > [1] https://patchwork.kernel.org/patch/5544621/ > > > Regards, > > David Yang > > ------------------ Original ------------------ > > *From: * "ath9k-devel-request"; > > *Date: * Thu, Jan 8, 2015 07:00 PM > > *To: * "ath9k-devel"; > > *Subject: * ath9k-devel Digest, Vol 79, Issue 6 > > Send ath9k-devel mailing list submissions to > > ath9k-devel at lists.ath9k.org > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > > or, via email, send a message with subject or body 'help' to > > ath9k-devel-request at lists.ath9k.org > > > > You can reach the person managing the list at > > ath9k-devel-owner at lists.ath9k.org > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of ath9k-devel digest..." > > > > > > Today's Topics: > > > > 1. Re: [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() > > helper for seq_file entries (Kalle Valo) > > 2. Re: [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() > > helper for seq_file entries (Sujith Manoharan) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Wed, 07 Jan 2015 20:05:00 +0200 > > From: Kalle Valo > > Subject: Re: [ath9k-devel] [PATCH] ath: ath9k: use > > debugfs_create_devm_seqfile() helper for seq_file entries > > To: Arend van Spriel > > Cc: ath9k-devel at lists.ath9k.org, linux-wireless > > > > Message-ID: <87bnmapiur.fsf@kamboji.qca.qualcomm.com> > > Content-Type: text/plain; charset=us-ascii > > > > Arend van Spriel writes: > > > > > Use the helper to get rid of the file operations per debugfs file. The > > > device driver data contains struct ieee80211_hw pointer and the > > > struct ath9k_softc pointer is assigned to ieee80211_hw::priv so it can > > > be accessed in the seq_file read operation. > > > > > > Cc: ath9k-devel at lists.ath9k.org > > > Signed-off-by: Arend van Spriel > > > --- > > > Hi Kalle, > > > > > > This patch was reverted in the driver-core repository as I overlooked > > > the use of driver data and caused ath9k driver to crash. I believe this > > > revised patch properly uses it now although I have no ath9k hardware to > > > test this. So I hope some ath9k developers out there can give this > patch > > > a run for its money. It compiles and no checkpatch or sparse warnings. > > > > > > The patch applies to the master branch of the wireless-drivers-next > > > repository. > > > > Can someone with ath9k hardware test this, please? I'm hesitant to apply > > this without testing. > > > > -- > > Kalle Valo > > > > > > ------------------------------ > > > > Message: 2 > > Date: Thu, 8 Jan 2015 08:49:00 +0530 > > From: Sujith Manoharan > > Subject: Re: [ath9k-devel] [PATCH] ath: ath9k: use > > debugfs_create_devm_seqfile() helper for seq_file entries > > To: Kalle Valo > > Cc: Arend van Spriel , > > ath9k-devel at lists.ath9k.org, linux-wireless > > > > Message-ID: <21677.63268.657151.679992@gargle.gargle.HOWL> > > Content-Type: text/plain; charset=us-ascii > > > > > Arend van Spriel writes: > > > > > > > Use the helper to get rid of the file operations per debugfs > file. The > > > > device driver data contains struct ieee80211_hw pointer and the > > > > struct ath9k_softc pointer is assigned to ieee80211_hw::priv so > it can > > > > be accessed in the seq_file read operation. > > > > > > > > Cc: ath9k-devel at lists.ath9k.org > > > > Signed-off-by: Arend van Spriel > > > > Thanks for the patch. > > > > > Can someone with ath9k hardware test this, please? I'm hesitant to > apply > > > this without testing. > > > > I tested it and there were no crashes. > > > > Sujith > > > > > > ------------------------------ > > > > _______________________________________________ > > ath9k-devel mailing list > > ath9k-devel at lists.ath9k.org > > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > > > > > > End of ath9k-devel Digest, Vol 79, Issue 6 > > ******************************************