Commit grafiek

1940 Commits

Auteur SHA1 Bericht Datum
Krunal Soni
dce49ecf59 qcacmn: Deregister legacy & target queue callbacks upon scheduler down
Driver is missing couple of deregister handler while bringing down the
scheduler.

Change-Id: I99fe6e9a5d3cac800154945e41e707ebb7ee6396
CRs-Fixed: 2001133
2017-02-07 15:02:27 -08:00
Krunal Soni
ba5d80ca81 qcacmn: Initialize qid to qidx mapping to max value
By default qid to qidx mapping gets value zero as default
initialization which creates issue to identify whether zero
is valid or invalid index.

Initializing to maximum value will eliminate above mentioned
issue.

Change-Id: I4c0e2ba45e67fe6e167bd965bdb7ab901c3828a8
CRs-Fixed: 2001133
2017-02-07 15:02:26 -08:00
qcabuildsw
ae7f3cfb74 Release 5.1.1.9Q
Release 5.1.1.9Q

Change-Id: Ibe3e5899c33d023dc4a27d2dac8e09ebaed66bf6
CRs-Fixed: 688141
2017-02-07 09:56:36 -08:00
Govind Singh
23a1564da5 qcacmn: Do not copy buffer to user-space if diag read fails
ATH diag procfs read is copying read_buffer to user space
unconditionally, causing kernel heap information leak of
uninitialized read_buffer if hif diag read fails.
Do not copy buffer to user space if diag read fails to
avoid information leak to user space.

Change-Id: I5e07cad4f90e5e9b3c461268b8fa3635c3128b9f
CRs-Fixed: 1104731
2017-02-07 09:56:35 -08:00
qcabuildsw
cb65cfc354 Release 5.1.1.9P
Release 5.1.1.9P

Change-Id: I36546fb74bd6911433697a6f77681db0bf772284
CRs-Fixed: 688141
2017-02-06 22:50:11 -08:00
Dhanashri Atre
0215a3ee92 qcacmn: Pass the mac id while getting the ring id
There is a bug where the mac id passed to get the
HAL srng id is always hardcoded to 1. This should be
the mac id.

Change-Id: I0e07c420f77c7158b0a778c8a5fc81af7de2e5ee
CRs-Fixed: 2003050
2017-02-06 22:50:10 -08:00
qcabuildsw
520200d7ff Release 5.1.1.9O
Release 5.1.1.9O

Change-Id: Ia3a0ef1f305346c8f37174ec5681d1915fe77046
CRs-Fixed: 688141
2017-02-06 10:04:17 -08:00
Ashish Kumar Dhanotiya
d199fcb394 qcacmn: Add the modules names for qdf debug framwork
Some modules are added and are not present in the category name array.

Add the names of the new modules in the qdf category name array.

Change-Id: Ie1fe5afe8b1c7ac7e97b537297bead75ddd7811e
CRs-Fixed: 2002771
2017-02-06 20:56:35 +05:30
qcabuildsw
1a2ab6fee3 Release 5.1.1.9N
Release 5.1.1.9N

Change-Id: I67a9d1a96bca69d79699b391b603549676a1ad5b
CRs-Fixed: 688141
2017-02-06 02:15:06 -08:00
Vijay Pamidipati
28285a0ac7 qcacmn: Add QDF WAR for x86 to allocate consistent memory from high mem
Add a WAR to ensure consistent memory allocation is
above 0x50000000 region for x86 builds for Lithium

CRs-Fixed: 1112381
Change-Id: If9e05f9d4ba05676d66e065d663a268058f0c110
2017-02-06 02:15:04 -08:00
qcabuildsw
a447105852 Release 5.1.1.9M
Release 5.1.1.9M

Change-Id: I9050257068f4a07d979cf1b345aba1e2137e3288
CRs-Fixed: 688141
2017-02-05 02:12:32 -08:00
Vivek
315fe40bee qcacmn: Enable the scheduler based timer
Exporting the QDF timer API's required for enabling scheduler based timers.
Fixed the compilation issues when scheduler code is enabled.

Change-Id: I148bb17c361fdff101fab3711af3c0a6c4158963
CRs-Fixed: 1117366
2017-02-05 02:12:31 -08:00
qcabuildsw
b0727eeb5d Release 5.1.1.9L
Release 5.1.1.9L

Change-Id: I2f403a61a0d187e11e25d1ee0dd66e97cf4fa9d9
CRs-Fixed: 688141
2017-02-03 23:37:19 -08:00
Himanshu Agarwal
4f162b59fc qcacmn: Add support to dump ICMPV6 RS and RA in wow wakeup stats
Propagation from qcacld-2.0 to qcacmn.

