/home/tai/chorist/xian-1.2/src/usi.c File Reference


Detailed Description

The XIAN USI - User Space API.

The User Space XIAN API provides a C library with functions to access to the madwifi metrics.

Copyright (C) 2006 THALES Communications

This file is part of XIAN software.

XIAN is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

XIAN software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with XIAN software; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Authors:
THALES Communications

Definition in file usi.c.

#include "stdio.h"
#include "sys/types.h"
#include "unistd.h"
#include "fcntl.h"
#include <string.h>
#include "include/itm.h"
#include "include/usi.h"

Go to the source code of this file.

Functions

struct xian_float xian_float_add (struct xian_float a, struct xian_float b)
 This function returns the addition between a and b.
struct xian_float xian_float_mult (struct xian_float a, struct xian_float b)
 This function returns the multiplication between a and b.
struct xian_float xian_float_div (struct xian_float a, struct xian_float b)
 This function returns the division of a by b.
int xian_float_cmp (struct xian_float a, struct xian_float b)
 This function compare a and b.
struct xian_float int2xian_float (unsigned int x)
 This function converts an int x to a xian_float(x/1).
float xian_float2float (struct xian_float x)
 This function converts an xian_float x to an int.
struct xian_float get_xian_stat_xian_float (char *macadd, char *dev_name, unsigned int id_conf, unsigned int *code_err)
 This function allows the acces of the value of the metric.
float get_xian_stat_float (char *macadd, char *dev_name, unsigned int id_conf, unsigned int *code_err)
 This function allows the acces of the valu of the metric.
void insert_metric (struct qos_metric_proto_msg *msg, unsigned int type, unsigned int id, unsigned long long value)
 This function allows to build a XIAN message with a metric.
void send_metric (char *macadd, char *dev_name, struct qos_metric_proto_msg msg, unsigned int *code_err)
 This function allows to send a metric included in a frame to a node.
