From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benoit PAPILLAULT Date: Mon, 18 Jan 2010 15:43:03 +0100 Subject: [ath9k-devel] Monitor mode question In-Reply-To: References: <4B52C7D6.50306@free.fr> Message-ID: <4B547377.1020700@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 > > 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 > >