Linux wireless drivers development
 help / color / mirror / Atom feed
* [question] ath9k: 11n monitor mode
@ 2009-11-26 13:57 Ming Lei
  2009-11-26 17:02 ` Gábor Stefanik
  0 siblings, 1 reply; 5+ messages in thread
From: Ming Lei @ 2009-11-26 13:57 UTC (permalink / raw)
  To: lrodriguez; +Cc: ath9k-devel, linux-wireless

Hi Luis,

I find the wireshark can only capture 11b/g packets but any 11n packets over
my ar9283 card, and I can confirm I have set HT40+ to make it work in 11n mode.

wireshark : 1.2.2
kernel       : 2.6.32-rc6

I don't know what is wrong with it, and could ath9k work well in monitor
mode of 11n?  or other reason?

Look forward to your reply.

Thanks,

-- 
Lei Ming

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [question] ath9k: 11n monitor mode
  2009-11-26 13:57 [question] ath9k: 11n monitor mode Ming Lei
@ 2009-11-26 17:02 ` Gábor Stefanik
  2009-11-26 21:48   ` Luis R. Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Gábor Stefanik @ 2009-11-26 17:02 UTC (permalink / raw)
  To: Ming Lei; +Cc: lrodriguez, ath9k-devel, linux-wireless

I don't know exactly, but a while ago there was a discussion about how
to represent HT rates in Radiotap. AFAIK mac80211 refuses to forward
HT packets to monitor interfaces as they don't have a valid CCK or
OFDM rate.

On Thu, Nov 26, 2009 at 2:57 PM, Ming Lei <tom.leiming@gmail.com> wrote:
> Hi Luis,
>
> I find the wireshark can only capture 11b/g packets but any 11n packets over
> my ar9283 card, and I can confirm I have set HT40+ to make it work in 11n mode.
>
> wireshark : 1.2.2
> kernel       : 2.6.32-rc6
>
> I don't know what is wrong with it, and could ath9k work well in monitor
> mode of 11n?  or other reason?
>
> Look forward to your reply.
>
> Thanks,
>
> --
> Lei Ming
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [question] ath9k: 11n monitor mode
  2009-11-26 17:02 ` Gábor Stefanik
@ 2009-11-26 21:48   ` Luis R. Rodriguez
  2009-11-27  1:37     ` Ming Lei
  0 siblings, 1 reply; 5+ messages in thread
From: Luis R. Rodriguez @ 2009-11-26 21:48 UTC (permalink / raw)
  To: Gábor Stefanik; +Cc: Ming Lei, ath9k-devel, linux-wireless, Matteo Croce

2009/11/26 Gábor Stefanik <netrolller.3d@gmail.com>:
> I don't know exactly, but a while ago there was a discussion about how
> to represent HT rates in Radiotap. AFAIK mac80211 refuses to forward
> HT packets to monitor interfaces as they don't have a valid CCK or
> OFDM rate.

Matteo added a suggested field for radiotap for MCS rates:

http://www.radiotap.org/suggested-fields/MCS

If approved it could mean then parsing MCS rates.

  Luis

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [question] ath9k: 11n monitor mode
  2009-11-26 21:48   ` Luis R. Rodriguez
@ 2009-11-27  1:37     ` Ming Lei
  2009-11-27  9:43       ` Johannes Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Ming Lei @ 2009-11-27  1:37 UTC (permalink / raw)
  To: Luis R. Rodriguez
  Cc: Gábor Stefanik, ath9k-devel, linux-wireless, Matteo Croce

2009/11/27 Luis R. Rodriguez <lrodriguez@atheros.com>:
> 2009/11/26 Gábor Stefanik <netrolller.3d@gmail.com>:
>> I don't know exactly, but a while ago there was a discussion about how
>> to represent HT rates in Radiotap. AFAIK mac80211 refuses to forward
>> HT packets to monitor interfaces as they don't have a valid CCK or
>> OFDM rate.
>
> Matteo added a suggested field for radiotap for MCS rates:
>
> http://www.radiotap.org/suggested-fields/MCS

Oh, I see.

Is there any patch which may let mac80211 forward HT packets to
monitor interface now?
If there is, where could I find it?

thanks,

-- 
Lei Ming

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [question] ath9k: 11n monitor mode
  2009-11-27  1:37     ` Ming Lei
@ 2009-11-27  9:43       ` Johannes Berg
  0 siblings, 0 replies; 5+ messages in thread
From: Johannes Berg @ 2009-11-27  9:43 UTC (permalink / raw)
  To: Ming Lei
  Cc: Luis R. Rodriguez, Gábor Stefanik, ath9k-devel,
	linux-wireless, Matteo Croce

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

On Fri, 2009-11-27 at 09:37 +0800, Ming Lei wrote:
> 2009/11/27 Luis R. Rodriguez <lrodriguez@atheros.com>:
> > 2009/11/26 Gábor Stefanik <netrolller.3d@gmail.com>:
> >> I don't know exactly, but a while ago there was a discussion about how
> >> to represent HT rates in Radiotap. AFAIK mac80211 refuses to forward
> >> HT packets to monitor interfaces as they don't have a valid CCK or
> >> OFDM rate.
> >
> > Matteo added a suggested field for radiotap for MCS rates:
> >
> > http://www.radiotap.org/suggested-fields/MCS
> 
> Oh, I see.
> 
> Is there any patch which may let mac80211 forward HT packets to
> monitor interface now?
> If there is, where could I find it?

It will forward all frame that it gets from the driver, just not tell
you it was an HT frame in radiotap since there's no way to -- you'll see
a frame without rate information.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-27  9:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-26 13:57 [question] ath9k: 11n monitor mode Ming Lei
2009-11-26 17:02 ` Gábor Stefanik
2009-11-26 21:48   ` Luis R. Rodriguez
2009-11-27  1:37     ` Ming Lei
2009-11-27  9:43       ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox