Commit Graph

11748 Commits

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

Change-Id: I7dd0f7dd45a593fc0e5e7e7bb836c0e0a97e267f
CRs-Fixed: 2354297
2018-11-28 10:54:38 -08:00
Jeff Johnson
c520011d3e qcacld-3.0: Replace tpPESession in lim_process_probe_rsp_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_probe_rsp_frame.

Change-Id: I788bb969b21dc31d615d0d274a87bc62541fdf5e
CRs-Fixed: 2354291
2018-11-28 10:54:38 -08:00
Jeff Johnson
f19e3f1536 qcacld-3.0: Replace tpPESession in lim_reassoc_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_reassoc_utils.

Change-Id: I912b8c11cb482cb715151706974ceba46d82cd03
CRs-Fixed: 2354292
2018-11-28 10:54:38 -08:00
Jeff Johnson
653e4b0c3b qcacld-3.0: Replace tpPESession in lim_send_frames_host_roam
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_send_frames_host_roam.

Change-Id: Ifde373ed37e42a937542bb90fd9a0be833592b36
CRs-Fixed: 2354287
2018-11-28 10:54:38 -08:00
Jeff Johnson
202e328b97 qcacld-3.0: Replace tpPESession in lim_process_probe_req_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_probe_req_frame.

Change-Id: I2af971007a8095eec5a1d4d7874411ccfe82230a
CRs-Fixed: 2354286
2018-11-28 10:54:38 -08:00
Jeff Johnson
94b1aba6d7 qcacld-3.0: Replace tpPESession in lim_sta_hash_api
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_sta_hash_api.

Change-Id: Ie39876d289a2e3ebde74e0f69d9e0bcfeff10d74
CRs-Fixed: 2354278
2018-11-28 10:54:38 -08:00
Jeff Johnson
396299ab7b qcacld-3.0: Replace tpPESession in lim_timer_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_timer_utils.

Change-Id: Ie5a41f3d155bc0827234d9c10b80b1d06fe8f98a
CRs-Fixed: 2354277
2018-11-28 10:54:38 -08:00
Jeff Johnson
80a93f9b0d qcacld-3.0: Replace tpPESession in lim_sme_req_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_sme_req_utils.

Change-Id: I714e1716a1cea8e7cecd44eb9089a7dc8ec02493
CRs-Fixed: 2354276
2018-11-28 10:54:38 -08:00
Jeff Johnson
f1cc32e6dc qcacld-3.0: Replace tpPESession in lim_security_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_security_utils.

Change-Id: I5617e1d327b2761aab7c5c3c72f54b26fea014ab
CRs-Fixed: 2354275
2018-11-28 10:54:38 -08:00
nshrivas
2eb162e1b1 Release 5.2.0.108X
Release 5.2.0.108X

Change-Id: Ie092a82a75db619d2ab3abcea9d39133e5ebc30e
CRs-Fixed: 774533
2018-11-28 09:35:07 -08:00
Ashish Kumar Dhanotiya
68ee2e4c50 qcacld-3.0: Reset wow pattern on vdev destroy
Currently if a vdev is destroyed, wow patterns are not
getting cleared for that vdev, so when a new vdev is
created, host tries to configure new wow patterns for
this new vdev but due to FW limitations on number of
wow patterns that can be maintained at FW, FW is not
able to act on this filter and will not maintain this
new wow filter.

To resolve this issue, clear the wow patterns for the
vdev before it gets destroyed.

Change-Id: Iae7ad8b683c95d8eaf11355bc0e36b91cece2202
CRs-Fixed: 2344337
2018-11-28 09:35:06 -08:00
nshrivas
976559c951 Release 5.2.0.108W
Release 5.2.0.108W

Change-Id: I3e947f494c2fec99f28823cdf43ef9ed6822ee94
CRs-Fixed: 774533
2018-11-28 07:39:34 -08:00
Vignesh Viswanathan
5a3c8bebec qcacld-3.0: Include "wlan_tgt_def_config_hl.h" under CONFIG_HL_SUPPORT
In hdd_config.h file, wlan_tgt_def_config_hl.h is included without checking
for the flag CONFIG_HL_SUPPORT which could lead to compilation issues if
CONFIG_HL_SUPPORT is not defined for a PL.

Include wlan_tgt_def_config_hl.h under the correct CONFIG_HL_SUPPORT
flag.

Change-Id: Ia01b79e47b9ea504a93c96575599068218ef8671
CRs-Fixed: 2357292
2018-11-28 07:39:33 -08:00
Wu Gao
fc81ecf914 qcacld-3.0: Refactor one INI about obss ht40
Based on new cfg component, refactor INI CFG_OVERRIDE_HT40_20_24GHZ_NAME
and remove legacy codes.

Change-Id: I5b4ed96a4930a9358bd93ee809bf5cddb2787fb4
CRs-Fixed: 2354476
2018-11-28 07:39:29 -08:00
nshrivas
e9c82f679e Release 5.2.0.108V
Release 5.2.0.108V

Change-Id: Id5df85e24600e807be8b91e59ed27653d2f44041
CRs-Fixed: 774533
2018-11-28 05:29:30 -08:00
Jeff Johnson
35c58a8a1a qcacld-3.0: Rename pMac in lim_send_sme_rsp_messages
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
lim_send_sme_rsp_messages.c
lim_send_sme_rsp_messages.h

Change-Id: I4857d648327a2568ef0177718c9f1ac703ab2fdd
CRs-Fixed: 2355454
2018-11-28 05:29:30 -08:00
nshrivas
da897053bd Release 5.2.0.108U
Release 5.2.0.108U

Change-Id: I6ed7f8df63c9f530cfb7c5f13d4c139e842fcc97
CRs-Fixed: 774533
2018-11-28 03:57:06 -08:00