N-sim
Emulation and simulation of
Wireless Sensor Networks



   Home


   Project Page


   Download


   CVS



   Installation


   Configuration


   Plug-ins




 Hosted by
SourceForge.net Logo

/home/brennan/n-sim/Vaike/linux/system-addons/networking/mesh_jam_resist.c File Reference

WSN jamming recognition and resistance. More...

#include <stdio.h>
#include <netdb.h>
#include <syslog.h>
#include "mesh_analysis.h"
#include "mesh_jam_resist.h"

Go to the source code of this file.

Defines

#define STATISTIC_SIZE   128
#define SNR_ALARM   3
#define NOISE_ALARM   6

Functions

void jam_analysis (struct msghdr *msg_header) int i
 for (control=CMSG_FIRSTHDR(msg_header);control!=NULL;control=CMSG_NXTHDR(msg_header, control))
 for ()

Variables

void signal_str
void noise_lvl
double snr_sigma
double noise_sigma
double snr [size]


Detailed Description

WSN jamming recognition and resistance.

Revision
1.1

Original Author: Sean M. Brennan <brennan@lanl.gov>

Author
sean_m_brennan

Created: December 12, 2007

Date
2008/02/05 19:14:30

Definition in file mesh_jam_resist.c.


Define Documentation

#define NOISE_ALARM   6
 

Definition at line 45 of file mesh_jam_resist.c.

#define SNR_ALARM   3
 

Definition at line 44 of file mesh_jam_resist.c.

#define STATISTIC_SIZE   128
 

Definition at line 43 of file mesh_jam_resist.c.


Function Documentation

for  ) 
 

Definition at line 85 of file mesh_jam_resist.c.

for control  = CMSG_FIRSTHDR(msg_header); control != NULL; control = CMSG_NXTHDR(msg_header, control)  ) 
 

Definition at line 74 of file mesh_jam_resist.c.

void jam_analysis struct msghdr *  msg_header  ) 
 


Variable Documentation

void noise_lvl
 

Definition at line 71 of file mesh_jam_resist.c.

Referenced by strength_recv_mesh_discovery().

double noise_sigma
 

Definition at line 72 of file mesh_jam_resist.c.

void signal_str
 

Definition at line 71 of file mesh_jam_resist.c.

Referenced by strength_recv_mesh_discovery().

double snr[size]
 

Definition at line 72 of file mesh_jam_resist.c.

double snr_sigma
 

Definition at line 72 of file mesh_jam_resist.c.


© 2007, Los Alamos National Security, LLC.