Commit Graph

20 Commits

Author SHA1 Message Date
Santosh Anbu
5b58d0b368 qcacmn: Enable notifier chain registration API
The qca wifi driver requires to register
with the Linux notifier chain
for handling panic events.

Enable build for QAL API's
for registration with Linux panic notifier chain

Change-Id: Ibe5376613b66cb90bcb1e84dfeb28365ab19cfb7
CRs-Fixed: 2413782
2019-03-20 22:10:32 -07:00
Debasis Das
017bc12dc3 qcacmn: Enhancement of OS abstraction API's
The API's added in qal & qdf for abstracting the
OS calls are inlined and moved to the OS-specific
src directories.

Change-Id: I9c9c2cbba7702c97fbe343ceb63b330c2296084d
2019-03-20 22:10:24 -07:00
Dustin Brown
1475aad768 qcacmn: Move qdf_status_to/from_os_return()
QDF_STATUS is defined in qdf_status, but related APIs
qdf_status_to_os_return() and qdf_status_from_os_return() are defined
in qdf_util. Create a new file, qdf_status.c, and move these functions
there instead.

Change-Id: Iaa2efa5f662be014a61a8490c3fab411ec0f2054
CRs-Fixed: 2395178
2019-02-12 13:09:59 -08:00
Vikram Kandukuri
882e5c62e5 qcacmn: Add RelayFS support in component_dev
Update Kbuild to add RelayFS support in component_dev.

Change-Id: I7b6b34378b40e9dd670066a69542c3cb351ef895
CRs-Fixed: 2327607
2018-11-15 08:20:44 -08:00
Amir Patel
20a0efabb1 qcacmn: Add qdf_platform source file to qdf/Kbuild
Add qdf_platform source file to qdf/Kbuild and
clean-up WAR introduced in change
I8172f3dbe0716be24a4dda739afb49f94528a4f6

Change-Id: Icb76d53544590b8bcace275ef52870606fb5d826
2018-09-24 18:55:20 -07:00
Debasis Das
008baa9b4d qcacmn: Abstraction mechanism for OS API's
Provide support for abstraction layer for OS API's.

Change-Id: I1f51350c2ae4c35330aa7355e9cd20fa28aad194
CRs-Fixed: 2222560
2018-08-14 16:50:12 -07:00
Sathish Kumar
18617b8638 qcacmn: Decouple netlink service and wlan logging service
Netlink service init and exit is invoked as part of wlan logging
init and exit during qdf module init and exit. This brings in a
hard dependency to enable and compile wlan logging service
even if not used.

Decouple netlink service and wlan logging service to remove
inter-dependency. WIN qdf module currently does not require wlan
logging to be enabled. This separation leads to bss savings in qdf
module.

Change-Id: Ib0afafd196106eba78ad9783eb1a6cece77c00fa
CRs-Fixed: 2258640
2018-06-22 08:18:23 -07:00
Dustin Brown
03a7ac6e19 qcacmn: Add reduction limit to qdf_flex_mem
Add the ability to prevent qdf_flex_mem_pool from freeing memory
segments unless there are more than some minimum number in the pool
already.

Change-Id: I20bde2ed629b97924ea71b4f7f46a2c1fc1bab28
CRs-Fixed: 2229511
2018-05-11 13:23:00 -07:00
Shiva Krishna Pittala
b155431361 qcacmn: Fix the limitations in enabling memory debug on WIN
Copy the file name to a QDF local array, rather than using
the pointer to file name, to avoid access to the invalid pointer.
Also, separate out SKB debug from memory debug.
SKB debug will be enabled once the SKB related false positives are fixed.

CRs-Fixed: 2216661
Change-Id: I0ada1acb84c24c961cf614c9c47261f272959874
2018-04-11 09:15:20 -07:00
Vivek
077f9c27fc qcacmn: Enable QDF parsing and file read functionalities
Enable the QDF parse and file reading functionalities in
Kbuild of QDF for using INI CFG component.

