Графік комітів

1837 Коміти

Автор SHA1 Повідомлення Дата
Nandha Kishore Easwaran
870abdada3 qcacmn: Remove common htt.h file and add cmn enum
Remove the htt.h file inclusion from inside the cdp layer.
The upper layers should include this. Create a common
enum structure to be used inside the cdp_if layer.
Translation will take place in the DP layer.

Change-Id: I0c3e30eab54c0efafb917ddb304678a392788c2b
Crs-fixed: 1075597
2016-11-17 19:13:00 -08:00
Nandha Kishore Easwaran
2906ce1943 qcacmn: Remove unnecessary flags
Remove the unnecessary compilation flags from cmn_dev

Change-Id: I39cb16122d1db930f1c759e206daedf85eebf612
Crs-fixed: 1075597
2016-11-17 19:12:59 -08:00
Nandha Kishore Easwaran
e5444bc96d qcacmn: Add CDP_IF wrapper layer for data path
Added a new layer CDP_IF inside dp which is an intermediate
between the data path functions and the upper layers. All function
calls from outside the DP layer to the DP layer goes via the CDP_IF
layer

Change-Id: I76e671c85d2d02aa0a65a90b356840d3aeede52d
CRs-Fixed: 1075597
2016-11-17 19:12:58 -08:00
Manjunathappa Prakash
2146da30dd qcacmn: Add changes for per NAPI or per Rx CE LRO manager
Make changes for per per Rx context LRO manager, this addresses
all parallel Rx concurrency issues. There by removes all the contention.

Change-Id: I90604ffdf7b7fd930eee636426a4c7fc9b92c7d7
CRs-Fixed: 1079320
2016-11-15 00:35:31 -08:00
Nandha Kishore Easwaran
132a470105 qcacmn: Enable STAT log for tx time and rx time
STATS log for:
a) total time for tx
b) total time for rx(inside bss)
c) total time for rx(outside bss)
On "iwpriv athX txrx_fw_stats 24" command, stats logged
On "iwpriv athX txrx_fw_stats 25" command, stats logged and reset

Change-Id: I3b7d794e155916745a2c6c045984b416d3dc91ee
CRs-Fixed: 1072258
2016-11-11 00:07:13 -08:00
Nandha Kishore Easwaran
72c39f9723 qcacmn: Add iwprivs for AGILE DFS
Enable/disable agile mode.
Set pre-cac timeout.

Change-Id: Ib3a68b53938ad6f1fe5075be7ca4d591744b9a31
CRs-fixed: 1075392
2016-11-02 05:14:31 -07:00
Vijay Pamidipati
b775e13093 qcacmn: Add top-level interrupt handling support for DP
Add support for initialization of Lithium Datapath interrupts
and top-level interrupt handler for Datapath interrupts

CRs-Fixed: 1073253
Change-Id: I690d914221cf8a6d2ffdeb25785b1d534f56dfe7
2016-11-01 20:06:53 -07:00
Vijay Pamidipati
d41d6d6a49 qcacmn: Add configuration interace for Lithium Datapath
Add a generic framework (wlan_cfg) for all configuration parameters
(eg.number of tx/rx rings) used by DP. Define all the parameters
as macro constants. We will later enhance wlan_cfg framework to
read these parameters from device tree file or ini file and populate
in DP config structures.

CRs-Fixed: 1073253
Change-Id: I7e4ddadb64006d17399acb68f92cf17fe23a98e2
2016-11-01 20:06:52 -07:00
Pamidipati, Vijay
576bd154a2 qcacmn: Add Lithium DP Tx core functionality
Implement Lithium Core Tx Data Path, Tx HW descriptor processing
and Tx Completion Path (Processing of WBM Release Ring)

CRs-Fixed: 1073253
Change-Id: I11bebc49177398a157fcd161228859e2ef860402
2016-11-01 20:06:51 -07:00
Leo Chang
c2a7b763d1 qcacmn: add tx descriptor handle
Add memory optimized tx descriptor alloc, free and handle code

