Commit Graph

3702 Commits

Author SHA1 Message Date
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
qcabuildsw
4838c968e3 Release 5.2.0.8O
Release 5.2.0.8O

Change-Id: Ia2ace26ecbd4fccb058702a47af5b9c1a1c2f84c
CRs-Fixed: 688141
2017-02-02 20:49:16 -08:00
Dustin Brown
f510887d16 qcacld-3.0: Change keep-alive default to 90s
Currently the default keep-alive interval is 30s. From testing we know
90s works just as well. Change the default keep-alive interval to 90s,
up from 30s, for additional power savings.

Change-Id: If6eda06447a459e2803a4919f46cf1e57c93670f
CRs-Fixed: 2001156
2017-02-02 20:49:15 -08:00
Dustin Brown
3c31cebf4a qcacld-3.0: Use gratuitous ARP keepalive after IP address change
Currently, a null data packet keepalive method is used by default. Once
ipv4 address information is received, dynamically switch to using
gratuitous ARP for keepalive instead of null packets.

Change-Id: I475a4bf71376ab6be92fd81070ba7dce48f45151
CRs-Fixed: 2001249
2017-02-02 20:49:13 -08:00
qcabuildsw
306419ca8e Release 5.2.0.8N
Release 5.2.0.8N

Change-Id: Ib98d3d1dd8f4cb7ef289b9e558b4bb129f8e838a
CRs-Fixed: 688141
2017-02-02 20:09:48 -08:00
Dhanashri Atre
cefa88040d qcacld-3.0: Fix while processing rx packet queue
Ensure that you continue processing the list of
network packets even if one of the packets in the queue
is erraneous.

Change-Id: I4962b2e7b83b9519e3da69165760e2ac4114fc20
CRs-Fixed: 2001835
2017-02-02 20:09:47 -08:00
qcabuildsw
7ff85da52d Release 5.2.0.8M
Release 5.2.0.8M

Change-Id: I7111522be1ec18447cc0fd2afdb5fcac8ec62273
CRs-Fixed: 688141
2017-02-02 19:24:42 -08:00
Nitesh Shah
c9edcddafd qcacld-3.0: Avoid initializing tdls mutex in SSR
The change is to avoid initializing tdls mutex in SSR.

Change-Id: I85a5552bd643c17101ca5acbd6ee0880d6d7f7a6
CRs-Fixed: 2001086
2017-02-02 19:24:41 -08:00
qcabuildsw
0d0aa9b834 Release 5.2.0.8L
Release 5.2.0.8L

Change-Id: I3a81561eeb6417ca5b85ad6eed26d5d4aba73569
CRs-Fixed: 688141
2017-02-02 18:39:00 -08:00
Rajeev Kumar
d138ac59cc qcacld-3.0: Rename legacy cds_send_mb_message_to_mac properly
Legacy message posting api cds_send_mb_message_to_mac does not
belong to cds and is relocated to WMA legacy file hence rename
it accordingly.

Change-Id: I68e868b0019896baa91e34418064b33219eef2ca
CRs-Fixed: 2000246
2017-02-02 18:38:58 -08:00
Rajeev Kumar
39ff01fc84 qcacld-3.0: Remove obsolete cds_mq.h and cds_mg.c files
After control path scheduler componentization cds_mq header and
source files are not needed hence delete obsolete cds_mq.h and
cds_mq.c files.

Change-Id: I9cef1086e805d0e5ea7b377d0a2de3512b452572
CRs-Fixed: 2000240
2017-02-02 18:38:56 -08:00
Rajeev Kumar
e406d65d70 qcacld-3.0: Move legacy UMAC posting API to legacy file
After control path scheduler componentization cds_mq.[ch]
needs to be deleted hence remove legacy UMAC message posting
API to WMA legacy file.

Change-Id: I781a7586cb6dbf635e283eacd38c768a6b7f6d3e
CRs-Fixed: 2000234
2017-02-02 18:38:55 -08:00
qcabuildsw
fd5d0c0de7 Release 5.2.0.8K
Release 5.2.0.8K

Change-Id: Ibbd459f8899ebd85f67572ebf454c0818faa13be
CRs-Fixed: 688141
2017-02-02 18:33:32 -08:00
Rajeev Kumar
149787189e qcacld-3.0: Remove obsolete macro HIGH_PRIORITY
After control path scheduler componentization cds_mq.h
HIGH_PRIORITY macro is no longer used hence remove it.

