Commit Graph

6275 Commits

Author SHA1 Message Date
snandini
f4be32126a Release 5.2.0.42L
Release 5.2.0.42L

Change-Id: I8a9358a37d61f5a99b1da37408d6b072fe2eb1be
CRs-Fixed: 774533
2017-09-07 22:52:18 -07:00
Jeff Johnson
abb7404d2b qcacld-3.0: Remove unused wma_get_wcnss_software_version() param
Currently wma_get_wcnss_software_version() takes a p_cds_gctx
parameter which it does not use, so remove it.

Change-Id: I86a5893a9407bad034a32c105aec92d4e6054744
CRs-Fixed: 2102549
2017-09-07 22:52:18 -07:00
snandini
0192537358 Release 5.2.0.42K
Release 5.2.0.42K

Change-Id: If652a08763133fa1436b26bba2cd5ed8d4e46a40
CRs-Fixed: 774533
2017-09-07 22:12:43 -07:00
Jeff Johnson
7a62733456 qcacld-3.0: Replace hdd_context_t in wlan_hdd_conc_ut.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I80d863c19d4a7330a87c6ea74fbfcefee56cca2c
CRs-Fixed: 2100206
2017-09-07 22:12:42 -07:00
snandini
6d7db36b69 Release 5.2.0.42J
Release 5.2.0.42J

Change-Id: I435899efc35e82adc8093085db88de18ea1a5179
CRs-Fixed: 774533
2017-09-07 21:32:11 -07:00
Jeff Johnson
2a9711b141 qcacld-3.0: Replace hdd_context_t in wlan_hdd_debugfs.c
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ie7fd294d48ba17a29b28fb9b8cbc5865f467f8ba
CRs-Fixed: 2100203
2017-09-07 21:32:11 -07:00
snandini
afac2816ac Release 5.2.0.42I
Release 5.2.0.42I

Change-Id: I622e036a4a0c75978c3bb8c975d1281dd8ae1411
CRs-Fixed: 774533
2017-09-07 20:51:59 -07:00
Jeff Johnson
6bc79d8865 qcacld-3.0: Replace hdd_context_t in wlan_hdd_driver_ops.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I1eceef88a686678814b4463ad924f9dfb1a06b29
CRs-Fixed: 2100201
2017-09-07 20:51:58 -07:00
snandini
878d4af633 Release 5.2.0.42H
Release 5.2.0.42H

Change-Id: Iff0ce920f6b47e9067a039c4a4d09516b96cd82f
CRs-Fixed: 774533
2017-09-07 20:12:11 -07:00
Jeff Johnson
2b59af6a75 qcacld-3.0: Replace hdd_context_t in wlan_hdd_ftm.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ie13624b984a39da923511c1c75a5b51ab29eca18
CRs-Fixed: 2100197
2017-09-07 20:12:11 -07:00
Jeff Johnson
28c3e6282d qcacld-3.0: Replace hdd_context_t in wlan_hdd_lro.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I50d6e07d5d765f9cc769e880621740db3df5ab09
CRs-Fixed: 2100187
2017-09-07 20:12:09 -07:00
snandini
634d10137c Release 5.2.0.42G
Release 5.2.0.42G

Change-Id: Ia5be7853b926844e9af8fd605fbdb9df123bd9bf
CRs-Fixed: 774533
2017-09-07 19:33:06 -07:00
Jeff Johnson
88dc4f92a8 qcacld-3.0: Replace hdd_context_t in wlan_hdd_nan_datapath.c
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: If9de2bcc171fc9746a45ab449ea23d330de67f22
CRs-Fixed: 2100179
2017-09-07 19:33:05 -07:00
Jeff Johnson
72a179854d qcacld-3.0: Replace hdd_context_t in wlan_hdd_object_manager.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I05332a554afe81f6b5f83a3541a312bfbdc2ace9
CRs-Fixed: 2100177
2017-09-07 19:33:03 -07:00
Jeff Johnson
7106abafaa qcacld-3.0: Replace hdd_context_t in wlan_hdd_ocb.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ia65c6c8cab90c254fd12c7ada834ebdd6ffeeb47
CRs-Fixed: 2100176
2017-09-07 19:33:02 -07:00
snandini
58cfc2484a Release 5.2.0.42F
Release 5.2.0.42F

Change-Id: Ida19e79af29734621b154e44ad9a00ad600fb8d3
CRs-Fixed: 774533
2017-09-07 18:46:47 -07:00
Jeff Johnson
1e3e3eed95 qcacld-3.0: Replace hdd_context_t in wlan_hdd_oemdata.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ia6cbe718dec3dc1c3b8bae19a84408d439b21717
CRs-Fixed: 2100174
2017-09-07 18:46:46 -07:00
Jeff Johnson
cfb65a8771 qcacld-3.0: Replace hdd_context_t in wlan_hdd_power.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I84f5cc357c960d070eda7155bee7a6fe2373aa95
CRs-Fixed: 2100171
2017-09-07 18:46:44 -07:00
Jeff Johnson
4af78666e1 qcacld-3.0: Replace hdd_context_t in wlan_hdd_regulatory.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Iccab34c5bf91b23af6a5b4f97386b8bed949fc79
CRs-Fixed: 2100168
2017-09-07 18:46:43 -07:00
snandini
2edb15ea68 Release 5.2.0.42E
Release 5.2.0.42E

Change-Id: I5d256615d500b00cd57100c48febded49803c1d5
CRs-Fixed: 774533
2017-09-07 16:51:39 -07:00
Jeff Johnson
1796f6a81b qcacld-3.0: Remove cds_context from tp2pContext
The cds_context in tp2pContext is unused, so remove it.

Change-Id: I0250847eb975db3e606ab867ce74fceb28d99e44
CRs-Fixed: 2102488
2017-09-07 16:51:38 -07:00
snandini
916e40dad9 Release 5.2.0.42D
Release 5.2.0.42D

Change-Id: Ib722970785066673b3a26f6b6cc1e96e4d108332
CRs-Fixed: 774533
2017-09-07 16:11:22 -07:00
Jeff Johnson
bb42a8ca1d qcacld-3.0: Remove unnecessary get of global context in TXRX
Currently ol_rx_pkt_dump_call() calls cds_get_global_context() to get
the global context. At one time this was necessary since the global
context was required to get the module-specific context. However the
global context is no longer required, so remove the unnecessary
retrieval of the global context.

