Commit Graph

13531 Commits

Author SHA1 Message Date
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
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
CNSS_WLAN Service
adc5b94097 Merge "Merge commit '5f51b61329fea7765dc92b62606f914a8b704f9f' into wlan-cld3.driver.lnx.2.0" into wlan-cld3.driver.lnx.2.0 2018-11-29 15:35:36 -08:00
nshrivas
9f09dc4051 Release 5.2.0.109
Release 5.2.0.109

Change-Id: I0882dc60aef02caa3ecb89d07c74ba3e7b2d934d
CRs-Fixed: 774533
2018-11-29 12:35:16 -08:00
Jeff Johnson
0d6c3c8077 qcacld-3.0: Replace tpPESession in sch_api
To align with the Linux coding style replace tpPESession with struct
pe_session * in sch_api.

Change-Id: I416e6d8d72bc54e5a2e5754a51c35c70ec77a47d
CRs-Fixed: 2354268
2018-11-29 12:35:16 -08:00
Jeff Johnson
3a30273af1 qcacld-3.0: Remove limCheckAndQuietBSS() prototype
LIM exports a prototype for limCheckAndQuietBSS(), but that function
no longer exists in the driver, so remove the prototype.

Change-Id: I4aa4638309af402b005fe98ed1795e3ac4414e83
CRs-Fixed: 2357633
2018-11-29 12:35:12 -08:00
Jeff Johnson
66845caf2e qcacld-3.0: Replace tpPESession in rrm_api
To align with the Linux coding style replace tpPESession with struct
pe_session * in rrm_api.

Change-Id: I5de1d79b0a14b9cd36d119b2fd1390b2cc9ee635
CRs-Fixed: 2354267
2018-11-29 12:35:08 -08:00
nshrivas
5df62c1a47 Release 5.2.0.108Z
Release 5.2.0.108Z

Change-Id: I947cb3a02d700a48cee8797828e69efd996b656f
CRs-Fixed: 774533
2018-11-28 14:35:01 -08:00
Pragaspathi Thilagaraj
4b5c0601a2 qcacld-3.0: Add the MLME CFG items to new MLME component
Add the following mlme cfg items:
CFG_AP_PROTECTION_MODE_NAME
CFG_AP_OBSS_PROTECTION_MODE_NAME
CFG_AP_STA_SECURITY_SEPERATION_NAME
CFG_ENABLE_BT_CHAIN_SEPARATION
CFG_AP_QOS_UAPSD_MODE_NAME

Change-Id: Iabdfb7c2492c234cfc3e8f71f33801f0034e578d
CRs-Fixed: 2350626
2018-11-28 14:35:01 -08:00
nshrivas
85a6badcd3 Release 5.2.0.108Y
Release 5.2.0.108Y

Change-Id: I662f82a0e8ff4f5b82c41c23bf4aba2ce4d109f9
CRs-Fixed: 774533
2018-11-28 12:54:03 -08:00
Jeff Johnson
95f5a5ea4e qcacld-3.0: Replace tpPESession in lim_process_cfg_updates
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_cfg_updates.

Change-Id: I137c38a1891f22e83a6dbc05d0be223984becd37
CRs-Fixed: 2354305
2018-11-28 10:54:39 -08:00
Jeff Johnson
04881ad814 qcacld-3.0: Replace tpPESession in lim_process_deauth_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_deauth_frame.

Change-Id: Ic411507e99c5444b5590b261745124dacf9f2f88
CRs-Fixed: 2354303
2018-11-28 10:54:39 -08:00
Jeff Johnson
9bbc99fceb qcacld-3.0: Replace tpPESession in lim_process_beacon_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_beacon_frame.

Change-Id: Ib788d9bc8a299911f4158a21ba769784601d8bef
CRs-Fixed: 2354304
2018-11-28 10:54:39 -08:00
Jeff Johnson
a5f24426bc qcacld-3.0: Replace tpPESession in lim_link_monitoring_algo
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_link_monitoring_algo.

Change-Id: Iee20069f2d11cd40d8f8dd48bb68d899666e2cdc
CRs-Fixed: 2354300
2018-11-28 10:54:39 -08:00
Jeff Johnson
a8a2f0c41c qcacld-3.0: Replace tpPESession in lim_process_disassoc_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_disassoc_frame.

Change-Id: I38cb80046e74732e0f7631f2f278ece9742bd92c
CRs-Fixed: 2354301
2018-11-28 10:54:39 -08:00
Jeff Johnson
b5b235f842 qcacld-3.0: Replace tpPESession in lim_process_message_queue
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_message_queue.

Change-Id: Iec676555f82963301d3eca469a0b439ea30a80d8
CRs-Fixed: 2354299
2018-11-28 10:54:39 -08:00
Jeff Johnson
a18307131c qcacld-3.0: Replace tpPESession in lim_aid_mgmt
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_aid_mgmt.

Change-Id: Iacef1a336b058b86595d1fa43dc63af4c6f416f4
CRs-Fixed: 2354298
2018-11-28 10:54:39 -08:00
Jeff Johnson
82e779ee89 qcacld-3.0: Replace tpPESession in lim_process_assoc_rsp_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_assoc_rsp_frame.

Change-Id: Ibba43c49b6d2f614e1eb63088a9d780200b4a7a7
CRs-Fixed: 2354294
2018-11-28 10:54:38 -08:00