[PATCH] ieee80211_rx_any: filter out packets, call ieee80211_rx or ieee80211_rx_mgt
authorDenis Vlasenko <vda@ilport.com.ua>
Tue, 24 Jan 2006 14:57:11 +0000 (16:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 23 Mar 2006 03:16:58 +0000 (22:16 -0500)
commit1a995b45a52871af42aa1111da4c74c4b85e09c5
tree59d43235b1e5bc76bbf2f108d4e7a9f016db0ea3
parent4c718cfd7df4ac34ca8a4add555c374de61c42e8
[PATCH] ieee80211_rx_any: filter out packets, call ieee80211_rx or ieee80211_rx_mgt

Version 2 of the patch. Added checks for version 0
and proper from/to DS bits. Even in promisc
mode we won't receive packets from another BSSes.

bcm43xx_rx() contains code to filter out packets from
foreign BSSes and decide whether to call ieee80211_rx
or ieee80211_rx_mgt. This is not bcm specific.

Patch adapts that code and adds it to 80211
as ieee80211_rx_any() function.

Signed-off-by: Denis Vlasenko <vda@ilport.com.ua>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/ieee80211_rx.c