[Madwifi-devel] (Ab)Using the WLAN stack
Status: Beta
Brought to you by:
otaku
From: Ace E. <ace...@gm...> - 2004-07-21 05:51:59
|
I'm trying to play around with creating some raw 802.11 frames using my atheros card. I created an ioctl in ath_ioctl() which right now I'm using to call ieee80211_send_disassoc(). The call seems to succeed (no error messages or anything, and when I set ath_debug, I do see the frame being printed to dmesg), but for some reason no packets are appearing on the wire. I see no checks to refuse to send certain packet types in any of the open source code. Is there anything going on in the closed source HAL I need to be aware of? Does it refuse to send packets depending card state, mac address, bssid or something? If I try to lie to the card and set sc->sc_ic.ic_state = IEEE80211_S_RUN, I still see nothing. Using iwconfig to set the modes to ad-hoc, managed, or master seems to also make no difference. Anyone have any advice? |