Commit graph

1,471 commits

Author SHA1 Message Date
qcabuildsw
c8e3d1986d Release 5.1.1.3O
Release 5.1.1.3O

Change-Id: I6eb199a1e8b4e4697383998e2692b3be5292d094
CRs-Fixed: 688141
2016-11-01 23:18:52 -07:00
gbian
b417db2f04 qcacmn: improve mboxping TX t-put for SDIO project
qcacld-2.0 to qcacmn propagation

Return HTC_SEND_FULL_KEEP directly in epping_tx_queue_full function
and give nodrop pkts higher priority over normal pkts

Change-Id: Ib36e1a9f34eb9054b12f0e8ba54a86ace7d6c8f8
CRs-Fixed: 990726
2016-11-01 23:18:51 -07:00
qcabuildsw
7aa5d2d431 Release 5.1.1.3N
Release 5.1.1.3N

Change-Id: I11e211f61fbf18ded460988e8af909f8e9fe27fa
CRs-Fixed: 688141
2016-11-01 20:06:54 -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
qcabuildsw
2658be83e4 Release 5.1.1.3M
Release 5.1.1.3M

Change-Id: I90bd8ea65d68030b7580452a6f78932a8473e012
CRs-Fixed: 688141
2016-10-31 09:54:12 -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
qcabuildsw
20ce19fc9e Release 5.1.1.3L
Release 5.1.1.3L

Change-Id: Ifcbdc2ed80615bf1780c87fd9cbca61aff37bec1
CRs-Fixed: 688141
2016-10-31 00:33:52 -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
qcabuildsw
bafba6753a Release 5.1.1.3K
Release 5.1.1.3K

Change-Id: I2ed1512665754f971fa7d12ed888d8b5b19ad1f3
CRs-Fixed: 688141
2016-10-30 05:29:11 -07:00
Nandha Kishore Easwaran
f43bcd23ec qcacmn: Update scan_ctrl_flags when strict passive scan enabled
Analysis: strict passive scan is not working as the scan_ctrl_flags
check is missed when strict passive scan enabled

Change-Details : Added a support in ol_ath_scan_start_send() and
send_scan_start_cmd_non_tlv() to update the scan_ctrl_flags with
WMI_SCAN_FLAG_STRICT_PASSIVE_ON_PCHN when strict_pscan_enabled

Change-Id: If6713e340841d4947ef9042421dabec35f7bfbae
CRs-fixed: 1069383
2016-10-30 05:29:10 -07:00
Nandha Kishore Easwaran
9d81d219e2 qcacmn: CTL changes for Beeliner family
For Beeliner family of chipsets, the number of values expected is 688
for 2G and 1540 for 5G

Change-Id: I2c47ed98f639c09453687fce7f713946304a7036
CRs-fixed: 1071083
2016-10-30 05:29:09 -07:00
qcabuildsw
58b28ac216 Release 5.1.1.3J
Release 5.1.1.3J

Change-Id: I75a4a4ebba002536ba8f3649b97a13b390d13747
CRs-Fixed: 688141
2016-10-29 20:52:06 -07:00
Venkateswara Swamy Bandaru
9e66f4f987 qcacmn: Fix WMI cmd send issue in case of 100% cpu utilization
WMI can queue the packets in both process and tasklet context. Before
queuing the packet H-TC will increase TxProcessCount. Only one core
can increase it and proceed for queuing the packets to HIF. At 100%
cpu utilization due to locking and unlocking the H-TC TX lock, one
core is holding TXProcessCount(and went to tasklet context and stuck
there) and other core is not able to queue the packets to HIF. Which
is creating virtual CE stuck case. Fixed the issue by acquing the
H-TC tx lock before the while loop which queus the packets
in H-TC queue

Change-Id: I435be9fa34b5ae86c6edb6ee29426a9134e5b6f2
CRs-Fixed: 1083038
2016-10-29 20:52:05 -07:00
qcabuildsw
2b7bad64b0 Release 5.1.1.3I
Release 5.1.1.3I

Change-Id: Ieecfd67cf79cba09c08e3432e08367c6957a3411
CRs-Fixed: 688141
2016-10-28 07:07:36 -07:00
Vijay Pamidipati
a3e1e3ca75 qcacmn: Add HAL Tx library needed for Lithium Datapath
Implement HAL APIs for accessing HW_TCL Data Descriptor,
processing of Tx MSDU Extension Descriptor and WBM Descriptors.

