提交線圖

1263 次程式碼提交

作者 SHA1 備註 日期
Himanshu Agarwal
ccd38dc2b4 qcacmn: Add APIs to get lower 32 and upper 32 bits
Add APIs to get lower 32 and upper 32 bits from an
address.

Change-Id: I283792333075c11219a491d305b2822849c025f3
CRs-Fixed: 1062916
2016-09-06 12:15:51 +05:30
qcabuildsw
a3232a58ed Release 5.1.0.23J
Release 5.1.0.23J

Change-Id: Ie13f66eb1446e255cff8d37439110e31eda06b28
CRs-Fixed: 688141
2016-09-05 01:23:25 -07:00
Houston Hoffman
7a5f890d58 qcacmn: Fix index recording for FAST_TX_SOFTWARE_INDEX_UPDATE
The sw_index was being recorded in the FAST_TX_SOFTWARE_INDEX_UPDATE
event leading to confusing descriptor history.

Change-Id: I1f2084296f25faf00c30370f47c4d29fb258c90b
CRs-Fixed: 1060098
2016-09-05 01:23:24 -07:00
Houston Hoffman
f7d5d8e397 qcacmn: Double CE2 resources on host and firmware
Firmware crashed when it ran out of buffers.  Increasing
the descriptor ring size for firmware and host on CE2
at firmwares request.

Change-Id: I602bc896dcd76b3184f922a3ac961a4433585374
CRs-Fixed: 1061291
2016-09-05 01:23:23 -07:00
qcabuildsw
ed159ca8fd Release 5.1.0.23I
Release 5.1.0.23I

Change-Id: I34cc791659c56bfb72cd9925619ea3294ba0c95b
CRs-Fixed: 688141
2016-09-02 21:27:07 -07:00
Deepak Dhamdhere
1ad591fef7 qcacmn: Modify LFR3 firmware OKC flag
Enable or disable OKC flag in WMI roam scan offload request based on
okc_enabled parameter in roam request from CSR.

Change-Id: I19ad7ea2171532f2417742e205d408bdd52682c0
CRs-Fixed: 1057181
2016-09-02 21:27:06 -07:00
qcabuildsw
afe72239ca Release 5.1.0.23H
Release 5.1.0.23H

Change-Id: Ica6da5c67c940eb2f0c8c9846339d9220e30b8aa
CRs-Fixed: 688141
2016-09-02 16:07:22 -07:00
Anurag Chouhan
e6d4b28499 qcacmn: Add fwtest interface
Add wmi fw test interface to support generic fw test command.

Change-Id: Ic2dc113e3a698555c0fdcbafb30df154f6deb97d
CRs-Fixed: 1045265
2016-09-02 16:07:21 -07:00
qcabuildsw
3af96ec7ee Release 5.1.0.23G
Release 5.1.0.23G

Change-Id: I45a132e866029414fba21dcaa8e5d47d1ef5bedc
CRs-Fixed: 688141
2016-09-02 04:33:48 -07:00
Venkateswara Swamy Bandaru
1633436e74 qcacmn: Added a member in qca_napi_info structure
To derive hif_ctx from napi pointer. This changes helps enable napi support
for WIN driver.

Change-Id: Idcb0775195665d60d4b1a9a010afcfab256d839f
Acked-by: Balamurugan Mahalingam <bmahalin@codeaurora.org>
2016-09-02 04:33:47 -07:00
qcabuildsw
93912f1a19 Release 5.1.0.23F
Release 5.1.0.23F

Change-Id: I77bd699cf0151787ae42df19b633a655b325c768
CRs-Fixed: 688141
2016-09-02 02:08:08 -07:00
Dustin Brown
973abe89e4 qcacmn: fake apps ensures correct ce_id before resume
Currently, the interrupt handler does not check for the correct ce_id
before triggering a fake apps resume. This check is added to
hif_fake_apps_resume().

Change-Id: I810c59bb8536356bd87a394c815a294755aa5161
CRs-Fixed: 1061287
2016-09-02 02:08:08 -07:00
qcabuildsw
b019e0da84 Release 5.1.0.23E
Release 5.1.0.23E

Change-Id: I6cb56ab1492e084f8b9f6a890776eb2e5010c1ac
CRs-Fixed: 688141
2016-09-02 01:08:40 -07:00
Venkateswara Swamy Bandaru
3ca38e2fe3 qcacmn: Support for wifidown and wifiup without modules removal
Release the iomem requested during the cleanup path.
Successive request to iomem resource fails,
if the ioremapped region is not released
during the last cleanup

