Commit Graph

1892 次程式碼提交

作者 SHA1 備註 提交日期
Srinivas Pitla
11382f444f qca-wifi: Dynamic Tx VDEV config
This change adds new commands for MBSS Tx VDEV config

Change-Id: If98680da498a06a7279d3dda7083632f3bb0dd3c
CRs-Fixed: 2760569
2020-08-26 14:10:55 -07:00
Linux Build Service Account
8d55895471 Merge "qca-wifi: Dont rely on msdu_cnt in rxdma error" 2020-08-26 10:37:07 -07:00
Linux Build Service Account
fd562dfe74 Merge "qca-wifi: Activate deferred start send to FW" 2020-08-26 00:07:02 -07:00
Linux Build Service Account
1b1fc968c0 Merge "qca-wifi: add fils stat variables to apstats" 2020-08-25 21:35:57 -07:00
Linux Build Service Account
4a5f172e19 Merge "Revert "qca-wifi: Add mac filtering support for connection manager"" 2020-08-25 17:08:05 -07:00
Linux Build Service Account
0fe40a58f3 Merge "qca-wifi: Use WMI smart antenna feature flag for TLV definitions" 2020-08-25 11:36:24 -07:00
Santosh Anbu
f434bda1f6 qca-wifi: Activate deferred start send to FW
Start cmd send to FW is deferred when restart is in progress and
activated when restart is sent to FW.
There can be scenario where this restart is cancelled if the VDEV
is brought down as part of STOP cmd, during which the deferred start
cmd is not activated.

Add change to activate the deferred start on cancellation of multi
vdev restart

Change-Id: Ie202454f67943761219933be5b91a28ecba15c13
2020-08-25 08:56:48 -07:00
Himanshu Batra
183f29faa1 Revert "qca-wifi: Add mac filtering support for connection manager"
Revert "qca-wifi: Add mac filtering support for connection manager"
Change-Id: Iebe124bb9d1d222a9ca9f7340fd371ce9a3a2473
2020-08-25 21:05:18 +05:30
Ruben Columbus
0479f052dd qca-wifi: add fils stat variables to apstats
use vdev_cp_stats api to set values for fils stats
for later use.
create new macro for fils to use it in get_priv_int api.

Change-Id: Ia8ce7646c9cfd7904fe7826ca6d3d36aa2f4c14e
2020-08-24 12:28:26 -07:00
Ruben Columbus
272a0a20aa qca-wifi: add new variables for 5G/6G apstats
add new cs_ type variables to be used with vdev_cp_stats api.
apstats will use updated values and show them when getting called.

Change-Id: Ie90db9dc773c6624c912c62599be615042ebe1dd
2020-08-24 11:57:10 -07:00
Aditya Sathish
a2b1890f28 qca-wifi: Use WMI smart antenna feature flag for TLV definitions
The smart antenna TLV definitions are currently using the
SMARTANTENNA_UNIFIED feature flag which does not match the ones
used by the defintions in the converged code path. Therefore,
this leads to symbol errors during insmod.

Use the WMI_SMART_ANT_SUPPORT feature flag instead of the one
mentioned above for the TLV definitions.

CRs-Fixed: 2759479
Change-Id: I0a607e96e086a485628cf97d96d6db12d7db94ef
2020-08-24 18:41:08 +05:30
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
63f24d6ccf Merge "qca-wifi: Add support to configure ACS pre-CAC only selection" 2020-08-23 22:06:00 -07:00
Linux Build Service Account
3da597e30f Merge "qca-wifi: Add mac filtering support for connection manager" 2020-08-23 04:34:58 -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
Aditya Sathish
6f5a20fefe qca-wifi: Add support to configure ACS pre-CAC only selection
Add support to enable/disable pre-CAC only selection for the
ACS algorithm.

Add a OL_ATH_PARAM macro for controlling the mentioned
pre-CAC configuration.

CRs-Fixed: 2758597
Change-Id: I4b5db5e912fb4229b10abcf078065e2633e61fef
2020-08-19 21:23:41 -07:00
Linux Build Service Account
f8b3a91f71 Merge "qca-wifi: Add fix to disable ppdu desc debugfs" 2020-08-19 14:37:24 -07:00
Linux Build Service Account
e99470a741 Merge "qca-wifi: Add APIs to find preCAC status of a given channel" 2020-08-18 17:18:16 -07:00
Vignesh Mohan
e44ac26bc6 qca-wifi: Add APIs to find preCAC status of a given channel
Introduce an API to find the preCAC status of a given channel and
also return 0 if no channels are preCAC completed.

Change-Id: I17171250618dd3a06e710feb31230429fb00e7df
2020-08-17 16:53:50 +05:30
Anirban Sirkhell
16f17a6cb1 qca-wifi: Add commands to get max users for MU
Provide commands to retrieve the max users
per-PPDU for Uplink and Downlink MU transmissions

Change-Id: Ic26e0bb2fb082750c1d99fdcc9c742ecde76c7f6
2020-08-15 23:21:20 -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
4a52c19662 Merge "qca-wifi: Make the initialization of dfs->dfs_soc_obj unconditional" 2020-08-15 14:06:11 -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
Linux Build Service Account
14af85a120 Merge "qca-wifi: Access wlanstats context using CDP API" 2020-08-14 21:07:16 -07:00
Linux Build Service Account
8c5584a701 Merge "qca-wifi: Add versions for RDK Plume Stats" 2020-08-14 21:07:15 -07:00
Linux Build Service Account
f9d66ccb65 Merge "qca-wifi: Display new metrics in peerstats tool" 2020-08-14 21:07:15 -07:00
Linux Build Service Account
370b6735d6 Merge "qca-wifi: FR 61891 Per Client Link Quality Metrics" 2020-08-14 21:07:15 -07:00
Santosh Anbu
ad3055cf23 qca-wifi: Add mac filtering support for connection manager
Implement mac filtering APIS that will be used by connection manager.
The mac filter will hold the list of bssid that needs to
excluded in candidate selection.

