Commit Graph

4753 Commits

Author SHA1 Message Date
Sandeep Puligilla
900c39e6ec Release 5.2.0.22U
Release 5.2.0.22U

Change-Id: Ic9641bac0d919806cbc63f606422773a497ec97b
CRs-Fixed: 774533
2017-04-18 23:11:53 -07:00
Himanshu Agarwal
871f5793ff qcacld-3.0: Reduce log level for some LRO related prints
LRO mgr can have maximum of 10 LRO descriptors which means
that it can support maximum of 10 different flows. So, if more
than 10 flows are in progress simulataneously, LRO descriptor
could not be allocated for some of the flows and prints are
coming in kmsg to indicate this for every packet of those flows.
This is causing watchdog bark.

Reducing log level from error to debug to avoid watchdog bite.

Change-Id: I21c79be25035a5359b2390adbeb73a55f09db073
CRs-Fixed: 2034235
2017-04-18 23:11:53 -07:00
Sandeep Puligilla
e28bc907cc Release 5.2.0.22T
Release 5.2.0.22T

Change-Id: I3abd64756de4d28e707136e4ea80384f9664b4c2
CRs-Fixed: 774533
2017-04-18 17:49:19 -07:00
Rajeev Kumar
cf7bd801e5 qcacld-3.0: Initialize scheduler_msg on stack before posting message
Initialize scheduler_msg on stack before posting using scheduler API
such that un-used fields in message structure are initialized to 0.

Change-Id: I1f46416f15c1b81273e1b32798937c05bcf176a9
CRs-Fixed: 2034770
2017-04-18 17:49:18 -07:00
Sandeep Puligilla
04980d268c Release 5.2.0.22S
Release 5.2.0.22S

Change-Id: I646f7e646074d9f83a27b445f63a4fe692b9f25b
CRs-Fixed: 774533
2017-04-18 15:15:54 -07:00
Pramod Simha
0d3b936d94 qcacld-3.0: Changing DBS query method from DP
Changing the method DP queries WMA regarding
DBS capability. Now his call will be made through
policy manager.

Change-Id: I32cd92f022cdfcffa8659344731223fefc6efc23
CRs-Fixed: 2025317
2017-04-18 15:15:53 -07:00
Sandeep Puligilla
2dba42e770 Release 5.2.0.22R
Release 5.2.0.22R

Change-Id: I5b696b94b4ac00925b454c5afd4f4f876d44c9c5
CRs-Fixed: 774533
2017-04-18 12:25:24 -07:00
Yun Park
52b2b991c7 qcacld-3.0: Change HDD IPA to comply with the refactored SKB CB
This change refactors IPA private data stored in skb control block,
which size is reduced to 32 bits.
Owner id is changed to 1 bit, to flag if the owner is IPA.
Callback function pointer is removed by adding the callback into cdf.
Skb control block priv data is reduced to 16 bits by storing the index
to the Tx descriptor list added in HDD.

Change-Id: I0eec0636794da3b4729b8be825afe6a1275915a4
CRs-Fixed: 982728
2017-04-18 12:25:24 -07:00
Sandeep Puligilla
8536f36974 Release 5.2.0.22Q
Release 5.2.0.22Q

Change-Id: I77c186673d3e22eda01948fd478e4e1428b8fcf4
CRs-Fixed: 774533
2017-04-18 11:45:42 -07:00
Krunal Soni
fea068027c qcacld-3.0: Fix the issues reported by static analysis tool
Fix the issues reported by static analysis tool for SME and WMA
modules. Following is the summar of issues which are fixed,
1) Get the csr session first and then validate the session to avoid
   un-necessary session dereferencing.
2) If scan_info structure is null then return immediately else
   populate scan_info structure properly.
3) Valid the mac context before deferencing it.
4) Validate the roam_req, wma, synch_event pointers before deferencing
   them.

Change-Id: I522812b5c35dd540c38064e49e39ed75fb7d3e18
CRs-Fixed: 2032854
2017-04-18 11:45:41 -07:00
Sandeep Puligilla
f6f905fd0a Release 5.2.0.22P
Release 5.2.0.22P

Change-Id: Ie8e078b459e1f92abefbe4e207619e389585ba8e
CRs-Fixed: 774533
2017-04-18 10:55:03 -07:00
Yun Park
f01f6e2a49 qcacld-3.0: Correct return value when ol_txrx_pdev_post_attach fails
When ol_txrx_pdev_post_attach fails, the return values are not
correctly set, and this could cause several issues.
Fix to assign return values correcly.

