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


Detailed Description

The XIAN KSI - Kernel Space XIAN API - ksi.c.

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

Definition in file ksi.c.

#include <linux/module.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include "include/ksi.h"
#include "include/errors.h"

Go to the source code of this file.

Defines

#define GET_NODE_NS(return_type, metric_name)

Functions

int _is_dev_available (char *dev_name)
 FOR TESTING : This small functions allow to check if the wireless network device is available.
int is_dev_available (char *dev_name)
 FOR TESTING : This small functions allow to check if the wireless network device is available.
 GET_NODE_NS (u_int32_t, rx_data)
 This function allows to get rx data frames stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_mgmt)
 This function allows to get rx mgmt frames stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_ctrl)
 This function allows to get rx control frames stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_ucast)
 This function allows to get rx unicast frames stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_mcast)
 This function allows to get rx unicast/broadcast frames stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int64_t, rx_bytes)
 This function allows to get rx data count (bytes) stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int64_t, rx_beacons)
 This function allows to get rx beacon frames stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_proberesp)
 This function allows to get rx probe response frames stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_dup)
 This function allows to get rx discard 'cuz dup stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_noprivacy)
 This function allows to get rx w/ wep but privacy off stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_wepfail)
 This function allows to get rx wep processing failed stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_demicfail)
 This function allows to get rx demic failed stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_decap)
 This function allows to get rx decapsulation failed stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_defrag)
 This function allows to get rx defragmentation failed stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_disassoc)
 This function allows to get rx disassociation stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_deauth)
 This function allows to get rx deauthentication stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_decryptcrc)
 This function allows to get rx decrypt failed on crc stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_unauth)
 This function allows to get rx on unauthorized port stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, rx_unencrypted)
 This function allows to get rx unecrypted w/ privacy stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, tx_data)
 This function allows to get tx data frames stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, tx_mgmt)
 This function allows to get tx management frames stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, tx_ucast)
 This function allows to get tx unicast frames stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, tx_mcast)
 This function allows to get tx multi/broadcast frames stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int64_t, tx_bytes)
 This function allows to get tx data count (bytes) stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, tx_probereq)
 This function allows to get tx probe request frames stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, tx_novlantag)
 This function allows to get tx discard 'cuz no tag stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, tx_vlanmismatch)
 This function allows to get tx discard 'cuz bad tag stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, ps_discard)
 This function allows to get ps discard 'cuz of age stats metric of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, tx_assoc)
 This function allows to get [re]associations stats metric (MIB-related state) of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, tx_assoc_fail)
 This function allows to get [re]association failures stats metric (MIB-related state) of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, tx_auth)
 This function allows to get [re]authentications stats metric (MIB-related state) of a given node in function of its mac adress.
 GET_NODE_NS (u_int32_t, tx_auth_fail)
 This function allows to get [re]authentication failures stats metric (MIB-related state) of a given node in function of its mac addr.
 GET_NODE_NS (u_int32_t, tx_deauth)
 This function allows to get deauthentications stats metric (MIB-related state) of a given node in function of its mac addr.
 GET_NODE_NS (u_int32_t, tx_deauth_code)
 This function allows to get last deauthification reason (MIB-related state) of a given node in function of its mac addr.
 GET_NODE_NS (u_int32_t, tx_disassoc)
 This function allows to get disassociations stats metric (MIB-related state) of a given node in function of its mac addr.
 GET_NODE_NS (u_int32_t, tx_disassoc_code)
 This function allows to get last disassociation code reason (MIB-related state) of a given node in function of its mac addr.
