Wykres commitów

3628 Commity

Autor SHA1 Wiadomość Data
Nitesh Shah
960766f08e qcacld-3.0: Remove duplication of code in wlan_hdd_tdls_exit()
The propagation of the Change-ID
I52c3e7b67c7f61160c54a1a6688db09f0137b7e1 has introduced
duplication of the code in the function wlan_hdd_tdls_exit().

The change is to remove the duplicate code from this function.

Change-Id: I50119396a98206b60c3d39f245a9fdf96fc0b695
CRs-Fixed: 2002676
2017-02-08 08:09:58 -08:00
qcabuildsw
8131859c9f Release 5.2.0.9J
Release 5.2.0.9J

Change-Id: I4bd752786e4411d7e1c7110f8448215d85feb8ed
CRs-Fixed: 688141
2017-02-08 04:43:45 -08:00
Mukul Sharma
cc1f3f9ffd qcacld-3.0: Add WMI reference in PSOC and PSoc reference in WMI
Add WMI reference in PSOC and PSoc reference in WMI.

Change-Id: Ib5bb685039162fe84bac8ed6c98f848f8c7460b7
CRs-Fixed: 2002028
2017-02-08 04:43:43 -08:00
qcabuildsw
3f35691337 Release 5.2.0.9I
Release 5.2.0.9I

Change-Id: I48f01b507a4639ea6b424a5d3038abb137c6ccdc
CRs-Fixed: 688141
2017-02-07 22:35:10 -08:00
Dustin Brown
3d75fbb77e qcacld-3.0: Ignore suspend timeout during module (un)load
During suspend, the host driver asserts if the firmware does not
respond in a set amount of time. Avoid this assert if the driver
is loading or unloading when the suspend operation times out.

Change-Id: I38ff8663e29bcf1a373c1b91c8c358e2b037577d
CRs-Fixed: 2003478
2017-02-07 22:35:08 -08:00
qcabuildsw
14fd0940a8 Release 5.2.0.9H
Release 5.2.0.9H

Change-Id: I6c0f0f2783a4473cb67a04537e80acdaf73090d2
CRs-Fixed: 688141
2017-02-07 17:40:41 -08:00
Nitesh Shah
b75789dd2e qcacld-3.0: Protect ROC ctx with mutex lock during ROC callback
Multiple functions running in different thread context can access
the ROC context or alter its elements, after the roc context is
freed or its elements are altered by other functions which can
lead to crash or some other issues.

To address this, protect ROC context and its elements with mutex.
The possible scenarios addressed are during roc callback, roc
timeout and cancel roc.

Change-Id: I2c79216f71c720cd4b555061e8a69adab50dda5e
CRs-Fixed: 2002644
2017-02-07 17:40:40 -08:00
qcabuildsw
93d0611c50 Release 5.2.0.9G
Release 5.2.0.9G

Change-Id: Ic951f71cb67b13bd0ee7deb2186a127da0a401db
CRs-Fixed: 688141
2017-02-07 15:02:35 -08:00
Krunal Soni
e3399904cc qcacld-3.0: Deregister legacy & target queue callbacks upon scheduler down
Driver is missing couple of deregister handler while bringing down the
scheduler

Change-Id: I8fc181e621d56290623419bfc0fde896522e91e4
CRs-Fixed: 2001133
2017-02-07 15:02:34 -08:00
qcabuildsw
6dc8cedbb3 Release 5.2.0.9F
Release 5.2.0.9F

Change-Id: Ic63334a8d5883ada3462d55a2ab39a54c294c39e
CRs-Fixed: 688141
2017-02-07 10:57:57 -08:00
Mukul Sharma
5678be4c02 qcacld-3.0: Set peer state to associate state after connection
Currently in STA mode, host do not change the peer state to
associate state after successful connection. Hence other
components always find peer state as not associate.

As a part of this fix, move peer state to associate state.

Change-Id: Idf85e7f7b916c8c8ee19b117deb14696de8216e5
CRs-Fixed: 1115161
2017-02-07 10:57:56 -08:00
qcabuildsw
8a605d28b6 Release 5.2.0.9E
Release 5.2.0.9E

