This is for an atheros chipset (madwifi-ng driver), using aircrack-ng to do the real work.
==== undo ====
airmon-ng stop ath0
wlanconfig ath0 create wlandev wifi0 wlanmode sta
# see more: http://madwifi-project.org/wiki/UserDocs/StationInterface
# see more: http://madwifi-project.org/wiki/UserDocs/UsersGuideExamples