From: Lenin Ravindranath S Date: Sun, 17 Jan 2010 19:35:36 -0500 Subject: [ath9k-devel] Monitor mode question In-Reply-To: <4B52C7D6.50306@free.fr> References: <4B52C7D6.50306@free.fr> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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