提交图

273 次代码提交

作者 SHA1 备注 提交日期
Linux Build Service Account
c68544cb65 Merge "qca-wifi: unmap buffer before free" 2020-10-16 05:06:08 -07:00
Linux Build Service Account
0f6ddc876b Merge "qca-wifi: Handle fraglist in full monitor path" 2020-10-15 21:36:16 -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
Srinivas Pitla
065a6e13f2 qca-wifi: enhance current debug print in issue scenario
The current debug print is not sufficient to look at
peer, tid. So enhanced current print

CRs-Fixed: 2794519
Change-Id: If531f1892cfc53c308b1913891a54f4a9350d02c
2020-10-13 13:51:40 -07:00
Linux Build Service Account
3f7ed7f88c Merge "qca-wifi: MSCS module implementation" 2020-10-05 18:35:14 -07:00
Mainak Sen
29417fc9d2 qca-wifi: MSCS module implementation
Implement a new driver module for Mirrored stream classification
signalling(MSCS) feature. This module which register to NSS MSCS client
to provide callback for peer lookup and priority update based on MSCS
parameters associated with a peer

Change-Id: I7aa465446cb22f0198459193fa04dd66fc903cc7
2020-10-02 17:35:09 +05:30
nobelj
3b78c64a1c qca-wifi: Fix tx capture mpdu tried less than acked mpdu
tx capture does not capture mpdu, which missed due to
block ack failure. with subsequent retries it recieve block ack for
all the previous transmitted mpdu in a ppdu was handled.

Change-Id: I23d1bfd7ba05edaec934379fbc036b164a45ceb6
2020-09-28 12:11:08 -07:00
Linux Build Service Account
c54ea45ed5 Merge "qca-wifi: SKB Frag changes for TX Capture" 2020-09-25 06:02:05 -07:00
nobelj
61e1b5c9b1 qca-wifi: Add fix for user after free
user field is updated before allocated memory is free.

Change-Id: I120cb4abab1a010b38dddc8aedc710b77671ac58
2020-09-24 22:28:50 -07:00
Shivani Soni
ce4d8e5daa qca-wifi: SKB Frag changes for TX Capture
Update frag related changes for TX Capture feature

Change-Id: I897e53c923256f2148fde214918bb7b069b8fc2b
CRs-Fixed: 2770668
2020-09-24 16:45:31 +05:30
Linux Build Service Account
7a50f2447f Merge "qca-wifi: Add reason for asterity active setting failure" 2020-09-23 00:35:40 -07:00
Linux Build Service Account
92cf74cb43 Merge "qca-wifi: init peer tid at tx monitor on" 2020-09-22 05:06:14 -07:00
VENKATASAIPRUDHVI SANNIDHI
de691b33c3 qca-wifi: Add reason for asterity active setting failure
Add change to send reason code for asterity active setting failure

Change-Id: I6a559b621a1bb71bc6295d74bdc2bcf095236ef4
2020-09-21 22:20:22 +05:30
nobelj
0c906ba7ca qca-wifi: init peer tid at tx monitor on
peer tid queue init is initialized only when tx monitor
feature turned on.

Change-Id: Idba2d0e7004eed5322c24c921044f66c98b33f61
2020-09-18 22:26:14 -07:00
Linux Build Service Account
529e160dec Merge "qcawifi: Use timer to schedule work queue for stats process" 2020-09-18 17:36:03 -07:00
Linux Build Service Account
70a42b554a Merge "qca-wifi: tx capture memory leak fix" 2020-09-17 09:36:52 -07:00
Linux Build Service Account
7d1b20d50d Merge "qca-wifi: Store mapped paddr of dst_mac in me buffer" 2020-09-15 18:08:05 -07:00
Linux Build Service Account
ada250b662 Merge "qcacmn: FR-64493 WDS Extended support" 2020-09-14 04:06:29 -07:00
Linux Build Service Account
28582f0573 Merge "qca-wifi: Unmap nbuf while processing Tx completion" 2020-09-11 11:08:32 -07:00
Naga
9fa046409b qcacmn: FR-64493 WDS Extended support
Added API send event to control path for
created dedicated net device for backhaul
when WDS extended feature is enabled.
This API will be called when 1st 4 address
is received from backhaul.

Change-Id: Ie473e582edf3974eb18997f578b02562671c4e9f
CRs-Fixed: 2773485
2020-09-11 18:23:52 +05:30
Debasis Das
7b9334bcdb qca-wifi: Store mapped paddr of dst_mac in me buffer
For me buffers, the physical address of the buffer
holding the dst_mac address needs to be stored
in the respective member.This is needed for
unmapping the dst_mac buffer before freeing
me buffer.

