nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /*
2 * (c) 2010-2016 Thomas d'Otreppe <tdotreppe@aircrack-ng.org>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of the
7 * License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * is provided AS IS, WITHOUT ANY WARRANTY; without even the implied
11 * warranty of MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, and
12 * NON-INFRINGEMENT. See the GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
17 * MA 02111-1307, USA.
18 *
19 * In addition, as a special exception, the copyright holders give
20 * permission to link the code of portions of this program with the
21 * OpenSSL library under certain conditions as described in each
22 * individual source file, and distribute linked combinations
23 * including the two.
24 * You must obey the GNU General Public License in all respects
25 * for all of the code used other than OpenSSL. If you modify
26 * file(s) with this exception, you may extend this exception to your
27 * version of the file(s), but you are not obligated to do so. If you
28 * do not wish to do so, delete this exception statement from your
29 * version. If you delete this exception statement from all source
30 * files in the program, then also delete it here.
31 */
32 #ifndef _OSDEP_COMMON_H_
33 #define _OSDEP_COMMON_H_
34  
35 int getFrequencyFromChannel(int channel);
36 int getChannelFromFrequency(int frequency);
37  
38 /*
39 // For later use, because aircrack-ng doesn't compile with MS compilers
40 #if defined(WIN32) || defined(__WIN__)
41 #define ftruncate(a, b) _chsize(a,b)
42 #endif
43 */
44  
45 #define HIGHEST_CHANNEL 221
46 #define LOWEST_CHANNEL -16
47  
48 #endif