Commit Graph

7 Commits

Author SHA1 Message Date
Linux Build Service Account
6e35159528 Merge "qca-wifi: Add srng history for monitor mode" 2020-07-01 09:06:46 -07:00
Amir
05bd05a954 qca-wifi: Add srng history for monitor mode
Add srng history for monitor mode

Change-Id: I3103a48cc96fa17ad4b35772c352d4597721e27b
CRs-Fixed: 2690176
2020-06-14 23:50:35 +05:30
Amir
0f916220bf qca-wifi: Assert if HAL srng is NULL or not initilized
Assert if HAL srng is NULL or not initilized

Change-Id: I7af824f4c691ad9bc5c5c7537ba3513067a55eff
CRs-Fixed: 2709532
2020-06-13 02:51:59 +05:30
Amir
ee09492ea5 qca-wifi: Fix ppdu_id mismatch issue
For full monitor, it is observed destination ppdu_id
and status ppdu_id mismatches.

a. If status ring ppdu_id is leading compared to destiantion ring
ppdu_id, drop destination ring ppdus
b. If status ring ppdu_id is lagging compared to destiantion ring
ppdu_id, drop status ring ppdus
c. Handle warp around scenarios

CRs-Fixed: 2686747
Change-Id: Ie059c891347d4ff59b230881d5a9049d8acf279e
2020-06-10 21:27:11 +05:30
Amir
902435af2a qca-wifi: Fix monitor mode ppdu id mismatch issue for qcn9000
If status ring and destination ring ppdu id mismatches,
a.	If If status ring ppdu > destination ring ppdu,
  drop destiantion ring ppdu untill it matches status ring.
a.	If If status ring ppdu < destination ring ppdu,
  drop status ring ppdu untill it matches status ring

CRs-Fixed: 2677655
Change-Id: I80638245a09c3ed5846c0e71c8ad94e1c22c9014
2020-05-04 13:31:52 +05:30
Amir
dcfa3f37ed qca-wifi: Change monitor ring reap sequence for qcn9000
For qcn9000 in case of monitor mode, reap monitor destination
ring first and status ring later to avoid backpressure
on monitor destination ring

Change-Id: If107d40471a4d01ce8d42054ed844b98217e60cf
CRs-Fixed: 2670656
2020-04-25 19:50:44 +05:30
Amir
86628c52f7 qca-wifi: Add full moniotor mode processing
a. Add attach and detach for full monitor resources
	b. Read 'sw_monitor_ring' descriptor and pop MPDU
	c. Replenish buffers and link descriptors back to HW
	d. Form a MPDU queue per-ppdu and all MPDUs per-PPDU to upper layer

Change-Id: I5abff75354dd3686491d4fee3c3c4612a3ca3e15
2020-03-24 11:52:18 +05:30