Commit Graph

1399 次程式碼提交

作者 SHA1 備註 提交日期
Sathish Kumar
bd6de98526 qcacmn: Fix compilation error when peerflow control for mode 0 is enabled
Change-Id: I5c6bd2668861119f9d61a2895a93deb6f7e7832b
CRs-Fixed: 1066302
Acked-by: Sahoo, Amarendra Kumar <c_aksah@qti.qualcomm.com>
2016-10-17 21:59:24 -07:00
qcabuildsw
6aee51e5ff Release 5.1.1.2J
Release 5.1.1.2J

Change-Id: I40548702b803c2b7001a09240695cdbfe1565c47
CRs-Fixed: 688141
2016-10-17 17:27:51 -07:00
Mohit Khanna
865d8ff535 qcacmn: Fix IRQ affinity Core-ID during NAPI CPU migration
Currently we are using core-id of the core for setting IRQ affinity.
This is incorrect since core-ids can be common across clusters. Use
CPU number instead for setting IRQ affinity.

Change-Id: I71afd23c6a78985df51a694ed21cc6c3a51eedf3
CRs-Fixed: 1077069
2016-10-17 17:27:50 -07:00
qcabuildsw
f1059c45e2 Release 5.1.1.2I
Release 5.1.1.2I

Change-Id: I2dae9306f2b9c573387331c7af3978f7c320ffb6
CRs-Fixed: 688141
2016-10-17 06:22:51 -07:00
Sathish Kumar
a511f97d8a qcacmn: Support for Tx data capture WMI command
Tx data capture feature needs a new WMI command.
The fw common file is already reflecting this new
command.

New enum is added to WMI_HOST_PKTLOG_EVENT for this
feature.

Change-Id: I7b8535a311033debbbee5f56c87ac4858a0aa8e1
CRs-Fixed: 1068402
Acked-by: Debasis Das <ddas@codeaurora.org>
2016-10-17 06:22:50 -07:00
qcabuildsw
0e8dc3cbdf Release 5.1.1.2H
Release 5.1.1.2H

Change-Id: I3c1685883b4e687349aceb353d6b33f7103ffa42
CRs-Fixed: 688141
2016-10-13 11:47:08 -07:00
Mukul Sharma
019562cd1f qcacmn: Enhance EPNO feature
qcacld-2.0 to qcacmn propagation

Make the following enhancements to the EPNO feature:
1) Implement the reset EPNO command handler
2) Add new parameters for candidate score calculation.

Change-Id: Iad1ff9c2b003c9e3ddbc3373366686040ccb55ca
CRs-Fixed: 1075380
2016-10-13 11:47:07 -07:00
qcabuildsw
0955757085 Release 5.1.1.2G
Release 5.1.1.2G

Change-Id: Ida42958fd4d93112bc6871f153fda090e107acc5
CRs-Fixed: 688141
2016-10-13 00:32:50 -07:00
Sathish Kumar
bdabc6cbda qcacmn: Populate RSSI information during single phyerr WMI event extraction
Extraction API for phy error event handling does not populate single phyerr
RSSI info for DFS radar event, but was populating the value in case of
spectral event. Single phyerr RSSI info is required for both DFS and Spectral
operations. As a result of this change, single phyerr RSSI info is updated
on receiving DFS event as well.

Change-Id: Idca3e4075e1869eda0d200a102e2ca2b7d33bf70
CRs-Fixed: 1076872
2016-10-13 00:32:49 -07:00
qcabuildsw
a784fe0df5 Release 5.1.1.2F
Release 5.1.1.2F

Change-Id: Ia410242ca97de2133782773d3a22b422df521758
CRs-Fixed: 688141
2016-10-12 19:10:21 -07:00
Orhan K AKYILDIZ
6d9b757ac5 qcacmn: Use PLD APIs instead of ICNSS ones
Replace calls to ICNSS APIs with calls to PLD APIs, as per the new
guidelines.

Change-Id: Iccb8633ad5f6b493b2424acab98ba573f95f15c2
CRs-Fixed: 1070948
2016-10-12 19:10:19 -07:00
qcabuildsw
c037db985d Release 5.1.1.2E
Release 5.1.1.2E

Change-Id: Id4acc1304e7fa34bc22069c64286e124dd66c323
CRs-Fixed: 688141
2016-10-12 08:47:25 -07:00
Govind Singh
a348a1ae37 qcacmn: Register tlv ops for WMI POWER DBG command
Add WMI POWER DBG tlv ops to enable power debug command
feature.

Change-Id: I2a4e79624fae656bfdb0a442a9a22b4e96de4896
CRs-Fixed: 1065551
2016-10-12 08:47:24 -07:00
qcabuildsw
3100f42a8a Release 5.1.1.2D
Release 5.1.1.2D