Change-Id: I43fb97bbdb10e019e02bf289f5b4995461eb75db
CRs-Fixed: 1113222
2017-04-18 10:55:02 -07:00
Yun Park
16a7826b01 qcacld-3.0: Check adapter is not NULL when receiving IPA_RECEIVE event
Check adapter is not NULL when receiving IPA_RECEIVE event,
to avoid null dereference when the interface is already cleaned up.

Change-Id: Ic9240811f42edd4f495cb4eabe1268d24851d6d9
CRs-Fixed: 2001132
2017-04-18 10:55:01 -07:00
Sandeep Puligilla
8ead055f47 Release 5.2.0.22O
Release 5.2.0.22O

Change-Id: I899dcc05d42aab1797feac75d08093f05a65bbdb
CRs-Fixed: 774533
2017-04-18 07:05:59 -07:00
Ravi Kumar Bokka
794fd71719 qcacld-3.0: Enable HW broadcast filter
Add ini to param to enable/disable HW filter for bc
(except arp) frame

Change-Id: I5aaa962cf9610d7f6a1922e4593748b64e32cd49
CRs-Fixed: 1113544
2017-04-18 07:05:59 -07:00
Sandeep Puligilla
31c046736d Release 5.2.0.22N
Release 5.2.0.22N

Change-Id: Ib4c240f8639b8e30828a90255e92d50692bcddbe
CRs-Fixed: 774533
2017-04-18 06:22:18 -07:00
Abhishek Singh
c4a864b9ab qcacld-3.0: Set fProbeRsp to proper value during roam sync indication
BSS's fProbeRsp is not set during roam sync indication and thus
the frame is always indicated as beacon to kernel. If AP has hidden
SSID, this will be dropped by kernel in confusion that something
is wrong as the AP has hidden ssid but the beacon frame indicated
by driver have ssid.

Thus to fix this set BSS's fProbeRsp to proper value.

Change-Id: Id3521fe792573cb819b91269047a119a9346d7b2
CRs-Fixed: 2034849
2017-04-18 06:22:17 -07:00
Sandeep Puligilla
08769c7ecb Release 5.2.0.22M
Release 5.2.0.22M

Change-Id: I0557b01e438dfc42ae8beca2ba49d161f9fae482
CRs-Fixed: 774533
2017-04-18 04:28:58 -07:00
Ashish Kumar Dhanotiya
7ebf569e16 qcacld-3.0: Failed to set SHORT GI 160MHZ
Driver fails to set the Guard interval 160MHz.

There is an invalid check to set the guard interval 160MHz using the
current supported chanel BW. To address this issue, add appropriate
check to set the GI 160MHz.

Change-Id: Ie0c41aea0c44a24c86ddf312cf120cbda175dad5
CRs-Fixed: 2028647
2017-04-18 04:28:57 -07:00
Sandeep Puligilla
b7411ceaec Release 5.2.0.22L
Release 5.2.0.22L

Change-Id: Ia3d1de74ada9db44e7de3de6d6c8797440f80337
CRs-Fixed: 774533
2017-04-18 03:07:40 -07:00
Abhishek Singh
6f56d21a01 qcacld-3.0: Cleanup the legacy Scan cache
Cleanup the legacy scan cache code as it is moved to common
scan component.

Change-Id: I6f6710450ff692f4722ccb6d704871f50178680c
CRs-Fixed: 2033079
2017-04-18 03:07:39 -07:00
Sandeep Puligilla
77edd5674f Release 5.2.0.22K
Release 5.2.0.22K

Change-Id: Ica4d1380884c2f316140540faec163d3a4e486b0
CRs-Fixed: 774533
2017-04-18 02:25:52 -07:00
Rajeev Kumar
37d478b289 qcacld-3.0: Initialize scheduler_msg on stack before posting message
Initialize scheduler_msg on stack before posting using scheduler API
such that un-used fields in message structure are initialized to 0.

Change-Id: I4acd098ca1e975ad6ffed58d1a84c70078e2dca6
CRs-Fixed: 2034770
2017-04-18 02:25:51 -07:00
Sandeep Puligilla
39d727454c Release 5.2.0.22J
Release 5.2.0.22J

Change-Id: I0b72678c573aac71e1b97934ea98f7ee9d6f52d4
CRs-Fixed: 774533
2017-04-18 01:37:23 -07:00
Zhang Qian
e9fd14b726 qcacld-3.0: Add attribute for propagation absolute delay
qcacld-2.0 to qcacld-3.0 propagation

A new 32-bit NL80211 vendor attribute is added to configure propagation
absolute delay for 2G/5G band (unit in us).

