Re: [ath5k-devel] [PATCH 1/5] ath5k: fix injection in monitor mode

2010-03-01 Thread Gábor Stefanik
Actually, the right thing to check is info->flags & IEEE80211_TX_CTL_INJECTED - you shouldn't check the mode to determine injectedness. On Tue, Mar 2, 2010 at 2:17 AM, Bruno Randolf wrote: > On Tuesday 02 March 2010 06:26:48 Benoit PAPILLAULT wrote: >> Bruno Randolf a écrit : >> > please ignore t

Re: [ath5k-devel] [PATCH 1/5] ath5k: fix injection in monitor mode

2010-03-01 Thread Bruno Randolf
On Tuesday 02 March 2010 06:26:48 Benoit PAPILLAULT wrote: > Bruno Randolf a écrit : > > please ignore this one, sorry ;( > > > > bruno > > This one is cool & needed for testing IBSS merges. I have pretty much > the same in my tree. yes - only sc->opmode is never set. i'll come up with a patch t

Re: [ath5k-devel] [PATCH 1/5] ath5k: fix injection in monitor mode

2010-03-01 Thread Benoit PAPILLAULT
Bruno Randolf a écrit : > please ignore this one, sorry ;( > > bruno > This one is cool & needed for testing IBSS merges. I have pretty much the same in my tree. Regards, Benoit > On Monday 01 March 2010 20:59:03 Bruno Randolf wrote: > >> injected frames have to use AR5K_PKT_TYPE_NORMAL, ot

Re: [ath5k-devel] [PATCH 1/5] ath5k: fix injection in monitor mode

2010-03-01 Thread Bruno Randolf
please ignore this one, sorry ;( bruno On Monday 01 March 2010 20:59:03 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

[ath5k-devel] [PATCH 1/5] 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 |