Change-Id: Ia6763d75e81d8b35da50fb08365fb5c2498d7b0a
CR's Fixed: 2148694
2018-03-23 07:20:02 -07:00
Chaithanya Garrepalli
221c795fea qcacmn: Add nbuf count support
Add a global nbuf count variable and add support to update
this count.

Change-Id: I08a50b54cae25ab9f356cd05d7635f1ba3b6bf55
CRs-Fixed: 2008240
2018-02-07 05:43:53 -08:00
c_cgodav
3f2a92dd13 qcacmn: Clean up of magpie/k2 related code and files
Since support for magpie/k2 are EOL WLAN for past several
releases, we do not expect customer revisiting these products.
So all the code under ATH_SUPPORT_HTC has been removed.
Tests done:
MIG has passed

CRs-Fixed: 2105074

Change-Id: Idc6a1f28eda5cb09edf5375c142d9cb12d81ce0b
2017-10-18 02:03:11 -07:00
Balamurugan Mahalingam
d85083e7be qcacmn: Remove pld_common.h from pld_stub folder which is no longer used
Change-Id: Ib3d6f6b45dbc15f3ad0c00e03be3b179afd923b9
2017-10-06 10:25:17 -07:00
Karunakar Dasineni
11e51e2863 qcacmn: Add pld_stub/inc to qdf include path
Add pld_stub/inc to include path in WIN qdf Kbuild.

Change-Id: I5a00e4a797384445513f9d48d03c8caa6585e0c0
CRs-Fixed: 2111926
2017-09-19 16:34:30 -07:00
Adil Saeed Musthafa
e3599a90e3 qcacmn: Remove all non-QDF directories from include paths
CRs-Fixed: 2026943
Change-Id: I6fa1ba02552b0c1d10c891471e072f9b235e6de8
2017-04-11 11:04:20 -07:00
Baila, Shashikala Prabhu
f664eee546 qcacmn: Kbuild changes to include regdomain dispatcher file in
qdf

Change-Id: Icd8420195ace9bd193efb7d6bc55743d25a95c2e
CRs-Fixed: 2026170
2017-03-30 03:20:26 -07:00
Adil Saeed Musthafa
3318807269 qcacmn: Add shared print_ctrl_obj for qdf_trace_msg
At this point lot of Win code already uses QDF_TRACE macro. It will be
difficult to translate QDF_TRACE to qdf_trace_msg unless all the modules
(already using QDF_TRACE) make changes to use the qdf_print_ctrl
framework. Until that happens, we can have a shared object temporarily
so that wlan_log_to_user and hence user space logging of messages can be
in place

Change-Id: Ia149b86de8c2c36ed1c8508570b31db25f6bc41e
CRs-Fixed: 2018767
2017-03-28 13:50:42 -07:00
Adil Saeed Musthafa
bcf62ed43e qcacmn: Initialize utils/logging module from QDF
When LOGGING_UTILS_SUPPORT is turned on, initialize utils/logging
module

Change-Id: I07421ab8979e6f58133ba7b386b9772707be5930
CRs-Fixed: 2010251
2017-02-23 20:15:24 -08:00
Sathish Kumar
59113a4840 qcacmn: Add generic logging API adhering to converged framework
As part of cleaning up direct printk calls in WIN driver, a new
generic wrapper API QDF_PRINT_INFO() is added that is based on
the converged QDF debug framework.

All printks in the WIN driver will be replaced by calls to QDF_PRINT_INFO()
which will in-turn compile converged QDF trace API. Generic shared print
control index and module ID are defined for this purpose.

Change-Id: I818fbce9e46526ccdb4824d988b76c43e43eb3a4
CRs-Fixed: 1106829
2017-01-09 02:00:03 -08:00
Anurag Chouhan
2d2a380688 qcacmn: Add WIN Driver Kbuild
Add Kbuild file into qdf, fix for win driver .

Change-Id: I9d1e1b5be5c6669f9e0327c2727c59284790c9d0
CRs-Fixed: 1012511
2016-06-28 10:45:20 -07:00