Change-Id: I069b6c72a3fa402be7b79840131bb550dcee2d5f
2020-09-10 06:10:02 -07:00
Shivani Soni
0074989f91 qca-wifi: Update HTT debugfs directory name using netdev name
Update HTT debugfs directory name using netdev name

Change-Id: Ib6db1e30ae0153cddc3bb7e1f86348f4717a30b2
CRs-Fixed: 2771473
2020-09-08 08:42:48 +05:30
Debasis Das
1beaf3500a qca-wifi: Unmap nbuf while processing Tx completion
For mcast-enhancement, nbuf mapping is done once.
The nbuf is cloned as per the number of clients.
After queueing the pkt to HW, the nbuf should not
be unmapped immediately.The correct place to unmap
the nbuf is in the Tx completion path.

Change-Id: I6c45967b53e1d6db5a7ebf77c6df735c1a41d642
2020-09-07 15:23:54 +05:30
Kai Chen
78c7be2508 qcawifi: Use timer to schedule work queue for stats process
Use timer to schedule work queue for tx capture stats
process to fix the deauth missing issue in tx capture
when AP is down.

Change-Id: Ie1d1e3fa9f576cd6034fe6035ef933b1e78df99b
2020-09-03 11:39:40 -07:00
Linux Build Service Account
db374ed3d2 Merge "qca-wifi: Modify wlanstats context to RDK stats context" 2020-09-03 06:07:03 -07:00
Linux Build Service Account
a93ff34f42 Merge "qca-wifi: rnr stats APSTATS" 2020-09-02 09:38:13 -07:00
nobelj
cde48bdd58 qca-wifi: tx capture memory leak fix
Added memory leak fix and added assert in few more
places to capture other corner case issues.

Change-Id: I5c728f73aafa20b7d65f74e866e652fd8c73de83
2020-09-01 11:38:25 -07:00
Linux Build Service Account
07102ba8d1 Merge "qca-wifi: Debugfs support for HTT stats" 2020-08-31 19:36:33 -07:00
nobelj
f467ad38f1 qca-wifi: rnr stats APSTATS
add and leverage stats for 6G to be used in apstats.
radio level stats are added for rnr count, active,
created vap, SoC status and cfg80211tool command is added
to display rnr cache.

Change-Id: I882c6349283c5a8295fe8933aee221f9a923e7f8
2020-08-31 14:50:41 -07:00
Linux Build Service Account
1db79bf21b Merge "qca-wifi: Replace QDF_MAC_ADDR_STR and QDF_MAC_ADDR_ARRAY" 2020-08-31 03:05:49 -07:00
Linux Build Service Account
30d7518fef Merge "qca-wifi: Use atomic operation in peer tid queue init" 2020-08-31 03:05:49 -07:00
Shivani Soni
d707418e11 qca-wifi: Debugfs support for HTT stats
Provide debugfs support for HTT stats.

Change-Id: Id20f4c909a82dced8076dca4089d4ba45f2fd573
CRs-Fixed: 2757889
2020-08-31 14:08:12 +05:30
phadiman
2623d744c4 qca-wifi: Modify wlanstats context to RDK stats context
peer wlanstats context is used only for RDK Plume stats
but the name is misleading as wlan statistics

Hence rename peer's wlanstats_ctx to rdkstats_ctx and
the APIs the APIs around the same

Change-Id: I34d341240ba9fd258be48f276c3e88666e5a25bf
2020-08-31 12:43:57 +05:30
Manoj Ekbote
2de00c0bd2 qca-wifi: Use atomic operation in peer tid queue init
tid queue init can be called from peer MAP event handler and peer
setup functions. Since they can run at same time because of the
sequencing, make init_done an atomic variable and set it before
allocating the retry ppdu. Otherwise, it can result in double
allocation and memory leak.

Change-Id: I354bf2763b8ddedcf83f04eccccaafc329eac66d
2020-08-28 09:59:58 -07:00
Pavankumar Nandeshwar
53bc50f17a qca-wifi: stats VoW IGMP improvements
Add stats VoW IGMP improvements feature

Change-Id: Ibf1f0a0851843363e0d9198df8dd1052b907d213
2020-08-27 02:13:51 -07:00
Pavankumar Nandeshwar
fd529cd60a qca-wifi: VoW IGMP improvements
As part of the VoW IGMP improvements, which deals with
conversion of igmp packets to unicast packets, the
following changes are done when the new feature is enabled:

1. IGMP/MLD packets with special addresses (addresses not
   part of any multicast group) will be converted to all
   existing clients of the AP. These packets will be
   directly fed to igmp multicast to unicast conversion
   module.
