Commit Graph

6470 Commits

Author SHA1 Message Date
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