Commit grafiek

29 Commits

Auteur SHA1 Bericht Datum
Debasis Das
d8a16fe0d7 qca-wifi: Fix format string related warnings
Fix format string related compilation warnings:
format string should match the datatype

Change-Id: I521cb95f0442c445e0e358d383a8ae58d3003be4
2019-10-15 11:40:17 +05:30
Vikram Kandukuri
81f26b56c0 qca-wifi: Report CFR failed status to application
Report CFR failed status to application by sending CFR header with
error status.

Change-Id: I67e370bbbd8294a14c32567922861a0b5226b0ea
CRs-Fixed: 2538596
2019-10-05 00:54:50 -07:00
Vikram Kandukuri
0978b878ca qca-wifi: Correct meta data version for CFR captures wiht AoA
For new CFR captures with AoA data, Meta data version is 2.
Updating meta data version to 2.

CRs-Fixed: 2537866

Change-Id: I4c6cb9775e5a9760630b1f28d61fb4bdfd084c6c
2019-10-03 23:50:53 -07:00
Linux Build Service Account
ff0dd6b599 Merge "qca-wifi: Reset unassoc entries for every cfr_pdev_open" 2019-09-25 22:38:13 -07:00
Abhiram Jogadenu
22a844a816 qca-wifi: Reset unassoc entries for every cfr_pdev_open
After every wifi up/down or load/unload, it is expected that
cfr enabled entries should be reset. Earlier, associated clients'
entires are cleared by FW. Unassociated entries are maintained by
host and were not cleared. This change clears them properly at
cfr_pdev_open level

Change-Id: I2dd7ce861901ccca72bc987c2f91677a481d401e
CRs-Fixed: 2531961
2019-09-23 16:07:37 +05:30
Shiva Krishna Pittala
3d1bae3723 qca-wifi: Adjust CFR as per multi srng support per pdev in DBR
Signatures of target_if_dbr_buf_release and
target_if_dbr_cookie_lookup got updated as part of multi srng
support per pdev in DBR. Update the same in CFR.

CRs-Fixed: 2528137
Change-Id: If53fd9a1a4e4a30b8d9ba3eda9ade887e2c3322b
2019-09-16 11:22:08 +05:30
Abhiram Jogadenu
8be4461102 qca-wifi: Correct CFR data version
Correct the version where CFR data is being populated.

Change-Id: I4c55b5beefb2f93e09df47162406876a1861fa00
2019-08-29 02:02:03 -07:00
Abhiram Jogadenu
1fb9ce28cb qca-wifi: Fill extracted phase information in CFR header
As part of FR 56301, phase data is being captured in CFR.
Fill the extracted information in CFR header.

Change-Id: Ia1f6245a1a18d1d11b266328b17e6506bd8439f4
CRs-Fixed: 2501944
2019-08-24 07:41:19 -07:00
Abhiram Jogadenu
b613622d32 qca-wifi: Add support for CFR capture on unassociated clients
As part of FR 56301, add support to capture CFR data for
unassociated clients on its Probe response's ACK

Change-Id: I14a4eead4ceeb3eb21d8f2bdf76007f873db1f4e
CRs-Fixed: 2501938
2019-08-22 11:48:38 +05:30
Himanshu Batra
a6fbe2319d qca-wifi: Replace void * tgt_if_handle with abstract type
Replace void * tgt_if_handle of objmgr psoc/pdev with
abstract type handles provided by target interface

Change-Id: I903bbae99ec784fe445dc55f954792542d91f380
CRs-Fixed: 2467129
2019-07-16 22:40:06 -07:00
Akshay Kosigi
3769272bbd qca-wifi: Fix for removal of common_wmi_handle
Add changes to remove usage of common_wmi_handle
Instead use wmi_unified_t as opaque pointer

Change-Id: Icaad5f740e4a3c7de5cbe7a5713ae0a9b550b542
2019-06-19 11:29:25 +05:30
Himanshu Batra
0216be4c56 qca-wifi: Consolidate IEEE80211_ADDR_LEN to QDF_MAC_ADDR_SIZE
Consolidate multiple (redundant) IEEE80211_ADDR_LEN to QDF_MAC_ADDR_SIZE

Change-Id: I30790ed7b8e6299353e639fc4cd39f72e8e699cd
CRs-Fixed: 2439274
2019-05-26 21:58:23 -07:00
Vikram Kandukuri
a44ea02af6 qca-wifi: Add chainmask in CFR header
Add chainmask in CFR header currently number of rx chains
are poulated.

Change-Id: I983819effcf68fe77fdef256a3359d9658aa20eb
CRs-Fixed: 2446696
2019-05-06 10:55:17 +05:30
Linux Build Service Account
e2bcdb045a Merge "qca-wifi: Fix KW issues in cfr component" 2019-05-03 03:36:01 -07:00
Abhiram Jogadenu
98f5714238 qca-wifi: Move into correct compile flags.
Move the code dependent on DIRECT_BUF_RX into necessary macros
to avoid compilation failure when WIFI_3_0 configs are disabled.

