iwlwifi: mvm: BT Coex - Correctly enable and treat rssi events
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 8 Sep 2013 05:57:15 +0000 (08:57 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 2 Oct 2013 16:00:44 +0000 (18:00 +0200)
commitf6fc57756bd8e89687b165280a9bdee290a7850a
tree9d38a0f72be1d722375dab0dfa9063d2eab4ba8c
parent2de13caebcb7ee78a4ceadb22617ec4bc1b3c776
iwlwifi: mvm: BT Coex - Correctly enable and treat rssi events

Rssi events were enabled on interfaces using 5.2GHz.
Interfaces on 5.2GHz were taken into account while
determining the ACK / CTS kill mask. Fix that.

The last rssi notified to BT Coex was reset every BT Coex
Notification. Since we get a lot of these notifications
from the firmware, we reset the rssi all the time which
means that the bt_rssi_event is called all the time.
Fix that by puting the rssi we pull upon BT Coex
notification into iwl_mvm_vif_bf_data.last_bt_coex_event

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