iwlwifi: mvm: update the rssi calculation
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 28 Feb 2013 09:54:28 +0000 (11:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Mar 2013 12:38:21 +0000 (13:38 +0100)
commit8101a7f0656bf11c385d6e14f52313b19f017e70
tree531fac0627defc833bc20d5c8cea44d380dcb86d
parentf9aa8dd33714f17c7229ad89309406a1ccb3cd3f
iwlwifi: mvm: update the rssi calculation

Make the rssi more accurate by taking in count per-chain AGC
values. Without this, the RSSI reports inaccurate values.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw-api.h
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/rx.c