Change-Id: Icc88647df8d21f9f230b784faa8e7fdaf5968814
Acked-by: Balamurugan Mahalingam <bmahalin@codeaurora.org>
CRs-Fixed: 1056971
2016-09-02 01:08:39 -07:00
qcabuildsw
d08ea3b79f Release 5.1.0.23D
Release 5.1.0.23D

Change-Id: I7816d5b431bf36b550f3443289df270bd7dba70c
CRs-Fixed: 688141
2016-09-01 22:08:57 -07:00
Houston Hoffman
7fdff0c52f qcacmn: Use suspend_noirq callback instead of disabling irqs
Disabling the interrupts and setting them as wakeup sources does
not work as expected.  The pending interrupt gets trapped in sw
and kernel does not check for it before finishing the suspend.

Instead, use the suspend_noirq callback to guarantee that
wakeup messages don't get processed without rejecting the suspend.

Change-Id: I5ec5ce2a7e1b14c3d8477fe7aa0372c9ffd4dc0d
CRs-Fixed: 1060880
2016-09-01 22:08:57 -07:00
qcabuildsw
e28261fdb1 Release 5.1.0.23C
Release 5.1.0.23C

Change-Id: If129b9c75ac642a1bbd65ad58fda1ec051e509cb
CRs-Fixed: 688141
2016-09-01 13:27:56 -07:00
Sathish Kumar
5947138237 qcacmn: Implement QDF API to get queue mapping and total ram size
This change adds the following QDF APIs -

qdf_nbuf_get_queue_mapping: To get the queue mapping set by linux kernel

qdf_get_totalramsize: To get total ram size in Kb

Change-Id: I86daffebba759c086d15951dfcc72ea626c74bb4
CRs-Fixed: 1055387
2016-09-01 13:27:55 -07:00
Sathish Kumar
50a5518cd6 qcacmn: Fixing incorrect qdf_mem_set API usage in wmi_unified_non_tlv.c
The qdf_mem_set API is used incorrectly in a few instances inside
wmi_unified_non_tlv.c

The argument list is - <pointer to address, size, value>

However, some places, it is sent as - <pointer to addr, value, size>

This change fixes such incorrect function calls to qdf_mem_set().

Change-Id: Id50136f630022b1fdeaddbdefcad9f637f917e9e
CRs-Fixed: 1048504
2016-09-01 13:27:54 -07:00
Venkateswara Swamy Bandaru
fa291a7851 qcacmn: Fix for kernel panic in wifi down path for peregrine
Warm reset is done in wifi down path for peregrine

Change-Id: Id187b8e60859f9936e4761bdce9ae7f744bd79d7
2016-09-01 13:27:53 -07:00
qcabuildsw
6a9cf7bd16 Release 5.1.0.23B
Release 5.1.0.23B

Change-Id: I22928dea7a4756d49fc83310d58a0163665bf188
CRs-Fixed: 688141
2016-08-31 07:06:48 -07:00
Govind Singh
cc277f9791 qcacmn: Free WMI HB command buffer in case of errors
WMI HB command buffer is not freed in case of tx error,
Free WMI HB command buffer in case of errors.

Propagation from qcacld-2.0 to qcacmn.

Change-Id: I15577c50cefc0cc2e9129f175cf874f17acc430e
CRs-Fixed: 1001068
2016-08-31 07:06:47 -07:00
qcabuildsw
bcb90fbcfb Release 5.1.0.23A
Release 5.1.0.23A

Change-Id: Ib952643aa117eee548bc3b4423cbf3d5e4d2e43d
CRs-Fixed: 688141
2016-08-31 06:28:05 -07:00
Sathish Kumar
7252e43048 qcacmn: Add WMI API for setting bandwidth fairness
This change implements the Non-TLV WMI API for setting bandwidth
fairness. This WMI command was implemented as part of the recent WIN SW
release. This change ensures it is adapted to convergence code structure.

Change-Id: Ib9984c43b91b105bfb4687a7591f4fab509febc4
CRs-Fixed: 1060577
2016-08-31 06:28:05 -07:00
qcabuildsw
2d9bcb1ade Release 5.1.0.23
Release 5.1.0.23

Change-Id: Ic44825f4290c028337751a7773e4f8dbf4a79cba
CRs-Fixed: 688141
2016-08-31 05:14:44 -07:00
Govind Singh
4fcafd4990 qcacmn: unmap buffer for CE destination ring en-queue error
Unmap a previously mapped buffer if host fails to en-queue
buffer to CE destination ring.

Propagation from qcacld-2.0 to qcacmn.

