Commit gráf

9616 Commit-ok

Szerző SHA1 Üzenet Dátum
Jeff Johnson
8bb6111e1f qcacld-3.0: hdd: Refactor the Green AP feature
Refactor the hdd portion of the Green AP feature so that it can be
easily excluded when the feature is not enabled.

Change-Id: I986c5ab7640b3182a12bef93748affefba067251
CRs-Fixed: 2216247
2018-04-04 11:07:19 -07:00
nshrivas
419347a4ac Release 5.2.0.72Q
Release 5.2.0.72Q

Change-Id: I9a404987d8803e0bb982efb445c0fc12f626c8f7
CRs-Fixed: 774533
2018-04-04 04:01:57 -07:00
Jinwei Chen
19846e5a61 qcacld-3.0: Fix issue in connection to WAPI AP
Recent change in hdd_is_tx_allowed function causes failure in Tx of WAPI
Auth frames. Add check in this function to allow Tx of WAPI auth frames
so that device can connect to a WAPI AP.

Change-Id: Id5d4d31385309381383dec432698a8ac625845ad
CRs-Fixed: 2217090
2018-04-04 04:01:57 -07:00
Manjunathappa Prakash
5e12b8c46e qcacld-3.0: Remove redefinition of wmi_unified_t
typedef wmi_unified_t is redefined in
qcacld-3.0/core/dp/ol/inc/ol_defines.h previous definition is here
qca-wifi-host-cmn/wmi/inc/wmi_unified_param.h, remove redefinition.

Change-Id: I2c2af59d8b24360cd09efeb12ea19c0340771bb8
CRs-Fixed: 2216859
2018-04-04 04:01:54 -07:00
Manjunathappa Prakash
92a860057d qcacld-3.0: Use dma_sync_single_for_cpu instead of dmac_inv_range
dmac_inv_range() is obsolete, use dma_sync_single_for_cpu instead.
https://www.kernel.org/doc/Documentation/DMA-API-HOWTO.txt.

Change-Id: I8add3c905d3cf190ef91ec023c88a7a645ae92e6
CRs-Fixed: 2216859
2018-04-04 04:01:50 -07:00
nshrivas
380c42b4db Release 5.2.0.72P
Release 5.2.0.72P

Change-Id: I7e86054006dffadf9e510bed796966a5f3ee293e
CRs-Fixed: 774533
2018-04-03 23:46:26 -07:00
Min Liu
5359ab1240 qcacld-3.0: Add string length validation
qcacld-2.0 to qcacld-3.0 propagation

In hdd_parse_get_ibss_peer_info(), issue is reported by external
researcher that lack of string length validation might lead to
out-of-bounds read.
Related string length validation is added accordingly.

Change-Id: I32304404b2bab9011fa67316b77f6d37bb39df2d
CRs-Fixed: 2214899
2018-04-03 23:46:26 -07:00
nshrivas
008c90eb8e Release 5.2.0.72O
Release 5.2.0.72O

Change-Id: Ide08109ca38c1d8fc3b79c18bd0cfcd479cd48d1
CRs-Fixed: 774533
2018-04-03 19:45:57 -07:00
Yun Park
0ac1282747 qcacld-3.0: Remove extraneous parentheses around the comparison
Fix LLVM compilation error caused by equality comparison with
extraneous parentheses.

Change-Id: Ia2b7dea8751a8016524459d55c41894fb552f273
CRs-Fixed: 2216820
2018-04-03 19:45:56 -07:00
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