Change-Id: Iabd499b7690bbf8bc09223ea7e72e8f81818482a
CRs-fixed: 1076601
2016-10-31 09:54:11 -07:00
Debashis Dutt
f89574ad9a qcacmn: Add Lithium RX HAL definitions / macros / API's
Add HAL definitions, macros & API's for Lithium Rx Path. These include:

 - #defines, enums required for accessing REO/WBM/RXDMA descriptors

 - API's required to abstract access to REO/WBM/RXDMA related data
   structures

CRs-Fixed: 1074199
Change-Id: Ia359d105352f4c543b608c761c9020aca7c6260a
2016-10-31 00:33:51 -07:00
Debashis Dutt
390645c6e1 qcacmn: Add Lithium RX Core Error Processing Infrastructure
Implements the core error processing infrastructure
for:
 - REO exception ring and
 - WBM SW Release ring.

Individual error handling (e.g Defragmentation) will
be added going forward.

In this first check-in all frames routed to the WBM release ring
are dropped except MC/BC packet that get routed to this ring,
due to the default configuration (MC/BC packets cause NULL queue
descriptor violation).

Change-Id: I57a7be19d51907d6b6df2e62246a45da07325f49
CRs-Fixed: 1074199
2016-10-28 06:31:34 -07:00
Dhanashri Atre
7351d17b41 qcacmn: MCL Buffer Replenishment
Add support for replenishing the rx buffers using the host to
firmware buffer ring.

This includes adding a flag QCA_HOST2FW_RXBUF_RING:
When QCA_HOST2FW_RXBUF_RING is enabled the host will do the following:
- Allocate the refill buffer ring (HTT_HOST1_TO_FW_RXBUF_RING) and
populate it with
 rx buffers
- Send the refill buffer ring configuration to the firmware
- Allocate the rx DMA ring (HTT_RXDMA_HOST_BUF_RING), leave it empty.
- Send the rx DMA ring configuration to the firmware

When QCA_HOST2FW_RXBUF_RING is disabled, the host will do the following:
- Allocate the rx DMA ring (HTT_RXDMA_HOST_BUF_RING), and populate it with
 rx buffers
- Send the rx DMA ring configuration to the firmware

CRs-Fixed: 1074199
Change-Id: Iec05a973cd9d628c742e3aaa16b8dabc7797625d
2016-10-28 05:21:59 -07:00
Debashis Dutt
c4c52dc1fd qcacmn: Add Lithium RX Core Processing Infrastructure
Add Lithium Rx basic packet processing path from REO.
Implement the following in this patch:

 - Rx buffer replenishment directly to RxDMA rings (WIN)

 - Rx descriptor management

 - Rx Path Processing for non-error packets

 - RxDMA optimization (access on 128 byte boundary)

Change-Id: I25aea3a79d5494a0447bc7ca919acb87b74f2760
CRs-Fixed: 1074199
2016-10-28 04:36:42 -07:00
Karunakar Dasineni
9b814ce7e5 qcacmn: Lithium data path initialization
1. Intial version of Lithium data path initialization
2. HAL changes for REO and WBM setup

Change-Id: I52f638faf6e60c2a932acc3c76788bf8946c30db
2016-10-27 15:21:45 -07:00
Nandha Kishore Easwaran
92ee60bd8a qcacmn: IWPRIV support for preferred uplink
Add IWPRIV support for preferred uplink. Preferred uplink will
be the interface chosen by the user during creating a fast lane
using two radios.

Change-Id: Id9333f9f083b6a34e7998ca9b02be94c220ed6e8
CRs-fixed: 1069444
2016-10-24 22:56:35 -07:00
Nandha Kishore Easwaran
328e551692 qcacmn: Added iwpriv control for secoffset and wide band subelement IE
Summary: below iwpriv comamnds are added for wifiN interface:
iwpriv wifi0 sec_offsetie 0/1 --> 0: Disable, 1: Enable secondary offset IE
iwpriv wifi0 g_sec_offsetie  --> Get secondary offset IE configuration
iwpriv wifi0 wb_subelem 0/1 --> 0: Disable, 1: Enable wide band sub element
iwpriv wifi0 g_wb_subelem  --> Get wide band sub element configuration

