aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-03-11 13:27:45 -0400
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-03-11 13:49:39 -0400
commit5b7ff6158dc921fa9ae0c47a5a29a750d0d0ce60 (patch)
treec3c011f542c81fe39d66af926e15e1e9b8bfa8d0 /drivers/net
parentb9fae2d54c9ffceed7b57bfc9d4acb0de40b4ba8 (diff)
iwlwifi: mvm: make bt-coex.c generic
Make bt-coex generic to allow other coex mechanisms. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/Makefile2
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/coex.c (renamed from drivers/net/wireless/iwlwifi/mvm/bt-coex.c)6
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h (renamed from drivers/net/wireless/iwlwifi/mvm/fw-api-bt-coex.h)0
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/fw-api.h2
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h4
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/rs.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/Makefile b/drivers/net/wireless/iwlwifi/mvm/Makefile
index 41d390fd2ac8..9798aa5b7645 100644
--- a/drivers/net/wireless/iwlwifi/mvm/Makefile
+++ b/drivers/net/wireless/iwlwifi/mvm/Makefile
@@ -2,7 +2,7 @@ obj-$(CONFIG_IWLMVM) += iwlmvm.o
2iwlmvm-y += fw.o mac80211.o nvm.o ops.o phy-ctxt.o mac-ctxt.o 2iwlmvm-y += fw.o mac80211.o nvm.o ops.o phy-ctxt.o mac-ctxt.o
3iwlmvm-y += utils.o rx.o tx.o binding.o quota.o sta.o sf.o 3iwlmvm-y += utils.o rx.o tx.o binding.o quota.o sta.o sf.o
4iwlmvm-y += scan.o time-event.o rs.o 4iwlmvm-y += scan.o time-event.o rs.o
5iwlmvm-y += power.o bt-coex.o 5iwlmvm-y += power.o coex.o
6iwlmvm-y += led.o tt.o 6iwlmvm-y += led.o tt.o
7iwlmvm-$(CONFIG_IWLWIFI_DEBUGFS) += debugfs.o debugfs-vif.o 7iwlmvm-$(CONFIG_IWLWIFI_DEBUGFS) += debugfs.o debugfs-vif.o
8iwlmvm-$(CONFIG_PM_SLEEP) += d3.o 8iwlmvm-$(CONFIG_PM_SLEEP) += d3.o
diff --git a/drivers/net/wireless/iwlwifi/mvm/bt-coex.c b/drivers/net/wireless/iwlwifi/mvm/coex.c
index 4ae3c850b57e..0b2e351d4e52 100644
--- a/drivers/net/wireless/iwlwifi/mvm/bt-coex.c
+++ b/drivers/net/wireless/iwlwifi/mvm/coex.c
@@ -63,7 +63,7 @@
63 63
64#include <net/mac80211.h> 64#include <net/mac80211.h>
65 65
66#include "fw-api-bt-coex.h" 66#include "fw-api-coex.h"
67#include "iwl-modparams.h" 67#include "iwl-modparams.h"
68#include "mvm.h" 68#include "mvm.h"
69#include "iwl-debug.h" 69#include "iwl-debug.h"
@@ -1168,8 +1168,8 @@ void iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1168#define LINK_QUAL_AGG_TIME_LIMIT_DEF (4000) 1168#define LINK_QUAL_AGG_TIME_LIMIT_DEF (4000)
1169#define LINK_QUAL_AGG_TIME_LIMIT_BT_ACT (1200) 1169#define LINK_QUAL_AGG_TIME_LIMIT_BT_ACT (1200)
1170 1170
1171u16 iwl_mvm_bt_coex_agg_time_limit(struct iwl_mvm *mvm, 1171u16 iwl_mvm_coex_agg_time_limit(struct iwl_mvm *mvm,
1172 struct ieee80211_sta *sta) 1172 struct ieee80211_sta *sta)
1173{ 1173{
1174 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); 1174 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
1175 enum iwl_bt_coex_lut_type lut_type; 1175 enum iwl_bt_coex_lut_type lut_type;
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw-api-bt-coex.h b/drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h
index 32156d7e2d07..32156d7e2d07 100644
--- a/drivers/net/wireless/iwlwifi/mvm/fw-api-bt-coex.h
+++ b/drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw-api.h b/drivers/net/wireless/iwlwifi/mvm/fw-api.h
index 703168b7f63e..6e75b52588de 100644
--- a/drivers/net/wireless/iwlwifi/mvm/fw-api.h
+++ b/drivers/net/wireless/iwlwifi/mvm/fw-api.h
@@ -70,7 +70,7 @@
70#include "fw-api-mac.h" 70#include "fw-api-mac.h"
71#include "fw-api-power.h" 71#include "fw-api-power.h"
72#include "fw-api-d3.h" 72#include "fw-api-d3.h"
73#include "fw-api-bt-coex.h" 73#include "fw-api-coex.h"
74 74
75/* maximal number of Tx queues in any platform */ 75/* maximal number of Tx queues in any platform */
76#define IWL_MVM_MAX_QUEUES 20 76#define IWL_MVM_MAX_QUEUES 20
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index 18939dc06faf..4c386541fe35 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -908,8 +908,8 @@ int iwl_mvm_rx_bt_coex_notif(struct iwl_mvm *mvm,
908void iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, 908void iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
909 enum ieee80211_rssi_event rssi_event); 909 enum ieee80211_rssi_event rssi_event);
910void iwl_mvm_bt_coex_vif_change(struct iwl_mvm *mvm); 910void iwl_mvm_bt_coex_vif_change(struct iwl_mvm *mvm);
911u16 iwl_mvm_bt_coex_agg_time_limit(struct iwl_mvm *mvm, 911u16 iwl_mvm_coex_agg_time_limit(struct iwl_mvm *mvm,
912 struct ieee80211_sta *sta); 912 struct ieee80211_sta *sta);
913bool iwl_mvm_bt_coex_is_mimo_allowed(struct iwl_mvm *mvm, 913bool iwl_mvm_bt_coex_is_mimo_allowed(struct iwl_mvm *mvm,
914 struct ieee80211_sta *sta); 914 struct ieee80211_sta *sta);
915int iwl_mvm_bt_coex_reduced_txp(struct iwl_mvm *mvm, u8 sta_id, bool enable); 915int iwl_mvm_bt_coex_reduced_txp(struct iwl_mvm *mvm, u8 sta_id, bool enable);
diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c
index 399709f2be2e..ad8334239106 100644
--- a/drivers/net/wireless/iwlwifi/mvm/rs.c
+++ b/drivers/net/wireless/iwlwifi/mvm/rs.c
@@ -2591,7 +2591,7 @@ static void rs_fill_lq_cmd(struct iwl_mvm *mvm,
2591 2591
2592 if (sta) 2592 if (sta)
2593 lq_cmd->agg_time_limit = 2593 lq_cmd->agg_time_limit =
2594 cpu_to_le16(iwl_mvm_bt_coex_agg_time_limit(mvm, sta)); 2594 cpu_to_le16(iwl_mvm_coex_agg_time_limit(mvm, sta));
2595} 2595}
2596 2596
2597static void *rs_alloc(struct ieee80211_hw *hw, struct dentry *debugfsdir) 2597static void *rs_alloc(struct ieee80211_hw *hw, struct dentry *debugfsdir)