aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/debugfs.c
diff options
context:
space:
mode:
authorSara Sharon <sara.sharon@intel.com>2015-08-20 14:12:58 +0300
committerLuciano Coelho <luciano.coelho@intel.com>2015-08-28 13:26:32 +0300
commit62e004fe941d56cb70ea9148bb79cf6698751248 (patch)
tree8bcfbfc3c8405d268d64381af04816f9ddcc0ccf /drivers/net/wireless/iwlwifi/mvm/debugfs.c
parentiwlwifi: mvm: remove netdetect debugfs entry (diff)
downloadlinux-dev-62e004fe941d56cb70ea9148bb79cf6698751248.tar.xz
linux-dev-62e004fe941d56cb70ea9148bb79cf6698751248.zip
iwlwifi: mvm: fix statistics variables type
When receiving statistics notification there is a field of average energy. This is defines as signed 8 bit, while FW refers to it as unsigned. when the energy is higher than 127 this causes in iwl_mvm_stat_iterator a wrong computation of the signal int sig = -stats->general.beacon_filter_average_energy; resulting in incorrect CQM event (change from low to high). While at it - update the rest of the fields to the correct type. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/debugfs.c')
0 files changed, 0 insertions, 0 deletions