Commit Graph

4532 Commits

Author SHA1 Message Date
Sandeep Puligilla
e185916e95 Release 5.2.0.23I
Release 5.2.0.23I

Change-Id: Iff823b94611bfb6fa883b9a4bc14263ccb8d835f
CRs-Fixed: 774533
2017-04-20 11:33:26 -07:00
Krunal Soni
074dd2c690 qcacld-3.0: Don't open or close sap session internally
There are few instances in current driver code, where SAP's
session is getting opened or closed internally by SAP module
which is wrong. It should come from HDD module.

Resolve above mentioned issue by following:
1) allocating and opening sap session through wlansap_open and
   wlansap_start APIs respectively.
2) freeing and closing sap session through wlansap_close and
   wlansap_stop APIs respectively.

Remove all other instances of sap_open_session and
sap_close_session.

Change-Id: I9ac9f68c9cd1f8c856b6228d4e3b32d3310c936a
CRs-Fixed: 2036385
2017-04-20 11:33:25 -07:00
Krunal Soni
b01de79ea7 qcacld-3.0: Refactor sap_open_session & sap_close_session APIs
Divide sap_open_session in to two parts. One where sme_open_session
is happening and the other one where sap context is getting initialized
to some values.

Divide sap_close_session in to three parts. One where sme_close_session
is happening, another where sap context is getting reset, and the
remaining one where global dfs parameters are getting reset.

Change-Id: I3126acbf4174261938c1f1ff19637bce87d7bddf
CRs-Fixed: 2036385
2017-04-20 11:33:23 -07:00
Kiran Kumar Lokere
43a3e86aa1 qcacld-3.0: Populate country code from regulatory obj
Populate the country code from regulatoy component to
advertise in IEs.

Change-Id: I79357dc0c4f700dbfde40adc1c6f411723abd85d
CRs-Fixed: 2008013
2017-04-20 10:04:56 -07:00
Kiran Kumar Lokere
798de7e0ab qcacld-3.0: Regulatory component logging changes
Add support for regulatory component logging

Change-Id: Icabe6bbdfe7cc2809cdf3c1ebd2577d27747bb96
CRs-Fixed: 2008013
2017-04-20 10:01:43 -07:00
Sandeep Puligilla
6dc7117426 Release 5.2.0.23H
Release 5.2.0.23H

Change-Id: If639630fdf72d03b599a622ab7ed1038c921fe14
CRs-Fixed: 774533
2017-04-20 08:55:02 -07:00
Hanumanth Reddy Pothula
e87621b5ab qcacld-3.0: Add ini param to control active BPF for MC/BC packets
Add new ini parameter, gActiveMcBcBpfMode, to control active BPF
mode for MC/BC packets. By default its value is set disable.
Also, rename ini param name to gActiveUcBpfMode from gActiveBpfMode
and respective cfg variable name to active_uc_bpf_mode from
active_bpf_mode.

Change-Id: I1a42351585c34e7b6da8c26af9ac7b7abe0c0322
CRs-Fixed: 2032699
2017-04-20 08:55:02 -07:00
Sandeep Puligilla
0acaa63c66 Release 5.2.0.23G
Release 5.2.0.23G

Change-Id: I057d91a62cb9f320d29ee1a9c0386428f000dd06
CRs-Fixed: 774533
2017-04-20 04:20:56 -07:00
Nishank Aggarwal
d5941bb9c6 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_roam_timer_utils.c and
lim_send_sme_rsp_messages.c

Change-Id: Iaf0a163e2031482388b6356bb236b3fbdd18997e
CRs-Fixed: 1093093
2017-04-20 04:20:56 -07:00
Nishank Aggarwal
ed4c1c5254 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_process_assoc_req_frame.c and
lim_process_mlm_host_roam.c

Change-Id: Ie38bd037fa1533459c2825c998acb240dd8f7b25
CRs-Fixed: 1093093
2017-04-20 04:20:54 -07:00
Nishank Aggarwal
7f49419e74 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_process_action_frame.c and
lim_sme_req_utils.c

Change-Id: Iedcd860d93812c5e4b85e18c64bfe8885c5d0b19
CRs-Fixed: 1093093
2017-04-20 04:20:52 -07:00
Nishank Aggarwal
c4fc78439f qcacld-3.0: Reduce the log spam in lim_p2p.c
Move the logs to appropriate log levels to reduce the
log spam in lim_p2p.c

Change-Id: I9b42fe28d561593811127632f361774db5ba8759
CRs-Fixed: 1093093
2017-04-20 04:20:50 -07:00
Nishank Aggarwal
e59eb3955e qcacld-3.0: Reduce the log spam in lim_utils.c
Move the logs to appropriate log levels to reduce
the log spam in lim_utils.c

