Commit graph

9,607 commits

Author SHA1 Message Date
psimha
1dc65bdf61 qcacld-3.0: Change security type data structure in API call
Change htt_sec_type to cdp_sec_type since the CDP API expects a
cdp_sec_type as it's argument. Required for compilation using LLVM.

Change-Id: I8dbf59dd80bd0fce221a23544c69764508377ae0
CRs-Fixed: 2216859
2018-04-03 19:45:53 -07:00
Ashish Kumar Dhanotiya
04f09dd8d3 qcacld-3.0: Change the default value of CFG_TX_SCH_DELAY_MIN
Change the MIN, MAX and Default values of the ini
CFG_TX_SCH_DELAY_MIN to 0, 5 and 2 respectively.

Change-Id: I27d6110d69ba885535933e31dcca4e08865a7dc8
CRs-Fixed: 2216634
2018-04-03 19:45:51 -07:00
Ashish Kumar Dhanotiya
48dac7d63b qcacld-3.0: Add host support to configure TX delay
There is 1ms TX delay enabled in TX sch module if
frames queued in FW SW queue are less than 32.
This results in Tx delay in FW, and causes response time higher.

Add ini configuration to enable/disable Tx delay.

Change-Id: Ic180431ed2d0848df3dbb144f6b2bd70db61e5f4
CRs-Fixed: 2214307
2018-04-03 19:45:48 -07:00
nshrivas
f78cbb57a9 Release 5.2.0.72N
Release 5.2.0.72N

Change-Id: I95b646d9be2dbad1bbf7866e208cc1624d588f38
CRs-Fixed: 774533
2018-04-03 16:50:10 -07:00
Dustin Brown
63ef318a90 qcacld-3.0: Enable NBUF_MEMORY_DEBUG for SLUB builds
Network buffer debugging is being featurized as a separate feature from
regular memory debugging, and being controlled via the NBUF_MEMORY_DEBUG
build config flag. Enable NBUF_MEMORY_DEBUG for SLUB DEBUG builds to
retain the existing set of build time debug features.

Change-Id: Ib2ac2823ea5231508f4cca7d718ed266acd91274
CRs-Fixed: 2216804
2018-04-03 16:50:09 -07:00
nshrivas
7f5bdedd7b Release 5.2.0.72M
Release 5.2.0.72M

Change-Id: I4c524d47715a27a4cac173caa33a15fb15237672
CRs-Fixed: 774533
2018-04-03 11:11:22 -07:00
Naveen Rawat
73e1ca9663 qcacld-3.0: Add control path stats header files to include path
Add Kbuild changes to include control path stats component's header
file paths.

Change-Id: I5e4efc92658fde8ee657d33265a55ae84f5f4723
CRs-Fixed: 2215999
2018-04-03 11:11:22 -07:00
nshrivas
feefccba40 Release 5.2.0.72L
Release 5.2.0.72L

Change-Id: Id510c55acd50ddf154928dda74e92a782da038df
CRs-Fixed: 774533
2018-04-03 01:42:51 -07:00
jitiphil
8ad8a6f9b2 qcacld-3.0: Fix invalid use of %p in ol_txrx_peer_release_ref
Currently %p is used in ol_txrx_peer_release_ref function in
ol_txrx.c which violates security guidelines

To address this issue change %p to %pK.

Change-Id: I06fd9eb260d1c53e4de235b710cd0ea05125b976
CRs-Fixed: 2170905
2018-04-03 01:42:50 -07:00
nshrivas
28c982a64f Release 5.2.0.72K
Release 5.2.0.72K

Change-Id: Ia6234fc833b1c08cf98f56fe1360762a9c2e2ee5
CRs-Fixed: 774533
2018-04-02 20:41:43 -07:00
chenguo
861751bafa qcacld-3.0: Add target credit info in TX_QUEUE_STATS
When debug traffic stall issues, target credit number is also one
key point to trace beside status of TX queues. So add such info
in TX_QUEUE_STATS.

