Commit Graph

663 Commits

Author SHA1 Message Date
Yuanyuan Liu
ae38003449 qcacmn: Clean up OS wrapper functions
Use OS standard APIs instead of CNSS wrapper functions

Change-Id: Icd048f41864c33463f4bb582d8d184816fa77c5d
CRs-Fixed: 1000797
2016-05-06 13:09:08 -07:00
Houston Hoffman
e52902c4a5 qcacmn: Remove cds_api and wma_api includes
The inclues are not needed.

Change-Id: I874a511535fded52f346201b24f6d3174334b430
CRs-Fixed: 1003804
2016-05-04 21:10:40 -07:00
Abhishek Singh
0921144f1e qcacmn: Reduce the QDF_GET_MEMORY_TIME_THRESHOLD to 300ms
qcacld-2.0 to qcacmn propagation

Issues are seen where memory allocation takes 300-1000ms.

So to detect this reduce the QDF_GET_MEMORY_TIME_THRESHOLD value
to print the time taken by kmalloc, to 300ms from 3 sec.

Change-Id: I0f7e1587b2ddd2839d70a19b047aa46bb6a2cea1
CRs-Fixed: 970017
2016-05-04 21:10:04 -07:00
Govind Singh
d9615ed1e0 qcacmn: Add target bus type field in qdf context
Add target bus type field in qdf context, as bus type
needs to accessed at multiple layer.

Change-Id: I62b23d68743fedf205bb3859c0de50568ca09b7a
CRs-Fixed: 1009993
2016-05-03 00:08:58 -07:00
Anurag Chouhan
8bfdee0154 qcacmn: Add WIN Driver compilation fix
Fix compilation errors for WIN driver

Change-Id: I2b7344c9632ea673754aa1f4d7003473b2527ada
CRs-Fixed: 981187
2016-04-28 13:02:20 -07:00
Nirav Shah
caf80788e6 qcacmn: Do not update control block for push/pull operation
Do not update physical address in control block while
nbuf push/pull operation for WIN.
Also uncomment dma_sync_single_for_cpu function in
__qdf_nbuf_sync_single_for_cpu.

Change-Id: Id80ed3e01162e44d90981885c3d387950323bce8
CRs-Fixed: 1006569
2016-04-27 17:11:16 -07:00
Hardik Kantilal Patel
732caef504 qcacmn:: Change QTIMER API as per 4.4 kernel
Use arch_counter_get_cntvct API for QTIMER API on
Kernel 4.4.

CRs-Fixed: 999964
Change-Id: Ia28c6759cfecfdcc7bd938089b3198eac7dcd961
2016-04-25 23:02:54 -07:00
Gupta, Kapil
8b2f77a059 qcacmn: Add support for beacon filtering
qcacld-2.0 to qcacld-3.0 propagation

In case of DFS channels and EBT is disabled, beacons are
forwarded to host in every 50msecs which increase power consumption.
Add the changes to set beacon filter once DUT connect to AP.

CRs-Fixed: 973958
Change-Id: I1a9379eacbd13f8dc7fae08923cd91f087d1b2b2
2016-04-20 15:48:53 -07:00
Manjunathappa Prakash
4a9c3a8fb6 qcacmn: Cleanup fastpath changes
Do following cleanup on fastpath code changes:
1) Do not reap off Tx HIF buffers in Rx handling, instead handle
   reaping in Tx fastpath itself.
2) In ce_per_engine_service_fast check for more Rx packets after
   packet processing.
3) Make stub functions as static inline for non-fastpath enabled case.

Change-Id: If07c4344a424ce13b94128bf28931a24255b661a
CRs-Fixed: 987182
2016-04-17 15:23:37 -07:00
Sandeep Puligilla
4afc7c37ac qcacmn: Add qdf roundup macro
Add qdf utility macro to roundup the input value

Change-Id: Ic1a7ee0d3a35090b3d0f24858ba8003eee86b057
CRs-Fixed: 947086
2016-04-14 18:41:41 -07:00
Anurag Chouhan
19717c09c9 qcacmn: Replace linux API with QDF API's
Replace linux spinlock API's with OS abstracted spinlock API's.

Change-Id: I6292b306a92b853eaddb19839fe0f976edf2f93f
CRs-Fixed: 981187
2016-03-24 03:08:20 -07:00
Anurag Chouhan
85bc91a97b qcacmn: Add WIN Driver compilation fix.
Fix compilation errors for WIN driver.

Change-Id: Iae6201b06c3b9931f3f6af78c2e1691755b8bcf7
CRs-Fixed: 981187
2016-03-24 15:34:06 +05:30
Chouhan, Anurag
5776318d19 qcacmn: Add QDF OS abstraction convergence
Converge ADF and CDF API's and move them to
QDF folder. MCL/WIN driver use this QDF converged
module for OS abstraction.

Change-Id: I1d0cdfd8730a5c021aaa50b7dc8549d491d760b3
CRs-Fixed: 981187
2016-03-16 12:18:26 -07:00