2007-06-10 14:35:25

by David Planella

[permalink] [raw]
Subject: The future of the TI ACX wireless driver

Hi all,

I just wanted to mention that I have updated the ACX driver's wiki in
order to at least keep up with the current state of things regarding
the driver and the kernel.

I've rearranged the contents and added some information to the main
page at http://acx100.sourceforge.net/wiki/Main_Page. In case there
are any active or inactive developers reading this, please also have a
look at the new
http://acx100.sourceforge.net/wiki/Main_Page#Development and
http://acx100.sourceforge.net/wiki/History sections (the latter one
being still pretty much under construction), and feel free to comment,
correct or add to the information shown there.

Regarding the current state of the driver, from what I could gather
from the mailing list posts scattered through netdev, acx100-devel and
acx-users and probably other places, there are three current versions
of the driver:

* "Plain" driver, which uses a homegrown wireless stack and does not
support WPA.
The last release (0.3.36) [1] was made for this flavour of the driver,
which is the one shipped with distributions such as Ubuntu. Andreas
Mohr said that after this release he'd concentrate on the softmac
version.

* Softmac driver, which uses the in-kernel ieee80211softmac layer for
the common wireless functions.
The code for this driver has been in the wireless-2.6 tree (under
tiacx) for some time, and if I understand it correctly includes the
changes from the 0.3.35 version of the "plain" driver but not yet
those of the 0.3.36 version.

* Mac80211 driver, which uses the seemingly
soon-to-be-included-in-kernel mac80211 stack, available on the
wireless-dev tree (the stack, not the driver).
This release is only available here [2] and needs some work before
being included in wireless-dev, since it was released at the time when
mac80211 was still called d80211. In any case, having had a quick look
at the code, I believe that replacing the d80211.h header reference to
mac80211.h and maybe refactoring some functions might be all what is
needed for an initial compilation. Note that I haven't got any
previous driver or kernel module development experience, so I might be
wrong here. What would also be needed is to merge all changes from the
softmac and plain drivers.

I am writing this in the hope of getting some exposure and some
interest in the driver for an eventual kernel inclusion. As far as I
understand, there are only two active developers at the moment, so I
guess any help would be appreciated.

I think the natural course of action should be to first get the
mac80211 driver in shape for inclusion in the wireless-dev tree and
then continue development from there.

I (and maybe someone else) would be willing to help on this, but might
need some 'mentoring' from the developers, since as I mentioned I've
got no previous experience with linux modules or 80211. I have started
looking at the acx-d80211 code, but I cannot promise anything.

Any comments will be greatly appreciated.

Note: I'm CC'ing netdev and linux-wireless as well. I think
linux-wireless should be more appropriate, but previous posts
regarding the tiacx driver were sent to netdev.

Kind regards,
David.

[1] Announcement:
http://sourceforge.net/mailarchive/forum.php?thread_name=20070101224549.GA21249%40rhlx01.hs-esslingen.de&forum_name=acx100-users
[2] http://www.cmartin.tk/acx/acx-d80211-20060709.tar.bz2


2007-06-10 17:37:23

by Hauke Mehrtens

[permalink] [raw]
Subject: Re: The future of the TI ACX wireless driver

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

Nice work David.

I have extracted the acxsm driver out of the wireless-2.6 git tree and
made it compile on at least kernel 2.6.20 and 2.6.22-rc4
It can be found here:
http://www.hauke-m.de/fileadmin/acx/tiacx-20070522.tar.bz2

I also chanced some lines in the normal acx driver so it compiles with
kenrel 2.6.22 and later
http://www.hauke-m.de/fileadmin/acx/acx-20070610.tar.bz2

Bouth are loading on my system, but I can't test them because I haven't
got any acx100 chip based card any more, it would be nice to get
positive feedback, when it's working.

I will write some pages into the Wiki for these versions, so everyone
can test them.

I am not a big kernel hacker but I want to learn it too.

Hauke Mehrtens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGbC+UrcX0gpXFjnsRAiZvAJ9HqeLhYD71ziIY8nn1/s165IgW9wCeOkta
jcvdcupbincXF0WpXVQse5s=
=1Dty
-----END PGP SIGNATURE-----

2007-06-10 15:39:08

by Williams, Jeffrey D.

[permalink] [raw]
Subject: Re: The future of the TI ACX wireless driver

> * Mac80211 driver, which uses the seemingly
> soon-to-be-included-in-kernel mac80211 stack, available on the
> wireless-dev tree (the stack, not the driver).
> This release is only available here [2] and needs some work before
> being included in wireless-dev, since it was released at the time when
> mac80211 was still called d80211. In any case, having had a quick look
> at the code, I believe that replacing the d80211.h header reference to
> mac80211.h and maybe refactoring some functions might be all what is
> needed for an initial compilation. Note that I haven't got any
> previous driver or kernel module development experience, so I might be
> wrong here. What would also be needed is to merge all changes from the
> softmac and plain drivers.
>
You can find a updated-as-of-last-month mac80211 pci driver at
http://airgo.wdwconsulting.net/acx-mac80211-20070510.patch.bz2
it may or may not work, it compiles, it responds with aps to iwlist sc.
Enabling ACX_MAC80211_USB will cause the build to fail. I'll be happy to
take patches and bug reports.

thanks,

Jeff Williams

2007-06-10 17:27:22

by David Planella

[permalink] [raw]
Subject: Re: The future of the TI ACX wireless driver

Hauke,

Thanks for your reply. See the inline comments:

2007/6/10, [email protected] <[email protected]>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
>
> Nice work David.
>
> I have extracted the acxsm driver out of the wireless-2.6 git tree and
> made it compile on at least kernel 2.6.20 and 2.6.22-rc4
> It can be found here:
> http://www.hauke-m.de/fileadmin/acx/tiacx-20070522.tar.bz2
>

I do not think more effort should be put in the softmac version, but
rather concentrate on the mac80211 version. I'm having a look at the
patch Jeff Williams sent earlier on today, but as I said, cannot
promise anything.

> I also chanced some lines in the normal acx driver so it compiles with
> kenrel 2.6.22 and later
> http://www.hauke-m.de/fileadmin/acx/acx-20070610.tar.bz2
>

you might want to send a patch to acx100-devel or to Andreas Mohr for that.

> I will write some pages into the Wiki for these versions, so everyone
> can test them.
>

Yes, that would be good. A page with instructions on how to compile
the latest acx-mac80211 would even be better.

Regards,
David.