Commit Graph

1458 次程式碼提交

作者 SHA1 備註 提交日期
qcabuildsw
a756436ca7 Merge "Release 5.1.1.3G" into wlan-cmn.driver.lnx.2.0-dev 2016-10-28 18:36:27 -07:00
Service qcabuildsw
b9098a9c73 Merge "qcacmn: MCL Buffer Replenishment" into wlan-cmn.driver.lnx.2.0-dev 2016-10-28 18:36:21 -07:00
qcabuildsw
980bf6dec7 Merge "Release 5.1.1.3F" into wlan-cmn.driver.lnx.2.0-dev 2016-10-28 18:35:42 -07:00
Service qcabuildsw
2b66f1ab99 Merge "qcacmn: Add Lithium RX Core Processing Infrastructure" into wlan-cmn.driver.lnx.2.0-dev 2016-10-28 18:35:35 -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
3a3555900f Release 5.1.1.3F
Release 5.1.1.3F

Change-Id: I60ddfcd6166bab73cd6f5de4435e1649f6f7f8a0
CRs-Fixed: 688141
2016-10-28 04:09:13 -07:00
Himanshu Agarwal
3f54962309 qcacmn: Enable logging of all DPTRACE logs for protocol packets
Enable logging of DPTRACE logs at each layer of driver and at tx
completion for all tx as well as rx protocol packets.

Change-Id: Id568c19196702034989a0f55490bc62667b3b20e
CRs-Fixed: 1083002
2016-10-28 04:09:12 -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
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
qcabuildsw
42a3958848 Release 5.1.1.2S
Release 5.1.1.2S

Change-Id: I0b9d9d2f1d583324ae989f86b5470273546d1593
CRs-Fixed: 688141
2016-10-23 21:05:30 -07:00
Sathish Kumar
532efd251f qcacmn: Set txrx chainmask to 0 for non CFR RTT report type
TxRx chainmask is populated by the FW only in the case when report
type is WMI_RTT_REPORT_CFR.

Populate txrx chainmask to 0 when RTT report type is non-CFR to avoid
corruption.

Change-Id: Ie728656efe2f608e90a15b6fc94be3159db0f635
CRs-Fixed: 1080686
2016-10-23 21:05:29 -07:00
Sathish Kumar
3fc96f7b25 qcacmn: Add LOWI messages to be sent to FW
LOWI messages to register, set capability
and send RTT measurement request are not sent assuming only
LCI and LCR messages are sent out to the FW using ol_ath_lowi_data_req_to_fw.

Add code to send messages other than LCI and LCR through the API in
ol_if_lowi.c when msg subtype is not one of LCI or LCR.

Change-Id: I2deedaa6e03e769bf802337b2ec93d9573eb1b5a
CRs-Fixed: 1079169
2016-10-23 21:05:28 -07:00
qcabuildsw
06c49d2c4e Release 5.1.1.2R
Release 5.1.1.2R

Change-Id: Ic98f2ebd3989197f2012adafbe0409b82849b4ca
CRs-Fixed: 688141
2016-10-21 13:09:17 -07:00
Sarada Prasanna Garnayak
df1c4b2f77 qcacmn: Add API in HIF to read Runtime State in readable format
Improve Runtime PM state logging for debugging purposes.
Log transport layer tag as well.

Change-Id: I90b74693c8c84a09a8cca64276ad62b7157160cb
CRs-Fixed: 1072520
2016-10-21 13:09:16 -07:00
qcabuildsw
0c6c4f3e40 Release 5.1.1.2Q
Release 5.1.1.2Q

Change-Id: Ia81c31e73fb90fcc01185b3b8a813846d80eb2ef
CRs-Fixed: 688141
2016-10-20 15:12:29 -07:00
Houston Hoffman
ebc2bbce56 qcacmn: Free pkt in wmi_unified_cmd_send error path
The packet is allocated in wmi_unified_cmd_send so if it doesn't
get sent or added to a queue it needs to be freed.

Change-Id: I763824812d3c0510c53a70caf063568385b9bfc2
CRs-Fixed: 1079509
2016-10-20 15:12:28 -07:00
Houston Hoffman
dd4da483c7 qcacmn: Add WCN3990_V2 to hw names
Print out hw name WCN3990_V2 when soc version is 0x40010000.

Change-Id: I0e1be64fe5c3b148bb96fbbbbeed4bc68d06ad4b
CRs-Fixed: 1078766
2016-10-20 15:12:26 -07:00
qcabuildsw
a8a17faa4c Release 5.1.1.2P
Release 5.1.1.2P

Change-Id: I7666522c730c775732d282f8bc620912dc61dda8
CRs-Fixed: 688141
2016-10-20 12:17:20 -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