Change-Id: I8a2e66252bfd445151575502b06b132866a286fe
CRs-Fixed: 2102494
2017-09-07 16:11:20 -07:00
snandini
fa7b8f2132 Release 5.2.0.42C
Release 5.2.0.42C

Change-Id: I4abc886b9892ee2fa136706be617a2c1f233eeb8
CRs-Fixed: 774533
2017-09-07 15:32:13 -07:00
Yun Park
d1c7647684 qcacld-3.0: Fix possible NULL pointer dereference in ol_rx.c
Pointer head_buf returned from call to function
htt_rx_offload_paddr_msdu_pop_ll may be NULL and will be
dereferenced

Change-Id: I6e1db520d525a42d59ebfb675325e37c4097ad71
CRs-Fixed: 2085696
2017-09-07 15:32:13 -07:00
snandini
efe7a514b7 Release 5.2.0.42B
Release 5.2.0.42B

Change-Id: I6c28cf2efd645a738d7768c83d6038204cb15dea
CRs-Fixed: 774533
2017-09-07 14:52:23 -07:00
Jeff Johnson
af772eda52 qcacld-3.0: Replace hdd_context_t in wlan_hdd_tdls.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I1d0c53f3b83a15e3d4c4766edd832ed4450e5a15
CRs-Fixed: 2100162
2017-09-07 14:52:23 -07:00
snandini
7a410873e5 Release 5.2.0.42A
Release 5.2.0.42A

Change-Id: Ie7642495207470e7b1c498a9385b62123daa6003
CRs-Fixed: 774533
2017-09-07 14:12:23 -07:00
Jeff Johnson
854cccddbe qcacld-3.0: Replace hdd_context_t in wlan_hdd_tsf.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I3d3d82e1c5c7b70d6afab98f2c81b5d317ade628
CRs-Fixed: 2100160
2017-09-07 14:12:22 -07:00
snandini
7d176a58bd Release 5.2.0.42
Release 5.2.0.42

Change-Id: Ifb95f40a553c4b8f501f1e30df54a1d15ac0bbfe
CRs-Fixed: 774533
2017-09-07 12:52:13 -07:00
Jeff Johnson
a9dc1dcd18 qcacld-3.0: Replace hdd_context_t in wlan_hdd_tx_rx.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I995c57774d472336294e4190708755742eb49e3f
CRs-Fixed: 2100157
2017-09-07 12:52:12 -07:00
snandini
2827c07635 Release 5.2.0.41Z
Release 5.2.0.41Z

Change-Id: I316876e79b593eac8a19a36ee9a036ecce446f4a
CRs-Fixed: 774533
2017-09-07 12:11:30 -07:00
Dustin Brown
52ba1ce2d1 qcacld-3.0: Add a wrapper for WIPHY_FLAG_SUPPORTS_SCHED_SCAN
WIPHY_FLAG_SUPPORTS_SCHED_SCAN is removed in Linux kernel versions 4.12+
in favor of proper multiple scheduled scan support. Add conditional
compilation to set the appropriate wiphy state based on which kernel
version is being compiled against.

Change-Id: I5e688f085b1c13fec0b4f42c5da82411eae08c03
CRs-Fixed: 2093945
2017-09-07 12:11:29 -07:00
snandini
ff938a2f73 Release 5.2.0.41Y
Release 5.2.0.41Y

Change-Id: I6b5b849b50fa4e40855e0754724c63b78eaa77a3
CRs-Fixed: 774533
2017-09-07 11:31:56 -07:00
Jeff Johnson
6d38ab8f47 qcacld-3.0: Replace hdd_context_t in wlan_hdd_wext.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Idea5222b03070b3e31008b7ba8973f86154a96e5
CRs-Fixed: 2100155
2017-09-07 11:31:55 -07:00
snandini
f5f2067009 Release 5.2.0.41X
Release 5.2.0.41X

Change-Id: I88ba15e81fc0ce508406a9746ca3e94bc351bb52
CRs-Fixed: 774533
2017-09-07 10:51:38 -07:00
wadesong
5e2e801099 qcacld-3.0: Fix a racing issue on tx ll_pause timer
1) pdev pointer should be checked to make sure it's not NULLed before
it is dereferenced in the ll_pause timer function.

2) Add a flag to prevent the ll_pause timer from being started again
when txrx vdev is being detached.

3) Timer object should be freed synchronously without any locks
being held.

Change-Id: I6f0f675442b1d75f0a67a55d51c9ecec9a1cd9ae
CRs-fixed: 2092945
2017-09-07 10:51:37 -07:00
snandini
5968b38f3b Release 5.2.0.41W
Release 5.2.0.41W

Change-Id: Ia7a2758ec0340f563cf6544afcaf39e3767ffd7b
CRs-Fixed: 774533
2017-09-07 09:33:33 -07:00
Naveen Rawat
e1fbbe0f64 qcacld-3.0: Make sure join timeout value is less than max allowed
Join timeout value is taken as 10 times beacon interval, however if
beacon interval is very large, this will make join timeout value to
exceed allowed max, causing join process failure. Make sure to keep
join timeout value less than max allowed.

Change-Id: If2167e602e3231403fbe2ab1936769f2a1b31383
CRs-Fixed: 2100819
2017-09-07 09:33:32 -07:00
snandini
5d340f2a94 Release 5.2.0.41V
Release 5.2.0.41V

Change-Id: Ie1b96701b289752832afdc4d1f17768db41fd01a
CRs-Fixed: 774533
2017-09-07 06:51:08 -07:00
Dustin Brown
234d45fd4b qcacld-3.0: Avoid redefining WLAN_AKM_SUITE_FT_PSK
Linux kernel versions 4.12+ define WLAN_AKM_SUITE_FT_PSK. Avoid
redefining WLAN_AKM_SUITE_FT_PSK when compiling against 4.12+ Linux
kernels.

Change-Id: I8fdf9dace90b88dab872dfe4eaacbe363568c6cc
CRs-Fixed: 2093927
2017-09-07 06:51:07 -07:00
snandini
33237532e9 Release 5.2.0.41U
Release 5.2.0.41U

Change-Id: I28f4cbcb5be65a5c43297ac2a8ded621d24fc6ad
CRs-Fixed: 774533
2017-09-07 06:12:52 -07:00
bings
f904765f82 qcacld-3.0: Fix chain_stats memory illegal access
chain_stats in WMI_UPDATE_STATS_EVENTID_param_tlvs may be set as
NULL by wlan firmware.

