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 .

Makefile Parameters

This page describes the parameters accepted by the MADWifi Makefile. This may be wrong when the Atheros Code dump happens.

General Parameters

All of the following parameters can be set by issuing a command similar to the following:

$ export OPTION=value

Before running make. Or you can specify the options on the command line, as follows:

$ make OPTION1=value1 OPTION2=value2

E.g.

make KERNELPATH=/usr/src/linux-2.6.3

Kernel Options

Specifying the kernel path:

KERNELPATH

Specifying suffixes to the kernel version:

KERNELRELEASE

Used when the kernel is called something like 2.6.12.2-i386. Kernel sources will be searched for in /lib/modules/$KERNELRELEASE/build.

Building for Different Architectures

This example comes straight from the INSTALL file.

$ make TARGET=“x86_64-elf” TOOLPREFIX="" LINUX_DIR=/usr/src/linux

Rate Control Algorithms

To specify the rate control algorithm to use, set:

ATH_RATE

To one of the directories under the ath_rate directory (amrr, onoe, sample).

you should set ATH_RATE either to ath_rate/amrr or ath_rate/onoe or ath_rate/sample

export ATH_RATE=ath_rate/amrr