Change-Id: I2615545c1e041af920a4d0d6d0a8e3990768b762
CRs-Fixed: 2060945
2018-04-02 20:41:43 -07:00
nshrivas
c9a644db05 Release 5.2.0.72J
Release 5.2.0.72J

Change-Id: I11f6015cefab02cd34d1c489d7e1e4621e08d0f7
CRs-Fixed: 774533
2018-04-02 19:39:34 -07:00
Naveen Rawat
b4ea70f96e qcacld-3.0: Fail channel sap channel change request for channel 0
In function wlansap_channel_change_request validate channel requested
before processing the request.

Change-Id: I1cc8c978b15fe6ee043ce6bf712a109994dce50b
CRs-Fixed: 2212078
2018-04-02 19:39:34 -07:00
Yun Park
302bdcce10 qcacld-3.0: Remove redundant typedef 'ipa_uc_op_cb_type'
Remove a redundant typedef 'ipa_uc_op_cb_type' from ol_txrx_type.h.

Change-Id: Id3cd82b846e85a0aed39a530c0510faa5572ca61
CRs-Fixed: 2213103
2018-04-02 19:39:31 -07:00
Abhishek Singh
388d090180 qcacld-3.0: Change OCE WAN score ini for roaming and initial connection
Change the OCE WAN weightage to 2% of the scoring weightage and change
the slot size to 15 and fill the values for each slot in INI.

Change-Id: Ic67cde29a9dfdfaf6022bab106432ef2950e2340
CRs-Fixed: 2208283
2018-04-02 19:39:28 -07:00
Srinivas Girigowda
e1282d4fbf qcacld-3.0: Fix clang compilation warnings
Fix clang compilation warnings.

Change-Id: I8c766c9062672608db60c583a46af2bc86bbba8c
CRs-Fixed: 2055487
2018-04-02 19:39:26 -07:00
nshrivas
5cd9be3a5c Release 5.2.0.72I
Release 5.2.0.72I

Change-Id: I2c6c8473675a1b29253a96e16b61fe26757f91c4
CRs-Fixed: 774533
2018-04-02 16:41:39 -07:00
Jeff Johnson
e8846abed9 qcacld-3.0: Rename HDD Green AP APIs
Currently the HDD Green APIs do not have a consistent prefix. In
preparation for refactoring this feature, rename the HDD Green AP APIs
to have a consistent prefix.

Change-Id: Ib4d9a6db6ffacd9e19277d95f4976805d0bb6fa3
CRs-Fixed: 2216246
2018-04-02 16:41:38 -07:00
Jeff Johnson
6ec742cbed qcacld-3.0: wma: Featurize Green AP service event handling
Currently wma_update_hdd_cfg() has unconditional code to check for
firmware support of the WMI_SERVICE_EGAP service and to register an
event handler when it is present. However this code doesn't build
correctly when the Green AP feature is disabled in the build.
Therefore featurize the Green AP service event handling.

Change-Id: Ic5f8fcc960c4b1b6ebc3b9b78acd84f583c24b9f
CRs-Fixed: 2216245
2018-04-02 16:41:35 -07:00
nshrivas
d39cbba87b Release 5.2.0.72H
Release 5.2.0.72H

Change-Id: Ia0d052cbe39bad435b431f2c04bf22ea3d21c81d
CRs-Fixed: 774533
2018-04-02 03:08:54 -07:00
Naveen Rawat
709c0cbcf2 qcacld-3.0: Avoid un-initialized pointer access in hdd_ndi_start_bss
In function hdd_ndi_start_bss, avoid access to channel list pointer without
initializing it.

Change-Id: I9307f587bb9691d12b9b16f3a5e62945be7b2220
CRs-Fixed: 2205990
2018-04-02 03:08:54 -07:00
nshrivas
da7e53ada0 Release 5.2.0.72G
Release 5.2.0.72G

