Commit Graph

10716 Commits

Author SHA1 Message Date
Jeff Johnson
a96ee9371e qcacld-3.0: Use mac_handle_t in wlan_hdd_p2p
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_p2p to use the new naming.

Change-Id: I93514340fcfcf136e6e635aa142209f7cf35a68f
CRs-Fixed: 2266176
2018-06-22 15:36:40 -07:00
nshrivas
4a371d0e8e Release 5.2.0.84J
Release 5.2.0.84J

Change-Id: I9a53afadc8038ac7076b9f8df888dd42eba19c1d
CRs-Fixed: 774533
2018-06-22 14:08:02 -07:00
Jeff Johnson
96d162a85a qcacld-3.0: cfg: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the mac cfg folder.

Change-Id: Ia8a644bc80356cf1dcf7f688d7758902d38af57a
CRs-Fixed: 2266149
2018-06-22 14:08:01 -07:00
Jeff Johnson
83e30fa110 qcacld-3.0: sap: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the sap folder.

Change-Id: I17482713977012d13e0fdb99b67e3f5f4a33efe9
CRs-Fixed: 2266146
2018-06-22 14:07:58 -07:00
nshrivas
72eb98a163 Release 5.2.0.84I
Release 5.2.0.84I

Change-Id: I70724f20a37617745ef58bfd6f3d70db4fca7d28
CRs-Fixed: 774533
2018-06-22 13:02:29 -07:00
Tushnim Bhattacharyya
673735cd2f qcacld-3.0: Enable SMMU S1 TRANSLATION
Enable SMMU S1 TRANSLATION

Change-Id: Ia1d947bbe4c2e95294fec3a673c9cc3ab128fcc9
CRs-Fixed: 2230564
2018-06-22 13:02:28 -07:00
nshrivas
0e368f5157 Release 5.2.0.84H
Release 5.2.0.84H

Change-Id: I19105ce61eb3552d0d736d33e30285af285205c4
CRs-Fixed: 774533
2018-06-22 11:36:18 -07:00
Jeff Johnson
c09caa4db6 qcacld-3.0: sme: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the sme folder.

Change-Id: Ib47c297fb19c350f6ccb7d2c433ebb0eac36b2c4
CRs-Fixed: 2263024
2018-06-22 11:36:18 -07:00
nshrivas
3c7c278301 Release 5.2.0.84G
Release 5.2.0.84G

Change-Id: Ibd30d470e3542f301cdb90c8be3bbf0c430e9ad0
CRs-Fixed: 774533
2018-06-22 10:32:35 -07:00
Naveen Rawat
e9d642342d qcacld-3.0: Fix NDI self-peer creation sequence
Make sure to follow AP for NDI self peer creation so that self peer
creation and deletion can be symmetric.

Change-Id: Ie7f9c7b5500540c824a75758337967f8d4f6e692
CRs-Fixed: 2261713
2018-06-22 10:32:34 -07:00
Naveen Rawat
2986a1460d qcacld-3.0: Fix NDP new peer indication memory leak
Fix memory leak in function lim_send_sme_ndp_add_sta_rsp
where memoery for new peer indication for NDP is allocated
but not freed after use.

Change-Id: If5e2df154f5aab8cec21a54dd62a1c1af43e075a
CRs-Fixed: 2261712
2018-06-22 10:32:31 -07:00
Naveen Rawat
23a3b916b4 qcacld-3.0: Fix NDI create sequence
Create NDI vdev after adapter is added to back of hdd adapter list,
so that vdev create completion callback can identify right adapter
and set corresponding completion variable.

Change-Id: If72f779fabc15a9c29f7d94bffa041f7d42db1f4
CRs-Fixed: 2252030
2018-06-22 10:32:27 -07:00
nshrivas
05aa0296cf Release 5.2.0.84F
Release 5.2.0.84F

Change-Id: I4ac99b4c81e875ae34fecd1a74694a7f0d876043
CRs-Fixed: 774533
2018-06-22 08:18:15 -07:00
Ashish Kumar Dhanotiya
ab2a929bb1 qcacld-3.0: Validate hdd_ctx in set peer authorized event
Add a check to validate hdd context in
hdd_set_peer_authorized_event api.

Change-Id: If3f2ed8262f0690d3633da9033531d53709db6e6
CRs-Fixed: 2259273
2018-06-22 08:18:15 -07:00
nshrivas
e85ab82b97 Release 5.2.0.84E
Release 5.2.0.84E