Add support to dump information for ICMPV6 RS and RA packets in
wow wakeup stats.

Change-Id: I1a2852189664fff31e29b487d7a8c66ee83931c5
CRs-Fixed: 1115364
2017-02-03 23:37:17 -08:00
Himanshu Agarwal
f30a9e9314 qcacmn: Add support to dump few bytes of rx packet in DPTRACE
Propagation from qcacld-2.0 to qcacmn.

Add support to dump few bytes of rx packets in DPTRACE by adding
QDF_DP_TRACE_HDD_RX_PACKET_RECORD in DPTRACE enum.

Change-Id: I950108b9d1c9094ce3d285493ee36bda4f9d7e41
CRs-Fixed: 1074551
2017-02-03 23:37:16 -08:00
qcabuildsw
6ad7666c15 Release 5.1.1.9K
Release 5.1.1.9K

Change-Id: I7738f6c3d41da850d102963753bea637b686f5df
CRs-Fixed: 688141
2017-02-03 18:06:20 -08:00
Krunal Soni
c4e3592bbf qcacmn: Serialization Init and DeInit
Define folder and file structure for
Serialization UMAC convergence component.
Define the changes for initializing and de-initializing
the serialization component

Change-Id: I1074091a74bba8aa7426345f6fb1a5df127f1a59
CRs-Fixed: 2000032
2017-02-03 18:06:19 -08:00
Krunal Soni
748e6b76a1 qcacmn: Create serialization component's public API
Define the public APIs for serialization component for other
components to use.

Change-Id: I66c8fd2c85aaf7b78f98ea6a273784fa253969b6
CRs-Fixed: 2000032
2017-02-03 18:06:17 -08:00
qcabuildsw
baf3efd0b8 Release 5.1.1.9J
Release 5.1.1.9J

Change-Id: I4db07054be5d1c5b6efd0b2ae17b4eaa1ec1e0fa
CRs-Fixed: 688141
2017-02-03 11:43:02 -08:00
Houston Hoffman
e49a538582 qcacmn: Ensure shadow_v2 config is initialized
Fix a crash durring hif_wlan_enable where the shadow_v2 was
dereferenced while pointing to garbage memory.

For legacy ce, uninitialized values from the stack were left
in the pld shadow_v2 config.  The checks to skip printing the
shadow_v2 config were confused by uninitized stack memory and
the driver tries to dereference unitialized shadow_v2 memory.

Ensure the configuration is filled with NULL & 0 when it is
not applicable.

Change-Id: I668fcf78b1a7c8e6e235d96e428a9808a4e072c7
CRs-Fixed: 2001315
2017-02-03 11:43:01 -08:00
qcabuildsw
4cbbad44e1 Release 5.1.1.9I
Release 5.1.1.9I

Change-Id: I37932bb9096e7aded1dd708f5a1f82b3703e15dd
CRs-Fixed: 688141
2017-02-03 10:03:51 -08:00
Gurumoorthi Gnanasambandhan
488874a163 qcacmn: Setkey convergence for TLV and non-TLV boards
Changes to use single structure for setkey in TLV and non-TLV cases.

Change-Id: I4cb249ec15beeced5223d8593a3a7fdb5645462c
CRs-fixed: 1117377
2017-02-03 10:03:49 -08:00
qcabuildsw
2c8d2e0c14 Release 5.1.1.9H
Release 5.1.1.9H

Change-Id: I0c1d95b73b35bc6bed7ef25c0282bd057ff51799
CRs-Fixed: 688141
2017-02-02 22:42:21 -08:00
Nandha Kishore Easwaran
e1e9915d09 qcacmn: Add WMI vdev param AMPDU per Vap
This is needed for a requirement to change A-MPDU configuration
from per radio to per vap.

Change-Id: I916985d49bc5b059b7887b945acde798be0b38e3
CRs-fixed: 1107866
2017-02-02 22:42:19 -08:00
qcabuildsw
ad34a02d0e Release 5.1.1.9G
Release 5.1.1.9G

Change-Id: I39f605d12d33f8318e3a6bd31beb9253bbd42842
CRs-Fixed: 688141
2017-02-02 22:03:32 -08:00
Nandha Kishore Easwaran
6755e4fb56 qcacmn: Add FIPS wmi tlv support
Add WMI TLV suport for FIPS test.

