From: Janusz Dziedzic Date: Mon, 24 Mar 2014 20:24:58 +0000 (+0100) Subject: ath10k: fix rssi and rate reporting X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~53^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2289188c273e2ce6aab9ff7a7972da40a8e82efb;p=pandora-kernel.git ath10k: fix rssi and rate reporting RSSI and RATES fields are valid only when START_VALID bit is set. So, in current implementation we have to remember/caclulate them when START_VALID and report the same when only END_VALID is set. Currently during heavy traffic we could have: - 10 packets with START_VALID - correct RSSI and RATES - 10 packets with END_VALID - 10 packets with START_VALID - correct RSSI and RATES - 10 packets with END_VALID ... Next using monitor interface we will see: - 10 packets with correct rssi/rates - 10 packets with rssi=-95/rate=6Mbps Signed-off-by: Janusz Dziedzic Signed-off-by: Kalle Valo --- Reading git-diff-tree failed