Change-Id: I71a04b90126c238956febf63aa3b2dea7a5f819d
CRs-Fixed: 688141
2017-02-07 02:30:14 -08:00
Selvaraj, Sridhar
0a71e5488d qcacld-3.0: Add INI/IOCTL for template for PowerSave/WOW functionality
Add IOCTL and INI template for PowerSave/WOW for documentation.

Change-Id: Id901feba17053e9f1c8783756d7207a93fc723d7
CRs-Fixed: 1109315
2017-02-07 02:30:13 -08:00
qcabuildsw
319a779260 Release 5.2.0.9D
Release 5.2.0.9D

Change-Id: I6410b43ab736cd42f7f184b29b6dc60fcc7fe846
CRs-Fixed: 688141
2017-02-06 13:46:12 -08:00
Kabilan Kannan
5a5b8640a7 qcacld-3.0: Fix TDLS peer idle timer memory leaks
TDLS peer list is deleted before TDLS exit
called, due to this TDLS peer idle timer
resources are not cleared correctly and
causes memory leak in the system.
Make sure TDLS peer list is deleted only
in TDLS exit function.

Change-Id: I2885d0ff21fa55a0514c68c40a9a15200bc4ed9a
CRs-Fixed: 2002378
2017-02-06 13:46:11 -08:00
qcabuildsw
679a149694 Release 5.2.0.9C
Release 5.2.0.9C

Change-Id: I37fe6480592d85cbce2a3dd85518309390bce3a2
CRs-Fixed: 688141
2017-02-06 05:20:36 -08:00
Ashish Kumar Dhanotiya
f928edf29c qcacld-3.0: Initialize modules for qdf debug framwork
Some modules are not initialized with qdf debug framework.

Initialize the new modules with the qdf debug framwork.

Change-Id: I7ff85da52d2c6c042f81e28c9e7becbc7c0d0713
CRs-Fixed: 2002626
2017-02-06 05:20:35 -08:00
qcabuildsw
8f8d678501 Release 5.2.0.9B
Release 5.2.0.9B

Change-Id: I386f0e67199024468ffe04f2e8716999815ef5f4
CRs-Fixed: 688141
2017-02-06 03:27:13 -08:00
Selvaraj, Sridhar
8fe6c67d2c qcacld-3.0: Logging enhancements to LFR3 Roaming
1) Add enhancements to the existing log prints for lFR3
with respect to host driver code.
2) Fix memory leak in Wma roaming config handler.

Change-Id: If3e26a7f374673a4c7c11862e94f042bcf9d3c58
CRs-Fixed: 1109354
2017-02-06 03:27:09 -08:00
qcabuildsw
a1f87d0ca3 Release 5.2.0.9A
Release 5.2.0.9A

Change-Id: I84a2b67256c74916ae3e21b85393a1d7eb6eeac2
CRs-Fixed: 688141
2017-02-05 22:34:59 -08:00
yeshwanth sriram guntuka
7419da7695 qcacld-3.0: Wait for vdev stop rsp before next connect
qcacld3.0-1.1 to qcacld3.0-2.0 propagation

As part of connect, when Probe resp/beacon from AP is not received,
vdev stop is sent to firmware. PE session is deleted and join rsp
is sent to sme after posting vdev stop command without waiting for
vdev stop response from firmware. SME will try to connect to next
BSS and host sends create peer to firmware. Firmware is not yet
done with vdev stop and panics.

To fix this, add callback function in lim_set_link_state to inform
when vdev stop resp from firmware is received. Upon reception of
this do the PE session clean up and send join resp to SME.

Change-Id: I43665f14736472da8da70b9c87361be769de7fac
CRs-Fixed: 1112551
2017-02-05 22:34:58 -08:00
qcabuildsw
06f6435ee4 Release 5.2.0.9
Release 5.2.0.9