Change-Id: Ief6aca5ef52ef73701d130914942733062ae09bb
CRs-Fixed: 1107814
2017-02-02 22:03:31 -08:00
qcabuildsw
3dc6a0eb1a Release 5.1.1.9F
Release 5.1.1.9F

Change-Id: I89d87356cac2dcee46b82028d8112373dea22074
CRs-Fixed: 688141
2017-02-02 20:09:42 -08:00
Dhanashri Atre
bda02dc9c2 qcacmn: Fix rx packet queue processsing
- Ensure the head and tail pointers are reset after
processing the packets on each vdev
- Ensure the network buffer is null terminated when
processing the null queue

Change-Id: I7bfab46b7fc6054e782f7f1fc09dd56a58e46a4d
CRs-Fixed: 2001835
2017-02-02 20:09:41 -08:00
qcabuildsw
ca0956bc79 Release 5.1.1.9E
Release 5.1.1.9E

Change-Id: Ic4b2b9db7b011fb141fb3363f1529cd704cfcd85
CRs-Fixed: 688141
2017-02-01 16:23:40 -08:00
Debashis Dutt
af64522cc3 qcacmn: Add debug logging To Tx/Rx path
Add Tx completion status value to the logging
of Tx completions. In addition dump Rx meta-data
and first few bytes of Rx packet only on NAPIER
EMULATION platform. This is only to facilitate
faster debug from the logs, and will be disabled,
once we have more stability.

Change-Id: I69d9e2fd6ad32efe01b8e56f355db5ed6d4d2e70
CRs-Fixed: 1116939
2017-02-01 16:23:39 -08:00
Dhanashri Atre
d4032abf27 qcacmn: Support for configuring 2nd MAC
Add support to configure the second LMAC ring
which is needed for DBS.

Change-Id: Idb055621d174c994e267dc6dcca2bc798ae79bfc
CRs-Fixed: 1116939
2017-02-01 16:23:38 -08:00
Dhanashri Atre
8b3f377928 qcacmn: Null terminate the rx packets list
Add NULL termination to the list of rx frames
before passing them to the high level OS.

Change-Id: Ibc51f14b8b9ef2a8dff7147f4072910e11540093
CRs-Fixed: 1116939
2017-02-01 16:23:37 -08:00
qcabuildsw
9ccbdd3623 Release 5.1.1.9D
Release 5.1.1.9D

Change-Id: I8c15c070ac588bc037c1d3fd2f60eab35e9bc8af
CRs-Fixed: 688141
2017-02-01 12:58:16 -08:00
Krishna Kumaar Natarajan
d684ba2f05 qcacmn: Update dp_peer structure to store qdf timers to detect DOS attack
Update dp_peer structure to store qdf timers to detect DOS attack. Following
driver ops are registerd to access the dp peer information
    - last_assoc_received
    - last_disassoc_received
    - last_deaauth_received
    - clear_peer

Change-Id: I21a3f4e5ab626e62f58f307d02640b7d96c9b1ef
CRs-Fixed: 1116647
2017-02-01 12:58:15 -08:00
qcabuildsw
ecfb31c7ae Release 5.1.1.9C
Release 5.1.1.9C

Change-Id: I451cda97e07523a9b6fffc35dcf5cad391a6ae09
CRs-Fixed: 688141
2017-02-01 11:47:54 -08:00
Krishna Kumaar Natarajan
71e5b83377 qcacmn: Fix peer ref_cnt usage and add logs for the same
Enable logs to print peer ref_cnt and decrement ref_cnt
in helper functions.

Change-Id: I6e6a275fba35003011095d93c79d7a052d5ec56e
CRs-Fixed: 1116647
2017-02-01 11:47:54 -08:00
Krishna Kumaar Natarajan
604fe16cc0 qcacmn: Update peer delete sequence in dp_peer_delete_wifi3()
Update peer delete sequence in dp_peer_delete_wifi3(). Currently
local peer id is freed and peer_info_spinlock is destroyed after peer
is deleted. This is resulting in OOPS error. Call dp_unref_peer_delete
only after cleaning other peer information.

Change-Id: I58cd7114d07c7d7addc941e8509661f050c23a9c
CRs-Fixed: 1116647
2017-02-01 11:47:53 -08:00
Krishna Kumaar Natarajan
1741dc4546 qcacmn: Disable freeing TID's hw queue descriptor in dp_rx_tid_delete_cb()
Disable freeing TID's hw queue descriptor in dp_rx_tid_delete_cb() as a
workaround to avoid OOPS error.

