]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1fe9649031386462abdc8f9c597036612decb211
tree9d38a0f72be1d722375dab0dfa9063d2eab4ba8c
parent160f5795afe876e76e866ec8261ca8353c2552a7
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