Commit Graph

4885 Commits

Author SHA1 Message Date
Sen, Devendra
e424c93f90 qcacld-3.0: Remove repeated host diag events
Remove inappropriate diag events which sending the same event id twice.

Change-Id: I9b79aec476ec5feecd975a52ac8ff2ee0be68753
CRs-Fixed: 2028543
2017-04-20 00:46:33 -07:00
Sandeep Puligilla
4040aac905 Release 5.2.0.23D
Release 5.2.0.23D

Change-Id: Ie9eb53a1282e2ff27a6c784c2502a52388c8c70f
CRs-Fixed: 774533
2017-04-20 00:05:04 -07:00
Frank Liu
d4b2fa05e2 qcacld-3.0: TDLS module converge
Enable TDLS module

Change-Id: I5c898deddddfc5d1646a07e34dce03813b55ff1b
CRs-Fixed: 2011330
2017-04-20 00:05:04 -07:00
Sandeep Puligilla
fc3959f443 Release 5.2.0.23C
Release 5.2.0.23C

Change-Id: I85e06a498d31d62f9a95e735cee9837a2266056f
CRs-Fixed: 774533
2017-04-19 23:20:44 -07:00
Zhang Qian
a6e9c10043 qcacld-3.0: Add monitor for peer PS change and TX fail
qcacld-2.0 to qcacld-3.0 propagation

Once a peer sta's power state changes, fw will send
WMI_PEER_STA_PS_STATECHG_EVENTID to host. Once there
is TX failure on air, HTT_T2H_MSG_TYPE_TX_COMPL_IND
with an unsuccess status will be received by host.

These two kinds of messages from FW will be transferred
into SME message and sent to HDD layer.

Change-Id: If37798bcd06fb8c3f7a2690e77a572b41d7b266f
CRs-fixed: 1048388
2017-04-19 23:20:43 -07:00
Sandeep Puligilla
b2cfec6832 Release 5.2.0.23B
Release 5.2.0.23B

Change-Id: Ie7a5de0a19aef57f4c6ee4f8f4b010015a3453c4
CRs-Fixed: 774533
2017-04-19 18:55:13 -07:00
Manikandan Mohan
2e803a0136 qcacld-3.0: Cleanup IPA resource init function
Move IPA one time initialization items to hdd_ipa_init and have only
pipe specific configuration in hdd_ipa_ol_init. Also move IPA UC
specific reinitializaion to IPA SSR handlers.

Change-Id: I1a502a1b7f926a3037e4ca35a24b1c341077dff6
CRs-fixed: 2006661
2017-04-19 18:55:12 -07:00
Rajeev Kumar
0422305dee qcacld-3.0: Enable CONFIG_HALT_KMEMLEAK in Kbuild
Enable CONFIG_HALT_KMEMLEAK in Kbuild such that panic
can be trigerred on memory leak and issues are debugged
on priority.

Change-Id: Iadc0604f842c7b2d63da65054840499b23990a36
CRs-Fixed: 2030989
2017-04-19 18:55:11 -07:00
Sandeep Puligilla
9028ee53d1 Release 5.2.0.23A
Release 5.2.0.23A

Change-Id: Ib87d1b387e717e0658f748b085b06b446db034ec
CRs-Fixed: 774533
2017-04-19 17:44:16 -07:00
Yue Ma
45a05d5d95 qcacld-3.0: Fix kernel check patch errors and warnings for BMI
Fix msm-4.9 kernel check patch errors and warnings for BMI module.

Change-Id: I2eb1f179ca2a1ae9ceac7b314d252bd410d9eef9
CRs-fixed: 2034077
2017-04-19 17:44:16 -07:00
Sandeep Puligilla
d2d0d853db Release 5.2.0.23
Release 5.2.0.23

Change-Id: I478e87b9c94f1c108d24be725169f911bdda6546
CRs-Fixed: 774533
2017-04-19 15:20:43 -07:00
Dustin Brown
24593f23d2 qcacld-3.0: Allocate memory for NLO match wake event
A recent change to the Network Listen Offload (NLO) match wake event
handler creates and uses a pointer without allocating any memory for
it. Allocate memory for the nlo_event structure before use in the
NLO match wake event handler.

Change-Id: I29ed111e08c8a2d3cd8f8b5e9ca5332a502f9c1a
CRs-Fixed: 2035239
2017-04-19 15:20:42 -07:00
Dustin Brown
ecb7eb913a qcacld-3.0: Refactor WoW wake event handler
In preparation for moving WoW wake event and stats handling to PMO,
refactor the current WoW wake event handler.

Change-Id: Ic401d7e2541aa33cb17fbd5c3ed4fde82cbf1cdc
CRs-Fixed: 2030369
2017-04-19 15:20:41 -07:00
Sandeep Puligilla
0aef644d86 Release 5.2.0.22Z
Release 5.2.0.22Z

Change-Id: Idbefc0fe1d76345604ce2090d65228e665671829
CRs-Fixed: 774533
2017-04-19 14:40:43 -07:00
Ravi Joshi
106ffe0f1e qcacld-3.0: Configure callback function for monitor mode traffic
Configure HDD callback function to process packets received in
monitor mode for lithium based chipsets.

Change-Id: I8c742a10c00e667736400a064f17bbb7144521e4
CRs-Fixed: 1113187
2017-04-19 14:40:43 -07:00
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