Change-Id: Ia54ae79a60a26a7e0a3c8c1451e11663de2e6435
CRs-Fixed: 688141
2016-10-10 03:10:33 -07:00
Kapil Gupta
cb984f5b33 qcacmn: Reduce gscan priority
qcacld-2.0 to qcacmn propagation

gscan priority should not cross normal scan.

Add changes to reduce gscan priority.

CRs-Fixed: 1066785
Change-Id: I7459367cfed5d932f07f8c846265c448b9a84555
2016-10-10 03:10:33 -07:00
qcabuildsw
85d2c61da9 Release 5.1.1.2C
Release 5.1.1.2C

Change-Id: Ia260466482360beb0998e227043bb3daf56d9707
CRs-Fixed: 688141
2016-10-10 01:27:55 -07:00
Nitesh Shah
5ae75ca0c5 qcacmn: Move certain logs to appropriate log levels
Propagation from qcacld-2.0 to qcacld-3.0

Some of the logs are printing quite often and spamming the kernel logs.
Hence move them to appropriate log levels and remove the useless debug
messages.

Change-Id: If38d7a6a3cf13a5879f6a628d3d7eb4f5156a95b
CRs-Fixed: 1001441
2016-10-10 01:27:54 -07:00
qcabuildsw
24e5689650 Release 5.1.1.2B
Release 5.1.1.2B

Change-Id: Id7490f3f9695ac7bcc8388adfbcd1660a4c3485f
CRs-Fixed: 688141
2016-10-10 00:12:17 -07:00
Yuanyuan Liu
041397ff74 qcacmn: Remove platform stub files
Remove platform stub files as PLD takes care of platform APIs.

CRs-Fixed: 1056979
Change-Id: Iecb40e4c3b2b281c6bac179b173c46ceebbc5018
2016-10-10 00:12:16 -07:00
qcabuildsw
caf0d73f9a Release 5.1.1.2A
Release 5.1.1.2A

Change-Id: I86c21afe34aeef213c313aebfb4a31963e34f454
CRs-Fixed: 688141
2016-10-07 18:12:18 -07:00
Houston Hoffman
fe0694f65b qcacmn: Replace A_OK with QDF_STATUS_SUCCESS in wmi_unified_non_tlv.c
A_OK status is deprecated.  Use QDF_STATUS_SUCCESS.  Needed since
wmi_unified_cmd_send returns QDF_STATUS not A_STATUS.
see change: Ib9b0a60976dedcf8fcd4184083a9948892791621

Change-Id: I91209002c0a84a8353541c84cdc2e49ffdcc6654
CRs-Fixed: 1072077
2016-10-07 18:12:17 -07:00
Houston Hoffman
471e9a05e9 qcacmn: introduce dummy hif_ahb_configure_irq
When AHB is not compiled in, hif_ahb_configure_irq needs a dummy
implementation for compilation.

Change-Id: I782ffed7d01b3de84bab61140dd4158768bb30a3
CRs-Fixed: 1072078
2016-10-07 18:12:15 -07:00
Houston Hoffman
da6120072f qcacmn: Reduce log level in qdf_nbuf_track_memory_manager_destroy
These logs were being printed in the kmesg durring every unload.
Questions about these logs wasted time and indicated the logs were
too prominent and confusing.

Only log nbuf tracking free list stats to the kernel log when
unexpected conditions occured.  Also distinguish between pre-filled
tracking nodes and nodes that were used to track nbufs.

Change-Id: I835ef2a04500dbab3229e6765fe7a168c05837fa
CRs-Fixed: 1072098
2016-10-07 18:12:14 -07:00
Houston Hoffman
834b927a37 qcacmn: Check precondition at start of hif_snoc_enable_bus
ol_sc null check needs to happen before it is dereferenced.

Change-Id: I11820668fcbcc59c87ee7c675aec2451da030075
CRs-Fixed: 1072077
2016-10-07 18:12:12 -07:00
Houston Hoffman
125423fde1 qcacmn: Add cb funtion to qdf_dp_trace_cb_table for QDF_DP_TRACE_MAX
Function tables based on enums should have entries for all available enum
values.

Change-Id: I452006d177c7651c43938de47fdff5fe78d2e582
CRs-Fixed: 1072077
2016-10-07 18:12:11 -07:00
Houston Hoffman
e007aed7cd qcacmn: Initialize ret in send_pdev_utf_cmd_tlv
If param->len was 0, ret would be returned without being initialized.
param->len of 0 is unexpected, so return an error.

