iwlwifi: allocate Tx cmd pool per device
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 24 May 2012 16:24:34 +0000 (19:24 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jun 2012 11:21:22 +0000 (13:21 +0200)
commit59c647b6266506cbbceadfabfd01168148f026c5
tree7fc0ea93110ea25bcbb96f42253931bc59199873
parentcde5b48700bde6edc24c26d3d1bbec219e0ef2a1
iwlwifi: allocate Tx cmd pool per device

Different transports will have different needs: New tranports
need headroom for their own use before the Tx cmd. So allocate
the Tx cmd pool in the transport and give it a unique name
based on dev_name.

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