Commit Graph

12916 Commits

Author SHA1 Message Date
nshrivas
bfd3ec638b Release 5.2.0.109N
Release 5.2.0.109N

Change-Id: Iea1497a9913181269d84fc0a1caa5ee982d71b4a
CRs-Fixed: 774533
2018-12-02 22:31:23 -08:00
Jianmin Zhu
69e7bf332c qcacld-3.0: Enable CSA of STA mode for VDEV SM
After receive F/W wmi_csa_handling_event
1. Send WLAN_VDEV_SM_EV_FW_VDEV_RESTART before switch channel
	when gLimChannelSwitchTimer timeout.
2. Call __lim_process_channel_switch_timeout in
	mlme_vdev_restart_send.
3. Send WLAN_VDEV_SM_EV_RESTART_RESP in
	wma_vdev_start_resp_handler.
4. Send WMA_SWITCH_CHANNEL_RSP in mlme_vdev_start_continue.
5. Send WLAN_VDEV_SM_EV_START_SUCCESS in
	lim_switch_channel_cback.

Change-Id: I18e64ddf4ca898189cd22a3c8102a67702a025cc
CRs-Fixed: 2355762
2018-12-02 22:31:22 -08:00
nshrivas
11f45acf12 Release 5.2.0.109M
Release 5.2.0.109M

Change-Id: I888fd83691c57b42dd9243ec86dbc08bff02703c
CRs-Fixed: 774533
2018-12-02 19:14:19 -08:00
Jeff Johnson
8f358f6d64 qcacld-3.0: Remove typedef tpPESession
All references to typedef tpPESession have been converted to instead
to refer to the underlying struct, so remove the now obsolete typedef.

Change-Id: I58d80f42527a2edb20ca27a514600aa308e78fd8
CRs-Fixed: 2354302
2018-12-02 19:14:18 -08:00
nshrivas
ef7450bbe1 Release 5.2.0.109L
Release 5.2.0.109L

Change-Id: I1dd4d8970cd8bd3f3825a95d5787608936eb6e1b
CRs-Fixed: 774533
2018-12-02 14:59:45 -08:00
gaurank kathpalia
3d2e38572b qcacld-3.0: Add CFG items of power
Add power items related CFG items in new file,
and store the respective inis in MLME component

Change-Id: Iac183da52495aca07c6270edeb9f383ab49c1ff5
CRs-Fixed: 2341900
2018-12-02 14:59:45 -08:00
Jeff Johnson
5b574dd196 qcacld-3.0: Replace tpPESession in lim_process_assoc_req_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_assoc_req_frame.

Change-Id: Ieab2818e7f0121f65454a29e2bfa716021bd2355
CRs-Fixed: 2354293
2018-12-02 14:59:41 -08:00
Jeff Johnson
f719052617 qcacld-3.0: Replace tpPESession in lim_process_auth_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_auth_frame.

Change-Id: I5b40607744f57e30eeb4f4bc6ab7dd9996035e1e
CRs-Fixed: 2354295
2018-12-02 14:59:38 -08:00
Jeff Johnson
a7071e6e39 qcacld-3.0: Replace tpPESession in lim_process_mlm_req_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_mlm_req_messages.

Change-Id: I573e4775936c0139f4853725675359af7b8511ee
CRs-Fixed: 2354285
2018-12-02 14:59:34 -08:00
Jeff Johnson
c246b29551 qcacld-3.0: Replace tpPESession in lim_process_tdls
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_tdls.

Change-Id: I410d0da4f6fc3202b4d96ca79ce7a8cdf5b7e145
CRs-Fixed: 2354290
2018-12-02 14:59:30 -08:00
nshrivas
f7bac73e37 Release 5.2.0.109K
Release 5.2.0.109K

Change-Id: I2d8813412af31c5790c9262bfed64fb275a92e6e
CRs-Fixed: 774533
2018-12-02 13:30:58 -08:00
Jeff Johnson
f6f4aebb26 qcacld-3.0: Replace tpPESession in lim_process_mlm_rsp_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_mlm_rsp_messages.

Change-Id: I30b485531801979b8da934975eeda5bcf34294fe
CRs-Fixed: 2354289
2018-12-02 13:30:58 -08:00
Jeff Johnson
c7f8094ceb qcacld-3.0: Correctly export hdd_conn_set_connection_state()
There are multiple issues with how hdd_conn_set_connection_state()
is exported:
1) The prototype is defined in wlan_hdd_cfg80211.h even though the
   implementation is in wlan_hdd_assoc.c.
2) The prototype uses the "extern" keyword which violates the Linux
   Kernel coding style.
