]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: add reorder timeout per frame
authorSara Sharon <sara.sharon@intel.com>
Sun, 28 Feb 2016 18:28:17 +0000 (20:28 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:14:42 +0000 (22:14 +0300)
commit2093cd06232564f4a99b9ca9930d3063bd34c2af
tree025cb08d77df59cce0a5aafb139922c1e4298c6e
parent543502cec830195de37c95799bda98f2a89fd2db
iwlwifi: mvm: add reorder timeout per frame

Add a timer in order to release expired frames from the
reorder buffer.
This is needed since some APs do not retransmit frames
to fill in the reorder holes and in TCP it results with
a complete stall of traffic.

This has a few side effects on the general design:

The nssn may not reflect the the head of the reorder buffer.
This situation is valid, and packets with SN lower than the
reorder buffer head will be dropped.

Another side effect is that since the reorder timer might expire
we need to lock the reorder buffer.
This however is fine since the locking is only inside a
single reorder buffer between RX path and reorder timeout and
there is no outside contention.

Signed-off-by: Sara Sharon <sara.sharon@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