Граф коммитов

14285 Коммитов

Автор SHA1 Сообщение Дата
Pragaspathi Thilagaraj
24789d3b86 qcacld-3.0: Remove legacy PNO related WCNSS_qcom.ini items
The following PNO related ini items are moved to converged scan
component:
CFG_ENABLE_DFS_PNO_CHNL_SCAN 	 CFG_PNO_SCAN_SUPPORT
CFG_PNO_SCAN_TIMER_REPEAT_VALUE	 CFG_PNO_SLOW_SCAN_MULTIPLIER
CFG_PNO_CHANNEL_PREDICTION	 CFG_TOP_K_NUM_OF_CHANNELS
CFG_STATIONARY_THRESHOLD	 CFG_CHANNEL_PREDICTION_FULL_SCAN_MS
CFG_ADAPTIVE_PNOSCAN_DWELL_MODE	 CFG_MAWC_NLO_EXP_BACKOFF_RATIO
CFG_SCAN_BACKOFF_MULTIPLIER      CFG_MAWC_NLO_ENABLED
CFG_MAWC_NLO_INIT_SCAN_INTERVAL	 CFG_MAWC_NLO_MAX_SCAN_INTERVAL

Remove legacy ini definitions and related macros for these
ini values.

Change-Id: I81bdbd917969fc8a73e6e5359ca69f78acdf723c
CRs-Fixed: 2375450
2019-01-23 15:14:13 -08:00
Ashish Kumar Dhanotiya
aa9fdbb777 qcacld-3.0: Add support for new regulatory files
Regulatory component is getting updated to reduce the
code size based on different regulatory features. In this
process new regulatory files are getting added and some
of the files are getting removed.

To compile the newly added files update the required changes
in driver Kbuild file.

Some of the functins which are not supposed to be invoked from
outside the component directly, replace those function calls
with the appropriate wrapper functions.

Change-Id: I31a25268250b99f4f156c4f149966213746d999e
CRs-Fixed: 2373780
2019-01-23 15:14:09 -08:00
nshrivas
6f687e08f9 Release 5.2.0.116Z
Release 5.2.0.116Z

Change-Id: I49b03f8aa06ea4c7913d1fbaabe483214f053769
CRs-Fixed: 774533
2019-01-23 06:37:24 -08:00
Liangwei Dong
77ff66cad4 qcacld-3.0: validate sbs HW mode set
PM_SBS/PM_SBS_DOWNGRADE action should not
be executed again if current hw mode is sbs.

Change-Id: I9bf2666c559dbf6a3ad73aec7ee94db7c50b82a7
CRs-Fixed: 2375652
2019-01-23 06:37:24 -08:00
hangtian
0ec24dc0ab qcacld-3.0: Bind ol_rx_thread to perf CPU
When RX_PERFORMANCE is set, bind ol_rx_thread to perf CPU.
Do not update tdls stats and acquire rx_wakelock while
throughput is high, to avoid station drop packets caused
by slow process of ol_rx_data_cb(hdd_rx_packet_cbk).

Change-Id: I4e2a8d7f98907c205cc6988d8af309e7a5515b89
CRs-Fixed: 2373936
2019-01-23 06:37:20 -08:00
nshrivas
122d45cb94 Release 5.2.0.116Y
Release 5.2.0.116Y

Change-Id: I60f1f01df8508a8252cd09b998e2c0dbe255ce57
CRs-Fixed: 774533
2019-01-22 23:41:52 -08:00
Wu Gao
eef680e4d0 qcacld-3.0: Exclude unused head file cfg_api.h
Since head file "cfg_api.h" is needn't, exclude it form these files.

Change-Id: Ic8f03b366eb9a20b153bbbafc778fab14340325a
CRs-Fixed: 2383295
2019-01-22 23:41:51 -08:00
Yuanyuan Liu
755671ed02 qcacld-3.0: use fixed length for array
Fix error of "variable length array ‘duration’ is used ". Use fixed
length for array.

CRs-Fixed: 2383040
Change-Id: I4aee165cd626e56592c18b2211dc7c81e97d4cd4
2019-01-22 23:41:45 -08:00
nshrivas
cadb0cc6a1 Release 5.2.0.116X
Release 5.2.0.116X

Change-Id: I58452ac1e13ba49db311392faf71acd65391f9ac
CRs-Fixed: 774533
2019-01-22 12:40:09 -08:00
Jianmin Zhu
fc2cef1650 qcacld-3.0: Fix force deauth sta cmd timeout issue
Analysis:
  1.  Host initiated deauth and queued WLAN_SER_CMD_FORCE_DEAUTH_STA.
  2.  During deleting the STA, updated
	 sta_ds->mlmStaContext.cleanupTrigger as
	 eLIM_HOST_DISASSOC(0), default is 0.
  3.  At same time, the assoc req was received for this STA on other
        vdev, in lim_check_sta_in_pe_entries() driver update
        sta_ds->mlmStaContext.cleanupTrigger to eLIM_DUPLICATE_ENTRY.
  4.  lim_prepare_and_send_del_sta_cnf-> lim_send_del_sta_cnf()
	use sta_ds->mlmStaContext.cleanupTrigger to update
	mlmDisassocCnf.disassocTrigger to eLIM_DUPLICATE_ENTRY
	instead of eLIM_HOST_DISASSOC.
  5.  Thus in lim_send_sme_disassoc_ntf(),
	eWNI_SME_DISCONNECT_DONE_IND was called instead of
	eWNI_SME_DISASSOC_RSP.
  6.  Thus we tried to remove WmStatusChange instead of
	WLAN_SER_CMD_FORCE_DEAUTH_STA.
Fix:
Reject assoc req instead of using eLIM_DUPLICATE_ENTRY logic if
STA is already being deleted.

Change-Id: Ibab73758fa4a31ac017c8472894cd07b77133250
CRs-Fixed: 2380012
2019-01-22 12:40:09 -08:00
Bala Venkatesh
e7f79169f8 qcacld-3.0: Do not send UAPSD enable command to FW
Currently, UAPSD enable command is sent to FW if
INI UapsdMask is set for any access category.
But, when twt is enabled then UAPSD auto trig
 commands should not be sent to FW. If both twt
and UAPSD is enabled in FW then it can lead
to data stalls.

Send UAPSD enable command to FW if twt is not supported.

Change-Id: I5de9fed6dc7366aeecab9bdc1f6574bc78bae6fb
CRs-Fixed: 2373679
2019-01-22 12:40:04 -08:00
nshrivas
61d657b4a2 Release 5.2.0.116W
Release 5.2.0.116W

Change-Id: Ib996424e930e3ff980b64a83bf0bdd97c982b8a0
CRs-Fixed: 774533
2019-01-22 07:25:05 -08:00
Wu Gao
5c3d94b076 qcacld-3.0: Move two cfg api to lim
Move below two used cfg api to lim, since legacy cfg will be cleanup.
- cfg_get_capability_info
- cfg_get_regulatory_max_transmit_power

Change-Id: Ifdf96ed61366aeaec13ea466dd5c515e9538261a
CRs-Fixed: 2383216
2019-01-22 07:25:04 -08:00
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