commit | 4f503b8676f4b38d0d615d3f6aaf04b12f36423d | [log] [tgz] |
---|---|---|
author | Himanshu Agarwal <himanaga@codeaurora.org> | Mon Mar 19 12:10:45 2018 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Wed Mar 28 06:26:08 2018 -0700 |
tree | a1fba3e74b7ee0a9152dde901f040231992ee914 | |
parent | 74dc102c697573d33a19415e7308a9c2b48e289d [diff] |
qcacld-3.0: Compute RSSI and BSS adjustment correctly When hw_mode=any (both 2.4Ghz nad 5Ghz bands included), RSSI and BSS adjustment for 2.4Ghz channels happens 2 times, once in sap_interference_rssi_count() and once in sap_interference_rssi_count_5G() which leads to wrong computation of weight. Check whether a channel is 2.4Ghz or 5Ghz channel before calling the corresponding RSSI, BSS adjustment function. Change-Id: I6c318e489cfa177c6de088e7cdfb4779ceb99b2f CRs-Fixed: 2208069