Commit Graph

6214 Commits

Author SHA1 Message Date
Jeff Johnson
d49c4a1fa6 qcacld-3.0: Replace hdd_context_t in wlan_hdd_main.[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: Ib6fe81f9537bd760447b3e0f5fedee44499c302c
CRs-Fixed: 2100213
2017-09-10 14:51:40 -07:00
Jeff Johnson
7aeb95b648 qcacld-3.0: Replace hdd_context_t in wlan_hdd_cfg80211.[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: I996f41049c1be0e37f27a8c9a032d69f5c58a390
CRs-Fixed: 2100208
2017-09-10 14:48:18 -07:00
Jeff Johnson
f772687a8c qcacld-3.0: Replace hdd_context_t in wlan_hdd_softap_tx_rx.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: I4d204f1fc4ef0c8d2d2664544ca470d1f31099aa
CRs-Fixed: 2100159
2017-09-10 14:45:54 -07:00
Jeff Johnson
5eb1e68b33 qcacld-3.0: Replace hdd_context_t in wlan_hdd_stats.[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: Ie0a9961cfe67a7549469756ec0df08546aa94cc0
CRs-Fixed: 2100163
2017-09-10 14:45:54 -07:00
Jeff Johnson
b6909becf1 qcacld-3.0: Replace hdd_context_t in wlan_hdd_cfg.[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: Iea06364201509e916b3e9c60a2248eaf29402720
CRs-Fixed: 2100212
2017-09-10 14:45:54 -07:00
snandini
2dab3c2814 Release 5.2.0.42W
Release 5.2.0.42W

Change-Id: I5f779931b3c6bddb0296ec76e235743174ae024a
CRs-Fixed: 774533
2017-09-08 19:40:10 -07:00
Ashish Kumar Dhanotiya
cc2e0d3e7e qcacld-3.0: Enable 802.11p channel configuration from ini
Currently 802.11p channels are by default enabled.
To make it configurable, use ini value gDot11PMode.

Change-Id: I70417f79d179649df9597c02ec51fe46ef953b91
CRs-Fixed: 2098677
2017-09-08 19:40:10 -07:00
Sandeep Puligilla
f22263c8e0 qcacld-3.0: Decrease tx drain wait time during del bss
wma_delete_bss is stuck for more than
400ms in failure scenario due to pending
tx packets to drain.

-Decrease the wait time to 20ms(2ms*max_wait_iterations)
to avoid the delete bss stuck issue.
-Tx drain wait feature added for LFR2.0
feature so moved the code under the LFR2.0
macro.

Change-Id: I33b56bb627ac914ca6fe96949de373b015853fc9
CRs-Fixed: 2097269
2017-09-08 19:40:08 -07:00
psimha
aca7fc9ece qcacld-3.0: Deregister HIF ext groups on rmmod
- Deregister & free the hif ext ctx when detaching DP interrupts.
- Unregister the hotcpu_notifier during rmmod.

Change-Id: I35cf8b22ff785e90f6e6fd976e83e46a126f95e2
CRs-Fixed: 2086729
2017-09-08 19:40:07 -07:00
snandini
9edc5dba43 Release 5.2.0.42V
Release 5.2.0.42V

Change-Id: Icdeb37d0794ed3d8c1d59753255e60cd5d1fadce
CRs-Fixed: 774533
2017-09-08 18:57:16 -07:00
Amar Singhal
58b45ef32b qcacld-3.0: Cache the current band value
Add a separate variable to store the band value. Since the
value can be set at run-time, config data structure cannot be
used to store the runtime value. Also apply the configuration
restrictions while calculating this band value.

Change-Id: Id6df155b7ecfbe9ca84e489b2dd099cdd0cbcc8f
CRs-Fixed: 2085746
2017-09-08 18:57:15 -07:00
snandini
894e6a18f2 Release 5.2.0.42U
Release 5.2.0.42U

Change-Id: Id6e1cf5ed6011fff80202209a73129ef1880d567
CRs-Fixed: 774533
2017-09-08 17:57:16 -07:00
Krunal Soni
9c2ee03d1a qcacld-3.0: Re-register the callbacks up on driver reinit operation
Some of the callbacks in mac context gets initialized to NULL when SSR
is triggered and up on reinitialization of driver, those callbacks need
to be re-registered.

CRs-Fixed: 2078706
Change-Id: I0ce9b0ab2680e7403536d6b4dd745c2bcb10791a
2017-09-08 17:57:15 -07:00
Krunal Soni
4df4b660e5 qcacld-3.0: Don't discard nss update when channel bonding is disabled
For STA-DUT, when host receives the beacon forwarded by firmware which
contains NSS update, host discards that beacon if channel bonding is
disabled from INI. This is incorrect behavior.
When channel bonding is disabled from INI and host should discard the
beacon when it contains channel width related updates.

Change-Id: I76b42caec6ed0faea7b1650407ff5c1565ac6947
CRs-Fixed: 2059895
2017-09-08 17:57:14 -07:00
Abhishek Singh
9da81d0555 qcacld-3.0: Fix SAP close issue in dual band SAP
In Dual band SAP+SAP, if channel change for a SAP, the SAP get
stuck in eSAP_DISCONNECTING state, waiting for channel change
indication for the concurrent SAP, which may never come as this
is Dual band SAP+SAP and both are on different bands.

Now when stop adapter is called for this SAP, the stop BSS fails
as its already in disconnecting state and due to this it is not
deleted cleanly.

To fix this if DBS is enabled change the channel of the AP on
which CSA was initiated without waiting for other SAP interface.

Change-Id: I54d903d4fc0694b16c1f1debf52ffe2a6dad0ba9
CRs-Fixed: 2097002
2017-09-08 17:57:12 -07:00
snandini
290b16860e Release 5.2.0.42T
Release 5.2.0.42T

Change-Id: I83c6fc4091490dc2aafc542a0e360cb6025c89a6
CRs-Fixed: 774533
2017-09-08 16:47:41 -07:00
Liangwei Dong
6e1a209be5 qcacld-3.0: avoid duplicated LTE_COEX event
For each WLAN_SVC_LTE_COEX_IND event, SCM
will stop/start hostapd. In middle of
Stop/restart hostapd, the current unsafe
operation channel is not changed. If multiple
FW LTE coex event are uploaded during this
time, the WLAN_SVC_LTE_COEX_IND could be
delivered multiple times. And then the hostapd
will stop/start several times.
Fix by skipping unsafe channel checking
and SAP restart when the unsafe channel list
has no change.

Change-Id: I756f317ba39f97c673fa54b382191a6429435b1e
CRs-Fixed: 2078725
2017-09-08 16:47:41 -07:00
Jeff Johnson
5522bc9a07 qcacld-3.0: Remove unused p_cds_context in "set mac acl"
__wlan_hdd_cfg80211_set_mac_acl() contains a local variable
p_cds_context that is written but never read, hence it is unused.
Therfore remove the variable.

Change-Id: I99051fbfb5e44791514a5086eb9cf33f773ffbee
CRs-Fixed: 2102503
2017-09-08 15:59:52 -07:00
snandini
b625c48726 Release 5.2.0.42S
Release 5.2.0.42S

Change-Id: I8f6d9725dfcfe28b7a68fc41645a45ef9fde2c71
CRs-Fixed: 774533
2017-09-08 15:47:02 -07:00
Yun Park
66f24c4c50 qcacld-3.0: Initialize maximum IPA clock when IPA clock scaling is disabled
When IPA clock scaling is not enabled, initialize IPA clock as maximum.

Change-Id: I856279a5b14222e3a7e6d82f78570080cbe0b839
CRs-Fixed: 2022249
2017-09-08 15:47:02 -07:00
snandini
953ca2f41c Release 5.2.0.42R
Release 5.2.0.42R

Change-Id: I189cf28259c4fc62005f46a51775585146560eff
CRs-Fixed: 774533
2017-09-08 14:28:18 -07:00
Tushnim Bhattacharyya
c3c375e5e9 qcacld-3.0: Use lockless sme API to get valid channel list from sme
Use lockless sme API to get valid channel list from sme instead of
sme_get_cfg_valid_channels to avoid deadlock.

Change-Id: I481824cb116244b9c13665d6a0ee88e28c88cf66
CRs-Fixed: 2063060
2017-09-08 14:28:18 -07:00
Tushnim Bhattacharyya
2df9de7637 qcacld-3.0: Add debug logs in SAP channel switch logic
Add debug logs in SAP channel switch logic to catch race condition cases.

Change-Id: I4eb40f25e113b0b0eab971dcb2fd114774b6824b
CRs-Fixed: 2063060
2017-09-08 14:28:16 -07:00
Tushnim Bhattacharyya
1f3a123652 qcacld-3.0: Handle no common channel between PCL and the favorite channel list
Handle the scenario where no common channel between PCL & the
favorite channel list is found.

Change-Id: I560d7ef861d89f3f4a0c63afacd0ffbf6aaa976e
CRs-Fixed: 2063060
2017-09-08 14:28:14 -07:00
Tushnim Bhattacharyya
2479ba3ec7 qcacld-3.0: Fix logic to force SCC in SAP+STA concurrency
If SAP is up & STA is coming up next(or vice versa) on a different
channel causing MCC, move SAP to cause SCC or DBS. This logic is
enabled only if gWlanMccToSccSwitchMode is set to
QDF_MCC_TO_SCC_SWITCH_FORCE_WITHOUT_DISCONNECTION or
QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL.

Change-Id: I16615d828a285762133ee3533339320ef119b3d3
CRs-Fixed: 2063060
2017-09-08 14:28:12 -07:00
Tushnim Bhattacharyya
03103fd070 qcacld-3.0: Add logic to force SCC in SAP+STA concurrency with ACS
If STA is up & SAP is comings up on a ACS derived channel causing MCC,
move SAP to the other band if DBS is supported. This logic is enabled
only if gWlanMccToSccSwitchMode is set to
QDF_MCC_TO_SCC_SWITCH_FORCE_WITHOUT_DISCONNECTION.

Change-Id: I48d809f83921292f51ca1735bff4c4d6dd339975
CRs-Fixed: 2063060
2017-09-08 14:28:10 -07:00
Tushnim Bhattacharyya
9a92999835 qcacld-3.0: Add logic to force SCC in SAP+STA concurrency - Part 2
If STA is up on a a DFS or passive or LTE unsafe channel & SAP is
comings up that causes MCC, move SAP to the other band if DBS
is supported. This logic is enabled only if gWlanMccToSccSwitchMode
is set to QDF_MCC_TO_SCC_SWITCH_FORCE_WITHOUT_DISCONNECTION.

Change-Id: I5d393a21301f3fa838f7cf38620fb1d57ae1d57a
CRs-Fixed: 2063060
2017-09-08 14:28:08 -07:00
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