Change-Id: Id4695ab1eb7ba1bccb800936d2f6d7bd0e8ad946
CRs-fixed: 1074098
2016-10-24 22:56:34 -07:00
Nandha Kishore Easwaran
2bfa221519 qcacmn: Fix compilation errors
Add a new compile time flag ENHANCED_STATS so that
the function under that flag gets declared

Change-Id: I38c2e7c36d5aaad315597bad011359ce7f947069
CRs-fixed: 1066302
2016-10-24 22:56:33 -07:00
Nandha Kishore Easwaran
c732aa6b69 qcacmn: Adding new ATH config params
Add new ATH config params for alwaysprimary and fastlane

Change-Id: I05b15ebaa440896e3f7fc03424f614a486c16f9c
CRs-fixed: 1066381
2016-10-24 22:56:32 -07:00
Nandha Kishore Easwaran
4b8148b9d1 qcacmn: Phase 1 DP changes
Move ol_txrx_get_en_stats_base to cmn_dev as part
of DP phase 1 changes

Change-Id: Icc05beb31d3bdcf0e6d7d5b0d2add888118d89e7
CRs-fixed: 1058170
2016-10-24 22:56:30 -07:00
Srinivas Pitla
b5d3912da0 qcacmn: Merging collard DP changes
1)In the current implementation, txrx fw stats are radio level stats.
	  In collard, txrx fw stats are enhaced to fetch VAP based Tx MU stats,
	  Tx sounding info and Tx Selfgen stats.
	2) Merging new ATH params configs

Change-Id: I817ec4fe08f0a4d0e69262441378b0f6c3418f7f
2016-10-20 12:17:20 -07:00
Pratik Gandhi
424c62e877 qcacmn: Address compilation issues for WIN new fw headers
Address compilation issues for WIN with new Lithium Firmware headers.
Also removed dependency on htt.h from header files, which may need to
add explicit dependency on htt.h in .c files.

Change-Id: Ia5027963837e645bc3f81a3db98c2ea06789aea8
CRs-Fixed: 1061096
2016-09-19 01:19:28 -07:00
Houston Hoffman
e421a3c06d qcacmn: Compilation fix in DP layer caused due to transport layer
define QCA_OL_11AC_FAST_PATH is changed to WLAN_FEATURE_FASTPATH

Change-Id: I9f6cbddf4a4975d940c822fa90d24350d83f7a96
Acked-by:  Venkateswara Swamy Bandaru <vbandaru@codeaurora.org>
CRs-Fixed: 1040617
2016-08-03 14:25:49 -07:00
Dhanashri Atre
d11e25c3a7 qcacmn: Add new fields to radiostats and OL_PARAMS
Integrating ToT changes from WIN Bokchoy branch.
These changes have been added as part of Bokchoy FRs implementation

Change-Id: I0637e3ffcbc49ce05aac20baa2da2940dfa6d77c
CRs-Fixed:1031703
2016-06-30 12:50:41 -07:00
Deepak Dhamdhere
987c1fa61b qcacmn: Add messaging interface to support NAN data path
This is qcacmn portion of qcacld-2.0 to qcacld-3.0 propagation
Add commonly used definitions for NAN datapath, like QDF_NDI_MODE.

CRs-Fixed: 962367
Change-Id: I1f42c8dab17b3a300db61756c29fc02d3d3bc504
2016-06-29 19:42:14 -07:00
Nirav Shah
c64364e6a9 qcacmn: Add logic to log pause/unpause time
Add logic to calculate pause and unpause time for
network queues to debug data path issues.

