Re: [ath5k-devel] Send packet from inside ath5k_intr() or ath5k_tasklet_rx()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jin YunYe
Date: Tuesday, June 22, 2010 - 12:21 am

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 <me@bobcopeland.com> wrote:
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [ath5k-devel] Send packet from inside ath5k_intr() or ..., Jin YunYe, (Tue Jun 22, 12:21 am)