2. The IGMP/MLD packets with group specific addresses will
   first go to multicast enhancement module, where they
   will be allowed to pass and will be converted to unicast.
3. The new feature will be enabled only when multicast
   enhancement feature is enabled, which will be ensured
   at the configuration level.

FR : 61063

Change-Id: I06fc796af288f387b05e34f9b62028d648cdc8cc
2020-08-27 14:43:02 +05:30
Neha Bisht
daaa759e62 qca-wifi: Replace QDF_MAC_ADDR_STR and QDF_MAC_ADDR_ARRAY
These two macros are obsolete and are being removed.
Therefore, replacing them with new macros:
QDF_MAC_ADDR_FMT and QDF_MAC_ADDR_REF

Change-Id: Iaefe71472638a12a1d7ae8fb728b14664e910cd2
2020-08-27 01:03:49 -07:00
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
80a72a98a5 Merge "qca-wifi: Use module_id while getting vdev reference" 2020-08-20 15:37:30 -07:00
Linux Build Service Account
4f44beeb31 Merge "qca-wifi: call dp_vdev_get_ref_by_id API to get vdev object" 2020-08-20 15:37:30 -07:00
nobelj
1dd7beec9c qca-wifi: Add fix to disable ppdu desc debugfs
disable ppdu desc logging in tx capture is not
disabling the debugfs feature.

Change-Id: Ie40b60409b185cc79913da47baea28f81a43a87f
2020-08-15 18:12:22 -07:00
Linux Build Service Account
7f866aa936 Merge "qca-wifi: use the generic peer iterate API" 2020-08-15 06:10:14 -07:00
Linux Build Service Account
22d1f03d21 Merge "qca-wifi: remove DP peer back pointer in DP AST entry" 2020-08-15 06:10:13 -07:00
phadiman
24f86413a4 qca-wifi: Access wlanstats context using CDP API
Peer wlanstats context was accessed directly
without any protection, if peer was deleted
there was no way to know if PPDU cookie holds
correct wlanstats ctx

Hence to protect the peer wlanstats ctx access
it using CDP API using stats context protection

CRs-Fixed: 2740231
Change-Id: I9b07970c691099f3c9b0175d550508b50db9ac8a
2020-08-13 07:24:20 -07:00
phadiman
c16f1049e2 qca-wifi: Add versions for RDK Plume Stats
Currently there is only a provision to enable
and disable RDK stats with enable_rdk_stats
INI configuration

Since there are new set of statistic metrics added
as part of RDK stats, add version information into
CFG INI configuration such as

0. For disabling stats (By default)
1. For enabling peer rate stats only
2. For enabling peer link metrics only
3. For enabling both statistics

This is done to avoid unncessary CPU consumption
and memory consumption for each peer, depending on
the requirement the version can be enabled

CRs-Fixed: 2740231
Change-Id: I1cfd8c75dd4f3236a5b07263573fd5ddbe1dc1c3
2020-08-13 04:37:46 -07:00
phadiman
8ad7491fdd qca-wifi: FR 61891 Per Client Link Quality Metrics
Adding new metrics to existing RDK Plume statistics

PHY Metrics Tx

1. phy_rate_actual_su - Single User Rate
2. phy_rate_actual_mu - Multi User Rate
3. ofdma_usage -  OFDMA Usage count
4. mu_mimo_usage - MU MIMO Usage count
5. bw_usage_avg - Average BW
6. bw_usage_max - Max BW Ratio to total PPDUs
7. pkt_error_rate(mpdu) - MPDU packet error rate
8. num_ppdus - Number of PPDUs
9. num_bytes - Number of PPDU bytes

PHY Metrics Rx

1. phy_rate_actual_su - Single User Rate
2. phy_rate_actual_mu - Multi User Rate
3. ofdma_usage -  OFDMA Usage count
4. mu_mimo_usage - MU MIMO Usage count
5. bw_usage_avg - Average BW
6. bw_usage_max - Max BW Ratio to total PPDUs
7. pkt_error_rate(mpdu) - MPDU packet error rate
8. num_ppdus - Number of PPDUs
9. num_bytes - Number of PPDU bytes

RSSI
1. su_rssi - Single user Rx RSSI
2. ack_rssi - ACK RSSI

CRs-Fixed: 2740231
Change-Id: Ie62157195d87f61640aa7bc65b2f02f629ff195d
2020-08-12 09:54:08 -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
Linux Build Service Account
9d9f55737e Merge "qcawifi: Process full mon via nr_frags" 2020-08-11 19:37:03 -07:00