Commit graph

1,552 commits

Author SHA1 Message Date
qcabuildsw
bb3049e31b Release 5.1.1.4G
Release 5.1.1.4G

Change-Id: I6cce65103aef2b002fa4458833302337af5b95b5
CRs-Fixed: 688141
2016-11-16 06:38:41 -08:00
Venkateswara Swamy Bandaru
814094e9c2 qcacmn: Change CONFIG_SLUB_DEBUG_ON define to HIF_CONFIG_SLUB_DEBUG_ON
Change CONFIG_SLUB_DEBUG_ON to HIF_CONFIG_SLUB_DEBUG_ON to differentiate
kernel CONFIG_SLUB_DEBUG_ON macro with hif specific debug option.

Change-Id: I8922d5c37363da382f3f0b23489f8fd3544eed7d
CRs-Fixed: 1088928
2016-11-16 06:38:41 -08:00
Venkateswara Swamy Bandaru
aefb2f4dc4 qcacmn: Fix NAPI compilation issue for ext group interrupts
In current code ext group interrupts are not support. Defined these
functions to NULL to avoid compilation issue.

Change-Id: I7e1e027a3faabce1a8844606c5c5c3a412256ded
CRs-Fixed: 1088926
2016-11-16 06:38:40 -08:00
qcabuildsw
21019a75ea Release 5.1.1.4F
Release 5.1.1.4F

Change-Id: I3af0969f9b302db8516a04519b4d6e83433bb848
CRs-Fixed: 688141
2016-11-16 01:59:31 -08:00
Dustin Brown
d2a62b50ec qcacmn: Fix use-after-freed when sending WMI command to FW
Using a buffer after passing it to wmi_unified_cmd_send() induces a
race condition that may result in a use-after-freed situation. Fix
several potential use-after-freed situations when calling
wmi_unified_cmd_send() by ensuring all access to a buffer is done
before the call to wmi_unified_cmd_send().

Change-Id: I985aad6e49daf1d823e3751a9cb0a293a298323c
CRs-Fixed: 1089713
2016-11-16 01:59:30 -08:00
qcabuildsw
a7e56fb7c5 Release 5.1.1.4E
Release 5.1.1.4E

Change-Id: I6b9de3a8c87b6b8308fff49c3a84ee8eec7855dc
CRs-Fixed: 688141
2016-11-15 19:48:38 -08:00
Orhan K AKYILDIZ
f006e93682 qcacmn: Disable NAPI before disabling the irq
Before disabling the interrupts, disable NAPI so that
the softirq cannot be [re-]scheduled.
Remove the affinity notification on the irq.

Change-Id: I64061d2b4f2e1e6eff67416133b928faa9c0dd4c
CRs-Fixed: 1089166
2016-11-15 19:48:37 -08:00
qcabuildsw
f0e70a477d Release 5.1.1.4D
Release 5.1.1.4D

Change-Id: Ief4cc38f7a6a12125f26a50a35a010c7d339b4f1
CRs-Fixed: 688141
2016-11-15 02:18:26 -08:00
Houston Hoffman
a69581e791 qcacmn: Disable interrupt processing before stopping the bus
The interrupt free code is protected by a flag.  In the normal case
the interrupts are freed before the bus is stopped.  Make all cases
free the interrupt before hif_stop.

Change-Id: I1e1dfae9ba388733eb13f2cdf90aa85b3db35b0d
CRs-fixed: 1089935
2016-11-15 02:18:25 -08:00
Houston Hoffman
7fe51b1cf3 qcacmn: Free ce fastpath buffer even if handler not installed
Durring a driver load failure, the fastpath buffer is allocated
before the fastpath handler is installed.  Change the free logic
to match the allocation logic.

Change-Id: Ib9731b3d06d7ac728e0f23bb32e2b74c35b9a8de
CRs-Fixed: 1089933
2016-11-15 02:18:24 -08:00
Houston Hoffman
8a3539345e qcacmn: Do not export dump_hex_trace
Since dump_hex_trace is defined as a static function,
it should not be exported. The 2 scopes conflict.

Change-Id: Ia39a4fdcffeffa452b684f77d015eabd421e89e8
CRs-Fixed: 1089727
2016-11-15 02:18:23 -08:00
Houston Hoffman
78feca302e qcacmn: Prepend DPT timeout messages with 'DPT:'
Mark the timeout messages in qdf_dp_display_record with
the 'DPT:' prefix and print them with the same error
level as other DPT messages.

Note that there are allready error level logs in HDD to
indicate that a timeout occured. The value add here is that
this timeout is noted in the contect of DPTRACE where prior
successfull packets will also have been logged.

Change-Id: I87b041895462474d37d092d48aa4c7e957ff45c5
CRs-Fixed: 1089725
2016-11-15 02:18:22 -08:00
Houston Hoffman
271951f0dc qcacmn: Return error in hif start for allocation failures
This allocation failure will likely lead to a copy engine
stall and subsequent need to restart the subsystem.
Abort the module start immediately to avoid a system crash
or delayed subsystem restart.