Change-Id: Ide3b3e12258c071f103e20f0ee0f7b562463185b
CRs-Fixed: 774533
2018-04-01 09:11:04 -07:00
Subhani Shaik
16821e678d qcacld-3.0: Enable oem data processing in SAP mode
The OEM data is only processed in STA mode. As part of RTT config
LCI/LCR IE element configuration is required in SAP mode.

CRs-Fixed: 2179161
Change-Id: I65e0af23aba502031f23754572ca094058c5fe74
2018-04-01 09:11:03 -07:00
nshrivas
6add0178db Release 5.2.0.72F
Release 5.2.0.72F

Change-Id: I4ecd8e5782316b4d80120258b0bac0899dbcf2dd
CRs-Fixed: 774533
2018-03-30 23:32:34 -07:00
Rajeev Kumar
7563b3fce7 qcacld-3.0: Do not disable IMPS during module start
Do not disable IMPS power save during module start because
IMPS needs to be enabled only once during startup(modue init)
and only needs to be disabled during driver exit(module_exit).

Change-Id: I16babc857658f5f4064025c5eb28d287d025dd88
CRs-Fixed: 2216146
2018-03-30 23:32:34 -07:00
nshrivas
8022a7cf91 Release 5.2.0.72E
Release 5.2.0.72E

Change-Id: I8275d4a6f953ae5ba55e88cfa4b654d0d4416847
CRs-Fixed: 774533
2018-03-30 21:08:44 -07:00
Jeff Johnson
5312f8ea04 qcacld-3.0: Avoid double free in drv_cmd_get_ibss_peer_info_all()
Change "qcacld-3.0: Fix memory leak issues in HDD" (Change-Id:
Iae551cd3acbb6bc2618f05cfdc33e4f742d63192) added logic to
drv_cmd_get_ibss_peer_info_all() to free the dynamically-allocated
buffer "extra" when either of the copy_to_user() calls
failed. Unfortunately this introduced a regression since now in the
success case the "extra" buffer is freed twice.

Update drv_cmd_get_ibss_peer_info_all() to remove the now unnecessary
call to qdf_mem_free() in the success case.

Change-Id: I7f8c17cd7576bf05ac8b6c4d6658ac40cb55782a
CRs-Fixed: 2215443
2018-03-30 21:08:44 -07:00
nshrivas
b5ba25101b Release 5.2.0.72D
Release 5.2.0.72D

Change-Id: Ide7eb616d9b6aacb87760edf75a6ea8f9028e4ec
CRs-Fixed: 774533
2018-03-30 17:00:12 -07:00
Tushnim Bhattacharyya
0725f1ad21 qcacld-3.0: Use correct enum type in function wma_get_rcpi_req
Use the wmi enum type in function wma_get_rcpi_req instead of
rcpi_measurement_type.

Change-Id: I5b506059ad8b0f4cd65c24e20df6306a47249fdb
CRs-Fixed: 2216015
2018-03-30 17:00:12 -07:00
Krunal Soni
5ee9ce4e2e qcacld-3.0: Remove dead code in protocol stack
Remove dead code in protocol stack.

Change-Id: I366705b8cf4cf13c030a6456c21dae94193d0d77
CRs-Fixed: 2216008
2018-03-30 17:00:09 -07:00
Yun Park
5027b7c504 qcacld-3.0: Disable IPA offload feature
While freeing IPA CE descriptor ring during driver unload, data abort
occurs due to double free.
Disable IPA offload feature flag until completing IPA offload feature.

Change-Id: Ia54e94dc9a0a21761ac1b05b45bf9334e6ff9613
CRs-Fixed: 2211078
2018-03-30 17:00:06 -07:00
nshrivas
34e626754f Release 5.2.0.72C
Release 5.2.0.72C