u_int8_t get_node_txpower (u_int8_t *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.
 XIAN_EXPORT_SYMBOL (get_node_txpower)
u_int8_t get_node_negotiated_rate (u_int8_t *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.
 XIAN_EXPORT_SYMBOL (get_node_negotiated_rate)
u_int8_t get_node_rssi (u_int8_t *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get rssi metric of given node in function of its mac adress.
 XIAN_EXPORT_SYMBOL (get_node_rssi)
u_int get_node_on_tx_err (u_int8_t *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx !ok pkt (error count of tx frame with no ack) for a given node in function of its mac adress.
 XIAN_EXPORT_SYMBOL (get_node_on_tx_err)
u_int get_node_on_tx_ok (u_int8_t *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx ok pkt (count of tx frame) for a given node in function of its mac adress.
 XIAN_EXPORT_SYMBOL (get_node_on_tx_ok)
u_int get_node_on_tx_retr (u_int8_t *macadd, char *dev_name, unsigned int *code_err)
 This function allows to get tx retry count for a given node in function of its mac adress.
 XIAN_EXPORT_SYMBOL (get_node_on_tx_retr)
u_int32_t get_ast_watchdog (char *dev_name, unsigned int *code_err)
 This function allows to get number of device reset by watchdog.
 XIAN_EXPORT_SYMBOL (get_ast_watchdog)
u_int32_t get_ast_hardware (char *dev_name, unsigned int *code_err)
 This function allows to get number of fatal hardware error interrupts.
 XIAN_EXPORT_SYMBOL (get_ast_hardware)
u_int32_t get_ast_bmiss (char *dev_name, unsigned int *code_err)
 This function allows to get number of beacon miss interrupts.
 XIAN_EXPORT_SYMBOL (get_ast_bmiss)
u_int32_t get_ast_bstuck (char *dev_name, unsigned int *code_err)
 This function allows to get number of beacon stuck interrupts.
 XIAN_EXPORT_SYMBOL (get_ast_bstuck)
u_int32_t get_ast_rxorn (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx overrun interrupts.
 XIAN_EXPORT_SYMBOL (get_ast_rxorn)
u_int32_t get_ast_rxeol (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx eol interrupts.
 XIAN_EXPORT_SYMBOL (get_ast_rxeol)
u_int32_t get_ast_txurn (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx underrun interrupts.
 XIAN_EXPORT_SYMBOL (get_ast_txurn)
u_int32_t get_ast_mib (char *dev_name, unsigned int *code_err)
 This function allows to get number of mib interrupts.
 XIAN_EXPORT_SYMBOL (get_ast_mib)
u_int32_t get_ast_intrcoal (char *dev_name, unsigned int *code_err)
 This function allows to get number of interrupts coalesced.
 XIAN_EXPORT_SYMBOL (get_ast_intrcoal)
u_int32_t get_ast_tx_packets (char *dev_name, unsigned int *code_err)
 This function allows to get number of packet sent on the interface.
 XIAN_EXPORT_SYMBOL (get_ast_tx_packets)
u_int32_t get_ast_tx_mgmt (char *dev_name, unsigned int *code_err)
 This function allows to get number of management frames transmitted.
 XIAN_EXPORT_SYMBOL (get_ast_tx_mgmt)
u_int32_t get_ast_tx_discard (char *dev_name, unsigned int *code_err)
 This function allows to get number of frames discarded prior to assoc.
 XIAN_EXPORT_SYMBOL (get_ast_tx_discard)
u_int32_t get_ast_tx_invalid (char *dev_name, unsigned int *code_err)
 This function allows to get number of frames discarded 'cuz device gone.
 XIAN_EXPORT_SYMBOL (get_ast_tx_invalid)
u_int32_t get_ast_tx_qstop (char *dev_name, unsigned int *code_err)
 This function allows to get number of output stopped 'cuz no buffer.
 XIAN_EXPORT_SYMBOL (get_ast_tx_qstop)
u_int32_t get_ast_tx_encap (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx encapsulation failed.
 XIAN_EXPORT_SYMBOL (get_ast_tx_encap)
u_int32_t get_ast_tx_nonode (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz no node.
 XIAN_EXPORT_SYMBOL (get_ast_tx_nonode)
u_int32_t 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).
 XIAN_EXPORT_SYMBOL (get_ast_tx_nobuf)
u_int32_t 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).
 XIAN_EXPORT_SYMBOL (get_ast_tx_nobufmgt)
u_int32_t get_ast_tx_linear (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx linearized to cluster.
 XIAN_EXPORT_SYMBOL (get_ast_tx_linear)
u_int32_t get_ast_tx_nodata (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx discarded empty frame.
 XIAN_EXPORT_SYMBOL (get_ast_tx_nodata)
u_int32_t get_ast_tx_busdma (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed for dma resrcs.
 XIAN_EXPORT_SYMBOL (get_ast_tx_busdma)
u_int32_t get_ast_tx_xretries (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz too many retries.
 XIAN_EXPORT_SYMBOL (get_ast_tx_xretries)
u_int32_t get_ast_tx_fifoerr (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz FIFO underrun.
 XIAN_EXPORT_SYMBOL (get_ast_tx_fifoerr)
u_int32_t get_ast_tx_filtered (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz xmit filtered.
 XIAN_EXPORT_SYMBOL (get_ast_tx_filtered)
u_int32_t get_ast_tx_shortretry (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx on-chip retries (short).
 XIAN_EXPORT_SYMBOL (get_ast_tx_shortretry)
u_int32_t get_ast_tx_longretry (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx on-chip retries (long).
 XIAN_EXPORT_SYMBOL (get_ast_tx_longretry)
u_int32_t get_ast_tx_badrate (char *dev_name, unsigned int *code_err)
 This function allows to get tx number of failed 'cuz bogus xmit rate.
 XIAN_EXPORT_SYMBOL (get_ast_tx_badrate)
u_int32_t get_ast_tx_noack (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with no ack marked.
 XIAN_EXPORT_SYMBOL (get_ast_tx_noack)
u_int32_t get_ast_tx_rts (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with rts enabled.
 XIAN_EXPORT_SYMBOL (get_ast_tx_rts)
u_int32_t get_ast_tx_cts (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with cts enabled.
 XIAN_EXPORT_SYMBOL (get_ast_tx_cts)
u_int32_t get_ast_tx_shortpre (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with short preamble.
 XIAN_EXPORT_SYMBOL (get_ast_tx_shortpre)
u_int32_t get_ast_tx_altrate (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with alternate rate.
 XIAN_EXPORT_SYMBOL (get_ast_tx_altrate)
u_int32_t get_ast_tx_protect (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with protection.
 XIAN_EXPORT_SYMBOL (get_ast_tx_protect)
u_int32_t get_ast_tx_ctsburst (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with cts and bursting.
 XIAN_EXPORT_SYMBOL (get_ast_tx_ctsburst)
u_int32_t get_ast_tx_ctsext (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx frames with cts extension.
 XIAN_EXPORT_SYMBOL (get_ast_tx_ctsext)
u_int32_t get_ast_rx_nobuf (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx setup failed 'cuz no skb.
 XIAN_EXPORT_SYMBOL (get_ast_rx_nobuf)
u_int32_t get_ast_rx_busdma (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx setup failed for dma resrcs.
 XIAN_EXPORT_SYMBOL (get_ast_rx_busdma)
u_int32_t get_ast_rx_orn (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz of desc overrun.
 XIAN_EXPORT_SYMBOL (get_ast_rx_orn)
u_int32_t get_ast_rx_crcerr (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz of bad CRC.
 XIAN_EXPORT_SYMBOL (get_ast_rx_crcerr)
u_int32_t get_ast_rx_fifoerr (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz of FIFO overrun.
 XIAN_EXPORT_SYMBOL (get_ast_rx_fifoerr)
u_int32_t get_ast_rx_badcrypt (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz decryption.
 XIAN_EXPORT_SYMBOL (get_ast_rx_badcrypt)
u_int32_t get_ast_rx_badmic (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz MIC failure.
 XIAN_EXPORT_SYMBOL (get_ast_rx_badmic)
u_int32_t get_ast_rx_phyerr (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz of PHY err.
 XIAN_EXPORT_SYMBOL (get_ast_rx_phyerr)
u_int32_t get_ast_rx_tooshort (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discarded 'cuz frame too short.
 XIAN_EXPORT_SYMBOL (get_ast_rx_tooshort)
u_int32_t get_ast_rx_toobig (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discarded 'cuz frame too large.
 XIAN_EXPORT_SYMBOL (get_ast_rx_toobig)
u_int32_t get_ast_rx_packets (char *dev_name, unsigned int *code_err)
 This function allows to get number of packets recv on the interface.
 XIAN_EXPORT_SYMBOL (get_ast_rx_packets)
u_int32_t get_ast_rx_mgt (char *dev_name, unsigned int *code_err)
 This function allows to get number of management frames received.
 XIAN_EXPORT_SYMBOL (get_ast_rx_mgt)
u_int32_t get_ast_rx_ctl (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discarded 'cuz ctl frame.
 XIAN_EXPORT_SYMBOL (get_ast_rx_ctl)
int8_t get_ast_tx_rssi (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx rssi of last ack.
 XIAN_EXPORT_SYMBOL (get_ast_tx_rssi)
int8_t get_ast_rx_rssi (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx rssi from histogram.
 XIAN_EXPORT_SYMBOL (get_ast_rx_rssi)
u_int32_t get_ast_be_xmit (char *dev_name, unsigned int *code_err)
 This function allows to get number of beacons transmitted.
 XIAN_EXPORT_SYMBOL (get_ast_be_xmit)
u_int32_t get_ast_be_nobuf (char *dev_name, unsigned int *code_err)
 This function allows to get number of beacon setup failed 'cuz no skb.
 XIAN_EXPORT_SYMBOL (get_ast_be_nobuf)
u_int32_t get_ast_per_cal (char *dev_name, unsigned int *code_err)
 This function allows to get number of periodic calibration calls.
 XIAN_EXPORT_SYMBOL (get_ast_per_cal)
u_int32_t get_ast_per_calfail (char *dev_name, unsigned int *code_err)
 This function allows to get number of periodic calibration failed.
 XIAN_EXPORT_SYMBOL (get_ast_per_calfail)
u_int32_t get_ast_per_rfgain (char *dev_name, unsigned int *code_err)
 This function allows to get number of periodic calibration rfgain reset.
 XIAN_EXPORT_SYMBOL (get_ast_per_rfgain)
u_int32_t get_ast_rate_calls (char *dev_name, unsigned int *code_err)
 This function allows to get number of rate control checks.
 XIAN_EXPORT_SYMBOL (get_ast_rate_calls)
u_int32_t get_ast_rate_raise (char *dev_name, unsigned int *code_err)
 This function allows to get number of rate control raised xmit rate.
 XIAN_EXPORT_SYMBOL (get_ast_rate_raise)
u_int32_t get_ast_rate_drop (char *dev_name, unsigned int *code_err)
 This function allows to get number of rate control dropped xmit rate.
 XIAN_EXPORT_SYMBOL (get_ast_rate_drop)
u_int32_t get_ast_ant_defswitch (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx/default antenna switches.
 XIAN_EXPORT_SYMBOL (get_ast_ant_defswitch)
u_int32_t get_ast_ant_txswitch (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx antenna switches.
 XIAN_EXPORT_SYMBOL (get_ast_ant_txswitch)
u_int32_t get_is_rx_badversion (char *dev_name, unsigned int *code_err)
 This function allows to get number of frame with bad version.
 XIAN_EXPORT_SYMBOL (get_is_rx_badversion)
u_int32_t get_is_rx_tooshort (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx frame too short.
 XIAN_EXPORT_SYMBOL (get_is_rx_tooshort)
u_int32_t get_is_rx_wrongbss (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx from wrong bssid.
 XIAN_EXPORT_SYMBOL (get_is_rx_wrongbss)
u_int32_t get_is_rx_dup (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard 'cuz dup.
 XIAN_EXPORT_SYMBOL (get_is_rx_dup)
u_int32_t get_is_rx_wrongdir (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx w/ wrong direction.
 XIAN_EXPORT_SYMBOL (get_is_rx_wrongdir)
u_int32_t get_is_rx_mcastecho (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard 'cuz mcast echo.
 XIAN_EXPORT_SYMBOL (get_is_rx_mcastecho)
u_int32_t get_is_rx_notassoc (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard 'cuz sta !assoc.
 XIAN_EXPORT_SYMBOL (get_is_rx_notassoc)
u_int32_t get_is_rx_noprivacy (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx w/ wep but privacy off.
 XIAN_EXPORT_SYMBOL (get_is_rx_noprivacy)
u_int32_t 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.
 XIAN_EXPORT_SYMBOL (get_is_rx_unencrypted)
u_int32_t get_is_rx_wepfail (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx wep processing failed.
 XIAN_EXPORT_SYMBOL (get_is_rx_wepfail)
u_int32_t get_is_rx_decap (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx decapsulation failed.
 XIAN_EXPORT_SYMBOL (get_is_rx_decap)
u_int32_t get_is_rx_mgtdiscard (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard mgt frames.
 XIAN_EXPORT_SYMBOL (get_is_rx_mgtdiscard)
u_int32_t get_is_rx_ctl (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard ctrl frames.
 XIAN_EXPORT_SYMBOL (get_is_rx_ctl)
u_int32_t get_is_rx_beacon (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx beacon frames.
 XIAN_EXPORT_SYMBOL (get_is_rx_beacon)
u_int32_t get_is_rx_rstoobig (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx rate set truncated.
 XIAN_EXPORT_SYMBOL (get_is_rx_rstoobig)
u_int32_t get_is_rx_elem_missing (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx required element missing.
 XIAN_EXPORT_SYMBOL (get_is_rx_elem_missing)
u_int32_t get_is_rx_elem_toobig (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx element too big.
 XIAN_EXPORT_SYMBOL (get_is_rx_elem_toobig)
u_int32_t get_is_rx_elem_toosmall (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx element too small.
 XIAN_EXPORT_SYMBOL (get_is_rx_elem_toosmall)
u_int32_t get_is_rx_elem_unknown (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx element unknown.
 XIAN_EXPORT_SYMBOL (get_is_rx_elem_unknown)
u_int32_t get_is_rx_badchan (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx frame w/ invalid chan.
 XIAN_EXPORT_SYMBOL (get_is_rx_badchan)
u_int32_t get_is_rx_chanmismatch (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx frame chan mismatch.
 XIAN_EXPORT_SYMBOL (get_is_rx_chanmismatch)
u_int32_t get_is_rx_nodealloc (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx frame dropped.
 XIAN_EXPORT_SYMBOL (get_is_rx_nodealloc)
u_int32_t get_is_rx_ssidmismatch (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx frame ssid mismatch.
 XIAN_EXPORT_SYMBOL (get_is_rx_ssidmismatch)
u_int32_t get_is_rx_auth_unsupported (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx w/ unsupported auth alg.
 XIAN_EXPORT_SYMBOL (get_is_rx_auth_unsupported)
u_int32_t get_is_rx_auth_fail (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx sta auth failure.
 XIAN_EXPORT_SYMBOL (get_is_rx_auth_fail)
u_int32_t get_is_rx_auth_countermeasures (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx auth discard 'cuz CM.
 XIAN_EXPORT_SYMBOL (get_is_rx_auth_countermeasures)
u_int32_t get_is_rx_assoc_bss (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx assoc from wrong bssid.
 XIAN_EXPORT_SYMBOL (get_is_rx_assoc_bss)
u_int32_t get_is_rx_assoc_notauth (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx assoc w/o auth.
 XIAN_EXPORT_SYMBOL (get_is_rx_assoc_notauth)
u_int32_t get_is_rx_assoc_capmismatch (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx assoc w/ cap mismatch.
 XIAN_EXPORT_SYMBOL (get_is_rx_assoc_capmismatch)
u_int32_t get_is_rx_assoc_norate (char *dev_name, unsigned int *code_err)
 This function allows to get number rx assoc w/ no rate match.
 XIAN_EXPORT_SYMBOL (get_is_rx_assoc_norate)
u_int32_t 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.
 XIAN_EXPORT_SYMBOL (get_is_rx_assoc_badwpaie)
u_int32_t get_is_rx_deauth (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx deauthentication.
 XIAN_EXPORT_SYMBOL (get_is_rx_deauth)
u_int32_t get_is_rx_disassoc (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx disassociation.
 XIAN_EXPORT_SYMBOL (get_is_rx_disassoc)
u_int32_t get_is_rx_badsubtype (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx frame w/ unknown subtype.
 XIAN_EXPORT_SYMBOL (get_is_rx_badsubtype)
u_int32_t get_is_rx_nobuf (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed for lack of buf.
 XIAN_EXPORT_SYMBOL (get_is_rx_nobuf)
u_int32_t get_is_rx_decryptcrc (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx decrypt failed on crc.
 XIAN_EXPORT_SYMBOL (get_is_rx_decryptcrc)
u_int32_t get_is_rx_ahdemo_mgt (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard ahdemo mgt frame.
 XIAN_EXPORT_SYMBOL (get_is_rx_ahdemo_mgt)
u_int32_t get_is_rx_bad_auth (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx bad auth request.
 XIAN_EXPORT_SYMBOL (get_is_rx_bad_auth)
u_int32_t get_is_rx_unauth (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx on unauthorized port.
 XIAN_EXPORT_SYMBOL (get_is_rx_unauth)
u_int32_t get_is_rx_badkeyid (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx w/ incorrect keyid.
 XIAN_EXPORT_SYMBOL (get_is_rx_badkeyid)
u_int32_t get_is_rx_ccmpreplay (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx seq# violation (CCMP).
 XIAN_EXPORT_SYMBOL (get_is_rx_ccmpreplay)
u_int32_t get_is_rx_ccmpformat (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx format bad (CCMP).
 XIAN_EXPORT_SYMBOL (get_is_rx_ccmpformat)
u_int32_t get_is_rx_ccmpmic (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx MIC check failed (CCMP).
 XIAN_EXPORT_SYMBOL (get_is_rx_ccmpmic)
u_int32_t get_is_rx_tkipreplay (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx seq# violation (TKIP).
 XIAN_EXPORT_SYMBOL (get_is_rx_tkipreplay)
u_int32_t get_is_rx_tkipformat (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx format bad (TKIP).
 XIAN_EXPORT_SYMBOL (get_is_rx_tkipformat)
u_int32_t get_is_rx_tkipmic (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx MIC check failed (TKIP).
 XIAN_EXPORT_SYMBOL (get_is_rx_tkipmic)
u_int32_t get_is_rx_tkipicv (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx ICV check failed (TKIP).
 XIAN_EXPORT_SYMBOL (get_is_rx_tkipicv)
u_int32_t get_is_rx_badcipher (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz key type.
 XIAN_EXPORT_SYMBOL (get_is_rx_badcipher)
u_int32_t get_is_rx_nocipherctx (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx failed 'cuz key !setup.
 XIAN_EXPORT_SYMBOL (get_is_rx_nocipherctx)
u_int32_t get_is_rx_acl (char *dev_name, unsigned int *code_err)
 This function allows to get number of rx discard 'cuz acl policy.
 XIAN_EXPORT_SYMBOL (get_is_rx_acl)
u_int32_t get_is_tx_nobuf (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed for lack of buf.
 XIAN_EXPORT_SYMBOL (get_is_tx_nobuf)
u_int32_t get_is_tx_nonode (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed for no node.
 XIAN_EXPORT_SYMBOL (get_is_tx_nonode)
u_int32_t get_is_tx_unknownmgt (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx of unknown mgt frame.
 XIAN_EXPORT_SYMBOL (get_is_tx_unknownmgt)
u_int32_t get_is_tx_badcipher (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz key type.
 XIAN_EXPORT_SYMBOL (get_is_tx_badcipher)
u_int32_t get_is_tx_nodefkey (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz no defkey.
 XIAN_EXPORT_SYMBOL (get_is_tx_nodefkey)
u_int32_t get_is_tx_noheadroom (char *dev_name, unsigned int *code_err)
 This function allows to get number of tx failed 'cuz no space.
 XIAN_EXPORT_SYMBOL (get_is_tx_noheadroom)
u_int32_t get_is_scan_active (char *dev_name, unsigned int *code_err)
 This function allows to get number of active scans started.
 XIAN_EXPORT_SYMBOL (get_is_scan_active)
u_int32_t get_is_scan_passive (char *dev_name, unsigned int *code_err)
 This function allows to get number of passive scans started.
 XIAN_EXPORT_SYMBOL (get_is_scan_passive)
u_int32_t get_is_node_timeout (char *dev_name, unsigned int *code_err)
 This function allows to get number of nodes timed out inactivity.
 XIAN_EXPORT_SYMBOL (get_is_node_timeout)
u_int32_t get_is_crypto_nomem (char *dev_name, unsigned int *code_err)
 This function allows to get number of no memory for crypto ctx.
 XIAN_EXPORT_SYMBOL (get_is_crypto_nomem)
u_int32_t get_is_crypto_tkip (char *dev_name, unsigned int *code_err)
 This function allows to get number of tkip crypto done in s/w.
 XIAN_EXPORT_SYMBOL (get_is_crypto_tkip)
u_int32_t 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.
 XIAN_EXPORT_SYMBOL (get_is_crypto_tkipenmic)
u_int32_t 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.
 XIAN_EXPORT_SYMBOL (get_is_crypto_tkipdemic)
u_int32_t get_is_crypto_tkipcm (char *dev_name, unsigned int *code_err)
 This function allows to get number of tkip counter measures.
 XIAN_EXPORT_SYMBOL (get_is_crypto_tkipcm)
u_int32_t get_is_crypto_ccmp (char *dev_name, unsigned int *code_err)
 This function allows to get number of ccmp crypto done in s/w.
 XIAN_EXPORT_SYMBOL (get_is_crypto_ccmp)
u_int32_t get_is_crypto_wep (char *dev_name, unsigned int *code_err)
 This function allows to get number of wep crypto done in s/w.
 XIAN_EXPORT_SYMBOL (get_is_crypto_wep)
u_int32_t get_is_crypto_setkey_cipher (char *dev_name, unsigned int *code_err)
 This function allows to get number of cipher rejected key.
 XIAN_EXPORT_SYMBOL (get_is_crypto_setkey_cipher)
u_int32_t get_is_crypto_setkey_nokey (char *dev_name, unsigned int *code_err)
 This function allows to get number of no key index for setkey.
 XIAN_EXPORT_SYMBOL (get_is_crypto_setkey_nokey)
u_int32_t get_is_crypto_delkey (char *dev_name, unsigned int *code_err)
 This function allows to get number of driver key delete failed.
 XIAN_EXPORT_SYMBOL (get_is_crypto_delkey)
u_int32_t get_is_crypto_badcipher (char *dev_name, unsigned int *code_err)
 This function allows to get number of unknown cipher.
 XIAN_EXPORT_SYMBOL (get_is_crypto_badcipher)
u_int32_t get_is_crypto_nocipher (char *dev_name, unsigned int *code_err)
 This function allows to get number of cipher not available.
 XIAN_EXPORT_SYMBOL (get_is_crypto_nocipher)
u_int32_t get_is_crypto_attachfail (char *dev_name, unsigned int *code_err)
 This function allows to get number of cipher attach failed.
 XIAN_EXPORT_SYMBOL (get_is_crypto_attachfail)
u_int32_t get_is_crypto_swfallback (char *dev_name, unsigned int *code_err)
 This function allows to get number of cipher fallback to s/w.
 XIAN_EXPORT_SYMBOL (get_is_crypto_swfallback)
u_int32_t get_is_crypto_keyfail (char *dev_name, unsigned int *code_err)
 This function allows to get number of driver key alloc failed.
 XIAN_EXPORT_SYMBOL (get_is_crypto_keyfail)
u_int32_t get_is_crypto_enmicfail (char *dev_name, unsigned int *code_err)
 This function allows to get number of en-MIC failed.
 XIAN_EXPORT_SYMBOL (get_is_crypto_enmicfail)
u_int32_t get_is_ibss_capmismatch (char *dev_name, unsigned int *code_err)
 This function allows to get number of merge failed-cap mismatch.
 XIAN_EXPORT_SYMBOL (get_is_ibss_capmismatch)
u_int32_t get_is_ibss_norate (char *dev_name, unsigned int *code_err)
 This function allows to get number of merge failed-rate mismatch.
 XIAN_EXPORT_SYMBOL (get_is_ibss_norate)
u_int32_t get_is_ps_unassoc (char *dev_name, unsigned int *code_err)
 This function allows to get number of ps-poll for unassoc.
 XIAN_EXPORT_SYMBOL (get_is_ps_unassoc)
u_int32_t get_is_ps_badaid (char *dev_name, unsigned int *code_err)
 This function allows to get number of ps-poll w/ incorrect aid.
 XIAN_EXPORT_SYMBOL (get_is_ps_badaid)
u_int32_t get_is_ps_qempty (char *dev_name, unsigned int *code_err)
 This function allows to get number of ps-poll w/ nothing to send.
 XIAN_EXPORT_SYMBOL (get_is_ps_qempty)
u_int8_t * get_node_macadd (char *dev_name)
 FOR TESTING : This function allows to get local Mac address.
 XIAN_EXPORT_SYMBOL (get_node_macadd)
void get_node_example (char *name)
 FOR TESTING : Small example which scans all neigbor nodes existing into the different channels and display their rssi and transmit rate.
 XIAN_EXPORT_SYMBOL (get_node_example)
int is_hexa (char c)
 FOR TESTING : This function allows to check if the param in (a "char" type) belongs to Hexadecimal Basis Set.
int is_mac_addr_valid (char *mac_addr)
 FOR TESTING : This function allows to check if the mac address param in (array of "char" type) is valid.
void convert_mac_addr (char *mac_addr, unsigned char *res, unsigned int *code_err)
 FOR TESTING : This function allows to convert a Mac Address formatted as follow XX:XX:XX:XX:XX:XX (array of "char" type) into an array of unsigned char.
int init_m (void)
void exit_m (void)
 module_init (init_m)
 module_exit (exit_m)
 MODULE_DESCRIPTION ("XIAN - Kernel Space XIAN Interface - KSI")
 MODULE_LICENSE ("GPL")


Define Documentation

#define GET_NODE_NS ( return_type,
metric_name   ) 

Definition at line 125 of file ksi.c.


Function Documentation

int _is_dev_available ( char *  dev_name  ) 

FOR TESTING : This small functions allow to check if the wireless network device is available.

Parameters:
dev_name name of the network interface
Returns:
-

an integer {0,-1,1}

Definition at line 44 of file ksi.c.

Referenced by is_dev_available().

int is_dev_available ( char *  dev_name  ) 

FOR TESTING : This small functions allow to check if the wireless network device is available.

Parameters:
dev_name name of the network interface
Returns:
-

an integer {0,-1,1}

Definition at line 65 of file ksi.c.

References _is_dev_available().

Referenced by get_node_example(), and get_node_macadd().

GET_NODE_NS ( u_int32_t  ,
rx_data   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx data frames stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_mgmt   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx mgmt frames stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_ctrl   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx control frames stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_ucast   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address).
Returns:
rx unicast frames stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_mcast   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx unicast/broadcast frames stats metric of the node

GET_NODE_NS ( u_int64_t  ,
rx_bytes   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx data count (bytes) stats metric of the node

GET_NODE_NS ( u_int64_t  ,
rx_beacons   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx beacon frames stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_proberesp   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx probe response frames stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_dup   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx discard 'cuz dup stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_noprivacy   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx w/ wep but privacy off stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_wepfail   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx wep processing failed stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_demicfail   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx demic failed stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_decap   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx decapsulation failed stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_defrag   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx defragmentation failed stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_disassoc   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx disassociation stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_deauth   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx deauthentication stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_decryptcrc   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx decrypt failed on crc stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_unauth   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx on unauthorized port stats metric of the node

GET_NODE_NS ( u_int32_t  ,
rx_unencrypted   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
rx unecrypted w/ privacy stats metric of the node

GET_NODE_NS ( u_int32_t  ,
tx_data   
)

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

Parameters:
u_int32_t macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
Returns:
tx data frames stats metric of the node

GET_NODE_NS ( u_int32_t  ,
tx_mgmt   
)

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 array of u_int8_t type (6 address)
Returns:
tx management frames stats metric of the node

GET_NODE_NS ( u_int32_t  ,
tx_ucast   
)

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 array of u_int8_t type (6 address)
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

GET_NODE_NS ( u_int32_t  ,
tx_mcast   
)

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 array of u_int8_t type (6 address)
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

GET_NODE_NS ( u_int64_t  ,
tx_bytes   
)

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 array of u_int8_t type (6 address)
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

GET_NODE_NS ( u_int32_t  ,
tx_probereq   
)

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 array of u_int8_t type (6 address)
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

GET_NODE_NS ( u_int32_t  ,
tx_novlantag   
)

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 array of u_int8_t type (6 address)
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

GET_NODE_NS ( u_int32_t  ,
tx_vlanmismatch   
)

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 array of u_int8_t type (6 address)
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

GET_NODE_NS ( u_int32_t  ,
ps_discard   
)

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 array of u_int8_t type (6 address)
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

GET_NODE_NS ( u_int32_t  ,
tx_assoc   
)

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 array of u_int8_t type (6 address)
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

GET_NODE_NS ( u_int32_t  ,
tx_assoc_fail   
)

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 array of u_int8_t type (6 address)
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

GET_NODE_NS ( u_int32_t  ,
tx_auth   
)

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 array of u_int8_t type (6 address)
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

GET_NODE_NS ( u_int32_t  ,
tx_auth_fail   
)

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 array of u_int8_t type (6 address)
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

GET_NODE_NS ( u_int32_t  ,
tx_deauth   
)

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 array of u_int8_t type (6 address)
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
deauthentications stats metric of the node

GET_NODE_NS ( u_int32_t  ,
tx_deauth_code   
)

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 array of u_int8_t type (6 address)
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
last deauthification reason of the node

GET_NODE_NS ( u_int32_t  ,
tx_disassoc   
)

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 array of u_int8_t type (6 address)
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
disassociations stats metric of the node

GET_NODE_NS ( u_int32_t  ,
tx_disassoc_code   
)

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 array of u_int8_t type (6 address)
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

u_int8_t get_node_txpower ( u_int8_t *  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 array of u_int8_t type (6 address)
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 554 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, MAC_ADDR_NOT_DEFINED, metric, NEIGHBOR_NOT_FOUND, and TAILQ_FOREACH.

XIAN_EXPORT_SYMBOL ( get_node_txpower   ) 

u_int8_t get_node_negotiated_rate ( u_int8_t *  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 array of u_int8_t type (6 address)
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 618 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, MAC_ADDR_NOT_DEFINED, metric, NEIGHBOR_NOT_FOUND, and TAILQ_FOREACH.

XIAN_EXPORT_SYMBOL ( get_node_negotiated_rate   ) 

u_int8_t get_node_rssi ( u_int8_t *  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 array of u_int8_t type (6 address)
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 682 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, MAC_ADDR_NOT_DEFINED, metric, NEIGHBOR_NOT_FOUND, and TAILQ_FOREACH.

XIAN_EXPORT_SYMBOL ( get_node_rssi   ) 

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

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

Parameters:
macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx !ok pkt (error count of tx frame with no ack)

Definition at line 755 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, MAC_ADDR_NOT_DEFINED, metric, NEIGHBOR_NOT_FOUND, and TAILQ_FOREACH.

XIAN_EXPORT_SYMBOL ( get_node_on_tx_err   ) 

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

This function allows to get tx ok pkt (count of tx frame) for a given node in function of its mac adress.

Parameters:
macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx ok pkt (count of tx frame)

Definition at line 842 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, MAC_ADDR_NOT_DEFINED, metric, NEIGHBOR_NOT_FOUND, and TAILQ_FOREACH.

XIAN_EXPORT_SYMBOL ( get_node_on_tx_ok   ) 

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

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

Parameters:
macadd MAC Address of a specified node formatted as array of u_int8_t type (6 address)
dev_name name of the network interface
code_err output a code error if an error occurs.
Returns:
tx retry count

Definition at line 929 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, MAC_ADDR_NOT_DEFINED, metric, NEIGHBOR_NOT_FOUND, and TAILQ_FOREACH.

XIAN_EXPORT_SYMBOL ( get_node_on_tx_retr   ) 

u_int32_t 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 1084 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_watchdog   ) 

u_int32_t 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 1122 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_hardware   ) 

u_int32_t 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 1160 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_bmiss   ) 

u_int32_t 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 1198 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_bstuck   ) 

u_int32_t 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 1241 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rxorn   ) 

u_int32_t 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 1279 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rxeol   ) 

u_int32_t 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 1317 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_txurn   ) 

u_int32_t 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 1355 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_mib   ) 

u_int32_t 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 1393 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_intrcoal   ) 

u_int32_t 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 1436 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_packets   ) 

u_int32_t 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 1474 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_mgmt   ) 

u_int32_t 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 1512 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_discard   ) 

u_int32_t 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 1550 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_invalid   ) 

u_int32_t 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 1588 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_qstop   ) 

u_int32_t 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 1626 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_encap   ) 

u_int32_t 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 1664 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_nonode   ) 

u_int32_t 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 1702 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_nobuf   ) 

u_int32_t 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 1740 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_nobufmgt   ) 

u_int32_t 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 1778 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_linear   ) 

u_int32_t 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 1821 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_nodata   ) 

u_int32_t 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 1864 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_busdma   ) 

u_int32_t 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 1907 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_xretries   ) 

u_int32_t 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 1945 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_fifoerr   ) 

u_int32_t 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 1983 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_filtered   ) 

u_int32_t 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 2021 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_shortretry   ) 

u_int32_t 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 2059 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_longretry   ) 

u_int32_t 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 2097 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_badrate   ) 

u_int32_t 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 2135 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_noack   ) 

u_int32_t 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 2173 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_rts   ) 

u_int32_t 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 2211 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_cts   ) 

u_int32_t 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 2249 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_shortpre   ) 

u_int32_t 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 2287 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_altrate   ) 

u_int32_t 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 2325 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_protect   ) 

u_int32_t 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 2363 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_ctsburst   ) 

u_int32_t 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 2406 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_ctsext   ) 

u_int32_t 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 2449 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_nobuf   ) 

u_int32_t 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 2487 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_busdma   ) 

u_int32_t 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 2530 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_orn   ) 

u_int32_t 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 2568 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_crcerr   ) 

u_int32_t 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 2606 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_fifoerr   ) 

u_int32_t 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 2644 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_badcrypt   ) 

u_int32_t 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 2682 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_badmic   ) 

u_int32_t 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 2720 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_phyerr   ) 

u_int32_t 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 2758 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_tooshort   ) 

u_int32_t 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 2796 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_toobig   ) 

u_int32_t 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 2834 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_packets   ) 

u_int32_t 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 2872 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_mgt   ) 

u_int32_t 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 2910 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_ctl   ) 

int8_t 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 2948 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_tx_rssi   ) 

int8_t 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 2986 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rx_rssi   ) 

u_int32_t 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 3024 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_be_xmit   ) 

u_int32_t 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 3062 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_be_nobuf   ) 

u_int32_t 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 3100 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_per_cal   ) 

u_int32_t 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 3138 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_per_calfail   ) 

u_int32_t 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 3176 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_per_rfgain   ) 

u_int32_t 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 3214 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rate_calls   ) 

u_int32_t 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 3252 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rate_raise   ) 

u_int32_t 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 3290 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_rate_drop   ) 

u_int32_t 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 3328 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_ant_defswitch   ) 

u_int32_t 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 3366 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, and metric.

XIAN_EXPORT_SYMBOL ( get_ast_ant_txswitch   ) 

u_int32_t 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 3494 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_badversion   ) 

u_int32_t 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 3538 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_tooshort   ) 

u_int32_t 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 3582 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_wrongbss   ) 

u_int32_t 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 3626 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_dup   ) 

u_int32_t 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 3670 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_wrongdir   ) 

u_int32_t 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 3714 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_mcastecho   ) 

u_int32_t 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 3758 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_notassoc   ) 

u_int32_t 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 3802 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_noprivacy   ) 

u_int32_t 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 3846 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_unencrypted   ) 

u_int32_t 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 3890 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_wepfail   ) 

u_int32_t 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 3934 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_decap   ) 

u_int32_t 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 3978 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_mgtdiscard   ) 

u_int32_t 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 4022 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_ctl   ) 

u_int32_t 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 4066 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_beacon   ) 

u_int32_t 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 4110 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_rstoobig   ) 

u_int32_t 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 4154 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_elem_missing   ) 

u_int32_t 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 4198 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_elem_toobig   ) 

u_int32_t 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 4242 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_elem_toosmall   ) 

u_int32_t 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 4286 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_elem_unknown   ) 

u_int32_t 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 4330 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_badchan   ) 

u_int32_t 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 4374 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_chanmismatch   ) 

u_int32_t 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 4418 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_nodealloc   ) 

u_int32_t 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 4462 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_ssidmismatch   ) 

u_int32_t 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 4506 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_auth_unsupported   ) 

u_int32_t 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 4550 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_auth_fail   ) 

u_int32_t 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 4594 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_auth_countermeasures   ) 

u_int32_t 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 4638 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_assoc_bss   ) 

u_int32_t 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 4682 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_assoc_notauth   ) 

u_int32_t 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 4726 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_assoc_capmismatch   ) 

u_int32_t 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 4770 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_assoc_norate   ) 

u_int32_t 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 4814 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_assoc_badwpaie   ) 

u_int32_t 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 4858 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_deauth   ) 

u_int32_t 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 4902 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_disassoc   ) 

u_int32_t 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 4946 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_badsubtype   ) 

u_int32_t 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 4990 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_nobuf   ) 

