All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Monitor mode question
@ 2010-01-17  3:53 Lenin Ravindranath S
  2010-01-17  8:18 ` Benoit PAPILLAULT
  0 siblings, 1 reply; 6+ messages in thread
From: Lenin Ravindranath S @ 2010-01-17  3:53 UTC (permalink / raw)
  To: ath9k-devel

Hi,

I am new to ath9k. I have a DWA-642 card and I am trying to set it in
monitor mode to inject and receive packets.

I did

iw dev wlan0 interface add fish0 type monitor
ifconfig fish0 up


I have two problems
1. The interface is able to get only packets which has destination address
as a broadcast address (FF:FF:FF:FF:FF:FF) and not every packet in the air.

2. Whatever rate I set in radiotap header to inject packet, the packet goes
out at only 1Mbps. I tried to use both packetspammer and "click router" to
try to inject packets.

Am I missing some flags/settings?

Thanks
Lenin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100116/f1ba1ef0/attachment.htm 

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

* [ath9k-devel] Monitor mode question
  2010-01-17  3:53 [ath9k-devel] Monitor mode question Lenin Ravindranath S
@ 2010-01-17  8:18 ` Benoit PAPILLAULT
  2010-01-18  0:35   ` Lenin Ravindranath S
  0 siblings, 1 reply; 6+ messages in thread
From: Benoit PAPILLAULT @ 2010-01-17  8:18 UTC (permalink / raw)
  To: ath9k-devel

Lenin Ravindranath S a ?crit :
> Hi,
> 
> I am new to ath9k. I have a DWA-642 card and I am trying to set it in
> monitor mode to inject and receive packets.
> 
> I did
> 
> iw dev wlan0 interface add fish0 type monitor
> ifconfig fish0 up
> 
> 
> I have two problems
> 1. The interface is able to get only packets which has destination
> address as a broadcast address (FF:FF:FF:FF:FF:FF) and not every packet
> in the air.

That's not expected. Maybe you should set the channel as well :
iw dev fish0 set channel 1

> 
> 2. Whatever rate I set in radiotap header to inject packet, the packet
> goes out at only 1Mbps. I tried to use both packetspammer and "click
> router" to try to inject packets.

Indeed, that's not implemented. There are patches to do it however.

> 
> Am I missing some flags/settings?

Yes. What kernel are you using?

> 
> Thanks
> Lenin

Regards,
Benoit

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

* [ath9k-devel] Monitor mode question
  2010-01-17  8:18 ` Benoit PAPILLAULT
@ 2010-01-18  0:35   ` Lenin Ravindranath S
  2010-01-18 10:44     ` rootkit85 at yahoo.it
                       ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Lenin Ravindranath S @ 2010-01-18  0:35 UTC (permalink / raw)
  To: ath9k-devel

I am running 2.6.27.37-170.2.104.fc10.i686.

Can you point me to the patch that will enable me to set rates?
Even the b/g rates doesn't seem to work. The packets are sent out at 1Mbps
always.

On Sun, Jan 17, 2010 at 3:18 AM, Benoit PAPILLAULT <
benoit.papillault@free.fr> wrote:

> Lenin Ravindranath S a ?crit :
> > Hi,
> >
> > I am new to ath9k. I have a DWA-642 card and I am trying to set it in
> > monitor mode to inject and receive packets.
> >
> > I did
> >
> > iw dev wlan0 interface add fish0 type monitor
> > ifconfig fish0 up
> >
> >
> > I have two problems
> > 1. The interface is able to get only packets which has destination
> > address as a broadcast address (FF:FF:FF:FF:FF:FF) and not every packet
> > in the air.
>
> That's not expected. Maybe you should set the channel as well :
> iw dev fish0 set channel 1
>
> >
> > 2. Whatever rate I set in radiotap header to inject packet, the packet
> > goes out at only 1Mbps. I tried to use both packetspammer and "click
> > router" to try to inject packets.
>
> Indeed, that's not implemented. There are patches to do it however.
>
> >
> > Am I missing some flags/settings?
>
> Yes. What kernel are you using?
>
> >
> > Thanks
> > Lenin
>
> Regards,
> Benoit
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100117/b96fdc2c/attachment.htm 

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

* [ath9k-devel] Monitor mode question
  2010-01-18  0:35   ` Lenin Ravindranath S
@ 2010-01-18 10:44     ` rootkit85 at yahoo.it
  2010-01-18 14:43     ` Benoit PAPILLAULT
  2010-01-19 15:51     ` Luis R. Rodriguez
  2 siblings, 0 replies; 6+ messages in thread
From: rootkit85 at yahoo.it @ 2010-01-18 10:44 UTC (permalink / raw)
  To: ath9k-devel