Change-Id: I2aecaa8b007c67fa2843ad3922857f923f9b8294
CRs-Fixed: 2031008
2017-04-18 01:37:22 -07:00
Sandeep Puligilla
0522b122f0 Release 5.2.0.22I
Release 5.2.0.22I

Change-Id: I1d09b2bee4d61c5d0756456c6711efadc6496d66
CRs-Fixed: 774533
2017-04-18 00:52:48 -07:00
Abhishek Singh
d8162ca197 qcacld-3.0: Set SU bformer capability only if AP is SU bformee
If SU beamformer is set in assoc req when AP is not SU beamformee
low throughput is seen with specific AP.

To fix this, set SU bformer capability only if AP is SU bformee and
set SU bformee capability only if AP is SU bformer

Change-Id: I9093352d48722eb79db7b1992ac873bd8cf13e66
CRs-Fixed: 2025399
2017-04-18 00:52:47 -07:00
Sandeep Puligilla
1ca96858c9 Release 5.2.0.22H
Release 5.2.0.22H

Change-Id: I256120cbee0799922df30fbbefdb126a7a81e026
CRs-Fixed: 774533
2017-04-17 21:27:19 -07:00
Arif Hussain
c965192e28 qcacld-3.0: Fix incorrect size issue __lim_get_sme_join_req_size_for_alloc
__lim_get_sme_join_req_size_for_alloc returning 2 byte extra length,
using this incorrect buffer size to copy buffer may cause buffer
overflow.

Fix the same by returning correct size.

Change-Id: If9a5f3546955c72f54a11fedec76f24cd122319a
CRs-Fixed: 2034215
2017-04-17 21:27:19 -07:00
Sandeep Puligilla
9a4e1a0f37 Release 5.2.0.22G
Release 5.2.0.22G

Change-Id: Ibacd7b4a57db24611ee5efe808248e17ce5689d1
CRs-Fixed: 774533
2017-04-17 18:07:15 -07:00
Arif Hussain
d401a98846 qcacld-3.0: Set pdev wma tgt handler
Set wma target handler of pdev.

Change-Id: I735134490a45bde42e76981fced6324c0c53a858
CRs-Fixed: 2021357
2017-04-17 18:07:14 -07:00
Sandeep Puligilla
c310b0ac6b Release 5.2.0.22F
Release 5.2.0.22F

Change-Id: I31dd274573324ae2f70abda3f8067c9f63aeab54
CRs-Fixed: 774533
2017-04-17 16:12:38 -07:00
Naveen Rawat
3c49d192eb qcacld-3.0: Free stats_rsp in vdev_detach before zeroing iface buffer
1) In function wma_vdev_detach_callback, free stats_rsp before zeroing out
iface buffer, else the stats_rsp memory which is not sent to upper layer is
lost.
2) In function wma_get_stats_req set stats_rsp buffer to NULL after
posting it to upper layers, so that in case this function is pre-empted
we do not lose buffer pointer.

Change-Id: I8d6261cb53758e02217d68ff01b94bb812adc7fd
CRs-Fixed: 2015436
2017-04-17 16:12:37 -07:00
Sandeep Puligilla
429853ffb6 Release 5.2.0.22E
Release 5.2.0.22E

Change-Id: I07f7b94a4b62f8d4e51b96900626ef1a740616ea
CRs-Fixed: 774533
2017-04-17 15:31:43 -07:00
Naveen Rawat
ae0aaa8379 qcacld-3.0: Fix possible NULL pointer dereference
In function sme_get_beacon_frm, csr_get_fst_bssdescr_ptr can return a NULL
pointer. Check it against NULL before usage.

Change-Id: I76112adf9a0a618bf7e956911d68e7ee2edac61e
CRs-Fixed: 2008664
2017-04-17 15:31:42 -07:00
Sandeep Puligilla
5767349712 Release 5.2.0.22D
Release 5.2.0.22D

Change-Id: I289bc9745743c98d972db0bfb9a80bcd32d93338
CRs-Fixed: 774533
2017-04-17 14:52:25 -07:00
Dhanashri Atre
170855e137 qcacld-3.0: Lithium LRO Support
Add changes needed to support Receive Offload (LRO) on Lithium.

CRs-Fixed: 1107169
Change-Id: I2fb00fa83a52b039e6ad9aea9a98576f2c36d6fa
2017-04-17 14:52:24 -07:00
Sandeep Puligilla
a44b4a6795 Release 5.2.0.22C
Release 5.2.0.22C