u_int32_t 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 5034 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_decryptcrc   ) 

u_int32_t 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 5078 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_ahdemo_mgt   ) 

u_int32_t 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 5122 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_bad_auth   ) 

u_int32_t 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 5166 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_unauth   ) 

u_int32_t 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 5210 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_badkeyid   ) 

u_int32_t 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 5254 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_ccmpreplay   ) 

u_int32_t 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 5298 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_ccmpformat   ) 

u_int32_t 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 5342 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_ccmpmic   ) 

u_int32_t 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 5386 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_tkipreplay   ) 

u_int32_t 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 5430 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_tkipformat   ) 

u_int32_t 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 5474 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_tkipmic   ) 

u_int32_t 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 5518 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_tkipicv   ) 

u_int32_t 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 5562 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_badcipher   ) 

u_int32_t 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 5606 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_nocipherctx   ) 

u_int32_t 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 5650 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_rx_acl   ) 

u_int32_t 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 5694 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_tx_nobuf   ) 

u_int32_t 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 5738 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_tx_nonode   ) 

u_int32_t 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 5782 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_tx_unknownmgt   ) 

u_int32_t 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 5826 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_tx_badcipher   ) 

u_int32_t 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 5870 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_tx_nodefkey   ) 

u_int32_t 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 5914 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_tx_noheadroom   ) 

