Commit graph

14,272 commits

Author SHA1 Message Date
nshrivas
35836d8fdc Release 5.2.0.116V
Release 5.2.0.116V

Change-Id: I2b4efe80b43939e99f6d51d144b8810bca18162a
CRs-Fixed: 774533
2019-01-22 05:06:10 -08:00
Jeff Johnson
999644a237 qcacld-3.0: Align with revised "get link status" Unified WMI
Change I057ca0aff4a627c7fcdb9f90a5da46473813f60a ("qcacmn: Address
Unified WMI "get link status" deficiencies") is updating the "get link
status" Unified WMI, so update WMA to align with those changes. Note
that these are interdependent changes.

Change-Id: I508ec083298caa45d4cbb1ba28b21e47e379a804
CRs-Fixed: 2381366
2019-01-22 05:06:10 -08:00
Manjunathappa Prakash
8b68663ddc qcacld-3.0: Hold peer reference when handling unmap_timer_work
There is race when unamp_timer_work and peer is deleted. Hold the
reference to peer while handling the peer_unmap_timer_work.

Change-Id: Ie6cef3f13e55ab7d2310f0fff4254cde3e3c96e1
CRs-Fixed: 2381036
2019-01-22 05:06:06 -08:00
nshrivas
951f590e74 Release 5.2.0.116U
Release 5.2.0.116U

Change-Id: I2e7956d96dc2a2bcf66e1859e7e8a2b4be2a35dd
CRs-Fixed: 774533
2019-01-22 02:37:37 -08:00
Wu Gao
ccd9ca2cad qcacld-3.0: Clean up WNI_CFG_HT_CAP_INFO_SUPPORTED_CHAN_WIDTH_SET
Cleanup unused WNI_CFG_HT_CAP_INFO_SUPPORTED_CHAN_WIDTH_SET.

Change-Id: Ic74aaa451f22c785b5a74d84d6ccea7e3705114f
CRs-Fixed: 2382568
2019-01-22 02:37:36 -08:00
Madhvapathi Sriram
3e6627a9f9 qcacld-3.0: Optimize schedule msg post error logging
Change-Id: Ieaddca5f141c99c42ed4a7c954dea2788e353640
CRs-Fixed: 2373015
2019-01-22 02:37:31 -08:00
nshrivas
474e231b14 Release 5.2.0.116T
Release 5.2.0.116T

Change-Id: I3438ea4c1aa1dd4250613c15841880744b06deaa
CRs-Fixed: 774533
2019-01-22 00:18:30 -08:00
Visweswara Tanuku
025f586806 qcacld-3.0: Thermal Throttling support for FW based throttling
If FW supports thermal throttling feature, add iwpriv and wmi
interface for configuring thermal throttle params.
Disable throttling in driver if FW supports thermal throttling.
Send Thermal configuration controls via WMI commands to fw
Added iwpriv command for user to control throttling
Added code under flag FW_THERMAL_THROTTLE_SUPPORT

CRs-Fixed: 2367015
Change-Id: Ie18016d23d151873e28781d3fac6e6d60245191d
2019-01-22 00:18:30 -08:00
nshrivas
6bb00a3e08 Release 5.2.0.116S
Release 5.2.0.116S

Change-Id: I762ccaa0b48e927425908c9ac372d7dbcf4d227a
CRs-Fixed: 774533
2019-01-21 03:54:54 -08:00
Harprit Chhabada
3f4c05872e qcacld-3.0: Create same call signature for WIN and MCL
In wmi_process_fw_event_default_ctx, Use same call
signature for MCL as WIN for wma_process_fw_event_handler

Change-Id: Ie361dd762c97667f4ee5bc3bb67fd0d39fbcae94
CRS-Fixed: 2372982
2019-01-21 03:54:53 -08:00
nshrivas
1fde96e762 Release 5.2.0.116R
Release 5.2.0.116R

Change-Id: Id8dea9352ff7fcaa161bd2a01a35518262adf271
CRs-Fixed: 774533
2019-01-21 01:46:22 -08:00
hangtian
351b7c9b7b qcacld-3.0: Free memory allocated for WMI_SERVICE_READY_EVENTID
Free memory allocated for WMI_SERVICE_READY_EVENTID in wma_close.

Change-Id: I1788fdbcdda9488ef8ad9fe511a7f1b06e250159
CRs-Fixed: 2381818
2019-01-21 01:46:21 -08:00
nshrivas
bcadecf5b2 Release 5.2.0.116Q
Release 5.2.0.116Q

Change-Id: I9837f21de6e5baf9bf85a4948a70015385b8f972
CRs-Fixed: 774533
2019-01-20 23:26:19 -08:00
Kiran Kumar Lokere
20b968d8a8 qcacld-3.0: Fix the issue with crypto utility api call
Update the crypto utility api call to fix the compilation issue.

Change-Id: If1f5debf022411ecac1169d8575c098b321fde03
CRs-Fixed: 2367623
2019-01-20 23:26:18 -08:00
nshrivas
92b8759b56 Release 5.2.0.116P
Release 5.2.0.116P

Change-Id: I35518e52e53fb7e1b2d7bdafc007bc38614f66b5
CRs-Fixed: 774533
2019-01-20 21:13:46 -08:00
Jeff Johnson
bddc03e9a8 qcacld-3.0: Replace pStaDs
Per the Linux coding style both mixed-case names and so-called
Hungarian notation are frowned upon, therefore replace the identifier
"pStaDs" everywhere it occurs. Note that both "sta" and "sta_ds" are
commonly used in this context, so use the identifier "sta" since it is
shorter and passes the "telephone test."

Change-Id: I3b49a0759d8b261c1c6482a8ac0f99927756a9d4
CRs-Fixed: 2383115
2019-01-20 21:13:46 -08:00
nshrivas
c6cb5c40e8 Release 5.2.0.116O
Release 5.2.0.116O

Change-Id: Ia1175c17f58c522692932dc1313aaeaffe62723a
CRs-Fixed: 774533
2019-01-20 05:52:40 -08:00
Arunk Khandavalli
5ff0375477 qcacld-3.0: Enable beacon reception stats only if sys is enabled
In some platforms sysfs entry is not enabled, beacon reception stats
which is dependent on sysfs is not correctly protected under sysfs
definition this can lead to symbol missing error in these platforms.

WARNING: "hdd_sysfs_destroy_adapter_root_obj"
WARNING: "hdd_sysfs_create_adapter_root_obj"

Also when the CONFIG_MOBILE_ROUTER is disabled there is an
skip_acs_scan_timer leak. skip_acs_scan_timer is initialized in the
ACTIVE_DOMAIN, move it to the INIT_DOMAIN to resolve the timer leak.

Change-Id: I75fb97aa69d7f84ead4a8b693123162d9940d78c
CRs-Fixed: 2379766
2019-01-20 05:52:40 -08:00
nshrivas
2f67093795 Release 5.2.0.116N
Release 5.2.0.116N

Change-Id: Ibf064c1b18e7b0ad9c1453d2afad1885f894c87b
CRs-Fixed: 774533
2019-01-19 11:14:15 -08:00
Wu Gao
f3cbeaf9c6 qcacld-3.0: Refactor three WNI and one INI
Based on new cfg framework, refactor below WNI cfg:
 - WNI_CFG_VALID_CHANNEL_LIST
 - WNI_CFG_COUNTRY_CODE
 - WNI_CFG_REMOVE_TIME_SYNC_CMD
 - CFG_REMOVE_TIME_STAMP_SYNC_CMD_NAME

Change-Id: Ic612705ad6c36e055b50baf30ae3e76818f50eed
CRs-Fixed: 2381199
2019-01-19 11:14:15 -08:00
nshrivas
c8bbd264e1 Release 5.2.0.116M
Release 5.2.0.116M

Change-Id: Id7688106a38601921da9866812f9aa2e87a2d005
CRs-Fixed: 774533
2019-01-19 03:16:51 -08:00
Pragaspathi Thilagaraj
0f3cea8ee8 qcacld-3.0: Remove call to hdd_napi_serialize during roam start
With LFR3, in host roaming state machine, the host driver
invokes  hdd_napi_serialize to call core_ctl_set_boost,
twice- once during roam start and second time during
SIR_ROAM_DEREGISTER_STA. But driver releases the boost only once
after roam sync is complete. This results in the reference
count for boost incremented twice but decremented once.
This results in power and performance issues.

Dont invoke hdd_napi_serialize when hdd_sme_roam_callback() roam
status is eCSR_ROAM_START.

Change-Id: Iabe20624ec5f7a5249a82c5120dfd1bb02bf5835
CRs-Fixed: 2377951
2019-01-19 03:16:50 -08:00
nshrivas
783f09bcb4 Release 5.2.0.116L
Release 5.2.0.116L

Change-Id: Id9e96bbf6d58e2670ed0dc10cdbf3a14b72df5e1
CRs-Fixed: 774533
2019-01-18 21:28:30 -08:00
hangtian
cd2b2860b9 qcacld-3.0: Set cds_ol_rx_thread schedule policy to SCHED_RR
On QCS405 platform, it's observed that cds_ol_rx_pkt_freeq is empty
while receiving UDP packets, driver try to allocate cds_ol_rx_pkt in
ol_rx_data_process but failed. This leads to lots of frames got dropped.
Raise cds_ol_rx_thread scheduler policy to SCHED_RR to compete with
CE tasklet scheduler speed. With this change, found cds_ol_rx_pkt_freeq
is not going to be empty while receiving UDP packets.

Change-Id: I4bee3d69c2754ec6be10a2b623b4ebe8b2c0859b
CRs-Fixed: 2373936
2019-01-18 21:28:30 -08:00
Will Huang
e40a6ccdfd qcacld-3.0: Remove CONFIG_MCL for set scan channel list command
Currently we have same function name/different implementation when set
wmi scan channel list for WIN and MCL, the implementation for WIN side
send_scan_chan_list_cmd_tlv looks more intuitive which will remain with
minor change.

So change MCL side wma_update_channel_list(), change its structure
scan_chan_list_params pass to send_scan_chan_list_cmd_tlv() accordingly,
set struct channel_param instead of setting WMI channel info directly.

Change-Id: Ic414a00c09655b3c999182c7d84e93c179c36467
CRs-Fixed: 2363666
2019-01-18 21:28:25 -08:00
nshrivas
15920a9cc6 Release 5.2.0.116K
Release 5.2.0.116K

Change-Id: I93add2ae9dc69c776b0cb009d2c11db14eb578f9
CRs-Fixed: 774533
2019-01-18 16:36:28 -08:00
Jeff Johnson
919f2c3a82 qcacld-3.0: Fix gEnableVhtFor24GHzBand reference comment
In lim_send_probe_req_mgmt_frame() there is logic to change the
dot11mode from 11ac to 11n when operating in 2.4GHz unless VHT
operation in 2.4GHz has been enabled in the INI. However the
associated comment has a typo, referring to enableVhtFor24GHz instead
of the correct name, gEnableVhtFor24GHzBand, so fix the comment.

Change-Id: I56c569d85cac7e00347bea522d2f6f133e276cfb
CRs-Fixed: 2382130
2019-01-18 16:36:28 -08:00
Jeff Johnson
62dbb183fc qcacld-3.0: Remove ucfg_pmo_vdev_update_dp_handle() stub
Change I1f668fff633a5e5cdfc478e7f619e9600930b333 ("qcacld-3.0: Use wma
callback to get vdev dp handle") removed the implementation of
pmo_ucfg_vdev_update_dp_handle(), but left behind the stub
implementation for use when PMO is disabled. This stub, since renamed
to ucfg_pmo_vdev_update_dp_handle(), is unused, so remove it.

Change-Id: I042ea081a4c2e5288963f7882129d06667e5b707
CRs-Fixed: 2380780
2019-01-18 16:36:23 -08:00
Jeff Johnson
ff95f52665 qcacld-3.0: Remove sme_update_fw_tdls_state() prototype
Change I5c873b9571228f0d2b4fcd4782267a2cc40fc20a ("qcacld-3.0: Remove
the deprecated IOCTL in TDLS") removed the implementation of function
sme_update_fw_tdls_state(). However it left behind the prototype,
which is now obsolete, so remove it.

Change-Id: I57731f12761cfd564d949ec582eb4d45302e75d1
CRs-Fixed: 2380779
2019-01-18 16:36:19 -08:00
Jeff Johnson
7b25289fed qcacld-3.0: Remove sme_set_host_power_save() prototype
The driver contains a sme_set_host_power_save() prototype but no
implementation. Since the prototype is obsolete, remove it.

Change-Id: I5631a5f23dd61380af0cacb037f673c585ae575f
CRs-Fixed: 2380778
2019-01-18 16:36:15 -08:00
Jeff Johnson
d6e8874e4b qcacld-3.0: Remove sme_update_roam_offload_enabled() prototype
Change Iebda5bbb3c5c68b922b7f6ac1adaf25cccf903a6 ("qcacld-3.0: Apply
mlme lfr configuraions") removed the implementation of function
sme_update_roam_offload_enabled(). However it left behind the
prototype, which is now obsolete, so remove it.

Change-Id: I64391c654e50fa8220beee5ad225c66158057d5b
CRs-Fixed: 2380777
2019-01-18 16:36:10 -08:00
Jeff Johnson
e81976b677 qcacld-3.0: Remove scanProfile from struct csr_scanstruct
Change I7e04b4488b10021d6815e76d0a55e040756b1794 ("qcacld-3.0: Remove
unused SCAN code under NAPIER_SCAN define") removed the last logic
that used the scanProfile field in struct csr_scanstruct. Since this
field is now obsolete, remove it, along with the underlying struct
scan_profile.

Change-Id: Ica60cc075f9768dbd86bcae6a2145c6594bc8595
CRs-Fixed: 2380776
2019-01-18 16:36:05 -08:00
Jeff Johnson
4ff005c9f0 qcacld-3.0: Remove obsolete tCsrTdls* typedefs
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed the last usage of typedefs
tCsrTdlsLinkEstablishParams and tCsrTdlsSendMgmt. Since these typedefs
are now obsolete, remove them.

Change-Id: I666c3180beb7fb0a230ba6c97a93666ff9ba886e
CRs-Fixed: 2380775
2019-01-18 16:36:01 -08:00
Jeff Johnson
582ef65dea qcacld-3.0: Remove enableVhtFor24GHz from tCsrConfigParam
Change I8cd30439d7ac3de7b550aa5042353cf30e04cbda ("qcacld-3.0:
Refactor MLME CFG items and APIs for VHT") removed the usage of the
enableVhtFor24GHz field in tCsrConfigParam, but failed to remove the
actual field, so remove it now.

Change-Id: Id80c1a85c9269b3bcc6019426f5321665bc93f2e
CRs-Fixed: 2380774
2019-01-18 16:35:56 -08:00
Jeff Johnson
82c691eacf qcacld-3.0: Remove eCsrSecurityType
The eCsrSecurityType enum is unused, so remove it.

Change-Id: Iba251d127b59960151d59967c180df32a732fa27
CRs-Fixed: 2380773
2019-01-18 16:35:50 -08:00
Jeff Johnson
cbb8906363 qcacld-3.0: Remove eCsrSetKeyAction
The eCsrSetKeyAction enum is unused, so remove it.

Change-Id: I37c8d7ececc4d44a1f8bcb9530b1f4aee8695f4f
CRs-Fixed: 2380772
2019-01-18 16:35:46 -08:00
Jeff Johnson
89748dc3d1 qcacld-3.0: Remove tSap_ManagementFrameInfo
Change Ib83700825112cc52dade594909bfa8993909ac29 ("qcacld-3.0: Send
management frame indication directly to HDD from PE") removed the
usage of tSap_ManagementFrameInfo. Since this struct is obsolete,
remove it.

Change-Id: Ic10c150286fe9f998884cdfcb8da2edadee7e156
CRs-Fixed: 2380771
2019-01-18 16:35:42 -08:00
Jeff Johnson
034649dbd7 qcacld-3.0: Remove requestedMCRate from tSap_AssocMacAddr
The requestedMCRate field in tSap_AssocMacAddr is unused,
so remove it.

Change-Id: If5ae0df5f84c99e3684df3cac75d32d63227d5ce
CRs-Fixed: 2380770
2019-01-18 16:35:38 -08:00
Jeff Johnson
ec828e6c62 qcacld-3.0: Remove last_radar_found_channel from tSapDfsInfo
The last_radar_found_channel field in tSapDfsInfo is unused,
so remove it.

Change-Id: I7afb516b01f5f696ea9fb9ad386daf2b0767e754
CRs-Fixed: 2380769
2019-01-18 16:35:34 -08:00
Jeff Johnson
c7429e600c qcacld-3.0: Remove ht_op_mode_fixed from struct sap_config
The ht_op_mode_fixed field in struct sap_config is unused,
so remove it.

Change-Id: Ie85a99d793c964dec493432b7680eb469a20a364
CRs-Fixed: 2380768
2019-01-18 16:35:30 -08:00
Jeff Johnson
7700a964a9 qcacld-3.0: Remove ampdu_size from struct sap_config
Change I9d05cd7b8e051c4e9e4912cf866206ae32ec293d ("qcacld-3.0: Define
data structures for new AP requirements") added the ampdu_size field
to struct sap_config. However logic to use this field was never added,
so remove the field since it is unused.

Change-Id: I183766da3af3a3e9c609ccde95a0cca561813226
CRs-Fixed: 2380767
2019-01-18 16:35:25 -08:00
Jeff Johnson
e44decbd7b qcacld-3.0: Remove unused sch_beacon_process macros
The SCH_BEACON_LEN_DELTA and CW_GET macros in sch_beacon_process.c are
unused, so remove them.

Change-Id: I539f637534f576f2bab6fd432d0a365ec62b8a6b
CRs-Fixed: 2380766
2019-01-18 16:35:20 -08:00
nshrivas
cd17f76e71 Release 5.2.0.116J
Release 5.2.0.116J

Change-Id: I78990e42e46b9bbe3ebd5cddec95cce606617152
CRs-Fixed: 774533
2019-01-17 10:49:03 -08:00
Bala Venkatesh
33f270b416 qcacld-3.0: Clear TDLS peers before vdev restart
As part of change in bandwidth in HT cap of beacon from AP.
Driver triggers the vdev restart, but if there are any
TDLS connections present then TDLS peers are not removed.
This can lead to inconsistency between host and FW as FW
deletes tdls peers as part of vdev restart.

Remove TDLS peers before restarting vdev.

Change-Id: Ibeab1e4bcda9229ed936ffe05be9ecdfeb260eef
CRs-Fixed: 2380440
2019-01-17 10:49:02 -08:00
Abhishek Singh
f8364e11b7 qcacld-3.0: Fix recursive calling of CSR roam API
If STA is trying to connect and same time SAP initiate the
change channel the HW mode calculated during connection start will
may not be valid for some STA's candidate and thus, it will avoid
connecting to these candidate leading to recursive calling of CSR
roam API.

To fix this while selecting the candidate skip the candidate itself
even before trying to connect if the candidate channel is not allowed
for current HW mode. Also block SAP channel change from user
space during connection.

Change-Id: Ic04aa983d95986f05d6359eb112d489e8ef80478
CRs-Fixed: 2380459
2019-01-17 10:48:58 -08:00
nshrivas
47d1c16c05 Release 5.2.0.116I
Release 5.2.0.116I

Change-Id: Ib3b8c49e2fc0720e31ffe6b99042ffa2701b480c
CRs-Fixed: 774533
2019-01-17 06:39:04 -08:00
Wu Gao
ed616a1a50 qcacld-3.0: Refactor two INI about channel bonding
Based on new cfg framework, refactor below WNI/INI:
 - CFG_CHANNEL_BONDING_MODE_24GHZ_NAME
 - CFG_CHANNEL_BONDING_MODE_5GHZ_NAME

Change-Id: Ia18fd79738a8079c41df557934335e54c8016e43
CRs-Fixed: 2381831
2019-01-17 06:39:03 -08:00
Ashish Kumar Dhanotiya
dc3900f053 qcacld-3.0: Flush delayed acs work during SSR
There are two issue in the driver during SSR:
1. Currently in driver if SSR happens in SAP mode and during
re-probe if any pending acs delayed work is scheduled, it
results in NULL pointer access at sap_init_dfs_channel_nol_list
api as pdev is not initialized yet.
2. disconnection_status_lock is not getting initialized for
SAP interface and this is getting used inside
hdd_set_disconnect_status api which is getting invoked
for all interfaces at reset all adapters during SSR
shutdown, which results in uninitialized lock access.

To address these issue below measures are taken care:
1. Add SSR protection for pending acs and flush
   pending acs delayed work during SSR shutdown.
2. During SSR shutdown don't invoke hdd_set_disconnect_status
   api for SAP interface.

Change-Id: I5181deffed28ecbc5708f970c9ca7f8ad2241011
CRs-fixed: 2379280
2019-01-17 06:38:59 -08:00
nshrivas
ea90310067 Release 5.2.0.116H
Release 5.2.0.116H

Change-Id: I0a2bf9986f9e73b494ea15c8ca78b6f8d3756e87
CRs-Fixed: 774533
2019-01-17 04:27:11 -08:00
Kiran Kumar Lokere
e0ec5631f5 qcacld-3.0: Fix SAE connection fail with crypto IE support
Set the RSN capabilities to crypto component which is used to
construct the RSN IE with right capabilities during connection.

Change-Id: Ia21e7f5592eef53d3eb90752e328de6fdbd80aea
CRs-Fixed: 2377823
2019-01-17 04:27:10 -08:00