diff options
author | Avri Altman <avri.altman@intel.com> | 2014-07-14 09:40:27 +0300 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-09-03 22:49:00 +0300 |
commit | 680073b78a5ac2b559bb7315528aa9f95e57ae24 (patch) | |
tree | 9816d75444d71b477425291e878b8339c2b8771b /drivers/net/wireless/iwlwifi/iwl-trans.h | |
parent | d20d37bc39766ecc31e68bc9cf238eab27a4157b (diff) | |
download | op-kernel-dev-680073b78a5ac2b559bb7315528aa9f95e57ae24.zip op-kernel-dev-680073b78a5ac2b559bb7315528aa9f95e57ae24.tar.gz |
iwlwifi: consolidate hw scheduler configuration code
Configuring the hw scheduler during queue enablement is done by
writing the appropriate values to the scheduler peripherals, and
it is essentially the same for all buses.
Whenever writing is done via the standard iwl_write_prph, we can
avoid duplicating the code for each bus. Those operations are
queue deactivation, RA/TID mapping, chain-building settings,
enabling/disabling aggregations and activating/deactivating the
TX FIFOs.
Consolidate this code using static inlines in a new header file.
Signed-off-by: Avri Altman <avri.altman@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans.h')
0 files changed, 0 insertions, 0 deletions