]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
iwlwifi: move BUILD_RAxTID to transport
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 28 Apr 2013 11:05:22 +0000 (14:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 May 2013 16:10:52 +0000 (18:10 +0200)
It has nothing to do in FW API.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/commands.h
drivers/net/wireless/iwlwifi/pcie/tx.c

index 95ca026ecc9d6be7383e2986385e84d374cb6964..19f3ce7646abe78d0e7a3dcf6fb8dfe8002255d1 100644 (file)
@@ -838,10 +838,6 @@ struct iwl_qosparam_cmd {
 #define STA_MODIFY_DELBA_TID_MSK       0x10
 #define STA_MODIFY_SLEEP_TX_COUNT_MSK  0x20
 
-/* Receiver address (actually, Rx station's index into station table),
- * combined with Traffic ID (QOS priority), in format used by Tx Scheduler */
-#define BUILD_RAxTID(sta_id, tid)      (((sta_id) << 4) + (tid))
-
 /* agn */
 struct iwl_keyinfo {
        __le16 key_flags;
index c5e30294c5acc746730d2b60c857addeba4f3a36..03ad2f417298fb5d58b817a5ff51dbe0165026ee 100644 (file)
@@ -1045,6 +1045,10 @@ static inline void iwl_pcie_txq_set_inactive(struct iwl_trans *trans,
                (1 << SCD_QUEUE_STTS_REG_POS_SCD_ACT_EN));
 }
 
+/* Receiver address (actually, Rx station's index into station table),
+ * combined with Traffic ID (QOS priority), in format used by Tx Scheduler */
+#define BUILD_RAxTID(sta_id, tid)      (((sta_id) << 4) + (tid))
+
 void iwl_trans_pcie_txq_enable(struct iwl_trans *trans, int txq_id, int fifo,
                               int sta_id, int tid, int frame_limit, u16 ssn)
 {