The net buf tracking feature spend most of its time allocating
tracking cookies. By not tracking these tracking cookies in
qdf we achieve a 90% time saving. By keeping a freelist and
avoiding allocations altoogether, we save another 90%. This
feature is 99% cheaper. Throughput suffers less under when
the driver is forced to be cpu bound (eg. by mucking with the clockspeed).
Change-Id: If3268bdbbcf39aeb7278b1e51e17955eb2b47510
CRs-Fixed: 1024277
Initially, the QCA Wi-Fi driver was ported to support kernel
4.4. However, after the code changes due to converged code,
few issues were re-created when compiled on kernel 4.4.X.
This change resolves the newly introduced issues by the
converged code changes.
Change-Id: Iae76cdfee97675ff4bf2508ce5a42f08515bb168
CRs-Fixed: 1012511
Refactor DPTRACE to support new data path features like
TSO and FASTPATH and add support to log DHCP, ARP and
EAPOL packets.
Change-Id: I7f9e4be12d82fbf419b2402284928144df6824f0
CRs-Fixed: 1008087
At a cost of keeping 1023 more spinlocks in memory, we can avoid
spinlock contention between different hash keys while performing
the lookup.
Change-Id: Icca2bf0b49186176caf1ea40fb508efa7e7c89b4
CRs-Fixed: 1013620
Improve hash function to better utilize the memory entropy.
Do memory allocation outside of the spinlock.
Change-Id: Ife7da44c81463bfa9bcf19850d98471f5c61d3f3
CRs-Fixed: 1013620
Add QDF_BUS_YTPE_NONE in qdf_bus_type, which is used to represent
error bus type.
Change-Id: I274a795d32b2a5581b8849f5827cb8ac3bbf169b
CRs-Fixed: 1000113
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
Add target bus type field in qdf context, as bus type
needs to accessed at multiple layer.
Change-Id: I62b23d68743fedf205bb3859c0de50568ca09b7a
CRs-Fixed: 1009993
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
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
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
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