Change-Id: If23398b01124638cfb266f5755fc9e45d3969ac9
CRs-Fixed: 1033307
2016-08-31 05:14:43 -07:00
qcabuildsw
af630c25c0 Release 5.1.0.22Z
Release 5.1.0.22Z

Change-Id: I206d3008cf84d2d28050286b1f194ee9e22ac92e
CRs-Fixed: 688141
2016-08-30 23:28:36 -07:00
Houston Hoffman
cd0884a954 qcacmn: Add WCN3990 to hw names
Print out hw name WCN3990_V1 when soc version is 0x40000000.

Change-Id: Ic76cd3ddc46cf9a2b142cc2d455b512e442f189e
CRs-Fixed: 1059083
2016-08-30 23:28:35 -07:00
Houston Hoffman
4d9b0808da qcacmn: Add htc_pm_runtime put/get apis
htc_runtime_pm apis are needed to deprecate the qdf_runtime_pm apis.
The qdf_runtime_pm apis rely on cds_get_context which is not being
converged and thus qdf_runtime_pm needs to be deprecated.
Since the htc_handle wraps the hif context for most upper layers,
htc_module is providing a wrapper functions.

Change-Id: Ic66a0891db53b610fd4373e7528a08f2787f45fc
CRs-Fixed: 1044150
2016-08-30 23:28:34 -07:00
qcabuildsw
ac535e0764 Release 5.1.0.22Y
Release 5.1.0.22Y

Change-Id: I1c48096d1e10f89ed7c87239f9dca92178b3b132
CRs-Fixed: 688141
2016-08-30 16:02:15 -07:00
Govind Singh
a0e147431b qcacmn: Fix compilation errors in WMI for Big Endian platform
This change fixes the compilation issues faced due to WMI convergence
changes on the big endian platform.

Change-Id: I18bae4fb7884683d8621ce9a862dc1a51ef84f82
CRs-Fixed: 1039318
2016-08-30 16:02:14 -07:00
qcabuildsw
ee8d0c1935 Release 5.1.0.22X
Release 5.1.0.22X

Change-Id: Ic4640efa52f7207e4f94edee04b497a15b34ca05
CRs-Fixed: 688141
2016-08-28 22:38:14 -07:00
Rajeev Kumar
f5e306f785 qcacmn: Fail PM suspend if target has sent initial wake up
Host is not handling target initial wake up properly which is
leading to resume failure. Fail PM suspend request if target
has sent initial wake up message.

Change-Id: I3797f1afa99ed9412b7ded3e1ea85c344bd0f435
CRs-Fixed: 1059543
2016-08-28 22:38:14 -07:00
qcabuildsw
712e243e91 Release 5.1.0.22W
Release 5.1.0.22W

Change-Id: I1c3ef08a31447e6b7ee928c00a96d085a9cb43f8
CRs-Fixed: 688141
2016-08-26 12:19:15 -07:00
Rajeev Kumar Sirasanagandla
92cf0523d8 qcacmn: Modify __qdf_assert to invoke QDF_BUG
Currently, __qdf_assert is doing kernel panic, deviating the purpose of
assert - "Asserts are NOT used for stopping a program in case of an
error".

To address this, modify __qdf_assert to invoke QDF_BUG which in turn
warns or crashes based on the macro PANIC_ON_BUG.

Change-Id: Ie62484f8f369d8aafa3b1970feafe556b2c94ffa
CRs-Fixed: 1015603
2016-08-26 12:19:14 -07:00
qcabuildsw
35b4bced32 Release 5.1.0.22V
Release 5.1.0.22V

Change-Id: I0218454347bca67a8b89ccdbee3801c7444da9b6
CRs-Fixed: 688141
2016-08-25 18:53:14 -07:00
Rajeev Kumar
8f312f2704 qcacmn: Reduce wake up IRQ enable/disable log level
IRQ wake up is happening as expected so reduce WLAN CE 2
IRQ wake up request log to info level to avoid logging it
every time on console.

Change-Id: I9838c80d5133b3f872b1129e41d4f722ba57b011
CRs-Fixed: 1059081
2016-08-25 18:53:13 -07:00
qcabuildsw
b4f7b7e702 Release 5.1.0.22U
Release 5.1.0.22U

Change-Id: I8cfac920de0ab8668f1208efce4e79e911836748
CRs-Fixed: 688141
2016-08-24 11:33:28 -07:00
Himanshu Agarwal
feeffba91b qcacmn: Add API to update mark parameter in sk_buff structure
Propagation from qcacld-2.0 to qcacmn.

