Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #339 (assigned enhancement)

Opened 13 years ago

Last modified 13 years ago

[patch] All madwifi tools in one file

Reported by: lukasz.tylski@bdi.net.pl Assigned to: kelmo (accepted)
Priority: major Milestone:
Component: madwifi: tools Version: trunk
Keywords: Cc:
Patch is attached: 1 Pending:

Description

It is a small patch which allows to have one file with all tools (athdebug, athctrl, wlanconfig, ...) in one file called madwifi_multi with links. Good for small systems. It works for me (against 1416) but BUGS are possible.

Lukasz Tylski

Signed-off-by: Lukasz Tylski <lukasz.tylski@bdi.net.pl>

Attachments

madwifi_multi.patch (8.1 kB) - added by anonymous on 01/26/06 10:40:36.
busybox-madwifi.patch (7.6 kB) - added by lukasz.tylski@bdi.net.pl on 01/26/06 16:49:23.
busybox-madwifi-smallfix.patch (7.6 kB) - added by lukasz.tylski@bdi.net.pl on 01/27/06 13:13:00.

Change History

01/26/06 10:40:36 changed by anonymous

  • attachment madwifi_multi.patch added.

01/26/06 10:56:24 changed by lukasz.tylski@bdi.net.pl

To compile tools in "multi" mode you have to add DOMULTI=1 to "make"

01/26/06 11:10:03 changed by strasak@bubakov.net

interesting, what about patch for busybox ?

01/26/06 11:36:20 changed by lukasz.tylski@bdi.net.pl

It shouldn't be so difficult... I'll try.

01/26/06 14:20:27 changed by kaloz@openwrt.org

I would suggest adding a different target instead of DOMULTI (and create the symlinks during install). Oh, and rename the multicall bnary to "madmulti" ;)

01/26/06 16:34:18 changed by lukasz.tylski@bdi.net.pl

I would suggest adding a different target instead of DOMULTI

What do you mean ?

I prepared patch for integrating madwifi tools into busybox. All you have to do is: 1. Apply patch to busybox source tree 2. In busybox source dir do "make menuconfig" and set MadWifi->Path to MadWifi source tree and choose tools you'd like to have 3. Run make

It works for me (busybox snapshot 20051125)

01/26/06 16:49:23 changed by lukasz.tylski@bdi.net.pl

  • attachment busybox-madwifi.patch added.

01/27/06 10:41:10 changed by kaloz@openwrt.org

I mean to have a separate make target for the multicall binary (check latest wireless-tools beta for example).

Also, the busybox integration would be better if you would reuse the built-in functions of busybox, not just include the original sources.

01/27/06 12:18:47 changed by anonymous

BTW the patch works great, saved around 140K for us. It's already in our SVN ;)

01/27/06 13:13:00 changed by lukasz.tylski@bdi.net.pl

  • attachment busybox-madwifi-smallfix.patch added.

01/27/06 13:26:59 changed by lukasz.tylski@bdi.net.pl

Also, the busybox integration would be better if you would reuse the built-in functions of busybox, not just include the original sources.

Which one ? I couldn't find any info about including into busybox, so I had to base on other utils.

02/01/06 06:50:56 changed by kelmo

  • patch_attached set to 1.

04/20/06 13:48:12 changed by kelmo

  • status changed from new to assigned.
  • owner set to kelmo.

I can see this patch would be quite useful. Lets see if we can merge it sooner rather than later.