Re: [PATCH RFC] remove custom Michael MIC implementation
From: Tobin C. Harding
Date: Tue Apr 04 2017 - 21:18:46 EST
On Tue, Apr 04, 2017 at 11:31:14PM +0200, Arend Van Spriel wrote:
> >> On 3-4-2017 11:50, Toke Høiland-Jørgensen wrote:
> >>> "Tobin C. Harding" <me@xxxxxxxx> writes:
> >>>
> >>>> Except one: do you know off the top of your head of a canonical
> >>>> implementation of a softmac wi-fi driver.
> >>>
> >>> I'll suggest taking a look at the ath9k driver :)
> >>
> >> Looking at ks7010 driver it looks like it has 802.11 stack in firmware
> >> and not sure if Renesas is actively supporting this effort to come up
> >> with mac80211-friendly firmware or provide detailed chip info.
> >
> > Thanks for taking a look. If the ks7010 driver has 802.11 stack in
> > firmware does that mean it is not compatible with using the kernel
> > mac80211 stack with the current firmware? I do not have my hopes up
> > about getting any chip information out of Renesas, all I think we have
> > to go in is the current WEXT driver.
>
> Indeed. That is my gut feeling as well and if that is truly the case
> your best option would be a cfg80211-based driver like ath6kl, mwifiex,
> and brcmfmac.
Ok. So that would mean that we still have to do the Michael MIC in software
(using kernel crypto API) right?
I think the best course of action is to totally clean up the WEXT
interface, including getting Michael MIC working with kernel
crypto, test it all, and then attempt the migration to cfg80211
interface.
If no one thinks that's a bad idea I'll keep working on the WEXT
interface for now.
> > This is an exercise in learning for me, but I do not want to take any
> > ones time up with a project that is not that useful. Is getting the
> > ks7010 driver out of staging something that is of use to the kernel
> > community or are there other wi-fi tasks that our time is better spent
> > on?
>
> If there are linux users with this hardware than sure. Especially if it
> revised to interface with the latest wireless subsystem so tools like iw
> can operate on it.
>
> Also I suppose it is preferred if a driver is maintained. I do not see
> the ks7010 listed in the MAINTAINERS file yet.
How's this for a MAINTAINERS entry?
KS7010 KEYSTREAM DRIVER
M: Wolfram Sang <wsa@xxxxxxxxxxxxx>
M: Tobin Harding <me@xxxxxxxx>
L: driverdev-devel@xxxxxxxxxxxxxxxxxxxxxx
S: Maintained
F: drivers/staging/ks7010/
Wolfram, is this ok by you;
(a) To put your name
(b) To put my name
Is the status correct, I'm happy to help maintain it if that is acceptable
for someone of my experience level to do so. Is this driver part of
your job?
thanks,
Tobin.