Commit Graph

20 Commits

Author SHA1 Message Date
Himanshu Batra
37b16cda06 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
b247d8e689 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
e460ccec98 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
4b8d28d999 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
b3ef740c2d Merge "qca-wifi: Fix KW issues in cfr component" 2019-05-03 03:36:01 -07:00
Abhiram Jogadenu
3678ea24ad 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
605c8118aa 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
c0f1ac1dff 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
19704f4867 Merge "qca-wifi: Updating CFR's DBR handler API" 2019-04-04 15:21:39 -07:00
Abhiram Jogadenu
0458ba49eb 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
a8065f6377 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
37fbf98811 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
d18e21fcba 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
954947c086 Merge "qca-wifi: Compilation fix for CFR macro enable" 2019-03-06 03:13:51 -08:00
Vikram Kandukuri
90354665a2 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
57cc49dfbe 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
6ffa911be3 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
bd7b551c56 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
70480abe44 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
1f97c2c40e 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