Change-Id: Id860ae923672ffbb710057d826e560072db5c135
CRs-Fixed: 774533
2018-06-22 07:10:18 -07:00
Jeff Johnson
ea52136ad8 qcacld-3.0: Pass correct param to sme_ps_uapsd_disable()
Currently in sme_qos_internal_release_req() and
sme_qos_process_disconnect_ev() the calls to sme_ps_uapsd_disable()
are passing a tpAniSirGlobal instead of a mac_handle_t. Change these
calls to pass the correct parameter.

Change-Id: I93784796753422988a40c4f0f51bdac92b603a43
CRs-Fixed: 2265633
2018-06-22 07:10:18 -07:00
nshrivas
527a0bd1a6 Release 5.2.0.84D
Release 5.2.0.84D

Change-Id: I24e8b9ed97ed15f7e1605ecf78d5d371b1b6c135
CRs-Fixed: 774533
2018-06-22 06:01:51 -07:00
Krunal Soni
a5d89ad663 qcacld-3.0: Check HW mode before sending join request to lower layers
When STA's join req times out on current BSS, SME issues next BSS
internally without checking HW mode for new channel.

For example, STA tries to connect SSID="abc",
BSSID="a1:a2:a3:a4:a5:a6", channel=36 and lets say it fails. It
should try few more times to same BSSID and after that it will try
next bss. Lets say next BSS it found has, SSID="abc",
BSSID="b1:b2:b3:b4:b5:b6", channel=1 then it needs to check whether
hardware mode change is required for channel=1. If driver fails in
checking hardware mode then following check will prevent the bad
situation.

CRs-Fixed: 2242562
Change-Id: Ie31ac5b8b90c6e63122148647ad333fccfbf9dbf
2018-06-22 06:01:50 -07:00
nshrivas
5fa6a57bfa Release 5.2.0.84C
Release 5.2.0.84C

Change-Id: I515ed2eafb8ab98ae2dc6a6ac49343d953a31a82
CRs-Fixed: 774533
2018-06-22 02:58:48 -07:00
Alok Kumar
f28ca24789 qcacld-3.0: Add missing break statement in between switch cases
Add missing break statement between cases in switch statement
in hdd_wlan_dump_stats.

Change-Id: I4e48bec92c06eb4d8c7ff602ad0535826b3ed0d3
CRs-Fixed: 2233182
2018-06-22 02:58:47 -07:00
nshrivas
984139baa4 Release 5.2.0.84B
Release 5.2.0.84B

Change-Id: I88e21ec7730c87d89a7c7f2bcf94ea794deafc5a
CRs-Fixed: 774533
2018-06-21 22:42:19 -07:00
Jeff Johnson
a18d7343e7 qcacld-3.0: Use mac_handle_t in wlan_hdd_twt
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_twt to use the new naming.

Change-Id: Ia7148fa24d9ddfc53f27cdeb0667db6860b8d04a
CRs-Fixed: 2265586
2018-06-21 22:42:18 -07:00
Sravan Kumar Kairam
5eeeb7aa2a qcacld-3.0: Fix compilation error
Fix undeclared variable error compilation issue.

Change-Id: I088336967eb701708c5cbd864f00a7fbb8cc705b
CRs-Fixed: 2265088
2018-06-21 22:42:15 -07:00
Arif Hussain
db6e4e96b4 qcacld-3.0: Send dfs offload enable command based on service bit
Send dfs offload enable command to firmware if phyerror offload
service bit is enabled.

Change-Id: If84164ae6dec8585e5895ee526750df5b15c201f
CRs-Fixed: 2264638
2018-06-21 22:42:11 -07:00
nshrivas
97f92c3864 Release 5.2.0.84A
Release 5.2.0.84A

Change-Id: Ie1113d57b7471ab57e483fa9ed1aeb348d557c8d
CRs-Fixed: 774533
2018-06-21 21:18:51 -07:00
Jeff Johnson
c61622311a qcacld-3.0: Use mac_handle_t in wlan_hdd_apf
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_apf to use the new naming.

Change-Id: I3be23a0d519e872e0f5d3b0cbf6184204f473a17
CRs-Fixed: 2264573
2018-06-21 21:18:50 -07:00
nshrivas
b8b2d77a71 Release 5.2.0.84
Release 5.2.0.84

Change-Id: I71e284697a608144ccdeb908967b779e4069bb74
CRs-Fixed: 774533
2018-06-21 19:57:54 -07:00
Varun Reddy Yeturu
4f849e5032 qcacld-3.0: Send Peer TWT caps in PEER ASSOC
Parse the association response frame to read the
peer TWT extended capabilities and fill them in
the WMI PEER ASSOC command and send it to the
firmware.