Change-Id: I8f6759dd1c7fb4e02baf829fd0cbdeadb1a3510b
CRs-Fixed: 774533
2017-04-17 12:31:26 -07:00
Sandeep Puligilla
8de3c1c765 qcacld-3.0: Deinitialize the scan pdev OS private
Deinitialize the scan pdev os private member
as part of the hdd deinit sequence.

Change-Id: I451000ac5d883418e380b72f281663c57b276f2d
CRs-Fixed: 2033622
2017-04-17 12:31:25 -07:00
Sandeep Puligilla
da3e28215a Release 5.2.0.22B
Release 5.2.0.22B

Change-Id: If78ebcec8a0cc1c692323371467cf0cec3c94dc8
CRs-Fixed: 774533
2017-04-17 00:17:30 -07:00
Selvaraj, Sridhar
ced570637e qcacld-3.0: Send QCN IE to FW as part of scan and assoc IE for LFR3
Currently, host driver adds QCN IE in probe/assoc request initiated
from driver.

If QCN IE support is enabled in host driver[g_qcn_ie_support INI is 1],
add the QCN IE as part of scan/assoc IE's that are sent to FW to be
used for probe/assoc/reassoc frames initiated by FW.

Change-Id: Ic4d58b2cb827668a9ce9cfa5bad4d882816d607b
CRs-Fixed: 1117332
2017-04-17 00:17:29 -07:00
Selvaraj, Sridhar
d1225e6f65 qcacld-3.0: Cleanup unnecessary logs in roaming component
Remove unwanted redundant info printed across multiple
layers[csr, lim, wma] with respect to roaming.

Change-Id: I5197633b0e5afc775c1e10a6e75c58c58055ec49
CRs-Fixed: 2021082
2017-04-17 00:17:26 -07:00
Selvaraj, Sridhar
97ce658f73 qcacld-3.0: Add "g_fils_max_chan_guard_time" INI and pass it to firmware
Add "g_fils_max_chan_guard_time" INI and pass the configured value
to firmware for STA vdev as part of vdev attach. Based on this INI,
firmware will calculate the dwell time while sending in probe request.

Change-Id: I2336a7e0a37181ea00ef117e9907e7eaf194ae3d
CRs-Fixed: 1114057
2017-04-17 00:17:23 -07:00
Sandeep Puligilla
7716dc2e23 Release 5.2.0.22A
Release 5.2.0.22A

Change-Id: I8da57c2f424adfe90f19c73c70c6c25cf5a602d7
CRs-Fixed: 774533
2017-04-16 22:47:48 -07:00
gaolez
b432ed94f4 qcacld-3.0: Add 4 counts to link layer stats
qcacld-2.0 to qcacld-3.0 propagation

Add 4 counts to link layer stats which will be retrieved along with
other link layer stats fields by application to decide if channel
hopping needed.

Change-Id: Ic413b8ad98f1147715cf89c083aa9a77e60a2dc6
CRs-Fixed: 1094958
2017-04-16 22:47:47 -07:00
Sandeep Puligilla
55d19e6f78 Release 5.2.0.22
Release 5.2.0.22

Change-Id: If3d4ab29b8f66a7b7fb39339cb491353b8e7c0b3
CRs-Fixed: 774533
2017-04-16 21:16:56 -07:00
Zhang Qian
b3326c61fe qcacld-3.0: Fix resource leak in __ol_transfer_bin_file
qcacld-2.0 to qcacld-3.0 propagation

If data was NULL in fw_entry, fw_entry should be released before return.
Otherwise there will be resource leakage.

Change-Id: I0a72f6bd74f349baf1028aed1f9988b188cda1b6
CRs-fixed: 1111115
2017-04-16 21:16:55 -07:00
Sandeep Puligilla
fe9b529e5c Release 5.2.0.21Z
Release 5.2.0.21Z

Change-Id: I8a9bdaf4459cc9745cd0cb0cd6c5c612ad78704e
CRs-Fixed: 774533
2017-04-16 15:58:43 -07:00
Amar Singhal
5cccafec64 qcacld-3.0: Wiphy initialization for regulatory offload
For regulatory offload, send the regulatory config settings to regulatory
component to compute the current channel list. Query channel list for
each band. Populate the channel list in wiphy. Also do not register
regulatory notifier with the kernel anymore.

CRs-Fixed: 2008013
Change-Id: Ia4995c7498d97fe1e37717e65daa9dcacb2f21b3
2017-04-16 15:58:42 -07:00
Sandeep Puligilla
a1154263ec Release 5.2.0.21Y
Release 5.2.0.21Y

Change-Id: I9d8c1ea9c8372bce4c7ce96379b48dd30b1bcc7a
CRs-Fixed: 774533
2017-04-16 02:32:25 -07:00