From: Kevin Kaichuan He <hek_u5@ya...> - 2005-05-20 04:46:45
Dear Madwifi Developers,
I have an application where I'd like to be able to send original 802.11
data/mgmt/control frames via madwifi driver. I'm wondering whether it is
possible and what's your suggested way to do this.
To my understanding, the ath interface in kernel only accept Ethernet frames
and will encap it with 802.11 data header and send it out. I tried to duplicate
the ath_start() function to a different function ath_start_80211() and pass it
the skb->data that points to original 802.11 frame. Then I modified ath_start_80211()
to find the "ni" for the 802.11 frame and pass the skb and the ni to ath_start_tx()
which invokes the HAL to do the transmission.
However it always hang in ath_start_tx(), maybe due to race condition between the original
ath_start() path and the new ath_start_80211() path? Are there better suggestions ?
From: Sebastian Weitzel <togg@to...> - 2005-05-20 05:43:16
> I have an application where I'd like to be able to send original 802.11
> data/mgmt/control frames via madwifi driver. I'm wondering whether it is
> possible and what's your suggested way to do this.
The easiest way would be using the madwifi-bsd branch. There exists the
possibility of a raw device, originally created for live monitoring an
running interface, but also offering raw packet injection.
ath0 is a normal iface while ath0raw would be the iface for
Get latest updates about Open Source Projects, Conferences and News.