android_kernel_xiaomi_sm8350/core
Orhan K AKYILDIZ adf0610a93 qcacld-3.0: Fix rx_starvation on multiple-rx case
In case of parallel rx execution, fill_count was being updated
by multiple threads and this was causing fill_count to be incorrect
in parallel rx execution cases. This was causing rx ring to be under
filled and in time was causing rx starvation (data stall).

Fix this by:
- making sure that we always fill the right number of buffers based
  on the msdu_count in the in_order_indication message.
- making sure that only one execution thread fills the ring
- making sure that the lock holder (filling the ring) does not
  run too long by introducing a max fill limit, in which case the
  filler will give up and the contender (the other rx execution
  thread) takes the lock and fills the ring itself.

CRs-Fixed: 1103851

Change-Id: I59ee2903d51877afc112a1a76b7a5529f1c6a5c0
2017-04-21 18:48:24 -07:00
..
bmi qcacld-3.0: Fix kernel check patch errors and warnings for BMI 2017-04-19 17:44:16 -07:00
cds qcacld-3.0: Reduce time to wait for external threads completion 2017-04-21 14:30:06 -07:00
dp qcacld-3.0: Fix rx_starvation on multiple-rx case 2017-04-21 18:48:24 -07:00
hdd qcacld-3.0: Remove the wait from the module_init 2017-04-21 15:54:53 -07:00
mac Release 5.2.0.23Q 2017-04-21 15:54:54 -07:00
pld qcacld-3.0: Update prefix for multi-interface with chip name 2017-03-02 19:58:56 -08:00
sap qcacld-3.0: Replace regulatory apis with reg component apis 2017-04-20 17:10:19 -07:00
sme qcacld-3.0: Fix the pdev reference leak during unload 2017-04-20 21:54:16 -07:00
wma qcacld-3.0: Fix the pdev reference leak during unload 2017-04-20 21:54:16 -07:00