Re: [ath5k-devel] [PATCH v2] ath5k: fix injection in monitor mode

2010-03-03 Thread Gábor Stefanik
On Wed, Mar 3, 2010 at 9:18 AM, Jouni Malinen wrote: > On Wed, Mar 03, 2010 at 10:10:49AM +0900, Bruno Randolf wrote: >> On Tuesday 02 March 2010 18:42:38 Jouni Malinen wrote: >> > If we want to have an option to prevent hardware from touching the frame >> > payload, that really should be an optio

Re: [ath5k-devel] [PATCH v2] ath5k: fix injection in monitor mode

2010-03-03 Thread Jouni Malinen
On Wed, Mar 03, 2010 at 10:10:49AM +0900, Bruno Randolf wrote: > On Tuesday 02 March 2010 18:42:38 Jouni Malinen wrote: > > If we want to have an option to prevent hardware from touching the frame > > payload, that really should be an option (a radiotap and TX control > > flags, etc.), not default

Re: [ath5k-devel] [PATCH v2] ath5k: fix injection in monitor mode

2010-03-02 Thread Bruno Randolf
On Tuesday 02 March 2010 18:42:38 Jouni Malinen wrote: > On Tue, Mar 02, 2010 at 11:51:58AM +0900, Bruno Randolf wrote: > > injected frames have to use AR5K_PKT_TYPE_NORMAL, otherwise the hardware > > thinks it can mess with the contents of the frame - e.g. update the TSF > > of an injected beacon.

Re: [ath5k-devel] [PATCH v2] ath5k: fix injection in monitor mode

2010-03-02 Thread Gábor Stefanik
On Tue, Mar 2, 2010 at 10:42 AM, Jouni Malinen wrote: > On Tue, Mar 02, 2010 at 11:51:58AM +0900, Bruno Randolf wrote: >> injected frames have to use AR5K_PKT_TYPE_NORMAL, otherwise the hardware >> thinks >> it can mess with the contents of the frame - e.g. update the TSF of an >> injected >> be

Re: [ath5k-devel] [PATCH v2] ath5k: fix injection in monitor mode

2010-03-02 Thread Jouni Malinen
On Tue, Mar 02, 2010 at 11:51:58AM +0900, Bruno Randolf wrote: > injected frames have to use AR5K_PKT_TYPE_NORMAL, otherwise the hardware > thinks > it can mess with the contents of the frame - e.g. update the TSF of an > injected > beacon. injected frames should be sent as they are provided. Wh

[ath5k-devel] [PATCH v2] ath5k: fix injection in monitor mode

2010-03-01 Thread Bruno Randolf
injected frames have to use AR5K_PKT_TYPE_NORMAL, otherwise the hardware thinks it can mess with the contents of the frame - e.g. update the TSF of an injected beacon. injected frames should be sent as they are provided. Signed-off-by: Bruno Randolf --- drivers/net/wireless/ath/ath5k/base.c |