scanner.h

Go to the documentation of this file.
00001 /* Linux Prism II Stumbler - Utility Scan for 802_11 networks under Linux
00002  * 
00003  * File : scanner.h
00004  * Project : WifiScanner (c) 2002 Herv<E9> Schauer Consultants
00005  * Usage : This utility is written for use with IEEE 802.11 adapters based
00006  * on Intersil's PRISM II chipset (PCMCIA).
00007  * 
00008  * Base code was from prismstumbler Jan Fernquist <Jan.B.Fernquist@telia.com>
00009  * and wlanctl from www.linux-wlan.org
00010  *
00011  * This program is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU General Public License
00013  * as published by the Free Software Foundation; either version 2
00014  * of the License, or (at your option) any later version.
00015  * 
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU General Public License for more details.
00020  * 
00021  * You should have received a copy of the GNU General Public License
00022  * along with this program; if not, write to the Free Software
00023  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00024  *
00025  */
00026 #ifndef __scanner_h__
00027 #define __scanner_h__
00028 
00029 #define DO_NOT_DISPLAY_ACK     ( IS_DISPLAY_ACK(config.DoNotDisplay) && \
00030                                 ( (WLAN_GET_FC_FTYPE (Res.TypeSubtype) == WLAN_FTYPE_CTL) && \
00031                                   (WLAN_GET_FC_FSTYPE(Res.TypeSubtype) == WLAN_FSTYPE_ACK)  \
00032                                 ) \
00033                                )
00034 
00035 #define DO_NOT_DISPLAY_BEACON  ( IS_DISPLAY_BEACON(config.DoNotDisplay) && \
00036                                 ( (WLAN_GET_FC_FTYPE (Res.TypeSubtype) == WLAN_FTYPE_MGMT) && \
00037           (WLAN_GET_FC_FSTYPE(Res.TypeSubtype) == WLAN_FSTYPE_BEACON)  \
00038         ) \
00039                                )
00040 
00041 #define DO_NOT_DISPLAY_CONTROL ( IS_DISPLAY_CONTROL(config.DoNotDisplay) && \
00042                                  (WLAN_GET_FC_FTYPE (Res.TypeSubtype) == WLAN_FTYPE_CTL) \
00043                                )
00044 
00045 #define DO_NOT_DISPLAY_DATA    ( IS_DISPLAY_DATA(config.DoNotDisplay) && \
00046                                  (WLAN_GET_FC_FTYPE (Res.TypeSubtype) == WLAN_FTYPE_DATA) \
00047                                )
00048 
00049 #define DO_NOT_DISPLAY_PROBE   ( IS_DISPLAY_PROBE(config.DoNotDisplay) && \
00050                                 (( (WLAN_GET_FC_FTYPE (Res.TypeSubtype) == WLAN_FTYPE_MGMT) && \
00051                                    (WLAN_GET_FC_FSTYPE(Res.TypeSubtype) == WLAN_FSTYPE_PROBEREQ)  \
00052                                  ) || \
00053                ( (WLAN_GET_FC_FTYPE (Res.TypeSubtype) == WLAN_FTYPE_MGMT) && \
00054            (WLAN_GET_FC_FSTYPE(Res.TypeSubtype) == WLAN_FSTYPE_PROBERESP)  \
00055          ) \
00056               ) \
00057                                )
00058 
00059 #endif

Generated on Fri Jul 25 17:10:37 2008 for WifiScanner by  doxygen 1.5.5