]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
iwlwifi: mvm: allocate reorder buffer according to need
authorJohannes Berg <johannes.berg@intel.com>
Tue, 26 Sep 2017 10:24:51 +0000 (12:24 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 18 Oct 2017 10:00:43 +0000 (13:00 +0300)
commitdfdddd92a5781bb4bbd176a5c85b7244580a8efe
treed4576b5848f724148d75847867cc381e7cca34e5
parent66cc044249603e12e1dbba347f03bdbc9f171fdf
iwlwifi: mvm: allocate reorder buffer according to need

Now that we may have up to 256 entries per reorder buffer, and possibly up
to 16 queues, we can use a LOT of memory for this (64k for each station).
Allocate it according to what we need, which is of course much less for HT
stations (only 16k at a max of 16 queues).

However, this comes at the expense of complicating the code a bit to
calculate the right entry structure to use for each frame.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.c