Having used the same madwifi release successfully for quite some time, i was comfortable with compiling the madwifi source everytime a new kernel was released.
Last weekend however, i had a horrible experience. Suddenly i had errors at compile time.
error: too few arguments to function ‘iwe_stream_add_point’
Well, this had me perturbed, so i popped into #madwifi on irc.freenode.net, and before I had a chance to ask the question, the MOTD informed me that there was a new HAL for the AR5007.
So, to get your AR5007 based wifi card working in linux (also in 64bit, which i will test soon!). get a release from the branch of the HAL which supports these cards here.
If you have not installed madwifi from source for your AR5007 before, ensure you blacklist ath5k first, to prevent any conflicts. this can be done by typing
# echo “blacklist ath5k” >> /etc/modprobe.d/blacklist
in a terminal
open a terminal, cd to the folder you downloaded the madwifi release from, and run
$ tar -xvf madwifi-hal-0.10.5.6-*-*.tar.gz
replacing *-* with the release and date applicable to the tarball you downloaded.
Once the tarball is unpacked, type cd madwifi*, and then either read the INSTALL and README files for further instruction, or type
# make
Followed by:
# make install
and finally
# modprobe ath_pci
to install the kernel module.
