Commit graph

6,485 commits

Author SHA1 Message Date
Jeff Johnson
90c95debe0 qcacld-3.0: Remove obsolete sys_stop()
Function sys_stop() is no longer being used, so remove it.

Change-Id: I107fab5a0d39a58521a39a9c6bf29a5728b7ccf2
CRs-Fixed: 2102668
2017-09-07 23:32:13 -07:00
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