A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
common-cognitive-header.h
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License version 2 as
4  * published by the Free Software Foundation;
5  *
6  * This program is distributed in the hope that it will be useful,
7  * but WITHOUT ANY WARRANTY; without even the implied warranty of
8  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9  * GNU General Public License for more details.
10  *
11  * You should have received a copy of the GNU General Public License
12  * along with this program; if not, write to the Free Software
13  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
14  *
15  * Author: Abdulla K. Al-Ali <abdulla.alali@qu.edu.qa>
16  */
17 
18 // Common header for cognitive radio functions
19 
20 #ifndef common_cognitive_H
21 #define common_cognitive_H
22 
23 // Max number of nodes in the simulation
24 #define MAX_NODES 200
25 
26 // Multi-radio multi-channel specification
27 // Channels/Radio Definition. DO NOT MODIFY HERE!
28 
29 // Interface Classification
30 #define CONTROL_RADIO 0
31 #define TRANSMITTER_RADIO 1
32 #define RECEIVER_RADIO 2
33 
34 // Channe/Radio Information
35 #define MAX_RADIO 3
36 #define MAX_CHANNELS 11 //#modify to accomodate changes (he says dont modify, why ?)
37 
38 #define SENSING_VERBOSE_MODE
39 
40 #endif