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 .

iwpriv extensions

There are many private ioctls available in MADWifi, here are a few useful ones.

Locking to a Specific Mode

To lock the card to a specific mode, use:

  • iwpriv ath0 mode 11a To lock to 11a only.
  • iwpriv ath0 mode 11b To lock to 11b only.
  • iwpriv ath0 mode 11g To lock to 11g only.
  • iwpriv ath0 mode 0 (default) autoselect mode.

Changing Authentication Mode.

Use:

  • iwpriv ath0 authmode 1 To use open authentication.
  • iwpriv ath0 authmode 2 To use shared key authentication.
  • iwpriv ath0 authmode 3 To use 802.1x authentication.

Manipulating the MAC white/black list

Use:

  • iwpriv ath0 maccmd 3 To clear the MAC list.
  • iwpriv ath0 maccmd 1 To make the list a whitelist.
  • iwpriv ath0 maccmd 2 To make the list a blacklist.
  • iwpriv ath0 addmac 00:11:22:33:44:55 To add a mac address to the list.
  • iwpriv ath0 delmac 00:11:22:33:44:55 To delete a mac from the list.
  • iwpriv ath0 kickmac 00:11:22:33:44:55 To send a disassociation frame to an associated station.

Others

For some hints on other value controllable with iwpriv, see the source files net80211/ieee80211_ioctl.h around line 550 and net80211/ieee80211_wireless.c around line 5000. There are short descriptions in the comments. Perhaps someone can transfer this cleanly to the wiki.

Using iwpriv with a Ubiquity SuperRange Cardbus