Change-Id: Ib9b0a60976dedcf8fcd4184083a9948892791621
CRs-Fixed: 1072077
2016-10-07 18:12:09 -07:00
Houston Hoffman
55fcf5a1c8 qcacmn: Check ce_state for null before dereference in ce_mark_datapath
Dereference was happening before the null check. Also simplified the
data structure traversal since we are inside hif.

Change-Id: I2370402f3d080bd413ab949a40dc5d97fba6be27
CRs-Fixed: 1072077
2016-10-07 18:12:07 -07:00
qcabuildsw
3ba2483b2e Release 5.1.1.2
Release 5.1.1.2

Change-Id: I2d182292d8ef59b06ace839ed7fd34bb5cf47027
CRs-Fixed: 688141
2016-10-07 16:28:37 -07:00
Dustin Brown
e589dd571c qcacmn: Cleanup code related to unit-test framework
A previous unit-test framework change contained some outstanding clean
code issues. Address the issues to ensure cleaner code is maintained.

Change-Id: I4e9f8e98f63e280b4333dec710fd1bd2e37e3fb6
CRs-Fixed: 1073756
2016-10-07 16:28:36 -07:00
qcabuildsw
5db409fc84 Release 5.1.1.1Z
Release 5.1.1.1Z

Change-Id: I9768775e88bd3f86826b911302ee3214b11a9cea
CRs-Fixed: 688141
2016-10-07 12:55:00 -07:00
Padma, Santhosh Kumar
75394d6c8f qcacmn: Dump driver information
qcacld-2.0 to qcacmn propagation

Dump state information of HDD, SME, PE and WMA layers
into a buffer. Contents of this buffer will be copied
into user space using proc entry /proc/debugdriver/
driverdump.

Change-Id: Ifbb102e440d7df20defa1a397964cb9b55082bf9
CRs-Fixed: 955357
2016-10-07 12:54:59 -07:00
qcabuildsw
99c4b0bf4d Release 5.1.1.1Y
Release 5.1.1.1Y

Change-Id: Ifd310b51df9d8b05a56fa5e928e4135bbdcba5e0
CRs-Fixed: 688141
2016-10-07 09:17:14 -07:00
Sathish Kumar
39a5657e3f qcacmn: Fix issue in green AP feature
Green AP feature for WIN allows the AP to go into power save mode
and leads to only a single chain being active.

In the current code, it is seen that the WMI API for enabling Green
AP feature is under "FEATURE_GREEN_AP" flag that is not defined for
WIN. This leads to trigger of dummy API that does no operation.

Replace "FEATURE_GREEN_AP" with proper flag "ATH_SUPPORT_GREEN_AP"
defined on WIN to enable Green AP feature.

Change-Id: I344e74c3753f1ef3b6d5d5a2bb1086c84f2ab84c
CRs-Fixed: 1074036
2016-10-07 09:17:13 -07:00
qcabuildsw
7d12f962cd Release 5.1.1.1X
Release 5.1.1.1X

Change-Id: Id30ab893f5942b2ca27272bd5372d1c053953803
CRs-Fixed: 688141
2016-10-07 08:32:18 -07:00
Dustin Brown
6bdbda50fb qcacmn: Power offload unit test framework enhancements
Recently host power offload suspend/resume has switched to 3
stage process. Enhance power offload unit test framework accordingly, and
improve error handling. This is a companion change for
I8cc1e955fbaca631ee7fd76b0c907d1e68c836bf in qcacld-3.0.

Change-Id: I8c4e062d4a51a7a245500bc135571fc67cf1b4d0
CRs-Fixed: 1072424
2016-10-06 11:38:21 -07:00
qcabuildsw
a7154f68cc Release 5.1.1.1W
Release 5.1.1.1W

Change-Id: I6e73dbd4fb3c9b4aa37a777893b5fe9a85571b6a
CRs-Fixed: 688141
2016-10-06 07:32:12 -07:00
Venkateswara Swamy Bandaru
772377c7df qcacmn: Enhance ce register dump and add hif_get_irq_num
Modify the CE register debug dump routine to print the read,
write indexes on the console.

Add new function  to return vector used for specific radio.
WIN uses this routine to retrieve the irq and assign the same
to radio netdev irq field. Assign the radio netdev with
the right irq number which helps qrfs to steer to traffic
towards a specific core.

Change-Id: I94bdcc323afbee53946ea9e50a773ffe35224ae6
Acked-by: Balamurugan Mahalingam <bmahalin@codeaurora.org>
CRs-Fixed: 1066208
2016-10-06 07:32:11 -07:00
Venkateswara Swamy Bandaru
26f6f1ebae qcacmn: Add support for pipe specific callbacks
Packetlog framework needs pipe specific callbacks. Change is done to
support pipe specific callbacks.

