Commit Graph

8 Commits

Author SHA1 Message Date
Pamidipati, Vijay
6b0d2a800c qcacmn: Add a configure interface to get max_peers from OL_IF to DP
Currently max_peer value is hardcoded with DP wlan_cfg. This change adds
a generic interface to obtain a configuration parameter from OL_IF and
store in DP

Change-Id: Id437ab3bcd02fb1cbcbe8b56d55d19780af87066
CRs-Fixed: 2004658
2017-06-16 17:12:28 -07:00
Bharat Kumar M
9a5d537249 qcacmn: changes to support lithium nss offload
Changes include
1. nss_cfg parameter to dp_soc.
2. nss_enabled field for pdev.
3. cdp api to enabled nss offload config.
4. skip rx ring configuration when nss enabled.
5. skip timter /interrupt configuration if
   nss is enabled.
6. peer map/unmap event hander.

Change-Id: Ic4a919b6b7e846e18cb15ebcb94f8736a751ecb5
2017-05-17 19:30:25 -07:00
Dhanashri Atre
1404917b6e qcacmn: Add support for hash based rx steering
This change includes:
- Adding the hooks to send LRO and hash configuration to the firmware
- Configuring the REO remap registers

Change-Id: I6d83e2a2365647f2c7a6440bd1d4b42fa7df7eff
CRs-Fixed: 1094775
2017-03-13 14:01:49 -07:00
Ravi Joshi
fb39e00684 qcacmn: Add change to get rid of unused tx descriptor pools
Out of 3 tx descriptor pools, only the first one is being
used currently. Getting rid of unused tx descriptor pools.

Change-Id: I4efc0fd88ce7dae104c6ee49149f78eac89a2654
CRs-Fixed: 2005582
2017-03-09 10:10:32 -08:00
Ravi Joshi
891d520f96 qcacmn: Refactor lithium datapath configuration items
Refactor lithium datapath configuration items. This is a placeholder
for now. The actual configuration should come from target or the
platform configuration.

Change-Id: I3a53110cf3d89efcb92da66b94b412af9f46cd62
CRs-Fixed: 2005582
2017-03-08 18:42:36 -08:00
Dhanashri Atre
d4032abf27 qcacmn: Support for configuring 2nd MAC
Add support to configure the second LMAC ring
which is needed for DBS.

Change-Id: Idb055621d174c994e267dc6dcca2bc798ae79bfc
CRs-Fixed: 1116939
2017-02-01 16:23:38 -08:00
Jeff Johnson
590aeb60c8 qcacmn: Properly export wlan_cfg API
Currently some of the public functions in wlan_cfg.c do not have their
prototypes exposed in a header file. This causes compilation warnings
when the driver is compiled with the -Wmissing-prototypes switch.  Fix
these issues by adding the prototypes to wlan_cfg.h.

Change-Id: I914b811fdd8d48c9570bd240f0fdc8192b21c2e8
CRs-Fixed: 1108113
2017-01-09 09:55:27 -08: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