CRs-Fixed: 1073253
Change-Id: If6bd5c3ef7837b6968295d1a2cd5a18299d4ce42
2016-10-28 07:07:35 -07:00
qcabuildsw
7fee9bef35 Release 5.1.1.3H
Release 5.1.1.3H

Change-Id: If7f22796083f34188f67ea0d474d5947dcabb148
CRs-Fixed: 688141
2016-10-28 06:31:37 -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
qcabuildsw
2db804156c Release 5.1.1.3G
Release 5.1.1.3G

Change-Id: Ib9d9b5b05a6788ae7c01eaaa69700c3b90e00a74
CRs-Fixed: 688141
2016-10-28 05:22:00 -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
qcabuildsw
e3df35488a Release 5.1.1.3F
Release 5.1.1.3F

Change-Id: Ifdc6c3203a53ce66ce84baadc1f78f5b5ceab1aa
CRs-Fixed: 688141
2016-10-28 04:36:43 -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
qcabuildsw
2ea98eb544 Release 5.1.1.3E
Release 5.1.1.3E

Change-Id: Ifb7687ddb614880c3a3893126341baa2f25c6bf7
CRs-Fixed: 688141
2016-10-27 15:21:46 -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
qcabuildsw
2d9765faf7 Release 5.1.1.3D
Release 5.1.1.3D

Change-Id: Icc64ec4845172b64c74ce278cfe4c40070f8db52
CRs-Fixed: 688141
2016-10-27 05:48:36 -07:00
Govind Singh
0f785150ba qcacmn: Clear WMI cmd buffer after TX completion
WMI command buffer is not cleared after WMI command TX completion.
For DISA certification TK and GTK should not remain in the memory
area after disconnection. Since WMI command buffer is not cleared,
hence content of TK and GTK is still in host memory region.
Clear WMI cmd buffer after TX completion.

Propagation from qcacld-2.0 to qcacmn.

Change-Id: Ib09a77b630c932409645b7a989bd959f0ed4f514
CRs-Fixed: 1060982
2016-10-27 05:48:35 -07:00
qcabuildsw
20f6ccd450 Release 5.1.1.3C
Release 5.1.1.3C

Change-Id: I865034a45f1c1d99a1436d6c986db0220c3757ed
CRs-Fixed: 688141
2016-10-27 02:26:38 -07:00
Govind Singh
861d5da41d qcacmn: Remove arch_get_cpu_efficiency references from hif napi layer
Compilation error is seen for 32 bit builds as arch_get_cpu_efficiency
is not exported in 64 bit architecture cpu.

Remove arch_get_cpu_efficiency references from hif napi layer as this
information is not used as of now.

Change-Id: I68c31b1008696fc84bc5a563d45eaa507ae92981
CRs-Fixed: 1071783
2016-10-27 02:26:37 -07:00
qcabuildsw
ae4176f7c2 Release 5.1.1.3B
Release 5.1.1.3B

Change-Id: I4320d500447bb8a5c1ceb9f9e3a1163f1bcdcf1c
CRs-Fixed: 688141
2016-10-27 01:49:00 -07:00
Poddar, Siddarth
fbb155f557 qcacmn: Add NULL check for HIF state and CE state before dereferencing
Add NULL check for HIF state and CE state in ce_send_cb_register and
ce_recv_cb_register functions before dereferencing it.

Change-Id: I96cde91775ff77f6ae863b4d56e48c42e34104c7
CRs-Fixed: 1081995
2016-10-27 01:48:59 -07:00
qcabuildsw
fd30d93e23 Release 5.1.1.3A
Release 5.1.1.3A

Change-Id: I1d2ff50f846733a1421e28a88e3adbf795483b6e
CRs-Fixed: 688141
2016-10-26 21:34:32 -07:00
Sarada Prasanna Garnayak
8f62b99c33 qcacmn: Log Transport Layer Tag for debugging purposes
Log Transport Layer Tag for debugging. The tag differs for
normal command and the runtime pm commands.

CRs-Fixed: 1072520
Change-Id: I7ec085410aaa429cfeb8cc09729e62deee9c7d95
2016-10-26 21:34:31 -07:00
qcabuildsw
12c21d075a Release 5.1.1.3
Release 5.1.1.3

Change-Id: I71967abf56839c01bd2146361648fe0407835621
CRs-Fixed: 688141
2016-10-26 11:19:01 -07:00
Sathish Kumar
c4218f3dea qcacmn: Adapt WIN driver with FW abstraction changes
Recently added changes for coexistence of WIN/MCL TLV implementation
through CL I6868c288a43fd3afb19c84b8a9d4ef0dfbee5c94 require
adaptations in QCA WIN driver to successfully compile.