unsigned int get_node_rx_data (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx data frames stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_mgmt (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx mgmt frames stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_ctrl (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx control frames stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_ucast (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx unicast frames stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_mcast (char *macadd, char *dev_name, unsigned int *code_err)
unsigned long long get_node_rx_bytes (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx data count (bytes) stats metric of a given node in function of its mac adress.
unsigned long long get_node_rx_beacons (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx beacon frames stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_proberesp (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx probe response frames stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_dup (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx discard 'cuz dup stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_noprivacy (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx w/ wep but privacy off stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_wepfail (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx wep processing failed stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_demicfail (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx demic failed stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_decap (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx decapsulation failed stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_defrag (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx defragmentation failed stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_disassoc (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx disassociation stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_deauth (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx deauthentication stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_decryptcrc (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx decrypt failed on crc stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_unauth (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx on unauthorized port stats metric of a given node in function of its mac adress.
unsigned int get_node_rx_unencrypted (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rx unecrypted w/ privacy stats metric of a given node in function of its mac adress.
unsigned int get_node_tx_data (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx data frames stats metric of a given node in function of its mac adress.
unsigned int get_node_tx_mgmt (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx management frames stats metric of a given node in function of its mac adress.
unsigned int get_node_tx_ucast (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx unicast frames stats metric of a given node in function of its mac adress.
unsigned int get_node_tx_mcast (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx multi/broadcast frames stats metric of a given node in function of its mac adress.
unsigned long long get_node_tx_bytes (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx data count (bytes) stats metric of a given node in function of its mac adress.
unsigned int get_node_tx_probereq (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx probe request frames stats metric of a given node in function of its mac adress.
unsigned int get_node_tx_novlantag (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx discard 'cuz no tag stats metric of a given node in function of its mac adress.
unsigned int get_node_tx_vlanmismatch (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx discard 'cuz bad tag stats metric of a given node in function of its mac adress.
unsigned int get_node_ps_discard (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get ps discard 'cuz of age stats metric of a given node in function of its mac adress.
unsigned int get_node_tx_assoc (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get [re]associations stats metric (MIB-related state) of a given node in function of its mac adress.
unsigned int get_node_tx_assoc_fail (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get [re]association failures stats metric (MIB-related state) of a given node in function of its mac adress.
unsigned int get_node_tx_auth (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get [re]authentications stats metric (MIB-related state) of a given node in function of its mac adress.
unsigned int get_node_tx_auth_fail (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get [re]authentication failures stats metric (MIB-related state) of a given node in function of its mac addr.
unsigned int get_node_tx_deauth (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get deauthentications stats metric (MIB-related state) of a given node in function of its mac addr.
unsigned int get_node_tx_deauth_code (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get last deauthification reason (MIB-related state) of a given node in function of its mac addr.
unsigned int get_node_tx_disassoc (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get disassociations stats metric (MIB-related state) of a given node in function of its mac addr.
unsigned int get_node_tx_disassoc_code (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get last disassociation code reason (MIB-related state) of a given node in function of its mac addr.
unsigned char get_node_txpower (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get transmit power metric of a given node in function of its mac adress.
unsigned char get_node_negotiated_rate (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get negotiated rate metric of a given node in function of its mac address.
unsigned char get_node_rssi (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rssi metric of given node in function of its mac adress.
unsigned int get_node_on_tx_err (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx !ok packet count metric (error count of tx frame with no ack) of given node in function of its mac adress.
unsigned int get_node_on_tx_ok (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx ok packet count metric of given node in function of its mac adress.
unsigned int get_node_on_tx_retr (char *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx retry count metric of given node in function of its mac adress.
unsigned int get_ast_watchdog (char *dev_name, unsigned int *code_err)
 This function allows to get number of device reset by watchdog.
unsigned int get_ast_hardware (char *dev_name, unsigned int *code_err)
 This function allows to get number of fatal hardware error interrupts.
unsigned int get_ast_bmiss (char *dev_name, unsigned int *code_err)
 This function allows to get number of beacon miss interrupts.
unsigned int get_ast_bstuck (char *dev_name, unsigned int *code_err)
 This function allows to get number of beacon stuck interrupts.
unsigned int get_ast_rxorn (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx overrun interrupts.
unsigned int get_ast_rxeol (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx eol interrupts.
unsigned int get_ast_txurn (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx underrun interrupts.
unsigned int get_ast_mib (char *dev_name, unsigned int *code_err)
 This function allows to get number of mib interrupts.
unsigned int get_ast_intrcoal (char *dev_name, unsigned int *code_err)
 This function allows to get number of interrupts coalesced.
unsigned int get_ast_tx_packets (char *dev_name, unsigned int *code_err)
 This function allows to get number of packet sent on the interface.
unsigned int get_ast_tx_mgmt (char *dev_name, unsigned int *code_err)
 This function allows to get number of management frames transmitted.
unsigned int get_ast_tx_discard (char *dev_name, unsigned int *code_err)
 This function allows to get number of frames discarded prior to assoc.
unsigned int get_ast_tx_invalid (char *dev_name, unsigned int *code_err)
 This function allows to get number of frames discarded 'cuz device gone.
unsigned int get_ast_tx_qstop (char *dev_name, unsigned int *code_err)
 This function allows to get number of output stopped 'cuz no buffer.
unsigned int get_ast_tx_encap (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx encapsulation failed.
unsigned int get_ast_tx_nonode (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz no node.
unsigned int get_ast_tx_nobuf (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz no tx buffer (data).
unsigned int get_ast_tx_nobufmgt (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz no tx buffer (mgmt).
unsigned int get_ast_tx_linear (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx linearized to cluster.
unsigned int get_ast_tx_nodata (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx discarded empty frame.
unsigned int get_ast_tx_busdma (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed for dma resrcs.
unsigned int get_ast_tx_xretries (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz too many retries.
unsigned int get_ast_tx_fifoerr (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz FIFO underrun.
unsigned int get_ast_tx_filtered (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz xmit filtered.
unsigned int get_ast_tx_shortretry (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx on-chip retries (short).
unsigned int get_ast_tx_longretry (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx on-chip retries (long).
unsigned int get_ast_tx_badrate (char *dev_name, unsigned int *code_err)
 This function allows to get tx number of failed 'cuz bogus xmit rate.
unsigned int get_ast_tx_noack (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with no ack marked.
unsigned int get_ast_tx_rts (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with rts enabled.
unsigned int get_ast_tx_cts (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with cts enabled.
unsigned int get_ast_tx_shortpre (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with short preamble.
unsigned int get_ast_tx_altrate (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with alternate rate.
unsigned int get_ast_tx_protect (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with protection.
unsigned int get_ast_tx_ctsburst (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with cts and bursting.
unsigned int get_ast_tx_ctsext (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with cts extension.
unsigned int get_ast_rx_nobuf (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx setup failed 'cuz no skb.
unsigned int get_ast_rx_busdma (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx setup failed for dma resrcs.
unsigned int get_ast_rx_orn (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz of desc overrun.
unsigned int get_ast_rx_crcerr (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz of bad CRC.
unsigned int get_ast_rx_fifoerr (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz of FIFO overrun.
unsigned int get_ast_rx_badcrypt (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz decryption.
unsigned int get_ast_rx_badmic (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz MIC failure.
unsigned int get_ast_rx_phyerr (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz of PHY err.
unsigned int get_ast_rx_tooshort (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discarded 'cuz frame too short.
unsigned int get_ast_rx_toobig (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discarded 'cuz frame too large.
unsigned int get_ast_rx_packets (char *dev_name, unsigned int *code_err)
 This function allows to get number of packets recv on the interface.
unsigned int get_ast_rx_mgt (char *dev_name, unsigned int *code_err)
 This function allows to get number of management frames received.
unsigned int get_ast_rx_ctl (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discarded 'cuz ctl frame.
unsigned char get_ast_tx_rssi (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx rssi of last ack.
unsigned char get_ast_rx_rssi (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx rssi from histogram.
unsigned int get_ast_be_xmit (char *dev_name, unsigned int *code_err)
 This function allows to get number of beacons transmitted.
unsigned int get_ast_be_nobuf (char *dev_name, unsigned int *code_err)
 This function allows to get number of beacon setup failed 'cuz no skb.
unsigned int get_ast_per_cal (char *dev_name, unsigned int *code_err)
 This function allows to get number of periodic calibration calls.
unsigned int get_ast_per_calfail (char *dev_name, unsigned int *code_err)
 This function allows to get number of periodic calibration failed.
unsigned int get_ast_per_rfgain (char *dev_name, unsigned int *code_err)
 This function allows to get number of periodic calibration rfgain reset.
unsigned int get_ast_rate_calls (char *dev_name, unsigned int *code_err)
 This function allows to get number of rate control checks.
unsigned int get_ast_rate_raise (char *dev_name, unsigned int *code_err)
 This function allows to get number of rate control raised xmit rate.
unsigned int get_ast_rate_drop (char *dev_name, unsigned int *code_err)
 This function allows to get number of rate control dropped xmit rate.
unsigned int get_ast_ant_defswitch (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx/default antenna switches.
unsigned int get_ast_ant_txswitch (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx antenna switches.
unsigned int get_is_rx_badversion (char *dev_name, unsigned int *code_err)
 This function allows to get number of frame with bad version.
unsigned int get_is_rx_tooshort (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx frame too short.
unsigned int get_is_rx_wrongbss (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx from wrong bssid.
unsigned int get_is_rx_dup (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard 'cuz dup.
unsigned int get_is_rx_wrongdir (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx w/ wrong direction.
unsigned int get_is_rx_mcastecho (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard 'cuz mcast echo.
unsigned int get_is_rx_notassoc (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard 'cuz sta !assoc.
unsigned int get_is_rx_noprivacy (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx w/ wep but privacy off.
unsigned int get_is_rx_unencrypted (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx w/o wep and privacy on.
unsigned int get_is_rx_wepfail (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx wep processing failed.
unsigned int get_is_rx_decap (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx decapsulation failed.
unsigned int get_is_rx_mgtdiscard (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard mgt frames.
unsigned int get_is_rx_ctl (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard ctrl frames.
unsigned int get_is_rx_beacon (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx beacon frames.
unsigned int get_is_rx_rstoobig (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx rate set truncated.
unsigned int get_is_rx_elem_missing (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx required element missing.
unsigned int get_is_rx_elem_toobig (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx element too big.
unsigned int get_is_rx_elem_toosmall (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx element too small.
unsigned int get_is_rx_elem_unknown (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx element unknown.
unsigned int get_is_rx_badchan (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx frame w/ invalid chan.
unsigned int get_is_rx_chanmismatch (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx frame chan mismatch.
unsigned int get_is_rx_nodealloc (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx frame dropped.
unsigned int get_is_rx_ssidmismatch (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx frame ssid mismatch.
unsigned int get_is_rx_auth_unsupported (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx w/ unsupported auth alg.
unsigned int get_is_rx_auth_fail (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx sta auth failure.
unsigned int get_is_rx_auth_countermeasures (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx auth discard 'cuz CM.
unsigned int get_is_rx_assoc_bss (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx assoc from wrong bssid.
unsigned int get_is_rx_assoc_notauth (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx assoc w/o auth.
unsigned int get_is_rx_assoc_capmismatch (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx assoc w/ cap mismatch.
unsigned int get_is_rx_assoc_norate (char *dev_name, unsigned int *code_err)
 This function allows to get number rx assoc w/ no rate match.
unsigned int get_is_rx_assoc_badwpaie (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx assoc w/ bad WPA IE.
unsigned int get_is_rx_deauth (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx deauthentication.
unsigned int get_is_rx_disassoc (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx disassociation.
unsigned int get_is_rx_badsubtype (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx frame w/ unknown subtype.
unsigned int get_is_rx_nobuf (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed for lack of buf.
unsigned int get_is_rx_decryptcrc (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx decrypt failed on crc.
unsigned int get_is_rx_ahdemo_mgt (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard ahdemo mgt frame.
unsigned int get_is_rx_bad_auth (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx bad auth request.
unsigned int get_is_rx_unauth (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx on unauthorized port.
unsigned int get_is_rx_badkeyid (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx w/ incorrect keyid.
unsigned int get_is_rx_ccmpreplay (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx seq# violation (CCMP).
unsigned int get_is_rx_ccmpformat (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx format bad (CCMP).
unsigned int get_is_rx_ccmpmic (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx MIC check failed (CCMP).
unsigned int get_is_rx_tkipreplay (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx seq# violation (TKIP).
unsigned int get_is_rx_tkipformat (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx format bad (TKIP).
unsigned int get_is_rx_tkipmic (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx MIC check failed (TKIP).
unsigned int get_is_rx_tkipicv (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx ICV check failed (TKIP).
unsigned int get_is_rx_badcipher (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz key type.
unsigned int get_is_rx_nocipherctx (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz key !setup.
unsigned int get_is_rx_acl (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard 'cuz acl policy.
unsigned int get_is_tx_nobuf (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed for lack of buf.
unsigned int get_is_tx_nonode (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed for no node.
unsigned int get_is_tx_unknownmgt (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx of unknown mgt frame.
unsigned int get_is_tx_badcipher (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz key type.
unsigned int get_is_tx_nodefkey (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz no defkey.
unsigned int get_is_tx_noheadroom (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz no space.
unsigned int get_is_scan_active (char *dev_name, unsigned int *code_err)
 This function allows to get number of active scans started.
unsigned int get_is_scan_passive (char *dev_name, unsigned int *code_err)
 This function allows to get number of passive scans started.
unsigned int get_is_node_timeout (char *dev_name, unsigned int *code_err)
 This function allows to get number of nodes timed out inactivity.
unsigned int get_is_crypto_nomem (char *dev_name, unsigned int *code_err)
 This function allows to get number of no memory for crypto ctx.
unsigned int get_is_crypto_tkip (char *dev_name, unsigned int *code_err)
 This function allows to get number of tkip crypto done in s/w.
unsigned int get_is_crypto_tkipenmic (char *dev_name, unsigned int *code_err)
 This function allows to get number of tkip en-MIC done in s/w.
unsigned int get_is_crypto_tkipdemic (char *dev_name, unsigned int *code_err)
 This function allows to get number of tkip de-MIC done in s/w.
unsigned int get_is_crypto_tkipcm (char *dev_name, unsigned int *code_err)
 This function allows to get number of tkip counter measures.
unsigned int get_is_crypto_ccmp (char *dev_name, unsigned int *code_err)
 This function allows to get number of ccmp crypto done in s/w.
unsigned int get_is_crypto_wep (char *dev_name, unsigned int *code_err)
 This function allows to get number of wep crypto done in s/w.
unsigned int get_is_crypto_setkey_cipher (char *dev_name, unsigned int *code_err)
 This function allows to get number of cipher rejected key.
unsigned int get_is_crypto_setkey_nokey (char *dev_name, unsigned int *code_err)
 This function allows to get number of no key index for setkey.
unsigned int get_is_crypto_delkey (char *dev_name, unsigned int *code_err)
 This function allows to get number of driver key delete failed.
unsigned int get_is_crypto_badcipher (char *dev_name, unsigned int *code_err)
 This function allows to get number of unknown cipher.
unsigned int get_is_crypto_nocipher (char *dev_name, unsigned int *code_err)
 This function allows to get number of cipher not available.
unsigned int get_is_crypto_attachfail (char *dev_name, unsigned int *code_err)
 This function allows to get number of cipher attach failed.
unsigned int get_is_crypto_swfallback (char *dev_name, unsigned int *code_err)
 This function allows to get number of cipher fallback to s/w.
unsigned int get_is_crypto_keyfail (char *dev_name, unsigned int *code_err)
 This function allows to get number of driver key alloc failed.
unsigned int get_is_crypto_enmicfail (char *dev_name, unsigned int *code_err)
 This function allows to get number of en-MIC failed.
unsigned int get_is_ibss_capmismatch (char *dev_name, unsigned int *code_err)
 This function allows to get number of merge failed-cap mismatch.
unsigned int get_is_ibss_norate (char *dev_name, unsigned int *code_err)
 This function allows to get number of merge failed-rate mismatch.
unsigned int get_is_ps_unassoc (char *dev_name, unsigned int *code_err)
 This function allows to get number of ps-poll for unassoc.
unsigned int get_is_ps_badaid (char *dev_name, unsigned int *code_err)
 This function allows to get number of ps-poll w/ incorrect aid.
unsigned int get_is_ps_qempty (char *dev_name, unsigned int *code_err)
 This function allows to get number of ps-poll w/ nothing to send.


Function Documentation

struct xian_float xian_float_add ( struct xian_float  a,
struct xian_float  b 
) [read]

This function returns the addition between a and b.

Parameters:
a a struct xian_float
b a struct xian_float
Returns:
struct xian_float the result of the addition

Definition at line 101 of file usi.c.

References xian_float::denominator, and xian_float::numerator.

struct xian_float xian_float_mult ( struct xian_float  a,
struct xian_float  b 
) [read]

This function returns the multiplication between a and b.

Parameters:
a a struct xian_float
b a struct xian_float
Returns:
struct xian_float the result of the multiplication

Definition at line 124 of file usi.c.

References xian_float::denominator, and xian_float::numerator.

struct xian_float xian_float_div ( struct xian_float  a,
struct xian_float  b 
) [read]

This function returns the division of a by b.

Parameters:
a a struct xian_float
b a struct xian_float
Returns:
struct xian_float the result of the division

Definition at line 137 of file usi.c.

References xian_float::denominator, xian_float::numerator, and xian_float_mult().

int xian_float_cmp ( struct xian_float  a,
struct xian_float  b 
)

This function compare a and b.

Parameters:
a a struct xian_float
b a struct xian_float
Returns:
int 1 if a>b, -1 if a<b and 0 if a=b

Definition at line 155 of file usi.c.

References xian_float::denominator, and xian_float::numerator.

struct xian_float int2xian_float ( unsigned int  x  )  [read]

This function converts an int x to a xian_float(x/1).

Parameters:
x an int
Returns:
struct xian_float x/1

Definition at line 175 of file usi.c.

References xian_float::denominator, and xian_float::numerator.

float xian_float2float ( struct xian_float  x  ) 

This function converts an xian_float x to an int.

Parameters:
x a struct xian_float
Returns:
struct xian_float x/1

Definition at line 187 of file usi.c.

References xian_float::denominator, and xian_float::numerator.

struct xian_float get_xian_stat_xian_float ( char *  macadd,
char *  dev_name,
unsigned int  id_conf,
unsigned int *  code_err 
) [read]

This function allows the acces of the value of the metric.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
id_conf unsigned int representing the metric
code_err output a code error if an error occurs.
Returns:
struct xian_float

Definition at line 204 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_stat_msg::dev_name, dev_name, qos_metric_stat_msg::id, qos_metric_stat_msg::id_error, qos_metric_stat_msg::macaddr, qos_metric_stat_msg::metric, NO_ERRORS, qos_metric_stat_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_STAT_MSG, T_QUERY_MSG, qos_metric_stat_msg::type_msg, and qos_metric_stat_msg::xian_float.

float get_xian_stat_float ( char *  macadd,
char *  dev_name,
unsigned int  id_conf,
unsigned int *  code_err 
)

This function allows the acces of the valu of the metric.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
id_conf unsigned int representing the metric
code_err output a code error if an error occurs.
Returns:
float

Definition at line 256 of file usi.c.

References xian_float::denominator, get_xian_stat_xian_float(), and xian_float::numerator.

void insert_metric ( struct qos_metric_proto_msg msg,
unsigned int  type,
unsigned int  id,
unsigned long long  value 
)

This function allows to build a XIAN message with a metric.

Parameters:
msg the XIAN message
type the metric
id id of the metric
value value of the metric

Definition at line 278 of file usi.c.

References qos_metric_proto_msg::id, qos_metric_proto_msg::int64, qos_metric_proto_msg::metric, qos_metric_proto_msg::metric_name, qos_metric_proto_msg::nb, and NB_METRICS.

void send_metric ( char *  macadd,
char *  dev_name,
struct qos_metric_proto_msg  msg,
unsigned int *  code_err 
)

This function allows to send a metric included in a frame to a node.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
msg the XIAN metric
code_err output a code error if an error occurs.

Definition at line 297 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_proto_msg::dev_name, qos_metric_proto_msg::id_error, qos_metric_proto_msg::macaddr, NO_ERRORS, qos_metric_proto_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_PROTO_MSG, T_SEND_MSG, and qos_metric_proto_msg::type_msg.

unsigned int get_node_rx_data ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx data frames stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx data frames stats metric of the node

Definition at line 339 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_DATA, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_mgmt ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx mgmt frames stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx mgmt frames stats metric of the node

Definition at line 393 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_MGMT, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_ctrl ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx control frames stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx control frames stats metric of the node

Definition at line 445 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_CTRL, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_ucast ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx unicast frames stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx unicast frames stats metric of the node

Definition at line 497 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_UCAST, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_mcast ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

Definition at line 549 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_MCAST, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned long long get_node_rx_bytes ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx data count (bytes) stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx data count (bytes) stats metric of the node

Definition at line 600 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int64, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_BYTES, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned long long get_node_rx_beacons ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx beacon frames stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx beacon frames stats metric of the node

Definition at line 652 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int64, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_BEACONS, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_proberesp ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx probe response frames stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx probe response frames stats metric of the node

Definition at line 704 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_PROBERESP, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_dup ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx discard 'cuz dup stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx discard 'cuz dup stats metric of the node

Definition at line 756 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_DUP, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_noprivacy ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx w/ wep but privacy off stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx w/ wep but privacy off stats metric of the node

Definition at line 808 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_NOPRIVACY, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_wepfail ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx wep processing failed stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx wep processing failed stats metric of the node

Definition at line 859 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_WEPFAIL, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_demicfail ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx demic failed stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx demic failed stats metric of the node

Definition at line 911 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_DEMICFAIL, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_decap ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx decapsulation failed stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx decapsulation failed stats metric of the node

Definition at line 962 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_DECAP, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_defrag ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx defragmentation failed stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx defragmentation failed stats metric of the node

Definition at line 1014 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_DEFRAG, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_disassoc ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx disassociation stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx disassociation stats metric of the node

Definition at line 1066 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_DISASSOC, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_deauth ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx deauthentication stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx deauthentication stats metric of the node

Definition at line 1118 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_DEAUTH, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_decryptcrc ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx decrypt failed on crc stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx decrypt failed on crc stats metric of the node

Definition at line 1170 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_DECRYPTCRC, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_unauth ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx on unauthorized port stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx on unauthorized port stats metric of the node

Definition at line 1221 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_UNAUTH, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_rx_unencrypted ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rx unecrypted w/ privacy stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rx unecrypted w/ privacy stats metric of the node

Definition at line 1273 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RX_UNENCRYPTED, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_data ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get tx data frames stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx data frames stats metric of the node

Definition at line 1324 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_DATA, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_mgmt ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get tx management frames stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx management frames stats metric of the node

Definition at line 1376 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_MGMT, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_ucast ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get tx unicast frames stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx unicast frames stats metric of the node

Definition at line 1427 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_UCAST, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_mcast ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get tx multi/broadcast frames stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx multi/broadcast frames stats metric of the node

Definition at line 1478 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_MCAST, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned long long get_node_tx_bytes ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get tx data count (bytes) stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx data count (bytes) stats metric of the node

Definition at line 1530 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int64, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_BYTES, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_probereq ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get tx probe request frames stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx probe request frames stats metric of the node

Definition at line 1582 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_PROBEREQ, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_novlantag ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get tx discard 'cuz no tag stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx discard 'cuz no tag stats metric of the node

Definition at line 1633 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_NOVLANTAG, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_vlanmismatch ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get tx discard 'cuz bad tag stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx discard 'cuz bad tag stats metric of the node

Definition at line 1684 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_VLANMISMATCH, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_ps_discard ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get ps discard 'cuz of age stats metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
ps discard 'cuz of age stats metric of the node

Definition at line 1737 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_PS_DISCARD, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_assoc ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get [re]associations stats metric (MIB-related state) of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
[re]associations stats metric of the node

Definition at line 1788 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_ASSOC, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_assoc_fail ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get [re]association failures stats metric (MIB-related state) of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
[re]associations failures stats metric of the node

Definition at line 1840 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_ASSOC_FAIL, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_auth ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get [re]authentications stats metric (MIB-related state) of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
[re]authentications stats metric of the node

Definition at line 1891 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_AUTH, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_auth_fail ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get [re]authentication failures stats metric (MIB-related state) of a given node in function of its mac addr.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
[re]authentication failures stats metric of the node

Definition at line 1943 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_AUTH_FAIL, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_deauth ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get deauthentications stats metric (MIB-related state) of a given node in function of its mac addr.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
deauthentications stats metric of the node

Definition at line 1995 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_DEAUTH, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_deauth_code ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get last deauthification reason (MIB-related state) of a given node in function of its mac addr.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
last deauthification reason of the node

Definition at line 2047 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_DEAUTH_CODE, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_disassoc ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get disassociations stats metric (MIB-related state) of a given node in function of its mac addr.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
disassociations stats metric of the node

Definition at line 2099 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_DISASSOC, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_tx_disassoc_code ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get last disassociation code reason (MIB-related state) of a given node in function of its mac addr.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
last disassociation code reason of the node

Definition at line 2151 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TX_DISASSOC_CODE, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned char get_node_txpower ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get transmit power metric of a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
txpower metric of the node

Definition at line 2203 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int8, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_TXPOWER, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned char get_node_negotiated_rate ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get negotiated rate metric of a given node in function of its mac address.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
negotiated rate metric of the node

Definition at line 2255 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int8, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_NEGOTIATED_RATE, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned char get_node_rssi ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get rssi metric of given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
rssi metric of the node

Definition at line 2307 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int8, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_RSSI, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_on_tx_err ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get tx !ok packet count metric (error count of tx frame with no ack) of given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx !ok packet count for the node (error count of tx frame with no ack)

Definition at line 2360 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_ON_TX_ERR, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_on_tx_ok ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get tx ok packet count metric of given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx ok packet count for the node

Definition at line 2412 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_ON_TX_OK, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_node_on_tx_retr ( char *  macadd,
char *  dev_name,
unsigned int *  code_err 
)

This function allows to get tx retry count metric of given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as follow XX:XX:XX:XX:XX:XX
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx retry packet count for the node

Definition at line 2465 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_node_msg::dev_name, qos_metric_node_msg::id_error, qos_metric_node_msg::int32, qos_metric_node_msg::macaddr, qos_metric_node_msg::metric, qos_metric_node_msg::metric_name, NO_ERRORS, NODE_ON_TX_RETR, qos_metric_node_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NODE_MSG, T_QUERY_MSG, and qos_metric_node_msg::type_msg.

unsigned int get_ast_watchdog ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of device reset by watchdog.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of device reset by watchdog

Definition at line 2587 of file usi.c.

References AST_WATCHDOG, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_hardware ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of fatal hardware error interrupts.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of fatal hardware error interrupts

Definition at line 2632 of file usi.c.

References AST_HARDWARE, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_bmiss ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of beacon miss interrupts.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of beacon miss interrupts

Definition at line 2679 of file usi.c.

References AST_BMISS, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_bstuck ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of beacon stuck interrupts.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of beacon stuck interrupts

Definition at line 2725 of file usi.c.

References AST_BSTUCK, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rxorn ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx overrun interrupts.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx overrun interrupts

Definition at line 2770 of file usi.c.

References AST_RXORN, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rxeol ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx eol interrupts.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx eol interrupts

Definition at line 2816 of file usi.c.

References AST_RXEOL, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_txurn ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx underrun interrupts.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx underrun interrupts

Definition at line 2861 of file usi.c.

References AST_TXURN, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_mib ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of mib interrupts.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of mib interrupts

Definition at line 2906 of file usi.c.

References AST_MIB, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_intrcoal ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of interrupts coalesced.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of interrupts coalesced

Definition at line 2951 of file usi.c.

References AST_INTRCOAL, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_packets ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of packet sent on the interface.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of packet sent on the interface

Definition at line 2996 of file usi.c.

References AST_TX_PACKETS, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_mgmt ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of management frames transmitted.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of management frames transmitted

Definition at line 3041 of file usi.c.

References AST_TX_MGMT, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_discard ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of frames discarded prior to assoc.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of frames discarded prior to assoc

Definition at line 3086 of file usi.c.

References AST_TX_DISCARD, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_invalid ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of frames discarded 'cuz device gone.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of frames discarded 'cuz device gone

Definition at line 3131 of file usi.c.

References AST_TX_INVALID, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_qstop ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of output stopped 'cuz no buffer.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of output stopped 'cuz no buffer

Definition at line 3176 of file usi.c.

References AST_TX_QSTOP, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_encap ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx encapsulation failed.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx encapsulation failed

Definition at line 3221 of file usi.c.

References AST_TX_ENCAP, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_nonode ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx failed 'cuz no node.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed 'cuz no node

Definition at line 3266 of file usi.c.

References AST_TX_NONODE, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_nobuf ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx failed 'cuz no tx buffer (data).

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed 'cuz no tx buffer (data)

Definition at line 3311 of file usi.c.

References AST_TX_NOBUF, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_nobufmgt ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx failed 'cuz no tx buffer (mgmt).

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed 'cuz no tx buffer (mgmt)

Definition at line 3356 of file usi.c.

References AST_TX_NOBUFMGT, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_linear ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx linearized to cluster.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx linearized to cluster

Definition at line 3401 of file usi.c.

References AST_TX_LINEAR, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_nodata ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx discarded empty frame.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx discarded empty frame

Definition at line 3446 of file usi.c.

References AST_TX_NODATA, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_busdma ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx failed for dma resrcs.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed for dma resrcs

Definition at line 3491 of file usi.c.

References AST_TX_BUSDMA, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_xretries ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx failed 'cuz too many retries.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed 'cuz too many retries

Definition at line 3536 of file usi.c.

References AST_TX_XRETRIES, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_fifoerr ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx failed 'cuz FIFO underrun.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed 'cuz FIFO underrun

Definition at line 3581 of file usi.c.

References AST_TX_FIFOERR, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_filtered ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx failed 'cuz xmit filtered.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed 'cuz xmit filtered

Definition at line 3626 of file usi.c.

References AST_TX_FILTERED, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_shortretry ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx on-chip retries (short).

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx on-chip retries (short)

Definition at line 3671 of file usi.c.

References AST_TX_SHORTRETRY, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_longretry ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx on-chip retries (long).

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx on-chip retries (long)

Definition at line 3716 of file usi.c.

References AST_TX_LONGRETRY, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_badrate ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get tx number of failed 'cuz bogus xmit rate.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed 'cuz bogus xmit rate

Definition at line 3761 of file usi.c.

References AST_TX_BADRATE, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_noack ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx frames with no ack marked.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx frames with no ack marked

Definition at line 3806 of file usi.c.

References AST_TX_NOACK, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_rts ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx frames with rts enabled.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx frames with rts enabled

Definition at line 3851 of file usi.c.

References AST_TX_RTS, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_cts ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx frames with cts enabled.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx frames with cts enabled

Definition at line 3896 of file usi.c.

References AST_TX_CTS, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_shortpre ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx frames with short preamble.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx frames with short preamble

Definition at line 3941 of file usi.c.

References AST_TX_SHORTPRE, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_altrate ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx frames with alternate rate.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx frames with alternate rate

Definition at line 3986 of file usi.c.

References AST_TX_ALTRATE, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_protect ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx frames with protection.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx frames with protection

Definition at line 4031 of file usi.c.

References AST_TX_PROTECT, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_ctsburst ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx frames with cts and bursting.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx frames with cts and bursting

Definition at line 4076 of file usi.c.

References AST_TX_CTSBURST, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_tx_ctsext ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx frames with cts extension.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx frames with cts extension

Definition at line 4121 of file usi.c.

References AST_TX_CTSEXT, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_nobuf ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx setup failed 'cuz no skb.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx setup failed 'cuz no skb

Definition at line 4166 of file usi.c.

References AST_RX_NOBUF, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_busdma ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx setup failed for dma resrcs.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx setup failed for dma resrcs

Definition at line 4211 of file usi.c.

References AST_RX_BUSDMA, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_orn ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx failed 'cuz of desc overrun.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx failed 'cuz of desc overrun

Definition at line 4256 of file usi.c.

References AST_RX_ORN, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_crcerr ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx failed 'cuz of bad CRC.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx failed 'cuz of bad CRC

Definition at line 4301 of file usi.c.

References AST_RX_CRCERR, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_fifoerr ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx failed 'cuz of FIFO overrun.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx failed 'cuz of FIFO overrun

Definition at line 4346 of file usi.c.

References AST_RX_FIFOERR, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_badcrypt ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx failed 'cuz decryption.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx failed 'cuz decryption

Definition at line 4391 of file usi.c.

References AST_RX_BADCRYPT, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_badmic ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx failed 'cuz MIC failure.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx failed 'cuz MIC failure

Definition at line 4436 of file usi.c.

References AST_RX_BADMIC, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_phyerr ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx failed 'cuz of PHY err.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx failed 'cuz of PHY err

Definition at line 4481 of file usi.c.

References AST_RX_PHYERR, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_tooshort ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx discarded 'cuz frame too short.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx discarded 'cuz frame too short

Definition at line 4526 of file usi.c.

References AST_RX_TOOSHORT, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_toobig ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx discarded 'cuz frame too large.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx discarded 'cuz frame too large

Definition at line 4571 of file usi.c.

References AST_RX_TOOBIG, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_packets ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of packets recv on the interface.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of packets recv on the interface

Definition at line 4616 of file usi.c.

References AST_RX_PACKETS, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_mgt ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of management frames received.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of management frames received

Definition at line 4661 of file usi.c.

References AST_RX_MGT, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rx_ctl ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx discarded 'cuz ctl frame.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx discarded 'cuz ctl frame

Definition at line 4706 of file usi.c.

References AST_RX_CTL, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned char get_ast_tx_rssi ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx rssi of last ack.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx rssi of last ack

Definition at line 4751 of file usi.c.

References AST_TX_RSSI, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int8, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned char get_ast_rx_rssi ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx rssi from histogram.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx rssi from histogram

Definition at line 4795 of file usi.c.

References AST_RX_RSSI, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int8, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_be_xmit ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of beacons transmitted.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of beacons transmitted

Definition at line 4840 of file usi.c.

References AST_BE_XMIT, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_be_nobuf ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of beacon setup failed 'cuz no skb.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of beacon setup failed 'cuz no skb

Definition at line 4885 of file usi.c.

References AST_BE_NOBUF, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_per_cal ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of periodic calibration calls.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of periodic calibration calls

Definition at line 4930 of file usi.c.

References AST_PER_CAL, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_per_calfail ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of periodic calibration failed.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of periodic calibration failed

Definition at line 4975 of file usi.c.

References AST_PER_CALFAIL, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_per_rfgain ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of periodic calibration rfgain reset.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of periodic calibration rfgain reset

Definition at line 5020 of file usi.c.

References AST_PER_RFGAIN, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rate_calls ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rate control checks.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rate control checks

Definition at line 5065 of file usi.c.

References AST_RATE_CALLS, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rate_raise ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rate control raised xmit rate.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rate control raised xmit rate

Definition at line 5110 of file usi.c.

References AST_RATE_RAISE, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_rate_drop ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rate control dropped xmit rate.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rate control dropped xmit rate

Definition at line 5155 of file usi.c.

References AST_RATE_DROP, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_ant_defswitch ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx/default antenna switches.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx/default antenna switches

Definition at line 5200 of file usi.c.

References AST_ANT_DEFSWITCH, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_ast_ant_txswitch ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx antenna switches.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx antenna switches

Definition at line 5245 of file usi.c.

References AST_ANT_TXSWITCH, COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_ath_msg::dev_name, qos_metric_ath_msg::id_error, qos_metric_ath_msg::int32, qos_metric_ath_msg::metric, qos_metric_ath_msg::metric_name, NO_ERRORS, qos_metric_ath_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_ATH_MSG, T_QUERY_MSG, and qos_metric_ath_msg::type_msg.

unsigned int get_is_rx_badversion ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of frame with bad version.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of frame with bad version

Definition at line 5380 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_BADVERSION, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_tooshort ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx frame too short.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx frame too short

Definition at line 5426 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_TOOSHORT, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_wrongbss ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx from wrong bssid.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx from wrong bssid

Definition at line 5471 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_WRONGBSS, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_dup ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx discard 'cuz dup.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx discard 'cuz dup

Definition at line 5516 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_DUP, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_wrongdir ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx w/ wrong direction.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx w/ wrong direction

Definition at line 5561 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_WRONGDIR, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_mcastecho ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx discard 'cuz mcast echo.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx discard 'cuz mcast echo

Definition at line 5606 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_MCASTECHO, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_notassoc ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx discard 'cuz sta !assoc.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx discard 'cuz sta !assoc

Definition at line 5652 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_NOTASSOC, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_noprivacy ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx w/ wep but privacy off.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx w/ wep but privacy off

Definition at line 5697 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_NOPRIVACY, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_unencrypted ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx w/o wep and privacy on.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx w/o wep and privacy on

Definition at line 5742 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_UNENCRYPTED, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_wepfail ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx wep processing failed.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx wep processing failed

Definition at line 5787 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_WEPFAIL, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_decap ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx decapsulation failed.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx decapsulation failed

Definition at line 5832 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_DECAP, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_mgtdiscard ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx discard mgt frames.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx discard mgt frames

Definition at line 5877 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_MGTDISCARD, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_ctl ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx discard ctrl frames.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx discard ctrl frames

Definition at line 5923 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_CTL, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_beacon ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx beacon frames.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx beacon frames

Definition at line 5968 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_BEACON, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_rstoobig ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx rate set truncated.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx rate set truncated

Definition at line 6013 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_RSTOOBIG, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_elem_missing ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx required element missing.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx required element missing

Definition at line 6058 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_ELEM_MISSING, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_elem_toobig ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx element too big.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx element too big

Definition at line 6103 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_ELEM_TOOBIG, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_elem_toosmall ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx element too small.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx element too small

Definition at line 6148 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_ELEM_TOOSMALL, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_elem_unknown ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx element unknown.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx element unknown

Definition at line 6193 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_ELEM_UNKNOWN, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_badchan ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx frame w/ invalid chan.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx frame w/ invalid chan

Definition at line 6238 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_BADCHAN, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_chanmismatch ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx frame chan mismatch.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx frame chan mismatch

Definition at line 6283 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_CHANMISMATCH, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_nodealloc ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx frame dropped.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx frame dropped

Definition at line 6327 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_NODEALLOC, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_ssidmismatch ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx frame ssid mismatch.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx frame ssid mismatch

Definition at line 6372 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_SSIDMISMATCH, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_auth_unsupported ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx w/ unsupported auth alg.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx w/ unsupported auth alg

Definition at line 6417 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_AUTH_UNSUPPORTED, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_auth_fail ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx sta auth failure.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx sta auth failure

Definition at line 6462 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_AUTH_FAIL, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_auth_countermeasures ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx auth discard 'cuz CM.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx auth discard 'cuz CM

Definition at line 6507 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_AUTH_COUNTERMEASURES, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_assoc_bss ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx assoc from wrong bssid.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx assoc from wrong bssid

Definition at line 6552 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_ASSOC_BSS, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_assoc_notauth ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx assoc w/o auth.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx assoc w/o auth

Definition at line 6597 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_ASSOC_NOTAUTH, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_assoc_capmismatch ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx assoc w/ cap mismatch.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx assoc w/ cap mismatch

Definition at line 6642 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_ASSOC_CAPMISMATCH, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_assoc_norate ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number rx assoc w/ no rate match.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx assoc w/ no rate match

Definition at line 6687 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_ASSOC_NORATE, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_assoc_badwpaie ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx assoc w/ bad WPA IE.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx assoc w/ bad WPA IE

Definition at line 6732 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_ASSOC_BADWPAIE, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_deauth ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx deauthentication.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx deauthentication

Definition at line 6777 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_DEAUTH, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_disassoc ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx disassociation.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx disassociation

Definition at line 6822 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_DISASSOC, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_badsubtype ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx frame w/ unknown subtype.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx frame w/ unknown subtype

Definition at line 6867 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_BADSUBTYPE, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_nobuf ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx failed for lack of buf.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx failed for lack of buf

Definition at line 6912 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_NOBUF, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_decryptcrc ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx decrypt failed on crc.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx decrypt failed on crc

Definition at line 6957 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_DECRYPTCRC, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_ahdemo_mgt ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx discard ahdemo mgt frame.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx discard ahdemo mgt frame

Definition at line 7002 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_AHDEMO_MGT, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_bad_auth ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx bad auth request.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx bad auth request

Definition at line 7047 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_BAD_AUTH, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_unauth ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx on unauthorized port.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx on unauthorized port

Definition at line 7092 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_UNAUTH, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_badkeyid ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx w/ incorrect keyid.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx w/ incorrect keyid

Definition at line 7137 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_BADKEYID, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_ccmpreplay ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx seq# violation (CCMP).

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx seq# violation (CCMP)

Definition at line 7182 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_CCMPREPLAY, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_ccmpformat ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx format bad (CCMP).

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx format bad (CCMP)

Definition at line 7227 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_CCMPFORMAT, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_ccmpmic ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx MIC check failed (CCMP).

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx MIC check failed (CCMP)

Definition at line 7272 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_CCMPMIC, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_tkipreplay ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx seq# violation (TKIP).

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx seq# violation (TKIP)

Definition at line 7317 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_TKIPREPLAY, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_tkipformat ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx format bad (TKIP).

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx format bad (TKIP)

Definition at line 7362 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_TKIPFORMAT, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_tkipmic ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx MIC check failed (TKIP).

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx MIC check failed (TKIP)

Definition at line 7407 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_TKIPMIC, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_tkipicv ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx ICV check failed (TKIP).

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx ICV check failed (TKIP)

Definition at line 7452 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_TKIPICV, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_badcipher ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx failed 'cuz key type.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx failed 'cuz key type

Definition at line 7497 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_BADCIPHER, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_nocipherctx ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx failed 'cuz key !setup.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx failed 'cuz key !setup

Definition at line 7542 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_NOCIPHERCTX, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_rx_acl ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of rx discard 'cuz acl policy.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of rx discard 'cuz acl policy

Definition at line 7587 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_RX_ACL, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_tx_nobuf ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx failed for lack of buf.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed for lack of buf

Definition at line 7632 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_TX_NOBUF, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_tx_nonode ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx failed for no node.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed for no node

Definition at line 7677 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_TX_NONODE, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_tx_unknownmgt ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx of unknown mgt frame.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx of unknown mgt frame

Definition at line 7722 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_TX_UNKNOWNMGT, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_tx_badcipher ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx failed 'cuz key type.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed 'cuz key type

Definition at line 7767 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_TX_BADCIPHER, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_tx_nodefkey ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx failed 'cuz no defkey.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed 'cuz no defkey

Definition at line 7812 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_TX_NODEFKEY, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_tx_noheadroom ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tx failed 'cuz no space.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tx failed 'cuz no space

Definition at line 7857 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_TX_NOHEADROOM, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_scan_active ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of active scans started.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of active scans started

Definition at line 7902 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_SCAN_ACTIVE, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_scan_passive ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of passive scans started.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of passive scans started

Definition at line 7947 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_SCAN_PASSIVE, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_node_timeout ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of nodes timed out inactivity.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of nodes timed out inactivity

Definition at line 7992 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_NODE_TIMEOUT, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_nomem ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of no memory for crypto ctx.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of no memory for crypto ctx

Definition at line 8037 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_NOMEM, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_tkip ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tkip crypto done in s/w.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tkip crypto done in s/w

Definition at line 8082 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_TKIP, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_tkipenmic ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tkip en-MIC done in s/w.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tkip en-MIC done in s/w

Definition at line 8127 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_TKIPENMIC, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_tkipdemic ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tkip de-MIC done in s/w.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tkip de-MIC done in s/w

Definition at line 8172 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_TKIPDEMIC, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_tkipcm ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of tkip counter measures.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of tkip counter measures

Definition at line 8217 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_TKIPCM, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_ccmp ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of ccmp crypto done in s/w.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of ccmp crypto done in s/w

Definition at line 8262 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_CCMP, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_wep ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of wep crypto done in s/w.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of wep crypto done in s/w

Definition at line 8307 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_WEP, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_setkey_cipher ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of cipher rejected key.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of cipher rejected key

Definition at line 8352 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_SETKEY_CIPHER, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_setkey_nokey ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of no key index for setkey.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of no key index for setkey

Definition at line 8397 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_SETKEY_NOKEY, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_delkey ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of driver key delete failed.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of driver key delete failed

Definition at line 8442 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_DELKEY, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_badcipher ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of unknown cipher.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of unknown cipher

Definition at line 8487 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_BADCIPHER, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_nocipher ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of cipher not available.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of cipher not available

Definition at line 8532 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_NOCIPHER, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_attachfail ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of cipher attach failed.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of cipher attach failed

Definition at line 8577 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_ATTACHFAIL, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_swfallback ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of cipher fallback to s/w.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of cipher fallback to s/w

Definition at line 8622 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_SWFALLBACK, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_keyfail ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of driver key alloc failed.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of driver key alloc failed

Definition at line 8667 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_KEYFAIL, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_crypto_enmicfail ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of en-MIC failed.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of en-MIC failed

Definition at line 8712 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_CRYPTO_ENMICFAIL, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_ibss_capmismatch ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of merge failed-cap mismatch.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of merge failed-cap mismatch

Definition at line 8757 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_IBSS_CAPMISMATCH, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_ibss_norate ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of merge failed-rate mismatch.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of merge failed-rate mismatch

Definition at line 8802 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_IBSS_NORATE, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_ps_unassoc ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of ps-poll for unassoc.

sta.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of ps-poll for unassoc. sta

Definition at line 8847 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_PS_UNASSOC, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_ps_badaid ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of ps-poll w/ incorrect aid.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of ps-poll w/ incorrect aid

Definition at line 8892 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_PS_BADAID, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.

unsigned int get_is_ps_qempty ( char *  dev_name,
unsigned int *  code_err 
)

This function allows to get number of ps-poll w/ nothing to send.

Parameters:
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
number of ps-poll w/ nothing to send

Definition at line 8937 of file usi.c.

References COULD_NOT_OPEN_UNIX_DEV, COULD_NOT_READ_UNIX_DEV, CROSS_LAYER_DEV_NAME_PATH, qos_metric_net80211_msg::dev_name, qos_metric_net80211_msg::id_error, qos_metric_net80211_msg::int32, IS_PS_QEMPTY, qos_metric_net80211_msg::metric, qos_metric_net80211_msg::metric_name, NO_ERRORS, qos_metric_net80211_msg::struct_id, T_ERROR_MSG, T_QOS_METRIC_NET80211_MSG, T_QUERY_MSG, and qos_metric_net80211_msg::type_msg.


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