Change-Id: I07f21010abbdaa20e212abae127009dd11e6ab7d
CRs-Fixed: 2264690
2018-06-21 19:57:54 -07:00
Varun Reddy Yeturu
ba0b4fc472 qcacld-3.0: Populate extended capabilities for TWT
Populate Extended capablities for TWT requestor and responder.
Set the capabilities accordingly for STA and AP and populate
them into extcaps IE and pack them along with the association
request.

Change-Id: I38df774fa6dc96459f0d08453f48d6646852dbb8
CRs-Fixed: 2264631
2018-06-21 19:57:50 -07:00
Dustin Brown
576eea4d4f qcacld-3.0: Demote hardware capability logs
Hardware capability logs in WMA are currently logged at info level. To
avoid spamming the console logs, reduce these logs to debug level.

Change-Id: I57c9a3712bde728695ef79aab495a429b8ef79e4
CRs-Fixed: 2265455
2018-06-21 19:57:47 -07:00
nshrivas
7accef41b9 Release 5.2.0.83Z
Release 5.2.0.83Z

Change-Id: I1ae1f441bc7d878e8ae24a78c2ece008665f8219
CRs-Fixed: 774533
2018-06-21 18:49:37 -07:00
Kiran Kumar Lokere
0da2ba67a6 qcacld-3.0: Revert sending the reg sync event
Revert sending the reg sync event to fix stability issue.

Change-Id: Ie8e95ca338602d0eb48fcf7cf8c22cfd6716c0a5
CRs-Fixed: 2242697
2018-06-21 18:49:36 -07:00
nshrivas
86198bcca5 Release 5.2.0.83Y
Release 5.2.0.83Y

Change-Id: I184612852a784b3cd3080587af24d499ff44cd68
CRs-Fixed: 774533
2018-06-21 17:40:31 -07:00
Jeff Johnson
003f739f70 qcacld-3.0: Use mac_handle_t in wlan_hdd_stats
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_stats to use the new naming.

Change-Id: Ib61c29e2cc112df47c318cf8cb8848b9430c1066
CRs-Fixed: 2265345
2018-06-21 17:40:31 -07:00
nshrivas
4a70ccb26b Release 5.2.0.83X
Release 5.2.0.83X

Change-Id: I4042789496e37a5d93301a0365914a9b17d6bb53
CRs-Fixed: 774533
2018-06-21 15:26:54 -07:00
Jeff Johnson
e0349a053a qcacld-3.0: Pass correct type to csr_msg_processor()
csr_msg_processor() expects a tpAniSirGlobal as the first param but
sme_process_msg() is currently passing a tHalHandle. At the moment a
tpAniSirGlobal and tHalHandle can be freely interchanged, but a future
change will enforce type checking so update sme_process_msg() to pass
a parameter of the expected type.

Change-Id: I12aab9bddd74ae10eb9004a6369210b4998ebfbd
CRs-Fixed: 2265337
2018-06-21 15:26:54 -07:00
Jeff Johnson
fdecd51166 qcacld-3.0: Clean up SME stats ext event handling
There are multiple trivial issues with the SME stats ext event
handling:
* sme_stats_ext_event() is exported as a global function even though
  its use is local to sme_api.c
* As a local API sme_stats_ext_event() should take an internal MAC
  context instead of an external HAL handle
* The dispatch code in sme_process_msg() incorporates conditional
  compilation within the function body.
* There is replication of parameter checking.

Normally such trivial issues would not be addressed, however an
upcoming change will enforce type safety and no longer allow
tHalHandle and tpAniSirGlobal to be freely exchanged, so in
preparation perform the following cleanups:
* Make sme_stats_ext_event() static
* Change sme_stats_ext_event() to take a tpAniSirGlobal MAC context
* Provide a stub implementation of sme_stats_ext_event() when the
  WLAN_FEATURE_STATS_EXT feature is not enabled
* Remove the WLAN_FEATURE_STATS_EXT featurization from
  sme_process_msg()
* Remove the parameter checking from sme_process_msg()

Change-Id: I367e9d73ca50bd5c24e9261ceb2c3a504fb70e1a
CRs-Fixed: 2264796
2018-06-21 15:26:49 -07:00
nshrivas
6e867f5301 Release 5.2.0.83W
Release 5.2.0.83W

