Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

analyse.h

Go to the documentation of this file.
00001 /* Linux Prism II Stumbler - Utility Scan for 802_11 networks under Linux
00002  * 
00003  * File : analyse.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 
00027 #ifndef __analyse_h__
00028 #define __analyse_h__
00029 
00030 // Some values :-)
00031 #define HISTOSIZE 37
00032 #define POS_MAC 6
00033 #define POS_SSID 24
00034 #define POS_HISTO 56
00035 
00036 #define SENSOFIDS_TS 5
00037 
00038 // public declarations
00039 void LogPutSN(UINT8 AddMac[WLAN_ADDR_LEN], UINT32 SN);
00040 void LogPutRate(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 Rate);
00041 void LogPutMaxRate(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 Rate);
00042 void LogDetectedClient(UINT8 AddMac[WLAN_ADDR_LEN]);
00043 void LogPutBSSID(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 BSSID[WLAN_ADDR_LEN]);
00044 void LogPutDS(UINT8 BSSID[WLAN_ADDR_LEN]);
00045 void LogPutWep(UINT8 BSSID[WLAN_ADDR_LEN], UINT8 hasWep);
00046 void LogPutSSID(UINT8 AddMac[WLAN_ADDR_LEN],
00047                 UINT8 BSSID[WLAN_ADDR_LEN], char *SSID);
00048 void LogPutChannel(UINT8 AddMac[WLAN_ADDR_LEN],
00049                    UINT8 BSSID[WLAN_ADDR_LEN], UINT8 Channel);
00050 void LogPutIsAP(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 hasWep, UINT16 bcn_int);
00051 void LogPutIsP2P(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 hasWep,
00052                  UINT16 bcn_int);
00053 void LogPutOtherInformation(UINT8 AddMac[WLAN_ADDR_LEN],
00054                             char *OtherInformation);
00055 void LogPutTimestamp(UINT8 AddMac[WLAN_ADDR_LEN], UINT64 TS);
00056 void LogPutSeqNum(UINT8 AddMac[WLAN_ADDR_LEN],
00057                   UINT8 AddMacDst[WLAN_ADDR_LEN], UINT16 SeqNum);
00058 void LogPutLastIV(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 IV[4]);
00059 
00060 void LogWriteReport(void);
00061 void LogWriteDOT(FILE * filename);
00062 void LogWritePanel(void);
00063 void LogWriteHisto(void);
00064 
00065 /* */
00066 void DoSummary(void);
00067 void WritePanel(UINT8 GoodPacket);
00068 
00069 /* IDS */
00070 UINT8 IDS(void);
00071 
00072 #endif

Generated on Fri Feb 25 12:02:37 2005 for WifiScanner by  doxygen 1.4.1