iwlwifi: mvm: do more useful queue sync accounting
[ Upstream commit 2f7a04c7 ] We're currently doing accounting on the queue sync with an atomic variable that counts down the number of remaining notifications that we still need. As we've been hitting issues in this area, modify this to track a bitmap of queues, not just the number of queues, and print out the remaining bitmap in the warning. Signed-off-by:Johannes Berg <johannes.berg@intel.com> Signed-off-by:
Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20201209231352.0a3fa177cd6b.I7c69ff999419368266279ec27dd618eb450908b3@changeid Signed-off-by:
Luca Coelho <luciano.coelho@intel.com> Stable-dep-of: 5f8a3561 ("iwlwifi: mvm: write queue_sync_state only for sync") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Showing
- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 6 additions, 5 deletionsdrivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 1 addition, 1 deletiondrivers/net/wireless/intel/iwlwifi/mvm/mvm.h
- drivers/net/wireless/intel/iwlwifi/mvm/ops.c 1 addition, 1 deletiondrivers/net/wireless/intel/iwlwifi/mvm/ops.c
- drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 7 additions, 3 deletionsdrivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
Loading