On Mon, Jan 18, 2010 at 1:35 AM, Lenin Ravindranath S <slenin@gmail.com> wrote:
> I am running 2.6.27.37-170.2.104.fc10.i686.
>
> Can you point me to the patch that will enable me to set rates?
> Even the b/g rates doesn't seem to work. The packets are sent out at 1Mbps
> always.
>
> On Sun, Jan 17, 2010 at 3:18 AM, Benoit PAPILLAULT
> <benoit.papillault@free.fr> wrote:
>>
>> Lenin Ravindranath S a ?crit :
>> > Hi,
>> >
>> > I am new to ath9k. I have a DWA-642 card and I am trying to set it in
>> > monitor mode to inject and receive packets.
>> >
>> > I did
>> >
>> > iw dev wlan0 interface add fish0 type monitor
>> > ifconfig fish0 up
>> >
>> >
>> > I have two problems
>> > 1. The interface is able to get only packets which has destination
>> > address as a broadcast address (FF:FF:FF:FF:FF:FF) and not every packet
>> > in the air.
>>
>> That's not expected. Maybe you should set the channel as well :
>> iw dev fish0 set channel 1
>>
>> >
>> > 2. Whatever rate I set in radiotap header to inject packet, the packet
>> > goes out at only 1Mbps. I tried to use both packetspammer and "click
>> > router" to try to inject packets.
>>
>> Indeed, that's not implemented. There are patches to do it however.
>>
>> >
>> > Am I missing some flags/settings?
>>
>> Yes. What kernel are you using?
>>
>> >
>> > Thanks
>> > Lenin
>>
>> Regards,
>> Benoit
>>
>
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>

Here is it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 703-radiotap_mcs.patch
Type: text/x-patch
Size: 6865 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100118/47f79f57/attachment-0001.bin 

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

* [ath9k-devel] Monitor mode question
  2010-01-18  0:35   ` Lenin Ravindranath S
  2010-01-18 10:44     ` rootkit85 at yahoo.it
@ 2010-01-18 14:43     ` Benoit PAPILLAULT
  2010-01-19 15:51     ` Luis R. Rodriguez
  2 siblings, 0 replies; 6+ messages in thread
From: Benoit PAPILLAULT @ 2010-01-18 14:43 UTC (permalink / raw)
  To: ath9k-devel

Lenin Ravindranath S a ?crit :
> I am running 2.6.27.37-170.2.104.fc10.i686.
That much! :-) There has been lots of changes since then. I would advice 
you to try 2.6.32 or compat-wireless.
>
> Can you point me to the patch that will enable me to set rates?
> Even the b/g rates doesn't seem to work. The packets are sent out at 
> 1Mbps always.
Yup. These are patches from Matteo :
http://teknoraver.net/software/radiotap_mcs/

Regards,
Benoit
>
> On Sun, Jan 17, 2010 at 3:18 AM, Benoit PAPILLAULT 
> <benoit.papillault at free.fr <mailto:benoit.papillault@free.fr>> wrote:
>
>     Lenin Ravindranath S a ?crit :
>     > Hi,
>     >
>     > I am new to ath9k. I have a DWA-642 card and I am trying to set
>     it in
>     > monitor mode to inject and receive packets.
>     >
>     > I did
>     >
>     > iw dev wlan0 interface add fish0 type monitor
>     > ifconfig fish0 up
>     >
>     >
>     > I have two problems
>     > 1. The interface is able to get only packets which has destination
>     > address as a broadcast address (FF:FF:FF:FF:FF:FF) and not every
>     packet
>     > in the air.
>
>     That's not expected. Maybe you should set the channel as well :
>     iw dev fish0 set channel 1
>
>     >
>     > 2. Whatever rate I set in radiotap header to inject packet, the
>     packet
>     > goes out at only 1Mbps. I tried to use both packetspammer and "click
>     > router" to try to inject packets.
>
>     Indeed, that's not implemented. There are patches to do it however.
>
>     >
>     > Am I missing some flags/settings?
>
>     Yes. What kernel are you using?
>
>     >
>     > Thanks
>     > Lenin
>
>     Regards,
>     Benoit
>
>

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

* [ath9k-devel] Monitor mode question
  2010-01-18  0:35   ` Lenin Ravindranath S
  2010-01-18 10:44     ` rootkit85 at yahoo.it
  2010-01-18 14:43     ` Benoit PAPILLAULT
@ 2010-01-19 15:51     ` Luis R. Rodriguez
  2 siblings, 0 replies; 6+ messages in thread
From: Luis R. Rodriguez @ 2010-01-19 15:51 UTC (permalink / raw)
  To: ath9k-devel

On Sun, Jan 17, 2010 at 04:35:36PM -0800, Lenin Ravindranath S wrote:
> I am running 2.6.27.37-170.2.104.fc10.i686.

I should note your ath9k in 2.6.27 is ancient, try stable:

http://wireless.kernel.org/en/users/Download/stable/

  Luis

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

end of thread, other threads:[~2010-01-19 15:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-17  3:53 [ath9k-devel] Monitor mode question Lenin Ravindranath S
2010-01-17  8:18 ` Benoit PAPILLAULT
2010-01-18  0:35   ` Lenin Ravindranath S
2010-01-18 10:44     ` rootkit85 at yahoo.it
2010-01-18 14:43     ` Benoit PAPILLAULT
2010-01-19 15:51     ` Luis R. Rodriguez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.