Commit Graph

4920 Commits

Author SHA1 Message Date
Sandeep Puligilla
1ee07ca464 Release 5.2.0.22Y
Release 5.2.0.22Y

Change-Id: Icc2a527f26f2d3a722ee396c60d89570e93cab0a
CRs-Fixed: 774533
2017-04-19 13:57:25 -07:00
Dhanashri Atre
ab7c9cb8a9 qcacld-3.0: Fix double free of the network buffer
Ensure the skb is submitted to the network stack only once.

Change-Id: If3f358971f2980f0ca05c98177c998b7d59200ab
CRs-Fixed: 2035230
2017-04-19 13:57:24 -07:00
Sandeep Puligilla
ed29e09a16 Release 5.2.0.22X
Release 5.2.0.22X

Change-Id: Id61efe89ec22f713c1b79d661f6b0e4e3f16c0d5
CRs-Fixed: 774533
2017-04-19 12:33:07 -07:00
Abhishek Singh
9100cc8c2f qcacld-3.0: Fix logic to calculate max number of NSS supported
Logic to calculate max chainmask supported is used to calculate
max NSS and thus when NSS passed is 2 the firmware was sent value
3 which is causing firmware crash as max NSS supported is 2.

To fix, added logic that if NSS is greater than WMA_MAX_NSS(2) make
it WMA_MAX_NSS.

Change-Id: Ic7ff541b60434c0ce501d245462cd45e62dd9403
CRs-Fixed: 2033675
2017-04-19 12:33:06 -07:00
Abhishek Singh
471652b272 qcacld-3.0: Indicate failure to HDD if HW mode change timesout
If HW mode change timeout happens during connect req in CSR,
the status received by HDD is success and it assumes connect is
queued and does not reset the HDD state. This lead to subsequent
scan failures.

To fix, return failure status to HDD if HW mode change timesout.
Also avoid sending QDF status to supplicant as part of connect
failure.

Change-Id: I49d189ad75a585d894b5e819190c2dc3d9cc1453
CRs-fixed: 2031149
2017-04-19 12:33:04 -07:00
Sandeep Puligilla
2d83f2c972 Release 5.2.0.22W
Release 5.2.0.22W

Change-Id: Id486160959368763cdc3b5ffaf2881ecdba4ae9a
CRs-Fixed: 774533
2017-04-19 10:58:35 -07:00
Sachin Ahuja
dddd263d8f qcacld-3.0: Add wait for timeout in state ctrl param
Currently wait for timeout happens in module_init which blocks
the driver loading in case of static driver

To mitigate this issue, wait is added in state ctrl param for DLKM,
static and load once and unload never driver types.

Change-Id: I1c2e427df3faa3cf68295868f6d98746e481987f
CRs-Fixed: 2012813
2017-04-19 14:14:14 +05:30
Sandeep Puligilla
0c68e22cac Release 5.2.0.22V
Release 5.2.0.22V

Change-Id: Iceecf1a58c5d7c3f2bbfaaa6aba2e144fef854e5
CRs-Fixed: 774533
2017-04-19 00:32:35 -07:00
Srinivas Girigowda
f5b000d16e qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_mlm_req_messages.c
Replace lim_log() with pe_* appropriate log levels in lim_process_mlm_req_messages.c

Change-Id: I8b8de77c3660883e2ac74df003b65bc8a4fc2079
CRs-Fixed: 1093093
2017-04-19 00:32:35 -07:00
Srinivas Girigowda
2751e4d0ac qcacld-3.0: Replace lim_log() with pe_* log levels in parser_api.c
Replace lim_log() with pe_* appropriate log levels in parser_api.c

Change-Id: I20412f59b977b6790b6a1a79a958802f64910e4e
CRs-Fixed: 1093093
2017-04-19 00:32:33 -07:00
Srinivas Girigowda
a0ffeca59c qcacld-3.0: Replace lim_log() with pe_* log levels in dph_hash_table.c
Replace lim_log() with pe_* appropriate log levels in dph_hash_table.c

Change-Id: I5e41c8e6ceacff0804a673670d5cfd28c08ec8b2
CRs-Fixed: 1093093
2017-04-19 00:32:31 -07:00
Srinivas Girigowda
19b944f854 qcacld-3.0: Replace lim_log() with pe_* log levels in rrm_api.c
Replace lim_log() with pe_* appropriate log levels in rrm_api.c

Change-Id: I7d40c0c11a542c4a751808a77c65b121efef8032
CRs-Fixed: 1093093
2017-04-19 00:32:29 -07:00
Srinivas Girigowda
dfd2120d20 qcacld-3.0: Replace lim_log() with pe_* log levels in nan_datapath.c
Replace lim_log() with pe_* appropriate log levels in nan_datapath.c

Change-Id: I872af42af1033a1860579ec2317b82656c05a0ab
CRs-Fixed: 1093093
2017-04-19 00:32:28 -07:00
Srinivas Girigowda
d0a72f9b5c qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_cfg_updates.c
Replace lim_log() with pe_* appropriate log levels in lim_process_cfg_updates.c

Change-Id: I5fca7d8bd71aefaaa293bfe9c636cdd6639c4581
CRs-Fixed: 1093093
2017-04-19 00:32:26 -07:00
Srinivas Girigowda
08d546691c qcacld-3.0: Replace lim_log() with pe_* log levels in lim_link_monitoring_algo.c
Replace lim_log() with pe_* appropriate log levels in lim_link_monitoring_algo.c

Change-Id: I84c7847e6d28458a5ec2f2fa1a6c35cd57a80573
CRs-Fixed: 1093093
2017-04-19 00:32:24 -07:00
Srinivas Girigowda
6760da8560 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_security_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_security_utils.c

Change-Id: I4b52da67bd09af2719144cf501d89a11bafc5201
CRs-Fixed: 1093093
2017-04-19 00:32:22 -07:00
Srinivas Girigowda
1da5ce0c8c qcacld-3.0: Replace lim_log() with pe_* log levels in lim_ft_preauth.c
Replace lim_log() with pe_* appropriate log levels in lim_ft_preauth.c

Change-Id: I5c80d09f7d158ecec5af64ac41501d550ad98342
CRs-Fixed: 1093093
2017-04-19 00:32:20 -07:00
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