When access chain_stats, make sure it is not NULL.

Change-Id: I3a78534899a3a56f378c4825ff5b8abedb543b8c
CRs-Fixed: 2102247
2017-09-07 06:12:52 -07:00
snandini
036d449d4b Release 5.2.0.41T
Release 5.2.0.41T

Change-Id: Ieee9cb03581f0fe5eb24c0eaf8578c86bea0cad9
CRs-Fixed: 774533
2017-09-07 05:30:36 -07:00
Dustin Brown
5fbb1052ee qcacld-3.0: Fix compile error for cfg80211_sched_scan_results()
The 4.12 Linux kernel adds a request id parameter to
cfg80211_sched_scan_results(). Add conditional compilation to provide
the correct parameters based on the kernel version.

Change-Id: I2008895e390af88af0b22df6bfd7ef753d25b419
CRs-Fixed: 2092070
2017-09-07 05:30:36 -07:00
Dustin Brown
3fb1504642 qcacld-3.0: Add wrapper for nla_parse()
The Linux kernel version 4.12 introduced an API change to nla_parse().
Add conditional complilation to call nla_parse with the correct
parameters based on the version of the linux kernel being compiled
against.

Change-Id: Ibacd71f65760f9de4d2d87c77392a1c20bae5fa1
CRs-Fixed: 2093345
2017-09-07 05:30:32 -07:00
snandini
278f2bcede Release 5.2.0.41S
Release 5.2.0.41S

Change-Id: I5edf1cef690a4e92f782326eff7056c15153a41a
CRs-Fixed: 774533
2017-09-07 03:21:36 -07:00
Govind Singh
d062a9e434 qcacld-3.0: Unlock rx hash lock in error cases
RX hash lock is not unlocked in case hash_table is
NULL and context is returned immediately without
unlocking the rx hash lock.

Unlock the rx hash lock before returning from the context.

Change-Id: I4ec2c272ac92cf5c0e93c64e34ce96cafe5cc11c
CRs-Fixed: 2104297
2017-09-07 03:21:36 -07:00
snandini
02d8fa53b7 Release 5.2.0.41R
Release 5.2.0.41R

Change-Id: I7001b62d335589208b5e572b090b25002e7974c1
CRs-Fixed: 774533
2017-09-06 22:52:31 -07:00
Sandeep Puligilla
ef41536a85 qcacld-3.0: Delete vdev object before sme close session
- Flush the active scan list during sme close
session
- Close sme session before deleting the vdev
object.

Change-Id: I8dd8fc794231a613e72089a01ddee5796b56abb7
CRs-Fixed: 2103543
2017-09-06 22:52:30 -07:00
Krunal Soni
3378790ded qcacld-3.0: Use updated serialization api to purge the commands
Few enhancements are made in serialization module to flush the commands
per vdev. Use updated serialization API to accommodate new changes.

Change-Id: I8df9900d83bea758ca5c50cbe0edf31e06f83a4c
CRs-Fixed: 2099063
2017-09-06 22:52:28 -07:00
snandini
a69395abe6 Release 5.2.0.41Q
Release 5.2.0.41Q

Change-Id: I14f9205ae5d25e5d62c41d27de171ea5ed9cdae1
CRs-Fixed: 774533
2017-09-06 20:56:09 -07:00
psimha
884025c68b qcacld-3.0: Cleanup of QCA_WIFI_NAPIER_EMULATION flag
Replacing the QCA_WIFI_NAPIER_EMULATION with QCA_WIFI_QCA6290 as
part of code cleanup for SoD.

Change-Id: I3ebcf3531041a27b6831b205bf45ff2cf6e2bf38
CRs-Fixed: 2085946
2017-09-06 20:56:09 -07:00
snandini
31ba9913c4 Release 5.2.0.41P
Release 5.2.0.41P

Change-Id: Icd3ee273ed2a8b1d19b0d3c2949e2a3578db9808
CRs-Fixed: 774533
2017-09-06 11:27:14 -07:00
Zhu Jianmin
35fcd0dbe7 qcacld-3.0: Enable log to cnss_diag for non-perf sdx
sdx/mdm:
  no-perf: Enable log to cnss_diag by default, have rich debug log.
           Avoid system crash when turn on much log in printk
           QXDM can be used too
  perf:    Disable log to cnss_diag by default for better performance

change-Id: I3b8011b327c78625abe56e9b51167d6ca2e3757f
CRs-Fixed: 2101171
2017-09-06 11:27:13 -07:00
snandini
8ef7707f04 Release 5.2.0.41O
Release 5.2.0.41O

Change-Id: Id02a406a98d7415dd1aa986114bf289eb38a1b71
CRs-Fixed: 774533
2017-09-06 08:13:03 -07:00
Dustin Brown
dfc5ef604e qcacld-3.0: Add reqid to sched_scan_stop callback
Linux kernel version 4.12 added a reqid parameter to the sched_scan_stop
callback signature. Add conditional compilation to use the correct
callback signature based on the version of the Linux kernel being
compiled against.

Change-Id: I500807de15ef5301b480e7f25a3dd146073f573d
CRs-Fixed: 2094028
2017-09-06 08:13:02 -07:00
snandini
088e7ccc4c Release 5.2.0.41N
Release 5.2.0.41N

Change-Id: I8262c38f28929d1dff5c798563f70fc5131e9e02
CRs-Fixed: 774533
2017-09-06 07:32:37 -07:00
Dustin Brown
ce46d1d24f qcacld-3.0: Fix implicit declaration of function ‘cdp_register_pause_cb’
The header where cdp_register_pause_cb is defined was mistakenly
included under a FEATURE_WLAN_CH_AVOID feature guard. This caused
compilation issues when FEATURE_WLAN_CH_AVOID was not defined. Move the
include out of the feature guard.

Change-Id: I340cbf888efc74f3761c0ea0fb53ea6d619f9306
CRs-Fixed: 2093249
2017-09-06 07:32:37 -07:00
snandini
842e33e84e Release 5.2.0.41M
Release 5.2.0.41M

