Commit Graph

6187 Commits

Author SHA1 Message Date
Tushnim Bhattacharyya
ed678f97ae qcacld-3.0: Add logic to force SCC in SAP+STA concurrency
If SAP is up & STA comes up or moves to a DFS or passive or LTE
unsafe channel that causes MCC, move SAP to the other band if DBS
is supported. This logic is enabled only if gWlanMccToSccSwitchMode
is non zero.

Change-Id: I56f78dfaedec31c4c41aea6ac8c66261c9ad4c91
CRs-Fixed: 2063060
2017-09-08 14:28:06 -07:00
snandini
c178a35ca8 Release 5.2.0.42Q
Release 5.2.0.42Q

Change-Id: I8bdf86a47d91f1818216a630dad84f3e34a9bc99
CRs-Fixed: 774533
2017-09-08 03:57:31 -07:00
Jeff Johnson
382bce0268 qcacld-3.0: Remove cds_ctx param from register_ocb_peer()
The cdp_peer_ops register_ocb_peer() method currently takes a cds_ctx
parameter. Converged datapath APIs should not require the MCL-specific
CDS context, and in fact it is not required by the MCL implementation,
so remove it from all OCB peer registration APIs.

Change-Id: I873eeb472f463ac76f30de5a9013783565be916d
CRs-Fixed: 2103451
2017-09-08 03:57:31 -07:00
snandini
b9bc6de114 Release 5.2.0.42P
Release 5.2.0.42P

Change-Id: I72dab80787559899b1b862d435f7a9e39ff0b1b7
CRs-Fixed: 774533
2017-09-08 03:18:02 -07:00
Jeff Johnson
a9b6657591 qcacld-3.0: Remove unused wma_register_roaming_callbacks param
Currently wma_register_roaming_callbacks() has a cds_ctx parameter. 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 for this purpose, so remove the unused parameter.

Change-Id: Ida681fb20dd98a46f385f1e04662f72a334c68bf
CRs-Fixed: 2103626
2017-09-08 03:18:02 -07:00
snandini
b4afd7899f Release 5.2.0.42O
Release 5.2.0.42O

Change-Id: Ic57b28dc79d275dd8dde4d9dd6aee1f18c7cbe5f
CRs-Fixed: 774533
2017-09-08 01:57:53 -07:00
Sravan Kumar Kairam
4402a264b2 qcacld-3.0: Log IP addr of the first RX packet after wow wakeup
Log the IP header source and destination address for the first Rx
packet received after host wakeup.

Change-Id: Ie8cf71c8ce913378687ad2c79ab9d5f46c0c2419
CRs-Fixed: 2010971
2017-09-08 01:57:52 -07:00
Arif Hussain
fde76e7f78 qcacld-3.0: Enable DFS logging
Enable logging from new DFS component.

Change-Id: I91b91ed5613b692bfbdd1c8b47c80cd9dfd4effe
CRs-Fixed: 2104732
2017-09-08 01:57:51 -07:00
snandini
0a32ac4e02 Release 5.2.0.42N
Release 5.2.0.42N

Change-Id: I42c44c7b1befdaa28a5f21934f90e4ee10722b04
CRs-Fixed: 774533
2017-09-08 01:03:47 -07:00
Jeff Johnson
9908f80e2f qcacld-3.0: Remove g_cds_context from tCsrRoamStruct
Currently tCsrRoamStruct contains a g_cds_context field to hold a
pointer to the global context. This pointer is never actually used, so
remove it. In addition remove an unnecessary retrieval of the global
context pointer from csr_packetdump_timer_stop().

Change-Id: Id8137d6e9eef87f90c01f803982a6ffdc44fbe20
CRs-Fixed: 2102464
2017-09-08 01:03:46 -07:00
snandini
6b176b77ec Release 5.2.0.42M
Release 5.2.0.42M

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