Change-Id: I825b10837d999384a91ca3c2271e472a71fd8863
CRs-Fixed: 999861
2016-06-06 18:52:20 -07:00
Dhanashri Atre
fd04653483 qcacmn: Fix compilation issue
Fix WIN compilation issue.

Change-Id: I1d8bb73776e974b3706e7c3576cb576d40b1e5b8
CRs-Fixed: 993414
2016-05-04 21:09:59 -07:00
Yuanyuan Liu
4e3feeb40b qcacmn: Fix compilation errors for msmcobalt
Fix compilation errors when building for msmcobalt.

CRs-Fixed: 1006068
Change-Id: I26af2637ca95df0765055e7909905babce6a09cb
2016-04-21 20:32:15 -07:00
Poddar, Siddarth
841f5e87c6 qcacmn: add ini support for throttling period duty cycles
qcacld-2.0 to qcacld-3.0 propagation

Provide support to configure duty cycle by adding ini item for
different level duty cycle.

CRs-Fixed: 990798
Change-Id: I95e4f4af669fd50c5b9fc10ffc61fa5d447b5bcf
2016-04-20 15:48:48 -07:00
Dhanashri Atre
fe5662c2b8 qcacmn: Data path converged internal APIs (Set 2)
Initial check-in of the data path converged APIs that
are currently only implemented by WIN.

Change-Id: I68bc403dc652b514bfcc27f1eac1e9c5ca27c8d8
CRs-Fixed: 993414
2016-04-01 16:24:39 -07:00
Dhanashri Atre
0a485f1a58 qcacmn: Fix the return type of the rx function
Receive function should return QDF_STATUS type

Change-Id: I420a117ff723e7bb880abd731ec34c96f526c85a
CRs-Fixed: 993414
2016-04-01 16:23:17 -07:00
Manjunathappa Prakash
5f45de5139 qcacmn: APIs to access core datapath data structures
Non datapath modules use these APIs when they work with datapath
module data structures.

Change-Id: Ic257c6fc621820199b1691b8e62f7f7109237b01
CRs-Fixed: 993414
2016-03-31 13:35:44 -07:00
Manjunathappa Prakash
a22c2169fb qcacmn: Converged datapath APIs (set 1.1)
Add below changes:
1) Add peer handling functions.
2) Bring in the APIs under else(#else) part of compile time flags
   QCA_SUPPORT_TXRX_LOCAL_PEER_ID, QCA_COMPUTE_TX_DELAY and
   QCA_SUPPORT_TX_THROTTLE.

Change-Id: I08b101702a7d0d870e9fab9b8a3cc7cc19d3464f
CRs-Fixed: 993414
2016-03-31 13:35:43 -07:00
Dhanashri Atre
9c222b15b0 qcacmn: Data path converged internal APIs (Set 1)
Initial check-in of the data path converged APIs that
are currently only implemented by MCL.

Change-Id: I8132aeef4631a8e2fb5e132126a0fc5292c96d12
CRs-Fixed: 993414
2016-03-31 13:35:41 -07:00
Dhanashri Atre
5b64648f9f qcacmn: Data path converged common APIs
Initial check-in of the shared converged APIs and structures
on the data path

Change-Id: I29a9a587832cbe25a43267135e3df896f1a3e7b1
CRs-Fixed: 993414
2016-03-31 13:35:37 -07:00
Dhanashri Atre
795d5196b6 qcacmn: Clean-up the data path folder
Clean-up the data path folder to create an empty canvas which
should contain only the converged data path APIs.

Change-Id: I90002dc48ef1a2f8d11ab7064ec900fcd82c0fe9
CRs-Fixed: 993414
2016-03-31 13:35:35 -07:00
Prakash Dhavali
142cee4bf2 Initial host-common file folder cleanup and moves
Initial host-common file folder cleanup and moves
on top of baseline reference of MCL WLAN driver
SU#5.0.0.160.

Move dp, ht comm, hif, wmi and qdf folders one level up

Change-Id: I2120898024b1eafd5d651c48768dbf48bf05995d
2016-03-03 01:02:02 -08:00