Hello Krishnan (I really hope this is in fact your first name ;) ) On Monday, October 15, 2012 03:24:12 PM Krishnan Manivannan wrote: > I tried the patch you hadd mentioned, but still Iam unable to > receive data packets sent by other stations in managed mode. > wifi device: TP-LINK (TL-WN822N) > Am I missing something? maybe. Do you know if your station are using aggregation (i.e.: 802.11n / HT40)? Or is every station still on 11b/g terms? Also, what about encryption? Because normally, stations in a WPA protected network use a per-station key to talk to the AP. Only the sending station an the AP can decipher these frames (other stations can't because they lack the proper key and drop them). Of course, there could be more restrictions. However, I would need more information about your setup then. > >Just to be clear, do you want to get these frames on the same > >interface? And do you want the converted 802.3 or are "real" > >802.11 frames that go over the air good enough (if so, please > >read on!)? > > Yes, we want these frames on the same interface. Well, the 802.11 frames are converted into 802.3 frames by the mac80211 stack and it does the filtering (source, destination and bssid matching, decryption(key + icv) checks, sequence number check, ...) too. If you don't want that, you can either: - setup an additional virtual interface and get the raw 802.11 frames from there [see previous post]. - register with nl80211 and get the raw 802.11 frames from there [this is done by hostapd - look for nl80211_register_frame - although I don't know if this method can be used to capture data frames as well]. - change the filtering code in the stack and let all frames through. > > please be advised, that the hardware sniffer mode is more some sort > >of debug operation. And that with the current kernel code > >you might experience some interference trouble if you > >use carl9170 as a pure monitor. In this case you want > >to apply the following patch. > > https://patchwork.kernel.org/patch/1439881/ > I tried this patch, but still we are unable to receive data packets sent by other stations. This patch is for the pure monitor mode. However it looks like you want have a station and want to look at other station's traffic too. So, I'm afraid this patch is not related to this. Regards, Chr -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html