Change-Id: I015f19844cedf58696a5affd161fb9c04694d777
CRs-Fixed: 688141
2017-02-03 23:37:27 -08:00
Himanshu Agarwal
471eaef30a qcacld-3.0: Add support to dump ICMPV6 RS and RA in wow wakeup stats
Propagation from qcacld-2.0 to qcacld-3.0.

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:26 -08:00
Himanshu Agarwal
ee3411a3b4 qcacld-3.0: Dump few bytes of rx packet in DPTRACE
Propagation from qcacld-2.0 to qcacld-3.0.

Add logic to dump first 32 bytes for rx packets
in DPTRACE.

Change-Id: I950108b9d1c9094ce3d285493ee36bda4f9d7e41
CRs-Fixed: 1074551
2017-02-03 23:37:24 -08:00
qcabuildsw
a0a6c25fa3 Release 5.2.0.8Z
Release 5.2.0.8Z

Change-Id: I5ef03f89a9e94df199a61b27a0a8e9cbd6d1b1df
CRs-Fixed: 688141
2017-02-03 22:23:19 -08:00
Dustin Brown
6807c74d09 qcacld-3.0: Reject Stop AP call if module is closed
Under situations where the driver detects wifi capabilities are not
being used, it cleans itself up transparently to the kernel and shuts
down. The kernel has been observed calling the stop AP callback in
these situations, even though no virtual devices are active, which
causes a crash. Gracefully reject the calls into stop AP by the
kernel in such cases.

Change-Id: Ic215b033526125412ebe12c0021c61b20f4c86a1
CRs-Fixed: 2001200
2017-02-03 22:23:18 -08:00
qcabuildsw
962baa021c Release 5.2.0.8Y
Release 5.2.0.8Y

Change-Id: Id72ea790868147b54b9e29d59c13b14c10774267
CRs-Fixed: 688141
2017-02-03 17:14:16 -08:00
Dustin Brown
67f16952a6 qcacld-3.0: Replace IEEE80211_BAND_2GHZ with NL80211_BAND_2GHZ
ieee80211_band has long since been deprecated and is superseded by
nl80211_band. Replace IEEE80211_BAND_2GHZ with NL80211_BAND_2GHZ to
prevent compilation issues against 4.7+ linux kernels.

Change-Id: I6a6fcc7eb88ff040504c8df22e779898a45081ae
CRs-Fixed: 2002311
2017-02-03 17:14:15 -08:00
qcabuildsw
fcb96b0a53 Release 5.2.0.8X
Release 5.2.0.8X

Change-Id: Ie7d952117d78d6691d6e7aa043b8e8f9e38d8a85
CRs-Fixed: 688141
2017-02-03 14:11:57 -08:00
Dustin Brown
860566f5c1 qcacld-3.0: Obsolete setMCBCFilter ioctls, remove clearMCBCFilter
The features exposed by the setMCBCFilter ioctl are exposed via newer,
standard APIs. Strip out setMCBCFilter, and replace it with instructions
for moving to the new APIs. Relatedly, clearMCBCFilter is not needed,
so remove it completely.

Change-Id: I091ca239240ea1b35afe755cfa791b83bcd91409
CRs-Fixed: 2000747
2017-02-03 14:11:55 -08:00
Dustin Brown
43992c232e qcacld-3.0: Remove unused mcast/bcast filter setting
The global HDD context contains mc/bc filter setting fields that
ultimately go unused. Remove these fields and clean up call sites as
appropriate.

Change-Id: I51dcc45d7f2d5ac8a55574b0c6dc0b30458047b8
CRs-Fixed: 1116051
2017-02-03 14:11:53 -08:00
qcabuildsw
fcab6e087e Release 5.2.0.8W
Release 5.2.0.8W

Change-Id: Iead8ba214d0bf6e71e272820eeda6e2ac31f2eed
CRs-Fixed: 688141
2017-02-03 12:25:46 -08:00
Jeff Johnson
e8216e8705 qcacld-3.0: Update sme_encrypt_decrypt_msg()
A new HDD Request Management framework is being deployed. One of the
requirements of that framework is that every request API must have a
provision for a caller-supplied context, and that caller-supplied
context must be returned to the caller when the callback function is
invoked.

