Historical ath9k-devel archives
 help / color / mirror / Atom feed
From: Oleksij Rempel <linux@rempel-privat.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH] Adding support for spectral scan for the ath9k_htc driver. Tested the patch on with 9271 chipset to generate spectral scans.
Date: Mon, 14 Apr 2014 22:23:10 +0200	[thread overview]
Message-ID: <534C43AE.9010308@rempel-privat.de> (raw)
In-Reply-To: <CAFT2d77UTbw0XjMGF8Vo4UMOpMBN6OG-J4K-_bFCgg_re+vMfQ@mail.gmail.com>

Am 14.04.2014 20:32, schrieb Ashish Patro:
> Hi Oleksij,
> 
> I've resubmitted three new patches to refactor the code and spectral
> scan support to ath9k_htc as discussed earlier.
> 
> Thanks
> Ashish
> 

Thank you,
i'll write some comments.

> 
> On Tue, Apr 8, 2014 at 3:16 AM, Oleksij Rempel <linux@rempel-privat.de
> <mailto:linux@rempel-privat.de>> wrote:
> 
>     Am 08.04.2014 09:51, schrieb Ashish Patro:
>     > Hi Oleksij,
>     >
>     > I can take a pass at the code to reduce the duplicate code between
>     ath9k and ath9k_htc. I?ll need to make changes to the current
>     spectral.c code and add code into ath_common. Will it be ok for me
>     to do this code refactoring? I?ve so far avoided doing significant
>     refactoring of the existing code in the ath9k driver.
> 
>     It will be great if you 'll do it. If patches are ok, they will be
>     accepted.
>     Please separate all you stages to different patches. It will make
>     bisection easier. End result should looks some way like this:
>     PATCH 1 - move spectralscan related data from ath_softc to some common
>     struct and make all related changes in ath9k driver.
>     PATCH 2 - move all common spectral related functions to
>     common-spectral.c
>     PATCH 3 - make use of common-spectral.c in ath9k_htc.
> 
>     After each patch source should be compilable and driver should work.
> 
>     > Thanks
>     > Ashish
>     >
>     > On Apr 7, 2014, at 1:10 PM, Oleksij Rempel <linux@rempel-privat.de
>     <mailto:linux@rempel-privat.de>> wrote:
>     >
>     >> Am 07.04.2014 19:21, schrieb Ashish Patro:
>     >>> Hi Oleksij,
>     >>>
>     >>> I didn't want to poke too much into the ath9k part of the driver
>     code,
>     >>> so I wrote it in the current way. All the duplicated code is
>     currently
>     >>> present in spectral_htc.c. The debugFS related code needs to be
>     mostly
>     >>> duplicated to provide the same interface for ath9k and ath9k_htc
>     drivers.
>     >>>
>     >>> The common code can be later moved into ath_common. The main
>     issue is
>     >>> that the current ath9k code is using references to ath_softc, so the
>     >>> common code needs to be written to be independent of ath_softc and
>     >>> ath9k_htc_priv data structures.
>     >>
>     >> Correct. spectral.c has no too deep ath_softc dependencies, it can be
>     >> solved.
>     >> I don't like the idea of having patch which i already know, that
>     i will
>     >> need rework it. Ath9k-htc has not enough developers, the goal is to
>     >> reduce work, not increase it.
>     >>
>     >>> On Mon, Apr 7, 2014 at 8:47 AM, Oleksij Rempel
>     <linux at rempel-privat.de <mailto:linux@rempel-privat.de>
>     >>> <mailto:linux at rempel-privat.de <mailto:linux@rempel-privat.de>>>
>     wrote:
>     >>>
>     >>>    Am 07.04.2014 01:23, schrieb Ashish Patro:
>     >>>> - Used the same mechanism to collect spectral scan data as used by
>     >>>    the existing ath9k code.
>     >>>> - Minor refactoring done to the code to separate the ath9k and
>     >>>    ath9k_htc related spectral scan functions into separate files.
>     >>>>
>     >>>> This work was done at the WiNGS Lab at the University of Wisconsin
>     >>>    Madison.
>     >>>


-- 
Regards,
Oleksij

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 278 bytes
Desc: OpenPGP digital signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140414/e3766eeb/attachment.pgp 

      reply	other threads:[~2014-04-14 20:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-06 23:23 [ath9k-devel] [PATCH] Adding support for spectral scan for the ath9k_htc driver. Tested the patch on with 9271 chipset to generate spectral scans Ashish Patro
2014-04-07 13:47 ` Oleksij Rempel
2014-04-07 17:21   ` Ashish Patro
2014-04-07 18:10     ` Oleksij Rempel
2014-04-08  7:51       ` Ashish Patro
2014-04-08  8:16         ` Oleksij Rempel
2014-04-14 18:32           ` Ashish Patro
2014-04-14 20:23             ` Oleksij Rempel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=534C43AE.9010308@rempel-privat.de \
    --to=linux@rempel-privat.de \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox