From: Luciano Coelho <luciano.coelho@nokia.com>
To: "ext Krakowski, Oz" <ozk@ti.com>
Cc: "Gabay, Benzy" <benzyg@ti.com>,
"ext Gábor Stefanik" <netrolller.3d@gmail.com>,
"ext Grazvydas Ignotas" <notasas@gmail.com>,
"Levi, Shahar" <shahar_levi@ti.com>,
"Kalle Valo" <kvalo@adurom.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: [PATCH v4] wl1271: Change wl12xx Files Names
Date: Thu, 18 Nov 2010 08:21:05 +0200 [thread overview]
Message-ID: <1290061265.28892.17.camel@powerslave> (raw)
In-Reply-To: <B3E8D1AE4503414CAFD215C4B3688A0501EF42D70641@dlee07.ent.ti.com>
On Wed, 2010-11-17 at 23:18 -0600, ext Krakowski, Oz wrote:
> Benzy,
>
>
> > > Doesn't help much. The problem is that the driver which is now called
> > > wl12xx already support wl1271 and wl1273. In the near future, it will
> > > also support wl1281 and wl1283, so the wl6 or wilink6 scheme would
> > > break
> > > already.
> > >
> > > The wl1251 driver, at least at the moment, only supports wl1251, it
> > > doesn't have the 11a implementation. If in the future someone adds
> > > support for wl1253, it could be renamed to wl125x.
> > >
> > > In any case, I think the name of the driver is not that important, as
> > > long as we're clear about which chips each one of them supports in the
> > > Kconfig description.
> > >
> > > Renaming the driver all the time (we already did it twice), ends up
> > > confusing more than clarifying things.
> > >
> > > --
> > > Cheers,
> > > Luca.
> >
> > mmm...
> >
> > In that case, another idea:
> > 1. why not create new driver source code which will designated for 128x.
> > 2. If we have a problem with unified 12xx then lets dived it completely to sub drivers and
> > have only common part as a unified driver. That way you get to keep the old names and
> > just divide the files content to a new file name wl12xx.c.
> >
> > e.g:
> > wl1251.c wl1253.c common part
> > wl1271.c wl1273.c ----------> wl12xx.c
> > wl1281.c wl1283.c
> >
>
> I agree with Luca here. The names have been changed recently and anyway represent both chipsets (127x and 128x) in a way that makes sense. I don't think we should make any changes to that.
> Also re-writing the driver into a new partitioning does not serve any special need IMO. Especially since wilink6 and wilink7 share the same driver essentially.
Yeah, we tried to have a common part for the wl1251 and wl1251 when we
started implementing support for wl1271. But the firmware API was very
different between the two, so we realized it was better to completely
split them into two.
Now, for the wl1281/3, your colleagues at TI are claiming that the
differences are tiny, so wl1281/3 should fit easily in the same driver
and we'll make the differentiation at runtime.
Thanks for your suggestions anyway! Let's keep them in mind in case
things don't go as expected and if we have to split the drivers again
for wl1281/3. But at least for now, I think it's good as it is (famous
last words).
--
Cheers,
Luca.
prev parent reply other threads:[~2010-11-18 6:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-04 15:07 [PATCH v4] wl1271: Change wl12xx Files Names Shahar Levi
2010-11-04 16:37 ` Grazvydas Ignotas
2010-11-04 17:19 ` Luciano Coelho
2010-11-04 21:48 ` Gábor Stefanik
2010-11-04 21:52 ` Luciano Coelho
2010-11-07 10:07 ` Kalle Valo
2010-11-08 9:16 ` Luciano Coelho
2010-11-17 18:08 ` Gabay, Benzy
2010-11-17 18:48 ` Luciano Coelho
2010-11-18 2:13 ` Gabay, Benzy
2010-11-18 5:18 ` Krakowski, Oz
2010-11-18 6:21 ` Luciano Coelho [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=1290061265.28892.17.camel@powerslave \
--to=luciano.coelho@nokia.com \
--cc=benzyg@ti.com \
--cc=kvalo@adurom.com \
--cc=linux-wireless@vger.kernel.org \
--cc=netrolller.3d@gmail.com \
--cc=notasas@gmail.com \
--cc=ozk@ti.com \
--cc=shahar_levi@ti.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.