Gráfico de commits

9932 Commits

Autor SHA1 Mensagem Data
Wu Gao
ae38aeda71 qcacld-3.0: Do not clear session id
No valid channel found when DUT as P2P GO and radar signal detected,
stop ap and then up layer start ap again, session id of adapter
changed to invalid since session id of sap context is invalid and
passed to adapter in hdd_hostapd_sap_event_cb with event
eSAP_START_BSS_EVENT. So, do not clear session id of sap context for
stopping ap due to invalid channel case.

Change-Id: I3d60ae9b4ec8223dff26ffd9078b31e02bf29ba2
CRs-Fixed: 2257932
2018-06-23 22:10:18 -07:00
nshrivas
c3c01d8dd6 Release 5.2.0.84R
Release 5.2.0.84R

Change-Id: I7577f965875b9ee1471fcf875a5dd72a31e8b5ea
CRs-Fixed: 774533
2018-06-23 14:19:42 -07:00
Jeff Johnson
daa7cd9475 qcacld-3.0: Use mac_handle_t in wlan_hdd_cfg
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_cfg to use the new naming.

Change-Id: Ib3a9d26cb8966b52b71e97d7b9fb8f2cca9ed916
CRs-Fixed: 2266499
2018-06-23 14:19:41 -07:00
Jeff Johnson
792c83bd6c qcacld-3.0: Use mac_handle_t in wlan_hdd_ext_scan
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_ext_scan to use the new naming.

Change-Id: I69f8a76ae798ed00953727b7687f53506acd22d3
CRs-Fixed: 2266498
2018-06-23 14:19:37 -07:00
nshrivas
8da43a2f3c Release 5.2.0.84Q
Release 5.2.0.84Q

Change-Id: Icc80583265a7f1c8fe708fca3dd4cb04fb40a643
CRs-Fixed: 774533
2018-06-23 12:33:45 -07:00
Jeff Johnson
d3c51e9d2d qcacld-3.0: sys: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the mac sys folder.

Change-Id: Ia1d4a570b7c79ea2bd0ad5f82d287c48f73051b9
CRs-Fixed: 2266497
2018-06-23 07:04:39 -07:00
nshrivas
c00e9f9eb6 Release 5.2.0.84P
Release 5.2.0.84P

Change-Id: I35c714906bf33ff1e6b0a92a98176a1884b59d7d
CRs-Fixed: 774533
2018-06-23 03:47:14 -07:00
Jeff Johnson
4d243e60c7 qcacld-3.0: dph: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the mac dph folder.

Change-Id: I150e024f9b764547267dc8b4673a95e3366c6b70
CRs-Fixed: 2266147
2018-06-22 22:25:15 -07:00
nshrivas
6294193055 Release 5.2.0.84O
Release 5.2.0.84O

Change-Id: I9c107f1d4816daa370ef4766105e21bc6f4d912a
CRs-Fixed: 774533
2018-06-22 22:19:14 -07:00
Jeff Johnson
a9089303f4 qcacld-3.0: pe: nan: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the mac pe/nan folder.

Change-Id: I762d963f5c19f797b9fe0bc933368d4d700de7b3
CRs-Fixed: 2266394
2018-06-22 22:19:13 -07:00
Jeff Johnson
f7187f24e1 qcacld-3.0: Use mac_handle_t in wlan_hdd_assoc
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_assoc to use the new naming.

Change-Id: I33e58d6c51124036d00e37fa3018379b7f99105a
CRs-Fixed: 2266433
2018-06-22 22:19:09 -07:00
nshrivas
0203c0edf6 Release 5.2.0.84N
Release 5.2.0.84N

Change-Id: I1d19f01ce155cecc5ea8f5831fdfff8a2c2189eb
CRs-Fixed: 774533
2018-06-22 21:07:14 -07:00
Hanumanth Reddy Pothula
834f943961 qcacld-3.0: Report valid MCS index to upper layer
While processing get_station cfg operation, HDD is using Nss
value, which gets updated during association, to calculate data
rate. So, there is a possibility of driver to report invalid
MCS index to upper layer if association happens with Nss 2 and
when data transmission is happening at Nss 1 rate.

