Thanks for your reply, Bob. My problem is not exactly compatibility of hardware. Instead, I want the driver to send out the response as soon as it receives a packet (when notified by interrupt ath5k_intr() ).
I am thinking of calling ath5k_tx(struct ieee80211_hw *hw, struct sk_buff *skb) inside ath5k_tasklet_rx(). However, I have difficulty in passing the correct skb. If I am not wrong, struct sk_buff *skb should point to a complete WLAN packet. Could anyone please advise on how to prepare such a packet. Thanks again. YY On Mon, Jun 21, 2010 at 8:25 PM, Bob Copeland <m...@bobcopeland.com> wrote: > On Mon, Jun 21, 2010 at 5:29 AM, Jin YunYe <yunye...@gmail.com> wrote: > >> Alternatively, does anyone know how to "fill up" a skb structure >> "manually" in the ath5k level and send it out using ath5k_tx() >> directly? > > You might want to use packet injection and monitor mode > for these kinds of things, then it will work with any > Linux hardware. > > > > -- > Bob Copeland %% www.bobcopeland.com > _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel