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") |
int _is_dev_available | ( | char * | dev_name | ) |
FOR TESTING : This small functions allow to check if the wireless network device is available.
dev_name | name of the network interface |
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.
dev_name | name of the network interface |
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 | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_mgmt | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_ctrl | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_ucast | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_mcast | ||||
) |
GET_NODE_NS | ( | u_int64_t | , | |
rx_bytes | ||||
) |
GET_NODE_NS | ( | u_int64_t | , | |
rx_beacons | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_proberesp | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_dup | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_noprivacy | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_wepfail | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_demicfail | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_decap | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_defrag | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_disassoc | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_deauth | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_decryptcrc | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_unauth | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
rx_unencrypted | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
tx_data | ||||
) |
GET_NODE_NS | ( | u_int32_t | , | |
tx_mgmt | ||||
) |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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).
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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).
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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).
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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).
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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).
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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).
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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).
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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).
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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).
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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).
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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).
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface | |
code_err | output a code error if an error occurs. |
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.
dev_name | name of the network interface |
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.
name | name of the network interface |
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 | ) |
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.
mac_addr | a pointer to an array if char representing a Mac Address formatted as follow XX:XX:XX:XX:XX:XX |
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.
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) |
Definition at line 7157 of file ksi.c.
References IEEE80211_MAC_ADDR_LEN, INVALID_MAC_ADDR, and is_mac_addr_valid().
module_init | ( | init_m | ) |
module_exit | ( | exit_m | ) |
MODULE_DESCRIPTION | ( | "XIAN - Kernel Space XIAN Interface - KSI" | ) |
MODULE_LICENSE | ( | "GPL" | ) |