Add API to update skb->mark whenever first packet after WOW wakeup
is received through HTT layer.

Change-Id: I877dd7af9a58ebc02d73461cc2a29e86a3945dec
CRs-Fixed: 989984
2016-08-24 11:33:27 -07:00
Sravan Kumar Kairam
80f7246bfb qcacmn: Send anycast addresses for NS offload
Propagation from qcacld-2.0 to qcacld-3.0

Current implementation has support for IPv6 addresses of type
unicast for NS offload to firmware.

As part of this change add anycast addresses for NS offload.

CRs-Fixed: 954880
2016-08-24 06:56:18 -07:00
qcabuildsw
3c46e5dfb0 Release 5.1.0.22T
Release 5.1.0.22T

Change-Id: Id14d205f448481f470495a83c099ec8c29fb8d95
CRs-Fixed: 688141
2016-08-24 04:42:24 -07:00
Selvaraj, Sridhar
020997beda qcacmn: Add support to provide assoc IEs to FW in RSO command
As part of MBO(Multiband Operations), host driver need to supply
the Assoc IEs to FW after initial connection. FW uses these Assoc
IE's in subsequent roaming.i.e Reassociation requests.
This Fix updates the WMI interface to provide support for passing
Assoc IEs to FW.

Change-Id: Ida3d2947714002233090a3f9075dd8d674a3c224
CRs-Fixed: 1039969
2016-08-24 04:42:24 -07:00
qcabuildsw
4bb67d4db6 Release 5.1.0.22S
Release 5.1.0.22S

Change-Id: I36b7a2d0c6e444e33fa417f9b0ea058a2327325b
CRs-Fixed: 688141
2016-08-20 10:37:07 -07:00
Nirav Shah
cb11756463 qcacmn: Add support to enable/disable packetlog using iwpriv
Add support to enable/disable packetlog using
iwpriv wlan0 pktlog command.

CRs-Fixed: 970647
Change-Id: I4f7c64332e971591b7a08020a412e6f3979b718d
2016-08-19 20:20:38 -07:00
qcabuildsw
3d673dc905 Release 5.1.0.22R
Release 5.1.0.22R

Change-Id: Id9f1e6c096493db736d4250b6e330547074329c9
CRs-Fixed: 688141
2016-08-19 18:52:55 -07:00
Himanshu Agarwal
810141a664 qcacmn: Add changes for coexistence of WIN/ MCL TLV implementation
Add changes to allow coexistence of WIN/ MCL TLV implementation
through use of CONFIG_MCL flag and change of MACRO names.

Change-Id: I6868c288a43fd3afb19c84b8a9d4ef0dfbee5c94
Acked-by: prgandhi@qti.qualcomm.com
CRs-Fixed: 1008872
2016-08-19 18:52:55 -07:00
Govind Singh
77aa5857fa qcacmn: Add WIN compilation fixes for TLV
Compilation fixes made to compile TLV on WIN code base.
Also, Previous gerrits used WMI_NON_TLV_SUPPORT for all
compilation fixes of WIN vs MCL, using CONFIG_MCL and
CONFIG_WIN wherever it is found appropriate to keep it
consistent with other modules.

Change-Id: I1c129d736746556210c46f3122e2739d233e1d6b
Acked-by: prgandhi@qti.qualcomm.com
CRs-Fixed: 1008872
2016-08-19 18:52:53 -07:00
qcabuildsw
8387c37f77 Release 5.1.0.22Q
Release 5.1.0.22Q

Change-Id: I4864a150da61154f8a4585f21bd78f9f9cab96b1
CRs-Fixed: 688141
2016-08-19 18:34:06 -07:00
Himanshu Agarwal
81ce26de0d qcacmn: Add API to find IPV6 mcast packet
Propagation from qcacld-2.0 to qcacmn.

Add API to find IPV6 mcast packet to use it in wma_wow_wake_up_stats
func. This is required to know if there is a IPV6 mcast packet embedded
in a link layer unicast packet.

Change-Id: Ic2af69032262237b8751019817ae181913346818
CRs-Fixed: 1049254
2016-08-19 18:34:06 -07:00
Himanshu Agarwal
bf1a7c223b qcacmn: Add API to find IPV4 mcast packet
Propagation from qcacld-2.0 to qcacmn.

Add API to find IPV4 mcast packet to use it in wma_wow_wake_up_stats
func. This is required to know if there is a IPV4 mcast packet embedded
in a link layer unicast packet.

Change-Id: Iceaf1226edbf909ca3881e049c33f7d121860ef2
CRs-fixed: 1049254
2016-08-19 18:34:05 -07:00