diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2013-02-19 11:02:36 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-03-06 16:48:00 +0100 |
commit | 1094234284a2afe46202773ebd9ae55416092d9c (patch) | |
tree | 5f11129e6a661ff5c76aacd26e2693338a887a51 /drivers/net/wireless/iwlwifi/mvm/bt-coex.c | |
parent | 7da052b818371b6b29909d871bf803192aa40b84 (diff) |
iwlwifi: mvm: export last bt_notif through debugfs
This will allow to track how BT core updates the driver.
This is required to debug the BT Coexistence mechanism.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/bt-coex.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/bt-coex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/bt-coex.c b/drivers/net/wireless/iwlwifi/mvm/bt-coex.c index fa054b364e52..47954deb6493 100644 --- a/drivers/net/wireless/iwlwifi/mvm/bt-coex.c +++ b/drivers/net/wireless/iwlwifi/mvm/bt-coex.c @@ -307,6 +307,9 @@ int iwl_mvm_rx_bt_coex_notif(struct iwl_mvm *mvm, notif->bt_agg_traffic_load); IWL_DEBUG_COEX(mvm, "\tBT ci compliance %d\n", notif->bt_ci_compliance); + /* remember this notification for future use: rssi fluctuations */ + memcpy(&mvm->last_bt_notif, notif, sizeof(mvm->last_bt_notif)); + ieee80211_iterate_active_interfaces_atomic( mvm->hw, IEEE80211_IFACE_ITER_NORMAL, iwl_mvm_bt_notif_iterator, &data); |