I don't know if this is correct or not, but it seems to work. It's probably a hack job, but here goes...
vi trunk/package/wpa_supplicant/files/config.mipsel (i use a wgt634u, so mipsel is my arch type)
# Driver interface for madwifi driver
CONFIG_DRIVER_MADWIFI=y <---enable this
# Change include directories to match with the local setup
#CFLAGS += -I../madwifi/wpa
CFLAGS += -I/home/joe/madwifi-0.9.2.1 <---specify source path
I guessed here and got it right. I had to download the source code for madwifi-ng. the cflags path
is the path to where i extracted that code. There may be a better way to do this, but it works at least.
I didn't use the 9.3 release you are speaking about, but I'd assume that it would work the same if you
repeated the process for your code level. I really don't know why I had to edit this file b/c I compiled
the kmod-madwifi module and even after loading it, wpa_supplicant complained about not having the
madwifi driver. After changing this config file, it stopped.
Like I said, i'm not really sure about half the stuff I do on my router, I just keep trying until I get it working.
Hope this helps you, if not, sorry!