u_int32_t 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 5958 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_scan_active   ) 

u_int32_t 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 6002 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_scan_passive   ) 

u_int32_t 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 6046 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_node_timeout   ) 

u_int32_t 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 6090 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_nomem   ) 

u_int32_t 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 6134 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_tkip   ) 

u_int32_t 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 6178 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_tkipenmic   ) 

u_int32_t 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 6222 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_tkipdemic   ) 

u_int32_t 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 6266 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_tkipcm   ) 

u_int32_t 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 6310 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_ccmp   ) 

u_int32_t 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 6354 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_wep   ) 

u_int32_t 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 6398 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_setkey_cipher   ) 

u_int32_t 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 6442 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_setkey_nokey   ) 

u_int32_t 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 6486 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_delkey   ) 

u_int32_t 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 6530 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_badcipher   ) 

u_int32_t 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 6574 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_nocipher   ) 

u_int32_t 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 6618 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_attachfail   ) 

u_int32_t 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 6662 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_swfallback   ) 

u_int32_t 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 6706 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_keyfail   ) 

u_int32_t 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 6750 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_crypto_enmicfail   ) 

u_int32_t 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 6794 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_ibss_capmismatch   ) 

u_int32_t 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 6838 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_ibss_norate   ) 

u_int32_t 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 6882 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_ps_unassoc   ) 

