iwl-trans: move dev_cmd_offs, page_offs to a common trans header
dev_cmd_offs, page_offs field is not directly related to the PCIe transport, so move the structures it uses to the common iwl-trans.h header. Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20200926002540.83b41765961f.Icd12bfb2a736ccf4cbe080973c746fb70a3c4a50@changeid Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:

committed by
Luca Coelho

szülő
e27c506a98
commit
22852fad9c
@@ -914,6 +914,8 @@ struct iwl_txq {
|
||||
* struct iwl_trans_txqs - transport tx queues data
|
||||
*
|
||||
* @bc_table_dword: true if the BC table expects DWORD (as opposed to bytes)
|
||||
* @page_offs: offset from skb->cb to mac header page pointer
|
||||
* @dev_cmd_offs: offset from skb->cb to iwl_device_tx_cmd pointer
|
||||
* @queue_used - bit mask of used queues
|
||||
* @queue_stopped - bit mask of stopped queues
|
||||
*/
|
||||
@@ -924,6 +926,8 @@ struct iwl_trans_txqs {
|
||||
struct dma_pool *bc_pool;
|
||||
size_t bc_tbl_size;
|
||||
bool bc_table_dword;
|
||||
u8 page_offs;
|
||||
u8 dev_cmd_offs;
|
||||
|
||||
struct {
|
||||
u8 fifo;
|
||||
|
Reference in New Issue
Block a user