##-- Main function the collect all the cisco specific informations --##
sub get_airo_stats
{
                if ($fromconf{cisco} =~ /yes/) {
                        open(AIROREFRESH, "/proc/driver/aironet/".$fromconf{interface}."/StatsDelta") or die "\nCould not open: \n\t/proc/driver/aironet/".$fromconf{interface}."/StatsDelta";
                        while(<AIROREFRESH>) {
                         chomp;
                        if (/([^:]+):\s+([^\n\s]+)/) {
                                my $key = $1;
                                my $value = $2;
                                if ($key =~ /RX/i) {
                                        $g_rxstat{$key} = $value;
                                }
                                elsif ($key =~ /TX/i) {
                                        $g_txstat{$key} = $value;
                                }
                                else {
                                        $g_miscstat{$key} = $value;
                                }
                        }
                       }
                close AIROREFRESH;
                }
}

