Search Linux Wireless

Re: ATH5k - Signal measurement reports wrong values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Bruno,

> that would make more sense. there are changes in noise floor calibration and 
> in antenna diversity setup between these two (2010-05-30 and 2010-06-18). 
> either one may be the reason...
good


> > The directory /sys/kernel/debug is empty.
> > It looks that I have to recompile kernel. Or do you know any option to
> > pass to kernel to allow this feature?
> 
> maybe you need to:
>   mount -t debugfs debugfs /sys/kernel/debug
> ?
> 
> also you need to compile ath5k with debugging enabled.
I will do this.


> can you tell us which chipset you are using (output of dmesg |grep 
> "ath5.*chip")?

root@dvouramenna:~# dmesg |grep "ath5.*chip"
[    6.632843] ath5k phy0: Atheros AR2413 chip found (MAC: 0x78, PHY: 0x45)
[    7.101528] ath5k phy1: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)

Both chipsets suffer with a same problem.

 
> also it would be interesting to know how you generate your graphs?

RODGASIGNAL=`iwconfig wlan0 | grep "Signal level" | sed -e 's/.*Signal level=\([0123456789-]*\)[ \/].*/\1/'`
if [[ $RODGASIGNAL == "" ]]; then
  RODGASIGNAL="U"
else
  if [[ $RODGASIGNAL > "0" ]]; then
    RODGASIGNAL=-95
  fi  
fi

/usr/sbin/rrdupdate /var/rrd/rodgarssi.rrd N:$RODGASIGNAL


When rrd is feed, the chart could be rendered:

LABEL=`/usr/bin/date "+Rodga signal strength %d.%m.%Y"`
/usr/sbin/rrdtool graph /tmp/www/rodga-day.png --start -86400 \
            -t "$LABEL" --vertical-label "Signal Strength [dBi]" -w 650 -h 95 \
            DEF:rodga=/var/rrd/rodgarssi.rrd:rssi:AVERAGE \
	    DEF:bullet=/var/rrd/bulletrssi.rrd:rssi:AVERAGE \
            LINE1:rodga#FF00FF:"rodga->dvrmn" \
	    LINE1:bullet#00FF00:"dvrmn->rodga" >/dev/null

regards
   Jara


PS: I have replaced MAC address by 0:

/usr/sbin/iw wlan1 station dump | sed -n -e '/Station/p' -e '/signal/p' >/tmp/sta.txt

MARTIN=`grep "00:00:00:00:00:00" -A 1 -i /tmp/sta.txt | grep "signal" | sed -e 's/.*\(-[0123456789]*\) .*/\1/'`
if [[ $MARTIN == "" ]]
then
  MARTIN="U"
fi
RACEK=`grep "00:00:00:00:00:00" -A 1 -i /tmp/sta.txt | grep "signal" | sed -e 's/.*\(-[0123456789]*\) .*/\1/'`
if [[ $RACEK == "" ]]
then
  RACEK="U"
fi
/usr/sbin/rrdupdate /var/rrd/klienti.rrd N:$MARTIN:$RACEK



--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux