Commit graph

1,340 commits

Author SHA1 Message Date
qcabuildsw
b5aadb4f2e Release 5.1.1.1L
Release 5.1.1.1L

Change-Id: I307a05d4d2af02b3a88765b9fd243d0e8fbeeda6
CRs-Fixed: 688141
2016-09-29 15:10:32 -07:00
Ankit Gupta
38e9275e5a qcacmn: Correct the comment for qdf_mem_cmp
Comment in the api specifies that qdf_mem_cmp api
return bool value which is not correct.

Replace bool to int to reflect the correct return
type of a qdf_mem_cmp api.

Change-Id: Iff83fbf588a072dcda8b0aaef3c6743e572b1ac5
CRs-Fixed: 1066946
2016-09-29 15:10:31 -07:00
qcabuildsw
fbc62b07e5 Release 5.1.1.1K
Release 5.1.1.1K

Change-Id: I16105064505c3a3ff4f553ca748713bbb6228212
CRs-Fixed: 688141
2016-09-29 13:50:54 -07:00
Sathish Kumar
55047e66ef qcacmn: Add non-tlv registrations for atf_peer, atf_group and lcr WMI cmd
Non-TLV registrations for atf_peer, atf_group and lcr WMI command were
missed out during the WMI convergence implementation. This change adds
the missed out registrations.

Change-Id: I384c27709e088c06ee73f17b7dc1a52bb5c63370
CRs-Fixed: 1069863
2016-09-29 13:50:52 -07:00
qcabuildsw
3183f5ad72 Release 5.1.1.1J
Release 5.1.1.1J

Change-Id: Ic133e8f5357556f42c331b34d4717e077aba9477
CRs-Fixed: 688141
2016-09-27 12:32:44 -07:00
Yuanyuan Liu
3aa7fed319 qcacmn: Call PLD APIs of athdiag read/write when bus type is SNOC
Call PLD APIs of athdiag read/write if current bus type is SNOC.

CRs-Fixed: 1061835
Change-Id: I992a29027e36c98bac429f2402e93462195bd76c
2016-09-27 12:32:42 -07:00
qcabuildsw
2d8c1353ed Release 5.1.1.1I
Release 5.1.1.1I

Change-Id: I2068d7a06fdf5b7d3bd5bfb103aea6db41cc0b34
CRs-Fixed: 688141
2016-09-26 16:07:31 -07:00
Sandeep Puligilla
62ae0a9e2f qcacmn: Correct the peer assoc command TLV length
PEER assoc command failed in the tlv validation check.
Tlv length sent in the TLV header is different from
the length used to fill the tlv buffer which caused
failure at tlv validation.

Modified code to use the aligned length while
filling the tlv buffer.

Change-Id: I9ad2009315dd3cf37308ef44360d566035344950
CRs-Fixed: 1069008
2016-09-26 16:07:30 -07:00
qcabuildsw
c1aba9368f Release 5.1.1.1H
Release 5.1.1.1H

Change-Id: I48d77695a53f0ac34bce52e4a9a3a25d34603814
CRs-Fixed: 688141
2016-09-26 13:15:27 -07:00
Karunakar Dasineni
8fbfeea05f qcacmn: Lithium SRNG HAL
Initial version of HAL SRNG initialization and access functions.

Change-Id: Ic36b73bdf5053a06ca8cb2bc3a7e3edb53fc02e1
2016-09-26 13:15:26 -07:00
qcabuildsw
dda10ccdc1 Release 5.1.1.1G
Release 5.1.1.1G

Change-Id: I2254b87f12a4a4c65d9675725093df5bce703888
CRs-Fixed: 688141
2016-09-26 04:49:50 -07:00
Komal Seelam
2510b58c34 qcacmn: Prevent NOC/Link Access in resume when Link is down
propagation from qcacld-2.0 to qcacmn.

PCIe link training failure will not be indicated to cnss client driver
as a link down indication.
In System/Runtime PM resume callbacks, client driver will access the target
registers results in L2 errors.
Fix it by ensuring the PCIe link resume training is completed by reading
config space device-id.

Change-Id: I8be902330215cf3c8cb0700e6f0da5b69e274c96
CRs-Fixed: 1052965
2016-09-26 04:49:49 -07:00
qcabuildsw
6d7d3b3f62 Release 5.1.1.1F
Release 5.1.1.1F

Change-Id: I1c93065b35e0e0ef60c5c25fb4b205c5b27ff968
CRs-Fixed: 688141
2016-09-24 13:04:00 -07:00
Mukul Sharma
fbf6ce182c qcacmn: Cache ARP/NS offload request at wma layer
qcacld-2.0 to qcacmn propagation

As Current WMI interface need both the ARP/NS configuration
in single command. To support active offload host need to
cache the ARP/NS at wma layer so host can fill the other
request and configure down to firmware complete request
(ARP+NS).

Change-Id: Ie0a57d216379817ff0ae48f4f582c9108e8ecca1
CRs-Fixed: 1067683
2016-09-24 13:03:59 -07:00
qcabuildsw
5ee7985b3b Release 5.1.1.1E
Release 5.1.1.1E

Change-Id: I3a6dc52762cb53e3aae833a5576295b81eccd9a5
CRs-Fixed: 688141
2016-09-20 12:42:34 -07:00
Kiran Venkatappa
068d22da62 qcacmn: Add WMI fixes made for TLV bringup on WIN
These fixes are made during qca8074 VP control path bringup.
Add fixes in tlv.c and enable TLV helper routines for WIN.
Fixed some inconsistencies in wmi API params by adding compiler flags.
This needs to be cleaned up so that API and params have common interface
between WIN and MCL.

Change-Id: I0821daa58df86ad0b394a7846a982a9e3577cd14
CRs-Fixed: 1063252
2016-09-20 07:59:33 -07:00
Kiran Venkatappa
f41ef2e093 qcacmn: Add CE services changes for SRNG based target
SRNG based target uses SRNG(Standard Ring) interface to implement all
the ring related access functions. This change provides CE services to
use interact with SRNG for CE access. It uses hal_srng module for HW
related access. It implements src ring using SRNG src ring and
destination ring using dest and status ring.
fastpath and batch send is not implemented as these are not applicable
to this target

Change-Id: I3e2b613004a08d669319f956d7b0656447eb8521
CRs-Fixed: 1042915
2016-09-20 07:59:11 -07:00
Kiran Venkatappa
182a88a349 qcacmn: Add changes to skip fw boot, reset and HIA config
This change is applicable to Hawkeye VP bringup. It is added under
QCA_WIFI_QCA8074_VP flag

Change-Id: Ief32afebf2a306425e33e4ebc56351f10c609198
CRs-Fixed: 1063252
2016-09-20 07:58:56 -07:00
Venkateswara Swamy Bandaru
31108f318c qcacmn: Add framework for external group interrupt handling
Change-Id: I68a3c597e452e1975a97f9262870e16538f6dc4c
CRs-Fixed: 1042915
2016-09-20 07:58:33 -07:00
Venkateswara Swamy Bandaru
9fd9af065c qcacmn: Interrupt handling support for chipset QCA8074
Changes to handle Interrupts for qca8074

Change-Id: I81d4b0722d56388cc7aca08484bd8957258621d1
Acked-by: Venkateswara Swamy Bandaru <vbandaru@codeaurora.org>
CRs-Fixed: 1042915
2016-09-20 20:27:31 +05:30
Venkateswara Swamy Bandaru
2aa2c6913e qcacmn: regtable population of QCA8074
Added qca8074def.c that holds the register
table entries for qca8074.

Change-Id: I40b170722c2177cf5f53b5728cfae3730eeb8500
Acked-by: Venkateswara Swamy Bandaru <vbandaru@codeaurora.org>
CRs-Fixed: 1042915
2016-09-20 20:25:39 +05:30
Venkateswara Swamy Bandaru
e20c6dceda qcacmn: Fix AHB & disable soc-sleep durring driver load
Instead of checking target type, check bus type for skipping soc-sleep
durring driver load code.  Also enhance comments to explain why
hif_pci_target_sleep_state_adjust is called instead of
hif_target_sleep_state_adjust for the disable soc-sleep
durring driver load feature

Change-Id: I891e1b1782b46b32c1718e2c539215282e090bad
2016-09-20 20:25:20 +05:30
Venkateswara Swamy Bandaru
13164aac76 qcacmn: Make host_ce_config and target_ce_config per radio
Moving global variables host_ce_config and target_ce_config to
per radio structure.

Change-Id: Iaaee722af16812e06aae068f0fa0092cf5c8f78a
CRs-Fixed: 1042915
2016-09-20 20:24:54 +05:30
Venkateswara Swamy Bandaru
c5de4d9fd7 qcacmn: Cleanup target reg table
Remove unused fields in target reg table.

Change-Id: Ic183f7a27ffd5d4542dfe1c3eccb11825539c70f
Acked-by: Venkateswara Swamy Bandaru <vbandaru@codeaurora.org>
CRs-Fixed: 1042915
2016-09-20 20:23:50 +05:30
qcabuildsw
127461b4e7 Release 5.1.1.1D
Release 5.1.1.1D

Change-Id: Idefe3c78d1e9864d66f86abe00e947580483ff0d
CRs-Fixed: 688141
2016-09-19 01:20:36 -07:00
Pratik Gandhi
424c62e877 qcacmn: Address compilation issues for WIN new fw headers
Address compilation issues for WIN with new Lithium Firmware headers.
Also removed dependency on htt.h from header files, which may need to
add explicit dependency on htt.h in .c files.

Change-Id: Ia5027963837e645bc3f81a3db98c2ea06789aea8
CRs-Fixed: 1061096
2016-09-19 01:19:28 -07:00
qcabuildsw
483484f03a Release 5.1.1.1C
Release 5.1.1.1C

Change-Id: Ibf7c20d6a234417ee0f8ed5cc985d859b5666000
CRs-Fixed: 688141
2016-09-16 05:50:16 -07:00
Himanshu Agarwal
cf0b41853f qcacmn: Add support to get per chain rssi stats
Propagation from qcacld-2.0 to qcacmn.

Add support to get per chain rssi from fw through the
already existing WMI command WMI_REQUEST_STATS_CMDID
and then store it in the station_info structure defined
by cfg80211.

Change-Id: Id50c96dd322b5ca4db34cf2df901730d8b103251
CRs-Fixed: 1005367
2016-09-16 05:50:15 -07:00
qcabuildsw
6debe6553a Release 5.1.1.1B
Release 5.1.1.1B

Change-Id: I5ef77b1a2f901b1b814cf9465f42696f76cdc230
CRs-Fixed: 688141
2016-09-16 02:54:56 -07:00
Himanshu Agarwal
87f80ed6d0 qcacmn: CL 1641391 – update fw common interface files
Propagation from qcacld-2.0 to qcacmn.

WMI modification for DISA feature

Change-Id: I57441642986ecfb6d3ee42d602810f6b22f83c46
CRs-Fixed: 865207
2016-09-14 20:43:24 +05:30
Manjeet Singh
99f7d6ef03 qcacmn: CL 1614559 - update fw common interface files
qcacld-2.0 to qcacmn propagation.

Add support for WLAN counters and stats

Change-Id: I5601a9207529060c6c97e70f067c8e43ca45488a
CRs-fixed: 865207
2016-09-14 19:45:22 +05:30
Manjeet Singh
9347f94f95 qcacmn: CL 1613065 - update fw common interface files
qcacld-2.0 to qcacmn propagation.

Add WMI types and macros definitions for antenna isolation detect

Change-Id: I69b715c224d30b40e37d4a6a6e780b1980b490e0
CRs-fixed: 865207
2016-09-14 19:45:10 +05:30
qcabuildsw
77627801b1 Release 5.1.1.1A
Release 5.1.1.1A

CRs-Fixed: 688141
2016-09-12 19:29:16 -07:00
qcabuildsw
24bee7a4c0 Release 5.1.0.23S
Release 5.1.0.23S

CRs-Fixed: 688141
2016-09-12 19:26:51 -07:00
Manjunathappa Prakash
21196d2578 qcacmn: Fix multi queue NAPI build errors
Fix build errors on the platform where multi queue NAPI is
not supported.

Change-Id: Id9916cff11f9337f279f9aed6dfe35e7a6beb1ed
CRs-Fixed: 1066020
2016-09-12 19:26:37 -07:00
Orhan K AKYILDIZ
7ce54e770f qcacmn: add multi-queue NAPI
Add CPU cluster management functionality. On low throughput,
the system works as normal. On high throughput, the driver gets
control of WLAN datapath interrupts and disperses them on different
CPUs and pegs them to maximize performance. Add init code, topology
table construction and hotplugin notifiers.

Change-Id: I247edb57003797ed6a04f70d15067072e22c2396
CRs-Fixed: 1065477
2016-09-12 18:02:29 -07:00
Mohit Khanna
2235081d87 qcacmn: Maintain length for each TSO segment
In current codeflow, we are maintaining the length of the TSO segments
belonging to one jumbo packet inside tso_info, which is common for
all the segments of one jumbo packet. This works if the length of
the segments (frag[1]) is the same. In case it is not, it ends up
assigning incorrect length to all the segments. This is resulting
GMS login failure.
Fix issue by maintaining the total length of the segment in the
qdf_tso_seg_t structure.
Re-factor code for easy readability
Add TSO_DEBUG prints which can be enabled (compile time) to debug
TSO issues

Change-Id: Ifb5a0f1493224c66c3acc394e47a74b2dd84bbc9
CRs-Fixed: 1062556
2016-09-12 18:02:29 -07:00
qcabuildsw
d8dca2d3ba Release 5.1.0.23R
Release 5.1.0.23R

