/home/tai/chorist/xian-1.2/src/include/usei.h

Go to the documentation of this file.
00001 /*
00002  *  XIAN USEI - User Space XIAN Extended API
00003  *  Copyright (C) 2006 THALES Communications
00004  *
00005  *  This file is part of XIAN software.
00006  *
00007  *  XIAN is free software; you can redistribute it and/or modify it
00008  *  under the terms of the GNU General Public License as published by
00009  *  the Free Software Foundation.
00010  *
00011  *  XIAN software is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *  GNU General Public License for more details.
00015  *
00016  *  You should have received a copy of the GNU General Public License
00017  *  along with XIAN software; if not, write to the Free Software
00018  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00019  *
00020  *  */
00021 
00022 #ifndef _USEI_H
00023 #define _USEI_H
00024 
00025 #include "usei-log.h"
00026 
00027 /**************************************************************************************
00028  *                        CALCULATED METRICS TYPES DEFINITION
00029  *************************************************************************************/
00030 
00031 #define OCCUPANCY              600
00032 #define TX_FRAME_WITH_NO_ACK   601
00033 #define TX_FAILURE_RATE      602
00034 #define RSSI                   603
00035 #define TX_ERR              604
00036 #define TX_TRIAL              605
00037 
00038 
00039 
00040 /**************************************************************************************
00041  *                   Define the interface for getting calculated metrics
00042  *************************************************************************************/
00043 
00044 unsigned long long get_node_delta_occupancy(char * macaddr, char * dev_name, unsigned int * code_err);
00045 unsigned long long get_node_avg_delta_occupancy(char * macadd, char * dev_name, unsigned int * code_err);
00046 unsigned long long get_node_avg_rssi(char * macadd, char * dev_name, unsigned int * code_err);
00047 unsigned long long get_node_avg_delta_tx_frame_with_no_ack(char * macadd, char * dev_name, unsigned int * code_err);
00048 
00049 
00050 unsigned long long get_node_delta_tx_trial(char * macadd, char * dev_name, unsigned int * code_err);
00051 unsigned long long get_node_delta_tx_err(char * macadd, char * dev_name, unsigned int * code_err);
00052 
00053 unsigned long long get_node_tx_failure_rate(char * macadd, char * dev_name, unsigned int * code_err);
00054 unsigned long long get_node_avg_tx_failure_rate(char * macadd, char * dev_name, unsigned int * code_err);
00055 
00056 #endif

Generated on Mon Jan 21 12:31:45 2008 for XIAN by  doxygen 1.5.3