u_int32_t 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 6926 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_ps_badaid   ) 

u_int32_t 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 6969 of file ksi.c.

References DEV_NAME_NOT_DEFINED, DEV_NOT_FOUND, metric, and TAILQ_FIRST.

XIAN_EXPORT_SYMBOL ( get_is_ps_qempty   ) 

u_int8_t* get_node_macadd ( char *  dev_name  ) 

FOR TESTING : This function allows to get local Mac address.

Parameters:
dev_name name of the network interface
Returns:
mac adress in u_int8_t format

Definition at line 7013 of file ksi.c.

References is_dev_available().

XIAN_EXPORT_SYMBOL ( get_node_macadd   ) 

void get_node_example ( char *  name  ) 

FOR TESTING : Small example which scans all neigbor nodes existing into the different channels and display their rssi and transmit rate.

Parameters:
name name of the network interface
Returns:
-

Definition at line 7035 of file ksi.c.

References is_dev_available(), and TAILQ_FOREACH.

XIAN_EXPORT_SYMBOL ( get_node_example   ) 

int is_hexa ( char  c  ) 

FOR TESTING : This function allows to check if the param in (a "char" type) belongs to Hexadecimal Basis Set.

Parameters:
c a char type representing an hexa symbol
Returns:
int 1 if it belongs to, 0 otherwise.