Change-Id: I3583e3eece05ef1a490debf0c899ab897200ba7d
CRs-Fixed: 688141
2016-09-12 18:02:29 -07:00
Houston Hoffman
fd52ffbe33 qcacmn: Track size of qdf_mem_list
Decrement qdf_mem_list.count when removing elements to avoid
assert when destroying the list.

Change-Id: I0d0989f3a9009184b898b8b27517e6d12fa3dc97
CRs-Fixed: 1063093
2016-09-12 18:02:28 -07:00
qcabuildsw
c10a0f60ef Release 5.1.0.23Q
Release 5.1.0.23Q

Change-Id: I21e9fa67bdd57d8a57b9bfe1050fc4427001d4c4
CRs-Fixed: 688141
2016-09-12 18:02:28 -07:00
Naveen Rawat
24eb14ce29 qcacmn: Send HT/VHT CAPs IE to firmware per band
Send HT/VHT CAPs IE to firmware per band. This will allow certain
features like LDPC to be configured per band.

Change-Id: I21c83af984f9be3ade46121ef148b52568c3ad0f
CRs-Fixed: 1059454
2016-09-12 18:02:28 -07:00
qcabuildsw
c6388debfd Release 5.1.0.23P
Release 5.1.0.23P

Change-Id: If85477ede7cc53c9e4c52de0a0431e70cb4c9510
CRs-Fixed: 688141
2016-09-12 18:02:28 -07:00
Himanshu Agarwal
df9ac5731e qcacmn: Add NULL check for HIF device before dereferencing
Propagation from qcacld-2.0 to qcacmn.

Add NULL check for HIF device structure in hif_enable_func before
dereferencing it.

Change-Id: I535d5138c2247b4b9acdf63211f30a57a1d3116f
CRs-Fixed: 1055684
2016-09-12 18:02:27 -07:00
Himanshu Agarwal
8d0cdea5b4 qcacmn: Add sanity check to avoid NULL pointer dereference
Propagation from qcacld-2.0 to qcacmn.

Add sanity check to avoid NULL pointer dereferencing of tx
completion handler callback in hif_send_buffer_cleanup_on_pipe.

Change-Id: If38b4b7cdd1154d8272e5150c6653f90df8f4b5e
CRs-Fixed: 1057490
2016-09-12 18:02:27 -07:00
qcabuildsw
af9db8b8f7 Release 5.1.0.23O
Release 5.1.0.23O

Change-Id: I8acaec24647ad96d956398019c8179bc7dc9cc1d
CRs-Fixed: 688141
2016-09-08 18:22:29 -07:00
Anurag Chouhan
61d118eb9b qcacmn: Remove ani_global.h from qca-cmn
Currently ani_global.h is included in qca-cmn,
This change removes ani_global.h and there are
corresponding changes in Driver

Change-Id: I4c1cf70e8eb1f4391a25783a560c02a43c483054
CRs-Fixed: 1012452
2016-09-08 18:22:28 -07:00
qcabuildsw
87b90e5d12 Release 5.1.0.23N
Release 5.1.0.23N

Change-Id: I748590bc98215bf96e5f8856e1c1d3c233ae0110
CRs-Fixed: 688141
2016-09-08 18:22:28 -07:00
Houston Hoffman
c1064a8fd8 qcacmn: Move ADRASTEA_BU inside pci code
Prepare to make ADRASTEA_BU true only for emulation
builds.

Change-Id: Iaeea8d8b1431f5eb670adc43e6fd54d5446bbc0f
CRs-Fixed: 1049433
2016-09-08 18:22:28 -07:00
qcabuildsw
82ef9d23ee Release 5.1.0.23M
Release 5.1.0.23M

Change-Id: I0c201f846528581d1e23d97d9600faa99c37243f
CRs-Fixed: 688141
2016-09-08 18:22:28 -07:00
Selvaraj, Sridhar
83ac1bd294 qcacmn: Add support to provide default scan IE's to FW
As part of MBO(MultiBand Operations), host driver need to supply
the default scan IEs to firmware at wifi init time using existing
VDEV SET IE command. FW uses these Scan IE's in subsequent scans
.i.e. FW initiated Probe Requests.

This Fix updates the vdev_ie_info_param struct with ie_source.
ie_source will be set with zero for VDEV SET IE commands from
host driver

Change-Id: Ie2e87da8aa94b76aef431e25d9974b8fed63eba9
CRs-Fixed: 1039969
2016-09-08 18:22:27 -07:00