3) The implementation is documented instead of the interface.

To address these issues move the prototype (without "extern") as well
as the documentation to wlan_hdd_assoc.h.

Change-Id: Ie2b80e953cc500c10ae14d94c375cc1487241b6c
CRs-Fixed: 2357078
2018-12-02 13:30:54 -08:00
nshrivas
8b667c9f8c Release 5.2.0.109J
Release 5.2.0.109J

Change-Id: Ib46f1602719a26dd9b312dafd3073ca5ea491f53
CRs-Fixed: 774533
2018-12-02 11:55:10 -08:00
Jeff Johnson
209dfa0b2c qcacld-3.0: Replace tpPESession in lim_process_sme_req_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_sme_req_messages.

Change-Id: I1de7a895225db8abaa462c6baef297eac299a77b
CRs-Fixed: 2354329
2018-12-02 11:55:10 -08:00
Jeff Johnson
a781565642 qcacld-3.0: Replace tpPESession in lim_send_management_frames
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_send_management_frames.

Change-Id: Ieace9841d36d93371c0929ef5232c052cade4d8e
CRs-Fixed: 2354288
2018-12-02 11:55:06 -08:00
Ke Huang
ae49ad0d7c qcacld-3.0: remove wma_send_time_stamp_sync_cmd
qcacld-2.0 to qcacld-3.0 Propagation.

the wma_send_time_stamp_sync_cmd will not be processed by fw,
so remove this wma_send_time_stamp_sync_cmd.

CRs-Fixed: 2280656
Change-Id: I3aee6e2da4783772ad9acf3fc20c3669829f9397
2018-12-02 11:55:03 -08:00
nshrivas
d517c8e15c Release 5.2.0.109I
Release 5.2.0.109I

Change-Id: Iac43230ae723fc2fd58b353cdc3d4d983b3d092c
CRs-Fixed: 774533
2018-11-30 17:39:55 -08:00
Jeff Johnson
41ce2853db qcacld-3.0: Replace tpPESession in lim_process_action_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_action_frame.

Change-Id: Ic07be2b8001ec0b79115b6a149b2cf176381f52b
CRs-Fixed: 2354296
2018-11-30 17:39:55 -08:00
Jeff Johnson
ec50d0d061 qcacld-3.0: Replace tpPESession in lim_assoc_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_assoc_utils.

Change-Id: I917e16c306e45df6ee81b0f38cefd5190fbad149
CRs-Fixed: 2354280
2018-11-30 17:39:52 -08:00
nshrivas
0a64e52da0 Release 5.2.0.109H
Release 5.2.0.109H

Change-Id: I1b3e3a455680c85e641daecb116d6a30532b546b
CRs-Fixed: 774533
2018-11-30 14:36:47 -08:00
Jeff Johnson
a0619e4264 qcacld-3.0: Replace PMAC_STRUCT() with MAC_CONTEXT()
The inline function MAC_CONTEXT() is the preferred mechanism for
converting a MAC handle into a MAC context, so replace all instances
of the legacy macro PMAC_STRUCT().

Change-Id: Ieb29696c79b729648462be699892607484c2f301
CRs-Fixed: 2357873
2018-11-30 14:36:47 -08:00
nshrivas
754d21ed1f Release 5.2.0.109G
Release 5.2.0.109G

Change-Id: Ib95fcca650845fc2e0526bbe9408feca3a6544f0
CRs-Fixed: 774533
2018-11-30 12:23:14 -08:00
Wu Gao
bc6eaa1fca qcacld-3.0: Remove QDF TRACE INIs
Since QDF TRACE INIs used infrequently, remove them and related codes.
Please file new FR to trace the requirement about host log level
setting.

Change-Id: I9c519cf2509e3dc22282f0c7ea6f52cbd2913ccd
CRs-Fixed: 2358850
2018-11-30 12:23:13 -08:00
nshrivas
567da4afe5 Release 5.2.0.109F
Release 5.2.0.109F

Change-Id: I1462f5cc5783c0253ca16d8a605421ee6810d2e0
CRs-Fixed: 774533
2018-11-30 08:28:18 -08:00
Ke Huang
c067b8d863 qcacld-3.0: Fix tx flow control inconsistency during ssr
qcacld-2.0 to qcacld-3.0 Propagation.

Connection fails after ssr due to the tx queues are paused by tx flow
control and ssr happens before tx resume, and the tx queues cannot be
resumed because of the unpaired status of pause map.

Resume tx queues and update pause map at the beginning of ssr if the tx
queues are paused by tx flow control.