Change-Id: Ibe7b348dee39d35e3e7f767f17f0114d888a30f8
CRs-Fixed: 1088725
2016-11-15 02:18:21 -08:00
Houston Hoffman
bba5ca6af7 qcacmn: Reduce log level of DPTRACE prints
DPT prints were flooding kmesg and causing watchdog bark
in stress testing cases.  Reduce log level to info and
only include the prints in the driver log.

Change-Id: If6ba6786cfe9ff050a21673002ef273a670c3f68
CRS-Fixed: 1089051
2016-11-15 02:18:20 -08:00
qcabuildsw
a5daa9165a Release 5.1.1.4C
Release 5.1.1.4C

Change-Id: Ic112063116de79ef93c9f67a82688e60e1fb863b
CRs-Fixed: 688141
2016-11-15 00:35:31 -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
qcabuildsw
4b7565cba3 Release 5.1.1.4B
Release 5.1.1.4B

Change-Id: I3955546c3608ac3abd1d48655622f67d69720ca9
CRs-Fixed: 688141
2016-11-14 06:13:11 -08:00
Kiran Venkatappa
e478fe720e qcacmn: Remove function prototype for hif_get_dev_ba from c file
Function prototype for hif_get_dev_ba is added in hal_sng.c to avoid
warning. This should be ideally added in header file. Removing the
prototype from c file.

Change-Id: I3220765b1dbc8a2cd5a45ccfe85fde09aee12a00
CRs-Fixed: 1079655
2016-11-13 23:59:44 -08:00
Kiran Venkatappa
7439befaf8 qcacmn: Add function prototype for hif_get_dev_ba in header file
Function prototype for hif_get_dev_ba is c file to avoid
warning. This should be ideally added in header file. Adding this
prototype in hif.h.

Change-Id: Ic61c5b8278e6e888931721e716de74c4703ace82
CRs-Fixed: 1079655
2016-11-13 23:59:33 -08:00
qcabuildsw
2721538417 Release 5.1.1.4A
Release 5.1.1.4A

Change-Id: I24c365b8c0a3bd7a407292b7013a7fe5fc2cdbb5
CRs-Fixed: 688141
2016-11-11 00:07:14 -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
qcabuildsw
2b4d5cebf9 Release 5.1.1.4
Release 5.1.1.4

Change-Id: I5f16ce67cc8359eb3195d0e09d7afce36732ade4
CRs-Fixed: 688141
2016-11-09 22:57:50 -08:00
Kiran Venkatappa
3a4153318c qcacmn: Add extract routines for WMI ext service ready event
Add helper routines to extract TLV params in WMI EXT service ready
event. These helper routines abstracts all TLV related information
providing APIs to extract ext serivce ready params.

Change-Id: Ic989331856ed2f9376965bdec4b658328f9e470b
CRs-Fixed: 1079237
2016-11-09 22:57:44 -08:00
Kiran Venkatappa
6768509c68 qcacmn: Pass valid dev in consistent mem alloc
On 64-bit platform consistent mem alloc was failing due to NULL
passed for dev. Fix this by passing valid dev in consistent mem alloc
call.

Change-Id: I730af58c637dc652c4e249b83d432e0b5f01f7fb
CRs-fixed: 1079575
2016-11-09 22:57:36 -08:00
qcabuildsw
7cd0866eab Release 5.1.1.3Z
Release 5.1.1.3Z

Change-Id: I28d651fc7ffb1b2aef113f062fadddf6616ab39d
CRs-Fixed: 688141
2016-11-09 20:26:00 -08:00
Liangwei Dong
2c73be828a qcacmn: Fix WMI command tx failure
qcacld-2.0 to qcacmn propagation

In USB solution, one WMI command will consume
one "resource". So, for WMI endpoint, the
"resource" number of one bundle is
HTC_MAX_MSG_PER_BUNDLE_TX rather than 2 *
HTC_MAX_MSG_PER_BUNDLE_TX.

Change-Id: Ia60e49a403a0d689d1ba8397f7c796cd911ab918
CRs-Fixed: 1013006
2016-11-09 20:25:59 -08:00
qcabuildsw
6dae88454c Release 5.1.1.3Y
Release 5.1.1.3Y

Change-Id: I9724278a15b403bdb174ee5375b89c446af9d469
CRs-Fixed: 688141
2016-11-08 22:54:46 -08:00
Sreelakshmi Konamki
e2e313532a qcacmn: Change time format of MTRACE logs
qcacld-2.0 to qcacld-3.0 propagation

MTRACE logs timestamp format is different from logcat logs,
and it's difficult to correlate with other logs.

This fix changes the timeformat of MTRACE logs
from qtimer ticks to hr:min:sec:msec