Change-Id: I19a58eca4374a9d274bed94a99255832137e7de3
CRs-Fixed: 774533
2017-09-05 22:07:29 -07:00
Dustin Brown
9ed30a5a05 qcacld-3.0: move add/change interface flags into params
Linux kernel versions 4.12+ move the interface 'flags' parameter into
the vif_params struct. Consequently, the add/change interface callback
signatures were changed to match. Add conditional compilation to adjust
the add/change interface callback signatures based on the version of the
Linux kernel being compiled against.

Change-Id: I0b7f6e04922d219cdb992a2c098bbe862845ccee
CRs-Fixed: 2093983
2017-09-05 22:07:29 -07:00
snandini
a80960bacd Release 5.2.0.41L
Release 5.2.0.41L

Change-Id: I68fa3169230ce31decc57a76d584cf6edced93dc
CRs-Fixed: 774533
2017-09-04 00:12:43 -07:00
Abhishek Singh
4294f801f1 qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce the
log spam in lim_process_sme_req_messages.c and
lim_session.c

Change-Id: I3f81b3c2885814d80c8bf1e695454ce1bf279372
CRs-Fixed: 1093093
2017-09-04 00:12:43 -07:00
Abhishek Singh
5d8d7332fc qcacld-3.0: Reduce the log spam in Kmsg
Move the logs to appropriate log levels to reduce
the log spam in kmsg

Change-Id: I2138de8f2be2e432ba84ee0615c14946da228fc9
CRs-Fixed: 1093093
2017-09-04 00:12:41 -07:00
snandini
76ae4aace5 Release 5.2.0.41K
Release 5.2.0.41K

Change-Id: I1b53890c313150c438985e75fa692db5fc159799
CRs-Fixed: 774533
2017-09-03 22:33:17 -07:00
Abhishek Singh
e4a1f88512 qcacld-3.0: Reduce the log spam in sme_api.c
Move the logs to appropriate log levels to reduce
the log spam in sme_api.c

Change-Id: Ie3f663c646837652fce5fab008bbcc7286ae8b83
CRs-Fixed: 1093093
2017-09-03 22:33:15 -07:00
Abhishek Singh
2c77d7d192 qcacld-3.0: Reduce the log spam in sme_power_save.c
Move the logs to appropriate log levels to reduce
the log spam in sme_power_save.c and sme_trace.c

Change-Id: I3d3c4e35db8dc8b94bf5e71be79dc4dd7958762c
CRs-Fixed: 1093093
2017-09-03 22:33:10 -07:00
Abhishek Singh
245182fcba qcacld-3.0: Reduce the log spam in csr_api_roam.c
Move the logs to appropriate log levels to reduce
the log spam in csr_api_roam.c

Change-Id: I583c149bb8dd9768d8a06bbf87fc24d296bcab12
CRs-Fixed: 1093093
2017-09-03 22:33:06 -07:00
Abhishek Singh
438cd7ea60 qcacld-3.0: Reduce the log spam in csr_api_scan.c
Move the logs to appropriate log levels to reduce
the log spam in csr_api_scan.c

Change-Id: I2bb870f5b784b24cf47307ddffcc12a67ea40d70
CRs-Fixed: 1093093
2017-09-03 22:33:01 -07:00
Abhishek Singh
7bdb19cbef 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: Ib59c127591f41664593fd66a423a3153ceabd18e
CRs-Fixed: 1093093
2017-09-03 22:32:57 -07:00
snandini
89748e0235 Release 5.2.0.41J
Release 5.2.0.41J

Change-Id: Ida0fbf08fa29da951097a8e9dae7ce1071082e86
CRs-Fixed: 774533
2017-09-03 21:36:26 -07:00
jiad
5b98663690 qcacld-3.0: Fix potential spinlock recursion on UP
wlan_hdd_update_txq_timestamp tries to grab txq spinlock
in __dev_queue_xmit context. Issue is txq spinlock is
already held before calling into driver's ndo_start_xmit
callback. On UP system, kernel throws a BUG and system
crashes.

Fix is to detect spinlock recursion and only tries
to grab the lock when it is not held on the same
CPU or not held.

Change-Id: I3956ef00c4f4a563155dc82ed8f95f097129fb0c
CRs-Fixed: 2050134
2017-09-03 21:36:23 -07:00
snandini
d13036f3f7 Release 5.2.0.41I
Release 5.2.0.41I

Change-Id: I7a2a048b2cb257ef501a5f4181adf826cd8b91d3
CRs-Fixed: 774533
2017-09-02 04:19:38 -07:00
Sandeep Puligilla
856e8016a9 qcacld-3.0: Remove legacy scan complete callback
Remove legacy scan code related to
scan complete callback API.

Change-Id: Ia8b85548ff64ad77b5066fe03229e2b0b2f7fae3
CRs-Fixed: 2101188
2017-09-02 04:19:37 -07:00
Sandeep Puligilla
3ee7ddf085 qcacld-3.0: cleanup legacy scan code
-Remove legacy scan code related to wext interface.
-Remove code under NAPIER_SCAN macro
-Remove legacy abort scan code

Change-Id: I38900a4c786b5ba5f31006e6e29332c081a565cf
CRs-Fixed: 2101188
2017-09-02 04:19:31 -07:00
snandini
8527526309 Release 5.2.0.41H
Release 5.2.0.41H

Change-Id: Id1ee0976c0ba9723ed39bcba94cbda1039eb51c4
CRs-Fixed: 774533
2017-09-02 03:38:32 -07:00
Dustin Brown
35b61f6b69 qcacld-3.0: Deinit/ini WMA VDEV around mem zero
The WMA vdev structure contains wakelocks which must be deinitialized
and initialized any time these structures are mem-zeroed. Add
deinit/init calls to vdev attach error cases.

Change-Id: I36012606d4cc49c076ac6903ff49530c45433374
CRs-Fixed: 2102645
2017-09-02 03:38:31 -07:00
snandini
94a55310a2 Release 5.2.0.41G
Release 5.2.0.41G

Change-Id: I95b09533bd186e7e8cedd5ef23c6394508302824
CRs-Fixed: 774533
2017-09-02 01:13:19 -07:00
Abhishek Singh
748d8a27aa qcacld-3.0: Fix assert in qdf_mc_timer_stop for host roam timers
The host roam timers are deactivated and deleted in
lim_delete_timers_host_roam but again in lim_deactivate_timers
they are deactivated which results in assert.

Fix this by deactivating roam timers before they are destroyed.