On receiving GET STATS response, calculate Nss value based upon
the current data rate received from firmware, and pass it to HDD,
so that HDD can use the same Nss value to report valid MCS index
to the upper layer.

Change-Id: I62f029d53149a4747f619027ce69ce65fb280b8d
CRs-Fixed: 2250993
2018-06-22 21:07:13 -07:00
Sandeep Puligilla
d7b48974fe qcacld-3.0: clean unused API csr_is_duplicate_bss_description
Clean unused api csr_is_duplicate_bss_description

Change-Id: I4a245f9baae79dcb1a942cdada3f321a08b1b413
CRs-Fixed: 2265544
2018-06-22 21:07:10 -07:00
nshrivas
85d1f1bb32 Release 5.2.0.84M
Release 5.2.0.84M

Change-Id: I9a1fd195e12d19d138344c3c77127d1c8e17776e
CRs-Fixed: 774533
2018-06-22 19:52:22 -07:00
Jeff Johnson
5f9ce2d24d qcacld-3.0: Fix sme message callback context param
The SME message callback is currently being used in a manner that is
inconsistent with its signature. The signature specifies that a
tHalHandle should be passed but PE actually passes a tpAniSirGlobal.
Since this is a MAC internal interface update the logic to
consistently use a tpAniSirGlobal.

Change-Id: I8bf94a3dd603b76bdbe7c0db3555736692f64cb7
CRs-Fixed: 2266188
2018-06-22 19:52:21 -07:00
Jeff Johnson
acccf296e4 qcacld-3.0: Remove obsolete utils_api items
utils_api.h exports the following macros, variables, and functions
which are no longer used, so remove them:
- LOG_FIRST_MODULE_ID
- LOG_INDEX_FOR_MODULE
- GET_MIN_VALUE
- gPktAllocCnt
- gPktFreeCnt
- get_vos_debug_level
- sirParseNextIE
- hal_round_s32
- convertto_big_endian
- create_scan_cts_frame
- create_scan_data_null_frame
- create_init_scan_raw_frame
- create_finish_scan_raw_frame

Change-Id: If68849746e1f2507fce8f0cf1d85c6f752fde536
CRs-Fixed: 2266339
2018-06-22 19:52:18 -07:00
Pragaspathi Thilagaraj
655db19762 qcacld-3.0: Fix mem leak in lim_handle_csa_offload_msg
The function lim_handle_csa_offload_msg, posts the
eWNI_SME_CSA_OFFLOAD_EVENT msg to sme. The csa_offload_ind
allocated is not freed during failure cases and this will result
in memory leak during the failure cases.

Free the memory allocated for csa_offload_ind for the failure
cases.

CRs-Fixed: 2263376
Change-Id: I6e25500c0e3a0cc2fa71601d935ec9bbe866dc2b
2018-06-22 19:52:15 -07:00
nshrivas
1b740167df Release 5.2.0.84L
Release 5.2.0.84L

Change-Id: Idd23b9f447d46c2fc6894530a9069b5793756a19
CRs-Fixed: 774533
2018-06-22 17:29:02 -07:00
Abhishek Singh
38da980436 qcacld-3.0: Fix peer use after free in wma_is_ccmp_pn_replay_attack
In wma_is_ccmp_pn_replay_attack peer is used without taking the ref
count and thus this can lead to peer used after free.

Fix this by taking ref of peer before using the peer in
wma_is_ccmp_pn_replay_attack and release ref once access is done.

Change-Id: Iaa5936a1c7f6f8667a68fcb646eaec4cb3aa5469
CRs-Fixed: 2264434
2018-06-22 17:29:02 -07:00
nshrivas
340315abb1 Release 5.2.0.84K
Release 5.2.0.84K

Change-Id: I7cb46bd25bc48abfec3fb3bceadfadcd5e160b87
CRs-Fixed: 774533
2018-06-22 15:36:40 -07:00
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
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