Change-Id: I668a60478211cb160a33101b6f75b6303e81bb0f
CRs-Fixed: 774533
2018-03-30 14:48:15 -07:00
Jeff Johnson
d66b4d56a4 qcacld-3.0: Remove obsolete support for nAPAutoShutOff
The AP auto shutoff feature controlled by INI item nAPAutoShutOff is
obsolete, so remove it.

Change-Id: I9e96bee36acc1ea1ac6f775ae04b31929bcb8406
CRs-Fixed: 2215925
2018-03-30 14:48:15 -07:00
nshrivas
07e0e8caaf Release 5.2.0.72B
Release 5.2.0.72B

Change-Id: Iab32c9ddc0accbc9471558c28abd57ef3c2d5562
CRs-Fixed: 774533
2018-03-30 13:30:39 -07:00
Tushnim Bhattacharyya
647f93e8ed qcacld-3.0: Call scheduler_post_msg directly instead of wma_post_ctrl_msg
Call scheduler_post_msg directly instead of wma_post_ctrl_msg.

Change-Id: I01dbe3623bfb9f83cbbf182b92cdb4f6fb98bb65
CRs-Fixed: 2213784
2018-03-30 13:30:38 -07:00
Mahesh Kumar Kalikot Veetil
885a77b67c qcacld-3.0: Use in_compat_syscall() to check compatness
Use in_compat_syscall() to query the syscall type, so it works properly
on all architectures. Also maintain backward compatibility with older
kernel.

Change-Id: Ife19c9874dcacc18c5d19c1175988bee66ea1cdd
CRs-Fixed: 2215566
2018-03-30 13:30:35 -07:00
nshrivas
d2f92c4f93 Release 5.2.0.72A
Release 5.2.0.72A

Change-Id: I03b223fabc3cbbfd7aaa92c74265acbbf05f4b03
CRs-Fixed: 774533
2018-03-30 02:46:33 -07:00
gaolez
d1a229d412 qcacld-3.0: Refine the MGMT rate valid check function
qcacld-2.0 to qcacld-3.0 propagation

1. CCK rate should not allowed in 5G mode
2. Avoid configure 2 stream rates to send MGMT packet

Change-Id: Id222bc5c41264ba802a43a02d333f16578bc4a5d
CRs-Fixed: 2182955
2018-03-30 02:46:33 -07:00
Alok Kumar
b64650c29a qcacld-3.0: Handle NUD events within driver
Currently NUD events are used by Framework to detect
the Network Reachability. Framework issues disconnection
for NUD_FAILED event.

Now, NUD events are tracked within driver to detect the
reachability and based on TxRx traffic, driver takes decision
to issue disconnection.

Change-Id: I461610c220288ff1fd718bb7bc2dd8375588505c
CRs-Fixed: 2195796
2018-03-30 02:46:29 -07:00
Abhinav Kumar
fcc22e0b94 qcacld-3.0: Drop duplicate Beacon Report request
Currently, driver does not check for duplication of rrm
request. If driver receives any duplicate rrm request,
then driver sends pilot frame for second rrm request which
is not acceptable.
Add changes to drop all duplicate rrm requests to fix this.

Change-Id: I44a67a4119ae55ac94f5c9ecdb01032f6fd39c7c
CRs-Fixed: 2195990
2018-03-30 02:46:25 -07:00
Abhinav Kumar
d528d19d10 qcacld-3.0: Use max tx power allowed to compute link report power
Driver uses max tx power allowed for a particular channel to
calculate link report power and updates max tx power allowed with
calculated link report power. This can result in usage of
MIN_TX_PWR_CAP as max tx power if AP requests power below
MIN_TX_PWR_CAP in link request. Once max tx power reaches
MIN_TX_PWR_CAP, the driver will always use MIN_TX_PWR_CAP in
the link report which could be much less than power allowed for
a particular channel.

Use max tx power allowed for a particular channel always to
compute link report power to fix this issue.