Add required definitions in WMI layer to adapt WIN driver to
changes made for coexistence.

Change-Id: I99550ca10553d8096b8967249c006bac4e0c62df
2016-10-26 11:19:00 -07:00
qcabuildsw
aef48266dc Release 5.1.1.2Z
Release 5.1.1.2Z

Change-Id: Icc42cf47fa474739d99ad4566a690cbdb31dc786
CRs-Fixed: 688141
2016-10-26 10:49:23 -07:00
Himanshu Agarwal
c0b7145916 qcacmn: Add infrastructure to log roam events in DPTRACE
Add infrastructure to log all roam related commands and
events in DPTRACE.

Change-Id: I66773fc23dfeacf3a63688819e099bf44676d95b
CRs-Fixed: 1081851
2016-10-26 10:49:22 -07:00
qcabuildsw
04dc129aa6 Release 5.1.1.2Y
Release 5.1.1.2Y

Change-Id: I5d91e66825746eb82ea579968103c2e8bf4f8ef2
CRs-Fixed: 688141
2016-10-25 23:43:30 -07:00
Venkateswara Swamy Bandaru
5432c1babc qcacmn: Add support for low memory platforms
For supporting low memory platforms, if fastpath is enabled, the number
of destinaton ring receive buffers are reduced from 512 to 64 for CE1.
Also when pktlog has been disabled, avoid allocating receive buffers
for CE8.

Change-Id: Ia4cd991ec14a5d69f13efee8e6f72db6da99f83a
Acked-by: Sahoo, Amarendra Kumar <c_aksah@qti.qualcomm.com>
CRs-Fixed: 1066302
2016-10-25 23:43:29 -07:00
qcabuildsw
c674941b07 Release 5.1.1.2X
Release 5.1.1.2X

Change-Id: Icde47d7594b9b1db434ca148c7701693b063770c
CRs-Fixed: 688141
2016-10-25 22:29:33 -07:00
Sathish Kumar
62e0928848 qcacmn: Abstract RTT related operations out of WMI layer
Currently, RTT related operations to change report type and number
of measurements are done in the WMI layer.

Abstract these operations out of WMI layer and keep it in the WIN
host API layer to make the RTT WMI API generic.

Change-Id: I9b73830912c6c2b3d0908788f1f6a77b7f43dcaa
2016-10-25 22:29:32 -07:00
qcabuildsw
04e642aae7 Release 5.1.1.2W
Release 5.1.1.2W

Change-Id: I940787ba43cd3c569bd6392d9da2c04d01457486
CRs-Fixed: 688141
2016-10-25 17:08:41 -07:00
Jeff Johnson
4729b6f857 qcacmn: Fix -Wmissing-prototypes in QDF
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in qdf.

Change-Id: Ib499e7d0a5bfb6d2e5a7eaa7fbe769bb2b49772a
CRs-Fixed: 1076314
2016-10-25 17:08:40 -07:00
qcabuildsw
4f17ef7198 Release 5.1.1.2V
Release 5.1.1.2V

Change-Id: I4bcfa5b2f90a404ae49f6282fb300e1442d62906
CRs-Fixed: 688141
2016-10-25 16:37:39 -07:00
Orhan K AKYILDIZ
84deb9727e qcacmn: Fix memset bug on error path
Fix the incorrect order of arguments to memset in two
places in the error path.

CRs-Fixed:  1082204
Change-Id: I4cd6e23930d4f34bb732499eda2b20845b09a3b2
2016-10-25 16:37:38 -07:00
qcabuildsw
f92c19b868 Release 5.1.1.2U
Release 5.1.1.2U

Change-Id: I9a28715275086e5f2fb58208745046de2d45d31a
CRs-Fixed: 688141
2016-10-25 05:10:22 -07:00
Himanshu Agarwal
0bf10fa3b2 qcacmn: Print proto type for ICMP/ICMPv6 packets
Propagation from qcacld-2.0 to qcacmn.

Print proto type for ICMP and ICMPv6 packets which
cause wow wakeup in HOST driver.

Change-Id: I6d8cf8ad65652205bfad1a3531daf48a42a79350
CRs-Fixed: 1080772
2016-10-25 13:10:09 +05:30
qcabuildsw
f596d93747 Release 5.1.1.2T
Release 5.1.1.2T

Change-Id: I66ad795097a39a27b13656cfb366bf3b1f001e02
CRs-Fixed: 688141
2016-10-24 22:56:36 -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