Change-Id: I03f069edaf4361111dc5240fce2003c04c9c6509
CRs-Fixed: 2095265
2017-09-02 01:13:18 -07:00
snandini
0fef708275 Release 5.2.0.41F
Release 5.2.0.41F

Change-Id: I5bc2f9ff3cf624b4f4298a2d460821b734a62f6c
CRs-Fixed: 774533
2017-09-02 00:17:54 -07:00
Houston Hoffman
b18dc6e0fe qcacld-3.0: Move nl_serv_init to before cfg printing
HDD_CFG prints were being dropped from the qxdm log.
Initialize the nl server before the logging service
to guarantee all logs are delivered over the nl sockets.

Change-Id: I5719f8e2791e37a8c5e61ccf5c025afd1084ed99
CRs-Fixed: 2094161
2017-09-02 00:17:51 -07:00
Dustin Brown
7b3dea22f9 qcacld-3.0: Statically allocate wlan logging buffer
To aid in debugging memory leaks, and improve the robustness of log
recovery from crash dumps, statically allocate pglog_msg in the global
scope. This allows logs to be inspected even in cases where a crash
came late in the unload process. It also improves log recovery
robustness by removing the possibility of using a NULL pointer offset
under certain memory corruptions scenarios.

Change-Id: I7301254d3d3ff811b322e435962e78f997937c2b
CRs-Fixed: 2074611
2017-09-02 00:17:49 -07:00
snandini
05bdeeac75 Release 5.2.0.41E
Release 5.2.0.41E

Change-Id: I51b353a68534149d8c7276361fb30333769ef4bb
CRs-Fixed: 774533
2017-09-01 22:09:08 -07:00
Will Huang
496b36c936 qcacld-3.0: Add support of request peer stats info(part 3)
qcacld-2.0 to qcacld-3.0 propagation

FW has limitation to support old WMI_REQUEST_STATS_CMDID and
WMI_UPDATE_STATS_EVENTID interface on AP vDev. FW suggest to use new
WMI_REQUEST_PEER_STATS_INFO_CMDID and WMI_PEER_STATS_INFO_EVENTID to
get tx/rx rate.

This checkin is about HDD layer, provide APIs/callbacks to upper layer
to query rssi/tx/rx statistics of peer station associated with SAP,
and provide a default disabled ini setting and checking FW's
WMI_SERVICE_PEER_STATS_INFO capability to control this get peer info
interface. Add/change iwpriv/QCA_NL80211_VENDOR_SUBCMD_GET_STATION/
cfg80211_ops.get_station interfaces to upper layer.

Change-Id: Ib1571219faa16e3bc8c3eb1260137ae08b8b6016
CRs-Fixed: 2059507
2017-09-01 22:09:05 -07:00
snandini
dbc2d2f736 Release 5.2.0.41D
Release 5.2.0.41D

Change-Id: Ibd71e3e0b9e27810ae88565f5842a8606b010d63
CRs-Fixed: 774533
2017-09-01 20:38:33 -07:00
Nachiket Kukade
c3f92f7f44 qcacld-3.0: Set start and end channel configuration option
Add changes to enforce start and end channel limit in do_acs
if driver force acs and vendor based acs are enabled.

Also add changes to fix memory leak in set vendor channel API

Change-Id: Id45aaf3eb3c3dc1606a249136d3801a63ee854c4
CRs-Fixed: 2088567
2017-09-01 20:38:31 -07:00
Nandini Suresh
1efb016666 Release 5.2.0.41C
Release 5.2.0.41C

Change-Id: Iee69a5d1627f0ca897d8f6dfc004effbffbbe012
CRs-Fixed: 774533
2017-09-01 11:18:05 -07:00
Jeff Johnson
1083b6ebfb qcacld-3.0: Replace hdd_context_t in wlan_hdd_wmm.c
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Iebaa140de17abf4face710245c8431680663a0a0
CRs-Fixed: 2100153
2017-09-01 06:58:10 -07:00
Jeff Johnson
2cd9211f2f qcacld-3.0: Replace hdd_context_t in wlan_hdd_disa.c
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ia1b151d2590493b15422bd600dedb427a6eb39db
CRs-Fixed: 2100152
2017-09-01 06:58:10 -07:00
Jeff Johnson
03f8f3611d qcacld-3.0: Replace hdd_context_t in wlan_hdd_debugfs_llstat.c
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Id69553b8ef9cc8daad1e1c136c0edfccfb820860
CRs-Fixed: 2100150
2017-09-01 06:58:10 -07:00
Jeff Johnson
5676b738b9 qcacld-3.0: Replace hdd_context_t in wlan_hdd_napi.c
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: If336b3f168d6e4b5cd1925030cd65e171f8100b3
CRs-Fixed: 2100148
2017-09-01 06:58:09 -07:00
Jeff Johnson
c1ad741419 qcacld-3.0: Replace hdd_context_t in wlan_hdd_wowl.c
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Icf9c75c9b99c7f94b14d0f70597ab05eebadc4f5
CRs-Fixed: 2100145
2017-09-01 06:58:09 -07:00
snandini
34a62edc1f Release 5.2.0.41B
Release 5.2.0.41B

Change-Id: Icc5c4c46df5ddd76a22c2820ac9b1e072dac2e06
CRs-Fixed: 774533
2017-09-01 01:11:30 -07:00
Dustin Brown
e5d06fb548 qcacld-3.0: Use max STA count when iterating SAP clients
When printing all of the stations connected to a SAP adapter, the ini
value for max number of station clients is used as the iteration limit.
Instead, use the max number of stations constant used to allocate the
array. This ensures all connected stations are printed in all cases, and
removes the theoretical possibility of running off the end of the array
in some configurations.

Change-Id: I3a506905f40272efe472028391e8080d764cb390
CRs-Fixed: 2100833
2017-09-01 01:11:30 -07:00
Rajeev Kumar Sirasanagandla
b50e3a5f36 qcacld-3.0: Check for space termination of driver command name
qcacld-2.0 to qcacld-3.0 propagation

Currently, few hdd driver commands which expect input are not checked
for space termination of command name. Skip of this check can result
in buffer overread error.

To fix this, add check based on the length of command name.

Change-Id: I92a4efd7e729a9d792af166b4a09963886c9942f
CRs-Fixed: 2090558
2017-09-01 01:11:28 -07:00
snandini
a0e0de3a2c Release 5.2.0.41A
Release 5.2.0.41A

