From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduard GV Date: Mon, 2 May 2011 14:46:06 -0700 Subject: [ath9k-devel] More on signal and noise Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi all, Just three questions. I need per-packet SNR information and my first guess was to inspect "last_signal" from debugfs. Values range from -30 to -60. last_signal file should contain signal (dBm) of last received frame (from sta_info.h), right? That explains values obtained. But... 1) This value is computed as signal=ATH_DEFAULT_NOISE_FLOOR + rx_stats->rs_rssi, which is confusing me. It would be explained if rs_rssi is actually SNR (not RSSI) measured in dB. Am I wrong? 2) Why is NOISE_FLOOR fixed to -95 (dBm?). Noise varies randomly, e.g. noise reported by iw survey dump vary from -91 to -101 dBm. 3) By the way, what do rs_rssi_ctlX and rs_rssi_extX (-1 < X < 3) measure? Thank you!