diff options
author | Carl Huang <cjhuang@codeaurora.org> | 2020-12-17 09:04:57 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-12-18 11:02:46 +0200 |
commit | f6f92968e1e5a7a9d211faaebefc26ebe408dad7 (patch) | |
tree | b3f80d1b0d7a30eb5341dcffe8fd82e9ee3df988 /drivers/net/wireless/mac80211_hwsim.h | |
parent | 30d085039314fcad2c2e33a2dfc8e79765ddf408 (diff) |
ath11k: qmi: try to allocate a big block of DMA memory first
Not all firmware versions support allocating DMA memory in smaller blocks so
first try to allocate big block of DMA memory for QMI. If the allocation fails,
let firmware request multiple blocks of DMA memory with smaller size.
This also fixes an unnecessary error message seen during ath11k probe on
QCA6390:
ath11k_pci 0000:06:00.0: Respond mem req failed, result: 1, err: 0
ath11k_pci 0000:06:00.0: qmi failed to respond fw mem req:-22
Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1
Signed-off-by: Carl Huang <cjhuang@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1608127593-15192-1-git-send-email-kvalo@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.h')
0 files changed, 0 insertions, 0 deletions