Currently sme_encrypt_decrypt_msg() is not aligned with that
requirement. There is no provision for a caller-supplied context;
instead the HDD handle which is stored in the MAC context is always
returned.

In order to prepare sme_encrypt_decrypt_msg() for the HDD Request
Management framework update the curent implementation as follows:
1) Remove the separate registration and deregistration of the callback
   function pointer, and instead make the callback function and
   callback context parameters to sme_encrypt_decrypt_msg().
2) Pass the callback context when invoking the callback function.

Change-Id: I6e8c5405393f4cb732d9874ac07145caf5e95cac
CRs-Fixed: 2000026
2017-02-03 12:25:45 -08:00
Jeff Johnson
a867e0c43c qcacld-3.0: Update sme_get_bpf_offload_capabilities()
A new HDD Request Management framework is being deployed. One of the
requirements of that framework is that every request API must have a
provision for a caller-supplied context, and that caller-supplied
context must be returned to the caller when the callback function is
invoked.

Currently sme_get_bpf_offload_capabilities() is not aligned with that
requirement. There is no provision for a caller-supplied context;
instead the HDD handle which is stored in the MAC context is always
returned.

In order to prepare sme_get_bpf_offload_capabilities() for the HDD
Request Management framework update the curent implementation as
follows:
1) Remove the separate registration and deregistration of the callback
   function pointer, and instead make the callback function and
   callback context parameters to sme_get_bpf_offload_capabilities().
2) Pass the callback context when invoking the callback function.

Change-Id: I3967fdf9b002d961b0ec9a7ea78e7783b47c50a3
CRs-Fixed: 2000024
2017-02-03 12:25:42 -08:00
Jeff Johnson
a5317a6a20 qcacld-3.0: Sanitize the sme_get_link_speed() API
Currently sme_get_link_speed() requires that the caller pass an
allocated buffer as the lsReq param. This violates the general
concensus that SME should make no assumptions about the buffers passed
to it by HDD.

Update the implementation such that SME allocates the buffer that will
be passed in the message, and update HDD to use the stack.

Note that this is a prerequisite for moving the linkspeed request
processing to the new HDD Request Management infrastructure.

Change-Id: I09257855c6c260bb4a6ca91eb79bb24813cc5efa
CRs-Fixed: 2000023
2017-02-03 12:25:40 -08:00
qcabuildsw
b2b5f5c232 Release 5.2.0.8V
Release 5.2.0.8V

Change-Id: I77a7fc68ecd30bd078d58a6ac981564236d359da
CRs-Fixed: 688141
2017-02-03 04:49:46 -08:00
Hanumanth Reddy Pothula
e3fafb4bbb qcacld-3.0: Remove unnecessary log in cds_get_log_indicator
There is a possibility of excessive logging by logging thread
(cds_get_log_indicator) if SSR is in progress, which may lead
to thread stuck and thereby WD bark may happen.

Remove unnecessary log in cds_get_log_indicator, to stop excessive
logging, due to which thread is stuck.

Change-Id: I1747d92b23e208903452ad43b8c84c7b444db922
CRs-Fixed: 2001035
2017-02-03 04:49:45 -08:00
Yun Park
7e1f7c0ecc qcacld-3.0: deregister IPA uC ready callback
qcacld-2.0 to qcacld-3.0 propagation

When WLAN driver unloading, reset IPA uC ready callback.

Change-Id: Icc973ae3e8a31bc01d49aeed799b1f0c1cea170a
CRs-Fixed: 956668
2017-02-03 04:49:43 -08:00
qcabuildsw
0107dddb5c Release 5.2.0.8U
Release 5.2.0.8U

Change-Id: I5a5e7498a75e3ee002ac6c5a6c450a337cb29168
CRs-Fixed: 688141
2017-02-03 04:03:08 -08:00
yeshwanth sriram guntuka
6751663cb1 qcacld-3.0: Fix memory leak in CSR
Memory leak in csr_scan_save_roam_offload_ap_to_scan_cache
due to not freeing memory allocated using
csr_get_parsed_bss_description_ies.