Change-Id: Ic9d885cc42a474c5f54dbb8bf86303f9f25194fd
CRs-Fixed: 1093093
2017-04-20 04:20:49 -07:00
Nishank Aggarwal
46bd31a712 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_prop_exts_utils.c and
lim_send_management_frames.c

Change-Id: Icd2f0d4643416aba13c18cf1eff7c74c7645bb6e
CRs-Fixed: 1093093
2017-04-20 04:20:47 -07:00
Nishank Aggarwal
514f2636f0 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_process_disassoc_frame.c

Change-Id: Ie1de4d2815130eb22704adddb1389f21e7ce54bb
CRs-Fixed: 1093093
2017-04-20 04:20:45 -07:00
Nishank Aggarwal
8d4c720cd8 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce
the log spam in lim_send_frames_host_roam.c and
lim_api.c

Change-Id: Iaaa63ec8be4354d721eafe6c3ca83bf3d1dc4ae9
CRs-Fixed: 1093093
2017-04-20 04:20:44 -07:00
Srinivas Girigowda
37bc351147 qcacld-3.0: Reduce the log spam in lim_process_tdls.c
Move the logs to appropriate log levels to reduce
the log spam in lim_process_tdls.c

Change-Id: If90d0ec42793c72e730a9a8052eba39512502a9a
CRs-Fixed: 1093093
2017-04-20 04:20:42 -07:00
Srinivas Girigowda
8590a5f425 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce the
log spam in lim_admit_control.c and lim_ibss_peer_mgmt.c

Change-Id: I985906e53205f57d97e594f501146773e7ba2a7e
CRs-Fixed: 1093093
2017-04-20 04:20:40 -07:00
Srinivas Girigowda
387016dbcc qcacld-3.0: Reduce the log spam in sme_rrm.c
Move the logs to appropriate log levels to reduce
the log spam in sme_rrm.c

Change-Id: I16a7ab4e33eaa06275294d583938c156383cf68a
CRs-Fixed: 1093093
2017-04-20 04:20:38 -07:00
Srinivas Girigowda
caaad37679 qcacld-3.0: Reduce the log spam in nan, p2p and qos files
Move the logs to appropriate log levels to reduce
the log spam in nan_api.c, p2p_api.c and sme_qos.c

Change-Id: I577977fb4455a44699215ac0ea8f1819b77deef0
CRs-Fixed: 1093093
2017-04-20 04:20:36 -07:00
Srinivas Girigowda
2db365c42a qcacld-3.0: Reduce the log spam in csr files
Move the logs to appropriate log levels to reduce the
log spam in csr_neighbor_roam.c, csr_roam_preauth.c,
csr_tdls_process.c and csr_util.c

Change-Id: I7fa474658e7f538bf79883abf5e2d52f94332e0c
CRs-Fixed: 1093093
2017-04-20 04:20:34 -07:00
Nishank Aggarwal
2b8fc8acfc qcacld-3.0: Reduce the log spam in csr_host_scan_roam.c
Move the logs to appropriate log levels to reduce
the log spam in csr_host_scan_roam.c

Change-Id: I00db47bb70471ae7b4ce8f3975627a5d1efcefcc
CRs-Fixed: 1093093
2017-04-20 04:20:33 -07:00
Nishank Aggarwal
1bd0ae84ca qcacld-3.0: Change default value of BT coex log
Change default value of module Id and debug log
level for BT coex log.

Change-Id: I6f3be9f94629ea55e9c736e12e83c45b2f1c3a7f
CRs-Fixed: 2026668
2017-04-20 04:20:31 -07:00
Sandeep Puligilla
8bed7de1bc Release 5.2.0.23F
Release 5.2.0.23F

Change-Id: Ifbf6a82f14d28dd9ced21bb36447b3d32a1f1e38
CRs-Fixed: 774533
2017-04-20 01:32:56 -07:00
Abhishek Singh
7e5e934a88 qcacld-3.0: Fix mem leak in wma_post_cfg_msg and psnr req
Fix mem leak in wma_post_cfg_msg by handling failure cases.
Also free psnr req during ssr when wma close happens.

Change-Id: I780ebb837db060cc8d6ff9a8fd77ebe3c77067cf
CRs-Fixed: 2033047
2017-04-20 01:32:55 -07:00
Sandeep Puligilla
18a2a6969c Release 5.2.0.23E
Release 5.2.0.23E

Change-Id: Id63fd7df5c518f66f1260c5d7114a00167889d3f
CRs-Fixed: 774533
2017-04-20 00:46:35 -07:00
Sreelakshmi Konamki
0e9fb9a075 qcacld-3.0: Change log level for frequent logs
In pe_drop_pending_rx_mgmt_frames(), Change frequently seen logs
log_level from LOGE to LOG1.

Change-Id: I6a7e27eb7de7dd0e37a4ad2fea0b143493d831a1
CRs-Fixed: 2027882
2017-04-20 00:46:35 -07:00
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
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