Change-Id: I41d8b39d1186c8858b5ece3a590f570f8c87b00a
CRs-Fixed: 774533
2017-08-31 23:25:16 -07:00
Jeff Johnson
621cf97e55 qcacld-3.0: Replace hdd_context_t in wlan_hdd_ioctl.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I51019e186fff585146ff79928c00dfc6a854e78a
CRs-Fixed: 2100191
2017-08-31 23:25:16 -07:00
Jeff Johnson
d85b761567 qcacld-3.0: Replace hdd_context_t in wlan_hdd_lpass.c
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I5ac8829606eda6940deebe13037e15e47bed6f9b
CRs-Fixed: 2100188
2017-08-31 23:25:14 -07:00
snandini
466ebf6573 Release 5.2.0.41
Release 5.2.0.41

Change-Id: I46b837360f8739101939b3c4baae52bf55206f27
CRs-Fixed: 774533
2017-08-31 22:40:19 -07:00
Srinivas Girigowda
b1a7d03636 qcacld-3.0: Log cleanup
Propagation error, remove this log.

CRs-Fixed: 2099382
Change-Id: I73c61839c2b6692a6b78eb995c9db9e20402df57
2017-08-31 22:40:18 -07:00
Jeff Johnson
6654917cc5 qcacld-3.0: Replace hdd_context_t in wlan_hdd_memdump.c
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: If3ba3e869a9dddd14432c6d9416d7b386f23eb3d
CRs-Fixed: 2100182
2017-08-31 22:40:16 -07:00
Jeff Johnson
f049e74874 qcacld-3.0: Replace hdd_context_t in wlan_hdd_nan.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I5f846c4b234bd55ff3120fd69ea13332e3e80d74
CRs-Fixed: 2100180
2017-08-31 22:40:14 -07:00
Srinivas Girigowda
161b9f298a qcacld-3.0: Schedule work for cds_trigger_recovery() in atomic ctx
Currently wherever cds_trigger_recovery() is called in atomic
context, work is being scheduled.
This change is to modify cds_trigger_recovery() itself detect
that it is being called in atomic context and then
itself schedule work to its own handler.

Change-Id: Id37e97c9b838ad18c355234aa13f2b9c05503029
CRs-Fixed: 2081666
2017-08-31 22:40:11 -07:00
snandini
8a7bc51b9d Release 5.2.0.40Z
Release 5.2.0.40Z

Change-Id: Iadc4ad08ca55d9f2132d4f23b0bc8cc817779a25
CRs-Fixed: 774533
2017-08-31 21:11:23 -07:00
Lin Bai
a016e9a928 qcacld-3.0: Fix build error without WLAN_NL80211_TESTMODE
Compiler is throwing undefined WLAN_HDD_VENDOR_IE_ACCESS_NONE error after
WLAN_NL80211_TESTMODE disabled.

Move enum wlan_hdd_vendor_ie_access_policy out of WLAN_NL80211_TESTMODE.

CRs-Fixed: 2100717
Change-Id: I09e28eeff236006486087911064691339e59fc84
2017-08-31 21:11:20 -07:00
gaolez
5c509f36e8 qcacld-3.0: fix miss CSA IE when band switch
qcacld-2.0 to qcacld-3.0 propagation

Setting CSA IE if not all the STA devices support ECSA while
configure the macro CHANNEL_HOPPING_ALL_BANDS. Otherwise, SAP
will miss CSA IE when switch band from 5G to 2G.

Change-Id: I7aad2bb0d967e73c0ea87acb9820bebdc0455410
CRs-Fixed: 2024425
2017-08-31 21:11:15 -07:00
snandini
9feddff4c5 Release 5.2.0.40Y
Release 5.2.0.40Y

Change-Id: I049c97eea41b287be55c10902b975cf50da9c8b0
CRs-Fixed: 774533
2017-08-31 15:26:34 -07:00
Naveen Rawat
31b0f27c42 qcacld-3.0: Fix ndp peer departed indication
OS_IF layer function recieving NDP peer departed indication expects
different structure than what was supplied, causing wrong values to
be interprated and leading to crash. Fix this by passing correct
structure data type.

Change-Id: I1ad6860e5c55b0efe65691262bd563e84f523a7f
CRs-Fixed: 2100848
2017-08-31 15:26:34 -07:00
snandini
f757aed99e Release 5.2.0.40X
Release 5.2.0.40X

Change-Id: Id00fd985402fcd95218e65b4d44a4f31d52cf058
CRs-Fixed: 774533
2017-08-31 14:48:47 -07:00
Nachiket Kukade
3208c162ba qcacld-3.0: Pass appropriate channel list in vendor ACS event
If vendor acs support is enabled, driver sends a list of channels
through a vendor event when it receives do_acs. Currently it sends
list of all valid channels even if hostapd or INI has specified
specific channels which is not expected.
If available send list of channels specified by hostapd or INI.

Change-Id: I9b931c69ce72a18c7e1ec603143091da6abca70c
CRs-Fixed: 2100742
2017-08-31 14:48:46 -07:00
Abhishek Singh
dd2cb5780b qcacld-3.0: Add diag event for Assoc and Auth Complete
Currently we are not getting any event for ASSOC/AUTH
completion.To debug issues where AP does not respond
to our AUTH\ASSOC request or the response packet from
AP is lost we would like to have clear indication whether
the request from DUT has reached AP or not.
Add diag event for both auth and assoc completion to
inform whether we got ack for the auth and assoc request
pkt.

Change-Id: Ia01da4a9f0d5435733844178643a29fad58d2a5c
CRs-Fixed: 2001968
2017-08-31 14:48:44 -07:00
snandini
436cc67243 Release 5.2.0.40W
Release 5.2.0.40W

Change-Id: I061306b3f606e270ada6c137c1b0d6b889e3ba19
CRs-Fixed: 774533
2017-08-31 11:46:42 -07:00
Vignesh Viswanathan
0942935928 qcacld-3.0: Add new vendor AP to associate in 1x1
Some vendor APs are not able to handle the SMPS frames causing the
data rate to drops to very low rates and before it recovers the next
SMPS frame is triggered.

Add new vendor AP OUI and vendor AP data, compare the vendor AP OUI
and data with AP capabilities and if there is a match, associate in
1x1 to that AP.