Change-Id: I0060500f23e6131481baa00cd76f41419281e41a
CRs-Fixed: 2195960
2018-03-30 02:46:22 -07:00
Jeff Johnson
0604a3650d qcacld-3.0: Fix anomalies with hdd_stop_bss_link()
Address the following anomalies with hdd_stop_bss_link():
- Parameter usrDataForCallback is unused
- It returns errno but one caller is checking for QDF_STATUS

Change-Id: I31086d790066eec5774cf318eff0f90736b4c92f
CRs-Fixed: 2213062
2018-03-30 02:46:19 -07:00
Dustin Brown
d69ec37568 qcacld-3.0: Trigger recovery on pdev suspend timeout
Historically, recovery was triggered if PDEV suspend failed, but the
logic was lost during componentization. Restore the previous logic of
triggering recovery on PDEV suspend timeout.

Change-Id: I6e193e98c5ef45fd7ab4b6595ea85d986fa84131
CRs-Fixed: 2215588
2018-03-30 02:46:16 -07:00
Tushnim Bhattacharyya
604a7e1f53 qcacld-3.0: Remove redundant parentheses in lim function
Remove redundant parentheses in lim_obss_generate_detection_config.

Change-Id: Id28c2f5d1a44220c8f2f02b9815f1f63501226fc
CRs-Fixed: 2213784
2018-03-30 02:46:13 -07:00
Tushnim Bhattacharyya
d58e4c96f8 qcacld-3.0: Use correct return type in lim_send_addba_response_frame
Use correct return type in lim_send_addba_response_frame.

Change-Id: I3950f76c4f68e0b3fb6c5295054c5ea2b3a8f95b
CRs-Fixed: 2213784
2018-03-30 02:46:10 -07:00
Tushnim Bhattacharyya
dfbce70aaf qcacld-3.0: Use correct enum type for function variable
Use correct enum type for function variable in hdd_reset_tcp_delack
& return type in iw_get_policy_manager_ut_ops.

Change-Id: Iec8a678410b90dbe081c007f1bbfaa31f255799e
CRs-Fixed: 2213784
2018-03-30 02:46:07 -07:00
Dustin Brown
9b217c00ec qcacld-3.0: Define WLAN_HOST_ARCH_ARM in Kbuild
Some features depend on whether the host architecture is ARM or not.
Define WLAN_HOST_ARCH_ARM so these features are included correctly.

Change-Id: Ibd19858edf5c24841fc31d342ab448e635ae0d68
CRs-Fixed: 2215586
2018-03-30 02:46:04 -07:00
gaolez
c2b7208197 qcacld-3.0: reduce the interval of cap-tsf timer
qcacld-2.0 to qcacld-3.0 propagation

hdd_get_hosttime_from_targettime() will get wrong host time when
it's longer than WLAN_HDD_CAPTURE_TSF_INTERVAL_SEC from last
TSF-HOST update. To fix this, TSF-HOST should be updated in at most
WLAN_HDD_CAPTURE_TSF_INTERVAL_SEC, it couldn't be achieved if the
timer interval is also WLAN_HDD_CAPTURE_TSF_INTERVAL_SEC, due to
processing or scheduling delay. So deduct several seconds from
WLAN_HDD_CAPTURE_TSF_INTERVAL_SEC.

Change-Id: Icce41c74568370d98509a2ebe69ae62e99ad2ce8
CRs-Fixed: 2104915
2018-03-30 02:46:00 -07:00
nshrivas
efb0974505 Release 5.2.0.72
Release 5.2.0.72

Change-Id: I6509a2c86d196af5be71d38283d72854a1051118
CRs-Fixed: 774533
2018-03-29 23:37:20 -07:00
Naveen Rawat
a600b2e226 qcacld-3.0: Fix is_waiting_for_key usage for waking up host
Fix usage of flag is_waiting_for_key such that it programs wake
timer only for secure STA connected state.

Change-Id: I336696f15c5fc932a4eedf5534c2182bda3d2e27
CRs-Fixed: 2214809
2018-03-29 23:37:19 -07:00