CRs-Fixed: 2445655
Change-Id: I61001f6d6a1d33bd9bd92b795c50813f1e88f87f
2019-05-02 10:57:32 -07:00
Vikram Kandukuri
b5d061ff6a qca-wifi: Fix KW issues in cfr component
Fix Suspicious dereference of pointer 'payload' before NULL check.
Fix 'status' might be used uninitialized in this function.

Change-Id: Ib799043555faafc655919c1e42d0fbc43c716b2f
2019-05-02 17:08:07 +05:30
Abhiram Jogadenu
7ab1a58c47 qca-wifi: Correct data populated in csi_cfr_header
Two fields got swapped while polulating csi_cfr_header and
a field was missed. Corret and add missing fields.

CRs-Fixed: 2421237, 2421241, 2421209
Change-Id: Ife8ebc663292af021cc4556985c088092509b339
2019-04-08 11:10:36 +05:30
Linux Build Service Account
e7ca874436 Merge "qca-wifi: Updating CFR's DBR handler API" 2019-04-04 15:21:39 -07:00
Abhiram Jogadenu
ffc16e72b6 qca-wifi: Correct bandwidths populated in CFR header
Channel and capture bandwidths got interchanged while filling.

CRs-Fixed: 2421520
Change-Id: I895161bae54525283ab8edcb6fcfb1112beadf73
2019-04-02 21:52:15 -07:00
Abhiram Jogadenu
de3c96a86a qca-wifi: Updating CFR's DBR handler API
DBR event handler needs parameters to config number of events to
be packed and timeout until it can wait to pack these events.
Add these parameters in CFR's DBR event registration.

CRs-Fixed: 2415489
Change-Id: Id417221f3bebef40b8f8d75c0365c3c4ec01fec3
2019-03-14 05:56:36 -07:00
Vikram Kandukuri
c4ae77d0e0 qca-wifi: Fix error prints in cfr initilization
we are seeing few error prints while registring
TX events per pdev. Ignore double registration
error during pdev init.

Change-Id: I185b1c9178a4632bd14b65314a623efee0597481
CRs-Fixed: 2414456
2019-03-12 05:29:00 -07:00
Abhiram Jogadenu
96b7e0affb qca-wifi: Register and correlate dbr and tx events
Register tx and dbr events and extract data required from
these events to pass it on to relayfs.

Change-Id: I9be9d0f9d47fa926406ee525742886d55229bab0
2019-03-07 20:36:56 +05:30
Linux Build Service Account
83a229c759 Merge "qca-wifi: Compilation fix for CFR macro enable" 2019-03-06 03:13:51 -08:00
Vikram Kandukuri
1fdabaa2ad qca-wifi: Compilation fix for CFR macro enable
Fixed compilation issues with CFR flag enabled

Change-Id: Id2f988240493bf40867046b52c9d8f116101f420
CRs-Fixed: 2408643
2019-03-05 14:56:31 +05:30
narayan
a2919f5a8c qca-wifi: Fix per peer config cfr stop command
Fix cfr stop wmi command and some other fixes checking for
sanity, error handling.

Change-Id: I9f0939fee2301f85e6e7b3338fd26e84676d7d6d
CRs-Fixed: 2407354
2019-03-04 00:21:34 +05:30
narayan
2e193a1fb1 qca-wifi: Fixes needed to enable cfr compile flag
Compilation fixes required to enable cfr compile flag

Change-Id: I0dd739a695d89a0effb6c116919ae915b2e22f0e
CRs-Fixed: 2407354
2019-03-01 22:43:07 -08:00
Abhiram Jogadenu
2b4f3898b4 qca-wifi: Extract ring params from dbr
Add API that gets ring parameters from dbr event

CRs-Fixed: 2404710
Change-Id: I26f98ea8cc1c0ea776b8a93f360bf1acc2a2a2d1
2019-02-25 19:15:16 +05:30
narayan
53332a3b48 qca-wifi: CFR feature Component Support
Add CFR component support for legacy chipsets including
the implementation of stream filesystem interfacing

Change-Id: Id92a4592425e901cc86061ae5eccefc5438efd45
CRs-Fixed: 2397716
2019-02-21 22:28:24 -08:00
Vikram Kandukuri
9475682c52 qca-wifi: Add CFR component
Add Channel Frequency Response component,
This provides dispatcher and core API that can
be used by other modules.

Change-Id: I032b312c6b88494756a21afb5a36179bceb2f214
CRs-Fixed: 2372061
2019-02-09 09:50:40 +05:30