Definition at line 7084 of file ksi.c.

int is_mac_addr_valid ( char *  mac_addr  ) 

FOR TESTING : This function allows to check if the mac address param in (array of "char" type) is valid.

Parameters:
mac_addr a pointer to an array if char representing a Mac Address formatted as follow XX:XX:XX:XX:XX:XX
Returns:
return -1 in case of bad mac address length, 1 if it is a valid mac address, 0 otherwise. Called function is_hexa

Definition at line 7119 of file ksi.c.

References IEEE80211_MAC_ADDR_LEN, and is_hexa().

void convert_mac_addr ( char *  mac_addr,
unsigned char *  res,
unsigned int *  code_err 
)

FOR TESTING : This function allows to convert a Mac Address formatted as follow XX:XX:XX:XX:XX:XX (array of "char" type) into an array of unsigned char.

Parameters:
mac_addr a pointer to an Array of char representing a Mac Address formatted as follow XX:XX:XX:XX:XX:XX
res output a pointer to an array of unsigned char
code_err output a code error if an error occurs (ie invalid Mac Address)
Returns:
- Called function is_mac_addr_valid

Definition at line 7157 of file ksi.c.

References IEEE80211_MAC_ADDR_LEN, INVALID_MAC_ADDR, and is_mac_addr_valid().

int init_m ( void   ) 

Definition at line 7189 of file ksi.c.

void exit_m ( void   ) 

Definition at line 7201 of file ksi.c.

module_init ( init_m   ) 

module_exit ( exit_m   ) 

MODULE_DESCRIPTION ( "XIAN - Kernel Space XIAN Interface - KSI"   ) 

MODULE_LICENSE ( "GPL"   ) 


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