Change-Id: I45e5d28fbeccd757648f05ce4e593d8ca4fe7804
CRS-Fixed: 1049125
2016-11-08 22:54:45 -08:00
qcabuildsw
3f82a0e32d Release 5.1.1.3X
Release 5.1.1.3X

Change-Id: I74bd5e1c6c4d5b2272b0b36e3e3b61b999eabe38
CRs-Fixed: 688141
2016-11-08 02:37:00 -08:00
Mukul Sharma
5984d920a0 qcacmn: Change WMI command limit to 256 from 1024
qcacld-2.0 to qcacmn propagation

To debug the fwr stuck issue as early as possibile,
reduce the wmi max pending command threshold to 256
from 1024.

Change-Id: Ic3cbe26cca979dcaa68fca03e6fe1af397cf0c4f
CRs-FIXED: 1080761
2016-11-08 02:36:59 -08:00
qcabuildsw
6a4fcd9914 Release 5.1.1.3W
Release 5.1.1.3W

Change-Id: Ic0d1751e5b565f7e722bb83efc9d6d4dff1b0744
CRs-Fixed: 688141
2016-11-07 03:33:24 -08:00
Komal Seelam
887b648e11 qcacmn: ADD API to sanatize during SSR shutdown
During SSR, HDD context prevails, no need to free the contexts.
Hence add an API to sanatize runtime pm list during SSR shutdown.

CRs-Fixed: 1082449
Change-Id: I189eca6fc31dfa2cdedade3d5308f01311d72c88
2016-11-07 03:33:23 -08:00
Nandini Suresh
d94d51144b Release 5.1.1.3V
Release 5.1.1.3V

Change-Id: Ic7a637b9212bdc0e19a6896293f853041fdce438
CRs-Fixed: 688141
2016-11-04 11:21:51 -07:00
Mohit Khanna
6e1de59a3e qcacmn: Fix DP trace logging during HDD Tx timeout
Currently on a HDD Tx timeout, we are recording the event in DP Trace
framework. Currently the framework is unable to handle calls where skb
is NULL.
Add code to handle cases in qdf_dp_trace where the skb could be NULL.

Change-Id: I4d04cd59f11f19c4ba81219925c7f3011c97de29
CRs-Fixed: 1083941
2016-11-04 11:13:32 -07:00
qcabuildsw
bc005906f4 Release 5.1.1.3U
Release 5.1.1.3U

Change-Id: I8373b2f34f51fda16ece7bce2c6e02ffb8f0a372
CRs-Fixed: 688141
2016-11-04 11:12:57 -07:00
Pratik Gandhi
815c6d8a62 qcacmn: Implement run-time check for 8074 target for emulation
Target 8074 changes for emulation platform (VP/M2M/SOC) are under
compilation switch which does not allow single meta to run for
legacy platforms and Hawkeye emulation platform.
Change compile time switch to run time check for target.
Keep all emulation related changes under QCA8074_VP switch which
needs to be always enabled. It helps to identify emulation specific
changes. All emulation changes are enabled for target type 8074.

CRs-Fixed: 1082545
Change-Id: Id0bab52735154db086b56ecd751578dba75a311a
2016-11-04 11:12:44 -07:00
qcabuildsw
c1a9fe647a Merge "Release 5.1.1.3T" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:55:28 -07:00
Service qcabuildsw
3f11cfd901 Merge "qcacmn: add lithium rx queue setup wmi messages" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:55:02 -07:00
qcabuildsw
b378941978 Merge "Release 5.1.1.3S" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:54:51 -07:00
Service qcabuildsw
bf565d6368 Merge "qcacmn: Fix for HT_C tx lock issue" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:54:42 -07:00
qcabuildsw
e19d502759 Merge "Release 5.1.1.3R" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:54:07 -07:00
Service qcabuildsw
5768b57121 Merge "qcacmn: Add wmi_roam_scan_mode_fixed_param TLV alone for RSO Stop command" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:53:57 -07:00
qcabuildsw
38d8089cb3 Merge "Release 5.1.1.3Q" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:53:46 -07:00
Service qcabuildsw
9b47c64392 Merge "qcacmn: Move regdef for qca8074 out of AHB compiler flag" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:53:37 -07:00
qcabuildsw
0e21a4b1cd Merge "Release 5.1.1.3P" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:53:23 -07:00
Service qcabuildsw
50198ce2e8 Merge "qcacmn: Add iwprivs for AGILE DFS" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:53:14 -07:00
qcabuildsw
fa60886f11 Merge "Release 5.1.1.3O" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:53:02 -07:00
Service qcabuildsw
1b385964ee Merge "qcacmn: improve mboxping TX t-put for SDIO project" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:52:50 -07:00
qcabuildsw
4f55589c8a Merge "Release 5.1.1.3N" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:52:34 -07:00
Service qcabuildsw
2f2279452a Merge "qcacmn: Add top-level interrupt handling support for DP" into wlan-cmn.driver.lnx.2.0-dev 2016-11-03 17:52:19 -07:00