نمودار کامیت

18 کامیت‌ها

مولف SHA1 پیام تاریخ
Shikha Bakshi
7da621d050 qca-wifi: Modify logs for QDF_MODULE_ID_DP_RX_MON_DEST
Replace QDF_TRACE  in dp_full_mon.c file with the
macros defined for QDF_MODULE_ID_DP_RX_MON_DEST module

Change-Id: I3f657ae760a9fd8f0bd5509d54a58fc874297461
2020-12-24 01:28:29 -08:00
Linux Build Service Account
c68544cb65 Merge "qca-wifi: unmap buffer before free" 2020-10-16 05:06:08 -07:00
Amir
418e9f663e qca-wifi: unmap buffer before free
unmap buffer before free in case of status buffer DMA not done
WAR is hit.

Change-Id: I190d6188865cd0a58ad661bad0e512191ae7e753
CRs-Fixed: 2797458
2020-10-14 23:05:50 +05:30
Ankit Kumar
888cb7fccd qca-wifi: Handle fraglist in full monitor path
Handle fraglist in full monitor path.

Change-Id: If808c49654a62d84d60de0b3511424a43d1e7375
2020-10-14 17:57:48 +05:30
Linux Build Service Account
ce5f989c9d Merge "qca-wifi: Add WAR to skip status ring entry" 2020-08-26 15:05:59 -07:00
Ankit Kumar
8f1d74719a qca-wifi: Dont rely on msdu_cnt in rxdma error
Dont rely on msdu count in case of rxdma error.
Dont decrement counter in case of rxdma error.

Change-Id: Id871a8bc00a0cb481790056e71856ded133121c3
2020-08-24 03:48:46 -07:00
Linux Build Service Account
5b50c70f81 Merge "qca-wifi: Added condition checks for pdev to avoid deference issue." 2020-08-12 05:36:38 -07:00
Amir
b1ab3a6941 qca-wifi: Add WAR to skip status ring entry
STATUS_BUFFRE_DONE tlv written in first word for a status
buffer indicates that DMA is done for that status ring entry.

In existing implementation, for a status ring entry if
STATUS_BUFFRE_DONE tlv is not written by HW, we poll on to status ring
entry until DMA is done by HW.

During lmac reset it may happne that HW will not write STATUS_BUFFRE_DONE
tlv in status buffer, in that case we end up polling infinitely leading
to backpressure on monitor status ring.

As per MAC team's suggestion, when HP + 1 entry is peeked and if DMA
is not done and if HP + 2 entry's DMA done is set,
replenish HP + 1 entry and start processing in next interrupt.

If HP + 2 entry's DMA done is not set,
poll onto HP + 1 entry DMA done to be set.

Change-Id: I2da5a16ec901764fcb88c417f599d7a1344bcea0
CRs-Fixed: 2744602
2020-08-11 13:08:42 +05:30
Ankit Kumar
f7e514b4df qcawifi: Process full mon via nr_frags
process mon destination buffer via nr_frags if
RX_MON_MEM_FRAG is enabled.

Change-Id: I3c191a13a3a3be01ad4205702f5dcaebe02f9270
CRs-Fixed: 2741793
2020-08-07 01:48:17 -07:00
suresh
9efded8eb1 qca-wifi: Added condition checks for pdev to avoid deference issue.
In few scenarios,dp_get_pdev_lmac_id shall returns null.
To avoid this added a null pointer check to avoid the dereference issues.

Change-Id: I5a859c81295a49afd3fc083c6611eceec414d2ca
2020-08-06 19:47:54 +05:30
Amir
5312b6e1e6 qca-wifi: Avoid duplication of ppdu_id for full monitor mode
While monitor ring processing, do not assign ppdu_id to
pdev->com_info.ppdu_id in order to avoid duplication at HAL layer
processing

Change-Id: I2ab8e955bba7494c2fca45d8be9dbf2a5eb8c4bc
CRs-Fixed: 2740395
2020-07-30 14:28:03 +05:30
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