Change-Id: I6ab5f8590ec3ac434cf024b1eb735bff273fd330
CRs-Fixed: 1116647
2017-02-01 11:47:52 -08:00
Krishna Kumaar Natarajan
e61cf8776f qcacmn: Delete unused dp_rx_tid_stats_cb() function
Delete unused dp_rx_tid_stats_cb() function.

Change-Id: Ifc7d5c989a8e5b24aeada3a515a0bcc2a0b2860e
CRs-Fixed: 1116647
2017-02-01 11:47:51 -08:00
Karunakar Dasineni
a8c779b2d1 qcacmn: Fix REO command issues
Fixes for issues seen while sending multiple REO commands:
- Fix bug in error return from hal_reo API.
- REO status for updates done as part of peer deletion are sometimes
  received after peer is deleted, causing crash due to invalid access
  in REO command status handler. Fixed by using temporary copies for
  rx_tid structures.
- Zero out REO command descriptors before setting up new commands.

Change-Id: I63409eb74fd91a21e0264fb2b3a62efb3a91bfe6
2017-02-01 11:47:50 -08:00
qcabuildsw
d63ad93791 Release 5.1.1.9B
Release 5.1.1.9B

Change-Id: I9dd95b4da0988f9ac8ad095caf7feb7e1247176a
CRs-Fixed: 688141
2017-02-01 06:40:20 -08:00
Hanumanth Reddy Pothula
d51739fbfc qcacmn: Enable HW broadcast filter
Add ini to param to enable/disable HW filter for bc
(except arp) frame

Change-Id: Iccb68e1816c897a63414fff849f3d505ef6361e5
CRs-Fixed: 1113550
2017-02-01 17:12:44 +05:30
qcabuildsw
07b8ba1e1b Release 5.1.1.9A
Release 5.1.1.9A

Change-Id: I858327fadb500999ef94d4ef2b6c280145d2f029
CRs-Fixed: 688141
2017-01-31 19:36:40 -08:00
Sandeep Puligilla
7225a3b99b qcacmn: Merge Scan manager and scan database umac id
Scan module is single component containing scan manager
services and scan database services so merge Scan manager
and scan database umac component id's.

Change-Id: I02f946824e34bb68c979b6ef3d2026aeb4cd1447
CRs-Fixed: 1113735
2017-01-31 19:36:39 -08:00
qcabuildsw
3e03c1f0f1 Release 5.1.1.9
Release 5.1.1.9

Change-Id: Ia0c43ed89d383750f94566353b08e077f620bd7c
CRs-Fixed: 688141
2017-01-31 18:53:14 -08:00
Houston Hoffman
aa12e04bad qcacmn: noinline dp_tx_send_msdu_multiple when QDF_LOCK_STATS
When QDF_LOCK_STATS is enabled, dp_tx_send_msdu_multiple needs to
not be inlined to avoid an [-Werror=maybe-uninitialized] compilation error.

": error: 'msdu_info' may be used uninitialized in this function"

Change-Id: I46edc3e3f5fdc498cb31c4eab38c89f91def10ba
CRs-Fixed: 2000132
2017-01-31 18:53:14 -08:00
Houston Hoffman
72ddc02a93 qcacmn: Propperly free ce recv buffers durring driver unload
Ce recv buffers that were given to hardware and never returned
need to be freed.

Change-Id: I427ef993110e24dcbbc1891fe3eb456f688526ae
CRs-Fixed: 2000136
2017-01-31 18:53:13 -08:00
Houston Hoffman
fc0a960b55 qcacmn: Handle allocation failure in dp_rx_buffers_replenish
Need to handle allocation failure when replenishing rx buffers.

Change-Id: Iad9fad5b14bd0f9599105e255689f8fa174b816d
CRs-Fixed: 2000138
2017-01-31 18:53:12 -08:00
Houston Hoffman
3274fbc178 qcacmn: Remove ce_debug_cmplsn_context_srng
static globabl variables are not thread safe.

Change-Id: Ib315051d6a1da99740b501131cae449f8440e83c
CRs-Fixed: 2000140
2017-01-31 18:53:11 -08:00
Houston Hoffman
540222c531 qcacmn: Set defaults for QDF_LOCK_STATS features
Allow kbuild to enable/disable these features, but provide
defaults if the kbuild is unaware of these features.

Change-Id: Icd8054b5607749fd385f6664b8e06b31894c56c7
CRs-Fixed: 1111956
2017-01-31 18:53:10 -08:00