Change-Id: Id72cdfe67703aca1dd77ad5705c5bf57b641ac26
2020-08-14 23:35:19 +05:30
Ananya Barat
74a849e197 qca-wifi: Make the initialization of dfs->dfs_soc_obj unconditional
With the current implementation dfs->dfs_soc_obj was initialized in
function dfs_agile_soc_obj_init under the macro QCA_SUPPORT_AGILE_DFS
and ATH_SUPPORT_ZERO_CAC_DFS both of which are disabled for the low
memory profiles. Remove the initialization from here and unconditionally
initialize it in wlan_dfs_pdev_obj_create_notification.

Change-Id: I207ed4e7d5cb42100e5bf1cbf55cdd9de13f35b8
2020-08-14 08:24:17 -07:00
Linux Build Service Account
ad2999e347 Merge "qca-wifi: Add cmd support for MBSSID control frame configuration" 2020-08-13 21:36:19 -07:00
Linux Build Service Account
6de65a6236 Merge "qca-wifi: Add Puncture Band command support" 2020-08-13 21:36:19 -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
Linux Build Service Account
1c9444af72 Merge "qca-wifi: Add print before clearing MVR pdev flag" 2020-08-13 07:06:51 -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
Rhythm Patwa
1c5cbefadc qca-wifi: Add cmd support for MBSSID control frame configuration
Add cmd support for MBSSID control frame configuration.

Change-Id: I3ebc8b226d9fb33d4eefb24102f0afe9d80c28ff
2020-08-13 02:17:17 -07:00
Rhythm Patwa
e1333ed1dd qca-wifi: Add Puncture Band command support
Add 'puncture_band' commmand support to configure the Punctured band
setting for AP. The command takes a bitmap argument, where each
bit corresponds to a 20MHz band. For instance for AP configured
for 80MHz BW the least 4 bits will be valid bits.

Change-Id: Ic3ce03776477c63af8c1d735a7eacd5aa19dd51f
CRs-fixed: 2749137
2020-08-13 02:15:33 -07:00
Linux Build Service Account
3e19daeeca Merge "qca-wifi: Support to add get_call_map to get dump" 2020-08-12 21:06:28 -07:00
phadiman
d88a0fb009 qca-wifi: Display new metrics in peerstats tool
Display new metrics in peerstats tool

Tx Stats
1. num_ppdus
2. num_bytes
3. phy_rate_actual_su
4. phy_rate_actual_mu
5. ofdma_usage
6. mu_mimo_usage
7. bw_usage_avg
8. bw_usage_max
9. pkt_error_rate

Rx Stats
1. num_ppdus
2. num_bytes
3. phy_rate_actual_su
4. phy_rate_actual_mu
5. ofdma_usage
6. mu_mimo_usage
7. bw_usage_avg
8. bw_usage_max
9. pkt_error_rate

This tool runs as daemon and listens to netlink
events sent by driver

CRs-Fixed: 2740231
Change-Id: I3f967ac2beae61ed60f0262352b72fe2d9ec1e4d
2020-08-12 10:08:36 -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
Himanshu Batra
c0960491d8 qca-wifi: Add print before clearing MVR pdev flag
Add print before clearing MVR pdev flag

Change-Id: I28ff2747874f95aaa0a9b5b1e025c23603354de0
CRs-Fixed: 2751336
2020-08-12 18:45:24 +05:30
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
Jhalak Naik
d6380797ea qca-wifi: Support to add get_call_map to get dump
Required for Instrumentation of code using cc_func() to find errors
and trace function calls.
This supports printing dump of functions that are called during
test case execution for CBT.

Change-Id: Idbf5e84deb8538dc85dadcbca9ad07bb57a67db9
2020-08-12 13:48:03 +05:30
Linux Build Service Account
1e7f66ac00 Merge "qca-wifi: Correcting the Stats decrement logic" 2020-08-11 21:37:37 -07:00
Linux Build Service Account
9d9f55737e Merge "qcawifi: Process full mon via nr_frags" 2020-08-11 19:37:03 -07:00
Linux Build Service Account
ebb3f586b5 Merge "qca-wifi: Add support to set DCS wideband policy" 2020-08-11 11:06:10 -07:00
Linux Build Service Account
d8c0ea1da3 Merge "qca-wifi: Define radar found action on agile channel" 2020-08-11 06:43:00 -07:00
Chaithanya Garrepalli
d9597f02cc qca-wifi: Use module_id while getting vdev reference
Pass module_id as argument to dp vdev get reference
and release reference APIs

Change-Id: I878443620b5ff7c5325edabcda9735220f85b47b
2020-08-11 03:35:47 -07:00
Chaithanya Garrepalli
81a724a970 qca-wifi: call dp_vdev_get_ref_by_id API to get vdev object
Use dp_vdev_get_ref_by_id() to get vdev object from vdev id
array also call dp_vdev_unref_delete() API to release
reference held by dp_vdev_get_ref_by_id

Change-Id: Icd8fac503d46dc0a010c6911116d9243effee777
2020-08-11 03:35:33 -07:00