CRs-Fixed: 2146129
Change-Id: Ib1ed8360c6effa4a47fc1702650375bf2380e65c
2018-11-30 08:28:17 -08:00
Vignesh Viswanathan
f10c4e097c qcacld-3.0: Add new vendor OUI in default INI to connect in 1x1
The 3rd party AP with Vendor IE OUI 001018, Vendor Data
02 FF 00 9C 00 00 and NSS 4x4 is not able to handle OMN/SMPS
frames sent by DUT in 2.4Ghz. This leads to the AP dropping
the data rates to 1Mbps and low throughput is seen.

This is because the connection is done with NSS 2x2 and when Coex
scenarios occur, the DUT switches dynamically to 1x1 by sending
OMN/SMPS frames. To overcome this issue, the workaround is to
blacklist the above AP and do connection in 1x1 only.

Add the vendor OUI of the 3rd party AP to gActionOUIConnect1x1
default INI string to connect in 1x1.

Change-Id: Idc0f3238e3521bb20c592b44de77216125e69504
CRs-Fixed: 2352946
2018-11-30 08:28:14 -08:00
Tiger Yu
389f591af8 qcacld-3.0: Drop packet if SAP is not started
Drop packet if SAP is not started to avoid abnormal state.

Change-Id: If09abb0d03b4a34805178d4219ef479dd39b6418
CRs-Fixed: 2357973
2018-11-30 08:28:11 -08:00
nshrivas
c7cfd0c6e4 Release 5.2.0.109E
Release 5.2.0.109E

Change-Id: I5b4b3b724d58315d5376abe89486559735f8d9c4
CRs-Fixed: 774533
2018-11-30 06:45:10 -08:00
Tiger Yu
13cdcc4194 qcacld-3.0: Change the policy & priority of RX thread
Change the policy & priority of RX thread to improve the RX throughput for
Specified platform.

Change-Id: Ie9df5de6f34d75264c4f3b7bdcb59ab92845a128
CRs-Fixed: 2354502
2018-11-30 06:45:09 -08:00
Jeff Johnson
b6f7d38c35 qcacld-3.0: Replace tpPESession in lim_ibss_peer_mgmt
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_ibss_peer_mgmt.

Change-Id: I56fd03e60e793f707e0078b278b623a7141565dd
CRs-Fixed: 2354279
2018-11-30 06:45:06 -08:00
nshrivas
c32cc0fdf7 Release 5.2.0.109D
Release 5.2.0.109D

Change-Id: I997af06190a473bfb814b1fa1e8354f9b907bd74
CRs-Fixed: 774533
2018-11-30 03:40:30 -08:00
Rachit Kankane
15d9dcd10a qcacld-3.0: Enable CONFIG_CRYPTO_COMPONENT for Genoa
Enable CONFIG_CRYPTO_COMPONENT for Genoa

Change-Id: Ieef727e49cedd3e95fabd14f47591ce0006a82d4
CRs-Fixed: 2357952
2018-11-30 03:40:30 -08:00
nshrivas
d615266d9b Release 5.2.0.109C
Release 5.2.0.109C

Change-Id: I13136e30c265839e0e5c84efc282f15a29ff0be4
CRs-Fixed: 774533
2018-11-30 02:22:52 -08:00
Jianmin Zhu
d0ab26143d qcacld-3.0: Use converged cmd types for STA and SAP
For STA connect/disconnect, SAP start/stop relative cmds, just
use following serialization command types:
Converged cmd types:
	WLAN_SER_CMD_VDEV_START_BSS
	WLAN_SER_CMD_VDEV_STOP_BSS
	WLAN_SER_CMD_VDEV_CONNECT
	WLAN_SER_CMD_VDEV_DISCONNECT
	WLAN_SER_CMD_VDEV_RESTART

Change-Id: I533f650e1f69048d6861751ab74f75d8d5f18c83
CRs-Fixed: 2318545
2018-11-30 02:22:51 -08:00
nshrivas
53d445288d Release 5.2.0.109B
Release 5.2.0.109B

Change-Id: Ie0aa3130ed6899e06496bb4964cdb2cb16473836
CRs-Fixed: 774533
2018-11-29 23:33:21 -08:00
Dustin Brown
7d038e52b4 qcacld-3.0: Use vtable for unit test ioctl
Convert the current hard-coded list of unit-test callbacks in
hdd_we_unit_test() to a vtable. This streamlines future additions.

Change-Id: I216bbb6699ae50eaa96ac559999cb42ba080867c
CRs-Fixed: 2358606
2018-11-29 23:33:20 -08:00
nshrivas
9f383bfc0b Release 5.2.0.109A
Release 5.2.0.109A

