diff options
author | Sara Sharon <sara.sharon@intel.com> | 2016-03-02 08:17:28 -0500 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2016-03-06 15:01:01 -0500 |
commit | e5f91d91ac2e09f93f58ab8f6813d12f2b3afa03 (patch) | |
tree | ee896e25eecb505d6d8cb4158630c997e133d501 | |
parent | d56daea43c5a5d72e67ac60d97734d5823b457d6 (diff) |
iwlwifi: pcie: set RB chunk size back to 64
128 byte chunk size is supported only on PCIe and not
on IOSF. For now, change it back to 64 byte.
Reported-by: Oren Givon <oren.givon@intel.com>
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/pcie/rx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/rx.c b/drivers/net/wireless/intel/iwlwifi/pcie/rx.c index a310fd265e24..509f79003241 100644 --- a/drivers/net/wireless/intel/iwlwifi/pcie/rx.c +++ b/drivers/net/wireless/intel/iwlwifi/pcie/rx.c | |||
@@ -801,11 +801,10 @@ static void iwl_pcie_rx_mq_hw_init(struct iwl_trans *trans) | |||
801 | 801 | ||
802 | /* | 802 | /* |
803 | * Activate DMA snooping. | 803 | * Activate DMA snooping. |
804 | * Set RX DMA chunk size to 128 bit | 804 | * Set RX DMA chunk size to 64B |
805 | * Default queue is 0 | 805 | * Default queue is 0 |
806 | */ | 806 | */ |
807 | iwl_write_prph(trans, RFH_GEN_CFG, RFH_GEN_CFG_RFH_DMA_SNOOP | | 807 | iwl_write_prph(trans, RFH_GEN_CFG, RFH_GEN_CFG_RFH_DMA_SNOOP | |
808 | RFH_GEN_CFG_RB_CHUNK_SIZE | | ||
809 | (DEFAULT_RXQ_NUM << RFH_GEN_CFG_DEFAULT_RXQ_NUM_POS) | | 808 | (DEFAULT_RXQ_NUM << RFH_GEN_CFG_DEFAULT_RXQ_NUM_POS) | |
810 | RFH_GEN_CFG_SERVICE_DMA_SNOOP); | 809 | RFH_GEN_CFG_SERVICE_DMA_SNOOP); |
811 | /* Enable the relevant rx queues */ | 810 | /* Enable the relevant rx queues */ |