Change-Id: Ied7a2078753686ee2d885b072f2f03a1fd810e9c
CRs-Fixed: 2000214
2017-02-02 18:25:34 -08:00
Rajeev Kumar
0acd92503e qcacld-3.0: Remove obsolete macro LOW_PRIORITY
After control path scheduler componentization cds_mq.h
LOW_PRIORITY macro is no longer used hence remove it.

Change-Id: I633e0eb8097eb1d035a4200018f3d96d6f34b59b
CRs-Fixed: 2000211
2017-02-02 18:25:16 -08:00
Yuanyuan Liu
7a97b8f838 qcacld-3.0: Add support for setting fw log mode for msm8998
Add support for setting fw log mode for msm8998. Change the log mode
from bool type to tristate to support multiple log modes.

CRs-Fixed: 1115611
Change-Id: I6aef023d1e3cb1b68f1520f800af094f6f6decdb
2017-02-02 12:43:36 -08:00
qcabuildsw
e3f83a931e Release 5.2.0.8J
Release 5.2.0.8J

Change-Id: I406be8746ddbbe04c980da6e9ea1f8f84b66811b
CRs-Fixed: 688141
2017-02-01 19:45:17 -08:00
Krishna Kumaar Natarajan
6736d81fd9 qcacld-3.0: Enable NETIF queues after hdd_roam_register_sta()
Enable NETIF queues after hdd_roam_register_sta().

When there is a race condition where data transmission after
hdd_association_completion and before roam_register_sta, vdev
information passed in the tx_send is a stale entry from the
previous vdev. Enabling queues after roam_register_sta will
fix this issue.

Change-Id: I67c72de46c05bbdb58188155eb1146dcf6974b16
CRs-Fixed: 1116647
2017-02-01 19:45:16 -08:00
qcabuildsw
d96a0d58f9 Release 5.2.0.8I
Release 5.2.0.8I

Change-Id: I21cdd21d2051c2aa121ed5eeb6a86d5846737087
CRs-Fixed: 688141
2017-02-01 18:17:41 -08:00
Dustin Brown
c0ad1ecdad qcacld-3.0: Reject Reg Notifier 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 reg notifier callback in
these situations, even though no virtual devices are active, which
causes a crash. Gracefully reject the calls into reg notifier by the
kernel in such cases.

Change-Id: I11e68c2224a7abf079d04c92d671f5db0804283e
CRs-Fixed: 1116475
2017-02-01 18:17:40 -08:00
qcabuildsw
5ba7ff4b36 Release 5.2.0.8H
Release 5.2.0.8H

Change-Id: I8e844963097de76056999506b8719c999745861e
CRs-Fixed: 688141
2017-02-01 16:23:33 -08:00
Dhanashri Atre
33e147e59f qcacld-3.0: Enable MCL buffer replenishment
Enable the MCL buffer replenishment compile flag.

CRs-Fixed: 1116939

Change-Id: Id98504a9324fea76662e261e35d432543a5371bc
2017-02-01 16:23:32 -08:00
Dhanashri Atre
8f044ed72a qcacld-3.0: Add callback to query for DBS
Add a callback to query the control path from
the data path on whether DBS is supported

Change-Id: I4e757624ec0229c5fb8d05862b4c3035f5b00f2f
CRs-Fixed: 1116939
2017-02-01 16:23:31 -08:00
qcabuildsw
bef311b7ac Release 5.2.0.8G
Release 5.2.0.8G

Change-Id: I112c72e3d7904f226eb3b6281186642fa315cfe8
CRs-Fixed: 688141
2017-02-01 14:18:41 -08:00
Rajeev Kumar
a88b2dcf85 qcacld-3.0: De-Register target_if_message queue properly
Currently target_if_message queue is registered using target if
module id but de-registered using legacy WMA module ID. Add changes
to de-register target_if_message queue using target if module ID.

Change-Id: I6bc24e4be102ef17da27f09cfb2655465dd3b1e2
CRs-Fixed: 2000203
2017-02-01 14:18:40 -08:00
qcabuildsw
b4672e03ce Release 5.2.0.8F
Release 5.2.0.8F

Change-Id: I0988e8cbd18f78d92b3be9b435826a039dfb2819
CRs-Fixed: 688141
2017-02-01 12:58:21 -08:00
Krishna Kumaar Natarajan
e58b40918f qcacld-3.0: Rename cdp_peer_clear() to cdp_clear_peer()
Rename cdp_peer_clear() to cdp_clear_peer() to match the cmn driver
ops.

Change-Id: Ibad07a173deb9746c783fe2fa6fa7421da68dbff
CRs-Fixed: 1116647
2017-02-01 12:58:20 -08:00