Change-Id: I15597d178279c05e61aeeede1341d052d899cb6c
CRs-Fixed: 774533
2018-11-29 18:12:02 -08:00
Rachit Kankane
b763144737 qcacld-3.0: Enable legacy MC/BC filtering
Compile MC/BC filtering feature without WLAN_FEATURE_PACKET_FILTERING
feature

Change-Id: I783e3a04c148dab493f762f9cf2d55e4975e2b02
CRs-Fixed: 2328317
2018-11-29 18:12:01 -08:00
Mohit Khanna
4079b4b464 qcacld-3.0: Remove un-initialized lock from DP thread
DP RX thread is using an un-initialized lock during suspend/resume
routine. This lock is not needed as the code is executed only by a
single execution context.

Remove usage of un-initialized lock.

CRs-Fixed: 2351010
Change-Id: I656562fe3ca73a5044163008a44ffae416a6a7fa
2018-11-29 18:11:58 -08:00
Arif Hussain
178f35f013 qcacld-3.0: Refactor TWT cfg
Refactor following TWT cfg items.
CFG_BCAST_TWT
CFG_ENABLE_TWT
CFG_TWT_RESPONDER
CFG_TWT_REQUESTOR
CFG_TWT_CONGESTION_TIMEOUT

Change-Id: Iad0c2ed0893513cc98bf12ec39d111b78c6e9d1f
CRs-Fixed: 2349558
2018-11-29 18:11:55 -08:00
Manjunathappa Prakash
31973145c8 qcacld-3.0: Takecare to stop and down vdev in monitor mode
In monitor mode there is no disconnect, so vdev stop and down is
not handled. Make sure to stop and down the vdev before vdev delete.

Change-Id: I25f5a0e01deda8f2e16e102113b10f32e89b3e38
CRs-Fixed: 2357047
2018-11-29 18:11:51 -08:00
Wu Gao
51a6356b60 qcacld-3.0: Apply second part of LFR INIs changes
Since refined second part of LFR INIs, apply these changes in
SME/MAC/WMA layer.

Change-Id: I7994a9038d5bd094ce23bcd525ef8f5282974bfc
CRs-Fixed: 2346790
2018-11-29 18:11:48 -08:00
Wu Gao
5d23d785f9 qcacld-3.0: Add second part of LFR INIs based on cfg components
The second part of LFR INIs are defined dynamically in legacy codes.
Refines these INIs and APIs based on new cfg component.

Change-Id: I89869c50952bf2fe403079299b3902fc53c11d61
CRs-Fixed: 2346784
2018-11-29 18:11:44 -08:00
Wu Gao
1ab0558127 qcacld-3.0: Apply second part of LFR INIs changes in HDD layer
Since refined second part of LFR INIs, apply these changes in HDD
layer. Delete related legacy codes in HDD layer.

Change-Id: Id39629e33e87ffe6ed58f375609a55e324618693
CRs-Fixed: 2346787
2018-11-29 18:11:42 -08:00
Wu Gao
4f8938a510 qcacld-3.0: Refactor one mlme sta INI
Based on new cfg component, refactor CFG_TX_POWER_CTRL_NAME and clean
up related legacy codes.

Change-Id: I6dd317d5065c4111b71a9fe94d9b9af1f7d3d664
CRs-Fixed: 2355918
2018-11-29 18:11:38 -08:00
Jeff Johnson
c8baa90f9e qcacld-3.0: Replace tpPESession in lim_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_utils.

Change-Id: Icdc8a2de69a676aa54d7f13b3373dc872ccb8889
CRs-Fixed: 2354269
2018-11-29 18:11:35 -08:00
Jeff Johnson
a14b0b39d1 qcacld-3.0: Replace tpPESession in lim_ft
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_ft.

Change-Id: I3e4409755a53e31d2a39410ad5afd477cf80322a
CRs-Fixed: 2354282
2018-11-29 18:11:32 -08:00
Jeff Johnson
46593eaf3a qcacld-3.0: Replace tpPESession in lim_send_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_send_messages.

Change-Id: Ib5154a8e0b9d1496aeac8bf5b5afa81e977e3940
CRs-Fixed: 2354273
2018-11-29 18:11:28 -08:00
Jeff Johnson
32ce2ff108 qcacld-3.0: Replace tpPESession in lim_prop_exts_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_prop_exts_utils.

Change-Id: I9600beefca0c83f22d7d10f2c7d2f7d3a5c185a0
CRs-Fixed: 2354274
2018-11-29 18:11:25 -08:00