Change-Id: I753582fa6a0db9fc24587f053be34d44d5604944
CRs-Fixed: 2093741
2017-08-31 11:46:41 -07:00
snandini
0b45bc7085 Release 5.2.0.40V
Release 5.2.0.40V

Change-Id: Id64a66c8de146f678d2549091c9269e26c90c719
CRs-Fixed: 774533
2017-08-31 11:00:45 -07:00
Liangwei Dong
05475a7868 qcacld-3.0: Fix nss value zero issue
If DUT connects to 1x1 AP in DBS mode, the nss value
will be reduced to 0 in current logic.

Fix by checking the nss > 1 before reduce.

Change-Id: I908ba358411ec7c99f57bb472a0d52a24e0422c3
CRs-Fixed: 2089211
2017-08-31 11:00:44 -07:00
Abhishek Singh
b59f8d40ee qcacld-3.0: Use user provided BW for 2.4Ghz HT connection
Add support to use user provided BW for 2.4Ghz HT connection.
If HT capability in connect req indicate connection in HT20, force
the connection in 2.4Ghz to HT20 only even if AP support HT40.

Added ini override_ht20_40_24g to enable/disable this feature.

Change-Id: Ia03b67b9d6487e3e27f1cf8875afe95af1300b4f
CRs-Fixed: 2084929
2017-08-31 11:00:42 -07:00
Paul Zhang
87251ccfa6 qcacld-3.0: Don't check MIC fail if SA is self MAC
When DUT connects to specific AP, it receives the frame whose
SA is self MAC and MIC failure flag is set at the same time.
This will cause disconnection with the AP because MIC failure.

To fix this unexpected disconnection issue, do not check MIC
failure if discard flag is set by fw.

Change-Id: I9029da9d329679bf0fd61be234690c764cceb57c
CRs-Fixed: 2090575
2017-08-31 11:00:40 -07:00
snandini
ae23028c96 Release 5.2.0.40U
Release 5.2.0.40U

Change-Id: If9040c0126b4bccf82391d383ec51a98a56f9ea8
CRs-Fixed: 774533
2017-08-31 09:54:44 -07:00
Nachiket Kukade
a48556932a qcacld-3.0: Start vendor ACS timer after the vendor event is sent
Driver starts a vendor ACS timer which times out if vendor app doesn't
respond with commands within stipulated time. But in do_acs this timer
is started before all the channel list parsing, regulatory checks and
buffer allocation code. In some cases this takes up enough time to
expire the timer before sending the vendor event. Similar situation will
arise if a buffer allocation fails in between.
To avoid this start timer after the vendor event is sent.

Change-Id: If9bea4643e03f0541ac8d8af2183c1e8d3a6cc40
CRs-Fixed: 2096246
2017-08-31 09:54:41 -07:00
snandini
2882bb0e00 Release 5.2.0.40T
Release 5.2.0.40T

Change-Id: Ie181043d02ecff4ed29131cde29c30a472abde1e
CRs-Fixed: 774533
2017-08-31 08:54:53 -07:00
Jeff Johnson
9755a513cd qcacld-3.0: Replace hdd_context_t in wlan_hdd_ext_scan.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I72ba57c8226c90c3c9f42f13445bb357d8a1b9c3
CRs-Fixed: 2100198
2017-08-31 08:54:51 -07:00
snandini
87de0bf1b3 Release 5.2.0.40S
Release 5.2.0.40S

Change-Id: I4fcbdac74e7db19e2177c3a6e25c5283ca48c00c
CRs-Fixed: 774533
2017-08-31 08:08:11 -07:00
Amar Singhal
e4a2dd5dbc qcacld-3.0: Add INI for 11d scan interval
The default 11d scan interval is 1 hour. But make the 11D scan interval
programmable by user to test different intervals. Therefore provide INI
for the same.

Change-Id: Ifd0705eda69a0672ee41ea39f8230f533f5aa62a
CRs-Fixed: 2088739
2017-08-31 08:08:10 -07:00
Varun Reddy Yeturu
30c24b7afb qcacld-3.0: Do not create vdev if already created
if a SEL_STA is being created then check if the session
on which it is being created is already active and deny
the request

Change-Id: I2ae4aa6034afdefb9ee61c28e4be2b0de6891a44
CRs-Fixed: 2084306
2017-08-31 08:08:08 -07:00
Varun Reddy Yeturu
c13cfaf10f qcacld-3.0: Introduce rate limiting in PE debug
Introduce debugging rate limiting functionality in PE by
using QDF abstraction and use it for the logs which are
not needed to be printed very often

Change-Id: I9ff5924786519da52917a6c0f14d9c8beabcca53
CRs-Fixed: 2087172
2017-08-31 08:08:06 -07:00
Varun Reddy Yeturu
151376c3bf qcacld-3.0: Fix potential buffer overflow issues in RRM
Check for the maximum supported neighbor response reports while
parsing the pFrm->NeighborReport.

Change-Id: I4ee93adf79057e803bd948ed8657efcd4327efb8
CRs-Fixed: 2098766
2017-08-31 08:08:04 -07:00
snandini
b9d24fbb9f Release 5.2.0.40R
Release 5.2.0.40R

Change-Id: I9cb8508d8d0be7c72db7d007db47622460c43bc5
CRs-Fixed: 774533
2017-08-31 07:27:51 -07:00
Jeff Johnson
dd595cb4f0 qcacld-3.0: Replace hdd_context_t in wlan_hdd_ipa.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ic75ce44e589f35b390614c7ed77e240184e4ce82
CRs-Fixed: 2100190
2017-08-31 07:27:50 -07:00
Jeff Johnson
1876762018 qcacld-3.0: Replace hdd_context_t in wlan_hdd_p2p.c
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ied864c85ff8143d44f0eb35e0f49166f88e578ba
CRs-Fixed: 2100172
2017-08-31 07:27:47 -07:00
snandini
65cee2c326 Release 5.2.0.40Q
Release 5.2.0.40Q

Change-Id: Ifb5d728647663b1e39515a5c19cafb7fb5e397a1
CRs-Fixed: 774533
2017-08-31 05:19:19 -07:00
Jeff Johnson
56acf4386f qcacld-3.0: Replace hdd_context_t in wlan_hdd_he.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ib8b11a064c448c1f1995bf192c6a70f49391cbd5
CRs-Fixed: 2100194
2017-08-31 05:19:16 -07:00
snandini
2ba9669d0f Release 5.2.0.40P
Release 5.2.0.40P