Free memory in csr_scan_save_roam_offload_ap_to_scan_cache
function.

Change-Id: I6487dc5964e0e671b429f256e001fcb9d117f44b
CRs-Fixed: 1116621
2017-02-03 04:03:07 -08:00
qcabuildsw
f59f5ffe74 Release 5.2.0.8T
Release 5.2.0.8T

Change-Id: I8451c49ccb143d6550a410afc2f6f465ddf7be17
CRs-Fixed: 688141
2017-02-03 02:41:56 -08:00
Poddar, Siddarth
57f4d3fca6 qcacld-3.0: Change the timer call from qdf_timer_start to qdf_timer_mod
In hdd_bus_bw_work_handler() change the timer call from
qdf_timer_start to qdf_timer_mod as following race condition
could be possible:
1. Softirq fires and schedules the delayed work,
2. Disconnect reconnect occurs and timer gets stopped and
   started from mc thread, and
3. The delayed work tries to do the add timer and kernel BUG ON
   because the timer is already running.

CRs-Fixed: 1116652
Change-Id: I69ad49518c7b59b27069ed4212bebbc4992e3362
2017-02-03 02:41:55 -08:00
qcabuildsw
c05a3f74f5 Release 5.2.0.8S
Release 5.2.0.8S

Change-Id: I99f86852b2b179b960bf6cb38e08aacea4377fff
CRs-Fixed: 688141
2017-02-03 01:28:36 -08:00
yeshwanth sriram guntuka
db501225c3 qcacld-3.0: Update the scan result only upon finding an active session
Invalidate the scan entry if there is no active session and
do not inform it to the user space.

Change-Id: I134cceef0cfc54f68966d3287d92bdf6b35e33fc
CRs-Fixed: 1114216
2017-02-03 01:28:34 -08:00
qcabuildsw
989215d972 Release 5.2.0.8R
Release 5.2.0.8R

Change-Id: I84f944d35a4e99bc775de5dc70615815ad4543ee
CRs-Fixed: 688141
2017-02-03 00:13:12 -08:00
yeshwanth sriram guntuka
8dd8038f9a qcacld-3.0: Fix memory leak in wmi stats req without rsp
While sending WMI_REQUEST_STATS_CMDID, wma stores the request in a
allocated buffer, which is freed once firmware response is received.
However in case of driver unload, before we receive firmware event,
the buffer will not be freed and that will be leaked. Fix the memory
leak by checking for these buffers at time of wma_wmi_service_close.

Change-Id: Ie8fd5faec22ceaba415a26becf98030bc7cc13ce
CRs-Fixed: 1116622
2017-02-03 00:13:11 -08:00
qcabuildsw
e12b879ac7 Release 5.2.0.8Q
Release 5.2.0.8Q

Change-Id: I90e535189535070090b59b323b48a217eb0a76f0
CRs-Fixed: 688141
2017-02-02 23:22:18 -08:00
Nitesh Shah
5651b1e267 qcacld-3.0: Add INI template for DBS feature
Add INI template for gDualMacFeatureDisable for DBS feature
for documentation.

Change-Id: I9418178ebfb90ad4bff09d146897cf08fc205646
CRs-Fixed: 2001559
2017-02-02 23:22:17 -08:00
qcabuildsw
34b41d0e7e Release 5.2.0.8P
Release 5.2.0.8P

Change-Id: Ia69cfd159e0dbd10655de3dd80dbc9cf32a7b293
CRs-Fixed: 688141
2017-02-02 21:26:02 -08:00
Nitesh Shah
cc962810fd qcacld-3.0: Add log for roamResult in hdd_dis_connect_handler()
Add log for roamResult in hdd_dis_connect_handler().

Change-Id: I16c6988baceb9882b255eb1311fc7a172e2a0a2e
CRs-Fixed: 2000897
2017-02-02 21:26:01 -08:00