Change-Id: Iabd442acc8bef19ad9b8ad9ff2660e273a859f54
CRs-Fixed: 1072220
2016-10-06 07:32:09 -07:00
qcabuildsw
b30d6e0b45 Release 5.1.1.1V
Release 5.1.1.1V

Change-Id: I8cbd60a49066097c5436074dfdfce02623d91aec
CRs-Fixed: 688141
2016-10-04 20:21:16 -07:00
Sathish Kumar
eb7d24e1f6 qcacmn: Add new ftype enums to distinguish rx stats information
Introduce new enum in ftype to identify rx stats data pointed by fctx.
It is added so that only a pointer to the feature specific data can be stored
in fctx. ftype will be used to identify what feature in currently being
pointed to by fctx .

Change-Id: Ic4d8e23c27873875a9cac25e9a5c26096b1705f3
CRs-Fixed: 1055391
2016-10-04 20:21:16 -07:00
qcabuildsw
4fef865ec0 Release 5.1.1.1U
Release 5.1.1.1U

Change-Id: Ib71b75bb9aa954fe8ba3f425cf246af7e9777f83
CRs-Fixed: 688141
2016-10-04 16:49:56 -07:00
Sathish Kumar
0cfad497cb qcacmn: Fix memory leak caused by fctxt overwriting ipa field in skb->cb
Memory leak is observed while running multicast to unicast conversion tests.
The reason was fctxt overwriting ipa field in skb->cb.
In struct qdf_nbuf_cb, offset of skb->cb->u.tx.dev.win.fctx happened to be
same as offset of skb->cb->u.tx.dev.mcl.ipa causing fctxt to sit on top of
ipa field and hence dev_kfree_skb () is not invoked.

Issue fix defines a different function that is invoked when ipa is not in use.

Change-Id: I47cb2a992730a2200b4315e492daa164d1bdfbda
CRs-Fixed: 1068852
Acked-by: Om Prakash Tripathi <otripath@codeaurora.org>
2016-10-04 16:49:52 -07:00
Sathish Kumar
79c2bf597e qcacmn: Fix compilation errors in QDF for Big Endian platform
Fix compilation issues faced on the WIN big endian
platform due to QDF convergence related changes.

Change-Id: I33b2a4bbe063acb4585b86e12fa79f96dc12ac73
CRs-Fixed: 1039318
2016-10-04 16:49:48 -07:00
qcabuildsw
b1ea5f82ad Release 5.1.1.1T
Release 5.1.1.1T

Change-Id: I059ed99e6d2853c7daae36d9b3822391f5e2b134
CRs-Fixed: 688141
2016-10-04 14:42:18 -07:00
Venkateswara Swamy Bandaru
17cf2be2d4 qcacmn: Fix for CE Ring full error in ce_send_single path
sw_index is updated based DATA_CE_SW_INDEX_UPDATE_SKIP compile time flag.
If DATA_CE_SW_INDEX_UPDATE_SKIP is enabled software has to take care of
sw_index updation. Otherwise it will be read through register

Change-Id: I994e04cf08170441eba034a747e6224ec4c8370e
CRs-Fixed: 1072217
2016-10-04 14:42:17 -07:00
qcabuildsw
7abeb45530 Release 5.1.1.1S
Release 5.1.1.1S

Change-Id: I379072d7c58af92505fb7a5d0ee3961c8f29ea96
CRs-Fixed: 688141
2016-10-04 12:41:06 -07:00
Padma, Santhosh Kumar
94e34bb262 qcacmn: Add changes for DISA certification
Add TLV changes to pass DISA parameters received from
WMA and pass them to firmware for firmware
to encrypt data and send back to driver.

Change-Id: Ic6928a93f799c47518fbbad96564062f595287dd
CRs-Fixed: 1072545
2016-10-03 12:48:34 +05:30
qcabuildsw
e03c37d9e5 Release 5.1.1.1R
Release 5.1.1.1R

Change-Id: Ic589a854f96f2b9a4c4697fef8ee10faa329a0a5
CRs-Fixed: 688141
2016-09-30 06:42:33 -07:00
Padma, Santhosh Kumar
496dbad32b qcacmn: Add diag events for debugging
qcacld-2.0 to qcacmn propagation

Currently there are no diag events to debug auth, assoc timeouts
and memory failure. Add such diag events which can be useful during
failures.

Change-Id: Iec4c2a9946fbef388959fdc796273944d3be8003
CRs-Fixed: 1072675
2016-09-30 06:42:32 -07:00
qcabuildsw
a511975526 Release 5.1.1.1Q
Release 5.1.1.1Q

Change-Id: If9794189fee935b69408a88469b423a71d4ad5c2
CRs-Fixed: 688141
2016-09-30 05:48:00 -07:00