Change-Id: I09ce9e9ac789a5ac8d41d411512d7f814ac3b7bd
CRs-Fixed: 774533
2018-06-21 13:52:13 -07:00
Alok Kumar
4696fb0272 qcacld-3.0: Add Tx comp cbk for DHCP ACK SKB CB
During hard_start_xmit, set a flag in SKB CB to indicate DHCP ACK
packet, and a callback gets called on TX completion.

Change-Id: I4e11b2c35b4747c7af35a387b404e3ccb1e8e8e4
CRs-Fixed: 2253557
2018-06-21 13:52:12 -07:00
gaurank kathpalia
89d3c32488 qcacld-3.0: Move objmgr create/delete from HDD->WMA
Currently the driver creates and deletes the objmgr peer
in HDD layer. According to the latest requirement, the CDP
peer create/delete needs the pointer of objmgr peer, which
thus has to created before CDP peer create, and deleted
after CDP peer delete, which is done in WMA layer.

Remove the objmgr peer create/delete from HDD, and move it
to the WMA layer.

Change-Id: I5bd62a83864e09a3728109e2deec2adf4bb899b5
CRs-Fixed: 2264892
2018-06-21 13:52:08 -07:00
nshrivas
5150685d1e Release 5.2.0.83V
Release 5.2.0.83V

Change-Id: If09bd627f0312c65fe9dbd2d44945635db0b9180
CRs-Fixed: 774533
2018-06-21 12:35:45 -07:00
Nachiket Kukade
01becb9bf0 qcacld-3.0: Cleanup dtim configuration during suspend and resume
Currently while going to suspend, dtim parameters are not
correctly getting configured. Some other parameters to config
like the inactivity timeout are completely skipped as well.

Cleanly port the setting of dtim and other parameters during
suspend and resume.

Change-Id: Ic41a8ace3f5650e53f2dcaa416bfe241b87aa88d
CRs-Fixed: 2248160
2018-06-21 12:35:44 -07:00
Nachiket Kukade
4b7c8e03c7 qcacld-3.0: Port modulated dtim and override listen interval
Port modulated dtim and override listen interval to PMO from
WMA.

Change-Id: Id965dd8ee0fbddfa563335fd2fe225dcd20cd162
CRs-Fixed: 2252788
2018-06-21 12:35:40 -07:00
nshrivas
0368d66a73 Release 5.2.0.83U
Release 5.2.0.83U

Change-Id: I72fc847fd8372d66ffedfc9a45446759fae6ed70
CRs-Fixed: 774533
2018-06-21 08:27:10 -07:00
Wu Gao
d80927b104 qcacld-3.0: Return correct high bits of DMA addr
It returns NULL as high bits of DMA addr, which cause Rome platform
broken.

Change-Id: I893f86e6a269145654ae749bd01e7a890f4a1abb
CRs-Fixed: 2264775
2018-06-21 08:27:09 -07:00
jitiphil
ecbee58c44 qcacld-3.0: Implement API to set dpt params debugfs
Implement API to set dp trace params debugfs which
sets  proto bitmap, num of records and verbosity
in the same order. API expects exactly 3 params to be
passed in the same order.

CRs-Fixed: 2184740
Change-Id: Ia802243bbd2e9d985a58ccf913d9cfbe3d71c8a8
2018-06-21 08:27:05 -07:00
nshrivas
f56262d842 Release 5.2.0.83T
Release 5.2.0.83T

Change-Id: If24e63a6f41fef0b6bdb20cde9e2ef202fbe6f34
CRs-Fixed: 774533
2018-06-21 07:01:22 -07:00
Hanumanth Reddy Pothula
e9af116d9b qcacld-3.0: Initialize start logging object
While processing WIFI_LOGGER_START vendor command, HDD passes
uninitialized 'user_triggered' variable(member of start logging
object), to down layers, which may lead to enable packet logging,
not in the way user intended.

Make sure valid data is passed to down layers by initialize start
logging object and assigning valid data to the user_triggered variable.

Change-Id: I38ac09a6b658eefb52ab113c885ce3ab54f36535
CRs-Fixed: 2235153
2018-06-21 07:01:21 -07:00
nshrivas
275c084ea0 Release 5.2.0.83S
Release 5.2.0.83S

Change-Id: I7bf83337bf43d7b535493db7913220c2bb0f7b03
CRs-Fixed: 774533
2018-06-21 01:58:51 -07:00
Jinwei Chen
998a1a0e95 qcacld-3.0: separate HE caps per band
currently some HE capability is shared same value from
MIN value of 2G and 5G capability, separate them per band.

Change-Id: I37831b4044d4ca2deaf5015fb44227c824996136
CRs-Fixed: 2239070
2018-06-21 01:58:50 -07:00