Commit Graph

11780 Commits

Author SHA1 Message Date
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
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
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
Jeff Johnson
1f90b7d211 qcacld-3.0: Replace tpPESession in lim_admit_control
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_admit_control.

Change-Id: Ie033e25175d52c8b2bf19f2fa2266990580c9db1
CRs-Fixed: 2354272
2018-11-29 18:11:22 -08:00
Jeff Johnson
d7035a3c41 qcacld-3.0: Replace tpPESession in lim_send_sme_rsp_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_send_sme_rsp_messages.

Change-Id: I2b55ab412988dedd8d4edacb82f7008dcf90a6fe
CRs-Fixed: 2354271
2018-11-29 18:11:19 -08:00
Jeff Johnson
2b0d20fe2b qcacld-3.0: Replace tpPESession in lim_types
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_types.

Change-Id: Ida4a6fe462ae1fbb9e244e3d142b28db125f9261
CRs-Fixed: 2354270
2018-11-29 18:11:16 -08:00
Bala Venkatesh
02d5235a7c qcacld-3.0: Use htcap_cmn_ie as in structure sSirTdlsAddStaReq
Currently, in struct sSirTdlsAddStaReq, unpacked member
sSirHtCap is used. But, in the similar TDLS component
structure tdls_add_sta_req, packed struct
htcap_cmn_ie is used. While typecasting there is possibility
of padding of some bytes which results in wrong values.

Change-Id: Ic7a561d82640dac72c3c973e51ba97b90e211fa5
CRs-Fixed: 2343375
2018-11-29 18:11:13 -08:00
hangtian
9c47aafee3 qcacld-3.0: Stop tsf sync before hdd_wlan_exit and hdd_wlan_shutdown
Stop tsf sync before hdd_wlan_exit and hdd_wlan_shutdown

Change-Id: Icda5ea64eea9957cd878e7999a041d6b12082ce8
CRs-Fixed: 2354768
2018-11-29 18:11:09 -08:00
hangtian
b95e63b5a1 qcacld-3.0: Extend max psk_pmk size to 48, avoid overflow issue
Extend max psk_pmk size to 48, avoid overflow issue. For
WPA-EAP-SUITE-B-192 key_mgmt AP, pmk_len is up to 48 bytes.

Change-Id: I41397283e9ef2d452b7d9d40e9ddffbfb8a676ac
CRs-Fixed: 2353860
2018-11-29 18:11:07 -08:00
hangtian
e52fa917b9 qcacld-3.0: Fix uninitialized issue while BMI failed
Initialize gp_cds_context->cfg_ctx before any error case happened and
goto err_wma_close. Otherwise, in wma_wmi_service_close, it's trying to
free uninitialized gp_cds_context->cfg_ctx.

Change-Id: I822ecf77676b9d638c414afb544fdb41d7b1d146
CRs-Fixed: 2355042
2018-11-29 18:11:04 -08:00
Abhishek Singh
ea9e8bcf92 qcacld-3.0: Fix NULL SSID filled in connected roam profile
Connected roam profile's SSID is used to get the BSS entry from kernel
and indicate the same to kernel in cfg80211_connect_bss. If the
roam profile's SSID is NULL, the BSS entry indicated to kernel is
with NULL SSID and this result in disconnect from supplicant as
it assume that SSID of AP changed.

Fix is to fill the SSID in connected roam profile from roam profile
if SSID is NULL in beacon.

Change-Id: Ie42eceb50b6af551ac1f4ca7d37b73eff107dfbd
CRs-Fixed: 2349572
2018-11-29 18:11:01 -08:00
Will Huang
3f7cb65660 qcacld-3.0: Take count PACKET_FILTER_MATCH into wakeup stats
Currently WOW_REASON_PACKET_FILTER_MATCH is not taken count into wakeup
stats, we can add this wakeup reason to unicast/multicast stats like
Pattern Bitmap Match.

Change-Id: I801e1dcd5a75c694f138cb01f588e2c4ea16502a
CRs-Fixed: 2350437
2018-11-29 18:10:58 -08:00
jiad
391c528b3e qcacld-3.0: Properly featurize mobile router
When CONFIG_MOBILE_ROUTER is enabled there are build failures
due to improper featurization of mobile router, so fix the
featurization.

Change-Id: Ic9e1f608bc631409fbb5bcf84fc3f4520d69a7c9
CRs-Fixed: 2355786
2018-11-29 18:10:55 -08:00
Jeff Johnson
982fe968a5 qcacld-3.0: Rename pMac within documentation
A recent set of changes renamed all instances of the identifier "pMac"
in the driver. However some instances inside documentation comments
were missed, so rename those as well.

Change-Id: Ib06da00102c1e37ed9a058ab8d90646586b1f487
CRs-Fixed: 2357850
2018-11-29 18:10:51 -08:00
jiad
ff1ac139a2 qcacld-3.0: Properly featurize NAN
When CONFIG_MOBILE_ROUTER is enabled there are build failures
due to improper featurization of NAN, so fix the featurization.

Change-Id: Ib5cd54b2d443ced73c9b99218ce28d3eb0ba8786
CRs-Fixed: 2355789
2018-11-29 18:10:48 -08:00