Change-Id: I9e786b831662391432d3eb2e72f75e2a34cb4b78
CRs-Fixed: 774533
2017-08-31 04:20:47 -07:00
Jeff Johnson
c54bbf94d7 qcacld-3.0: Replace hdd_context_t in wlan_hdd_hostapd.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I78b16ac511713e20c5b4a7d53315149a80d72e13
CRs-Fixed: 2100192
2017-08-31 04:20:44 -07:00
snandini
9ebb5c5299 Release 5.2.0.40O
Release 5.2.0.40O

Change-Id: I4083ea378fd1b7ebb03b94911f1756dfd2490397
CRs-Fixed: 774533
2017-08-31 03:33:45 -07:00
Jeff Johnson
24d267efac qcacld-3.0: Replace hdd_context_t in wlan_hdd_scan.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ic173dab22fa7279634e913a28530a5b405b0a775
CRs-Fixed: 2100166
2017-08-31 03:33:45 -07:00
Jeff Johnson
714fb034ea qcacld-3.0: Replace hdd_context_t in wlan_hdd_subnet_detect.c
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I58246d49ae36d6555b21832d12c2ca6735c5a507
CRs-Fixed: 2100143
2017-08-31 03:33:42 -07:00
Jeff Johnson
9797fa1ae3 qcacld-3.0: Replace hdd_context_t in wlan_hdd_fips.c
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I8a8189717acf389b326325c1edb64b7df904fa47
CRs-Fixed: 2100141
2017-08-31 03:33:40 -07:00
snandini
4e8c771f88 Release 5.2.0.40N
Release 5.2.0.40N

Change-Id: I8b6c18bdfaa6c99e8ae00c02de9062297e47325a
CRs-Fixed: 774533
2017-08-31 02:52:38 -07:00
Jeff Johnson
7819caa75b qcacld-3.0: Replace hdd_context_t in cds_api
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I8404fa2fc32269a92522f6ae15f8d9d1a8aebf85
CRs-Fixed: 2100140
2017-08-31 02:52:38 -07:00
snandini
eb849af214 Release 5.2.0.40M
Release 5.2.0.40M

Change-Id: Iee331f77d7bb80277290a19e346f596b767e1b69
CRs-Fixed: 774533
2017-08-31 01:34:15 -07:00
Paul Zhang
fda3a59222 qcacld-3.0: Fix STA can't disconnect with AP issue
pe_roam_synch_callback creates new pe session and initializes
the varible bssIdx with add_bss_params->bssIdx which is not
initialized. When beacon miss event happens, it can't disconnect
with the AP because the session is not found for bssidx zero.

Change-Id: I44b79fe7ee0a8fc4ecc6f41e2574c203b0755827
CRs-Fixed: 2094326
2017-08-31 01:34:15 -07:00
snandini
a3988f76ce Release 5.2.0.40L
Release 5.2.0.40L

Change-Id: Idc7d2a00adb782bde533735cb739c7ab12caff4e
CRs-Fixed: 774533
2017-08-30 21:26:26 -07:00
Rajeev Kumar Sirasanagandla
248697d555 qcacld-3.0: Fix incorrect argument in SETROAMMODE IOCTL handler
qcacld-2.0 to qcacld-3.0 propagation

While processing SETROAMMODE IOCTL, invalid argument is passed to
kstrtou8() due to which error is returned for valid command.

To fix this, invoke kstrtou8 with base 10.

Change-Id: I78b10b6c13338c3afa420792e2ddbc7c945a7fec
CRs-Fixed: 2101398
2017-08-30 21:26:26 -07:00
wadesong
8332b59669 qcacld-3.0: Protect tx descritpor states during allocation
Tx descriptors' state info, such as vdev pointer, vdev ID and
ref_cnt, are protected by a spin lock during freeing, but not
protected by the same lock during allocation. Correct the
discrepancies to avoid a NULL pointer dereference issue

Change-Id: Ie0fb634a893a8d33888f7f1f6685a4fb7219e308
CRs-Fixed: 2091379
2017-08-30 21:26:23 -07:00
Hu Wang
c314884bcd qcacld-3.0: Don't set default key for WAPI network
Set default key is for WEP network, don't set it for WAPI network.

Change-Id: I6b94777a57a6978a7abc56750fd475aaff2c8c94
CRs-Fixed: 2063926
2017-08-30 21:26:22 -07:00
snandini
a8eba0cecf Release 5.2.0.40K
Release 5.2.0.40K

Change-Id: Ib56a8021f5cd952be90d9e2ce46304521cc8a6e1
CRs-Fixed: 774533
2017-08-30 20:21:35 -07:00
Rajeev Kumar
052d57c0aa qcacld-3.0: Rename hdd *_rate_limited logging APIs to *_ratelimited
Rename hdd *_rate_limited logging APIs to *_ratelimited.

Change-Id: I0b10b37ddf8602e82c06d1770ceee1b0e9df0797
CRs-Fixed: 2098817
2017-08-30 20:21:34 -07:00
Sridhar Selvaraj
0d5d2c745c qcacld-3.0: Add Support for FILS Association
Adds the following  support:
1) Add FILS IE's to assoc request.
2) AEAD encrypt/decrypt the assoc request/response frames for FILS
3) Process/Verify the Assoc response for the FILS params
4) Plumb the Auth keys to firmware after successful FILS assoc
5) Update the user space with Auth key details

Change-Id: I57f6319cecdf10e08047b510321b885c3cd711b5
CRs-Fixed: 2030038
2017-08-30 17:43:53 -07:00
snandini
7a412e492b Release 5.2.0.40J
Release 5.2.0.40J

Change-Id: Ie13b44d1a2e8f494901383ae7600b4f1ebdb5e5a
CRs-Fixed: 774533
2017-08-30 10:46:26 -07:00
Rajeev Kumar Sirasanagandla
5bacf7fcfe qcacld-3.0: Log rssi in wlan_hdd_get_rssi
qcacld-2.0 to qcacld-3.0 propagation

In the current code, there is no log of rssi value in wlan_hdd_get_rssi.

To fix this, add print for rssi.

Change-Id: I7db04c7defd26d2cd9792e96805ff524d88bb9b4
CRs-Fixed: 2045201
2017-08-30 10:46:21 -07:00