Commit Graph

14903 Commits

Author SHA1 Message Date
Jeff Johnson
80d220abdd qcacld-3.0: Rename HDD variable pDwellTime
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pDwellTime to be
compliant.

Change-Id: Ifad1ba3569292b22b4f974a6e0685ce4462d4e70
CRs-Fixed: 2405759
2019-02-28 23:19:34 -08:00
Jeff Johnson
b2c3d04b6b qcacld-3.0: Rename pEseBcnReq
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pEseBcnReq (used by both HDD and SME) to
be compliant.

Change-Id: I377e1c4ff65bafeba403aa87a6542891f03bb2ba
CRs-Fixed: 2405758
2019-02-28 23:19:24 -08:00
Jeff Johnson
a0b6c3c0f3 qcacld-3.0: Rename HDD variable pPlmRequest
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pPlmRequest to be
compliant.

Change-Id: If4f3eaca226356eb120f13ff1d280ab8af38add4
CRs-Fixed: 2405757
2019-02-28 23:19:17 -08:00
Jeff Johnson
269d7fbe8e qcacld-3.0: Rename HDD variables pTxFlags and txFlags
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variables pTxFlags and txFlags
to be compliant.

Change-Id: I737a9477958858cd3310b9c6104172fbe6340249
CRs-Fixed: 2405756
2019-02-28 23:19:12 -08:00
nshrivas
bc6aafa709 Release 5.2.0.122R
Release 5.2.0.122R

Change-Id: I6018acd9b5a1deb7992d3fc05bb2240398db86ed
CRs-Fixed: 774533
2019-02-28 18:35:38 -08:00
Bala Venkatesh
448e8cd53e qcacld-3.0: Move the INI gSkipDfsChannelInP2pSearch to scan component
Currently, INI gSkipDfsChannelInP2pSearch is initialized in P2P
component and later copied to scan component for usage.
Since this INI is only used by scan component and not the P2P
component, move the initialization part also to the scan
component.

Change-Id: I44a6208ab5f3ee062073550143e23e5800342376
CRs-Fixed: 2405395
2019-02-28 18:35:37 -08:00
Jingxiang Ge
f95dc4df29 qcacld-3.0: Add mutex to protect rssi_disallow_bssid list
rssi_disallow_bssid could be accessed from different thread,
mutex protection is added to avoid node invalid access when
node has been deleted or updated.

Change-Id: I2b19d48f19a3da55030384f26c501aee283801c7
CRs-Fixed: 2405157
2019-02-28 18:35:32 -08:00
nshrivas
143bbdb6f9 Release 5.2.0.122Q
Release 5.2.0.122Q

Change-Id: I3f7efccce9352caf1de44907a797a58bd7ffdbec
CRs-Fixed: 774533
2019-02-28 01:27:51 -08:00
Dustin Brown
c0591c0308 qcacld-3.0: Rename osif_*_sync_create_with_trans()
Rename the osif_*_sync_create_with_trans() to a slightly more
appropriate osid_*_sync_create_and_trans(), to help convey the fact that
the transition does not end when the function returns.

Change-Id: I5606fb613d786d65de773dae49fe8ad431b5342f
CRs-Fixed: 2406713
2019-02-28 01:27:50 -08:00
Manjunathappa Prakash
f39d2374a2 qcacld-3.0: Add stats for Rx gratuitous_arp and multicast_replay drops
Remove logging of Rx drops due to gratuitous_arp and multicast_replay
packets. Add separate stats counter and log it part of periodic stats.

Change-Id: Ib70505bbb8e6b2d363e04493f9e3d2d99e417e8d
CRs-Fixed: 2403211
2019-02-28 01:27:44 -08:00
Jeff Johnson
df909a62c0 qcacld-3.0: Remove unused struct ndi_create_req
Change I5828002d2363e01f63b0a643a0c59abd52bc4f19 ("qcacld-3.0: NAN
datapath cleanup") remove the last usage of struct ndi_create_req.
Since this struct is obsolete, remove it.

Change-Id: Ibbf15ed95ed30d3af440f68f654490ee6b57ac37
CRs-Fixed: 2403186
2019-02-28 01:27:37 -08:00
Jeff Johnson
7e5e398a28 qcacld-3.0: Remove transactionId from tSirAggrQosReq
The transactionId in struct tSirAggrQosReq is unused, so remove it.

Change-Id: I2a0b841ca2b68706152f0fab3ed3f821f16b9382
CRs-Fixed: 2403185
2019-02-28 01:27:31 -08:00
Jeff Johnson
f44d792e91 qcacld-3.0: Remove transactionId from tSirDeltsReq
The transactionId in struct tSirDeltsReq is unused, so remove it.

Change-Id: I2bcf1c4f5e4379d3a1748d69c1c0c2b431e08604
CRs-Fixed: 2403184
2019-02-28 01:27:25 -08:00
Jeff Johnson
d41d3ceba9 qcacld-3.0: Remove transactionId from tSirAddtsReq
The transactionId in struct tSirAddtsReq is unused, so remove it.

Change-Id: Ia0a47e2d101ef92298ece4a25f8441203f227c24
CRs-Fixed: 2403183
2019-02-28 01:27:18 -08:00
Jeff Johnson
51dd84ee35 qcacld-3.0: Remove transactionId from set_context_req
The transactionId in struct set_context_req is unused, so remove it.

Change-Id: I26cbd3928fc24e0ed181cc8886d3ca4482716c32
CRs-Fixed: 2403182
2019-02-28 01:27:12 -08:00
Jeff Johnson
a601044643 qcacld-3.0: Remove typedef tSirSmeStopBssRsp
The typedef tSirSmeStopBssRsp is unused, so remove it.

Change-Id: I186e4b99073dde031f944dc455b31ca2f3efea60
CRs-Fixed: 2403181
2019-02-28 01:27:07 -08:00
Jeff Johnson
08e3733b9c qcacld-3.0: Remove transactionId from stop_bss_req
The transactionId in struct stop_bss_req is unused, so remove it.

Change-Id: Ied26fea404b031684bb63586597912a1ceefc0f9
CRs-Fixed: 2403180
2019-02-28 01:27:02 -08:00
Jeff Johnson
b5141adae1 qcacld-3.0: Remove transactionId from deauth_req
The transactionId in struct deauth_req is unused, so remove it.

Change-Id: I5e455c1003addf6bc8a3a9cedb0b8def6464513b
CRs-Fixed: 2403179
2019-02-28 01:26:56 -08:00
Jeff Johnson
b3dfc3b017 qcacld-3.0: Remove transactionId from disassoc_req
The transactionId in struct disassoc_req is unused, so remove it.

Change-Id: I63594303967999e6b19e77d7ed614b5316be1874
CRs-Fixed: 2403178
2019-02-28 01:26:51 -08:00
nshrivas
42113af0c3 Release 5.2.0.122P
Release 5.2.0.122P

Change-Id: I150daf692b32b338169fed52e47cd5d4e30d0033
CRs-Fixed: 774533
2019-02-27 22:42:13 -08:00
Dustin Brown
39b33bacef qcacld-3.0: Integrate DSC (IP address change)
As part of DSC integration, replace remaining cds_ssr_protect/unprotect
calls with appropriate osif_sync op start/stop calls in IP address
change handlers.

Change-Id: I1e274fdda7465582046bcfd5266c242265328efd
CRs-Fixed: 2406548
2019-02-27 22:42:13 -08:00
nshrivas
5c34a99bcb Release 5.2.0.122O
Release 5.2.0.122O

Change-Id: Ic1b5ecff3d0e1a24e381ba9af39a732abe24c250
CRs-Fixed: 774533
2019-02-27 20:54:50 -08:00
Jeff Johnson
f32bf010e3 qcacld-3.0: Use the redesigned STA keepalive interface
Change I2a401fa6934f05555cb3c30088af62cfbc9a3c59 ("qcacmn: Refine the
STA keepalive interface") has updated the unified WMI interface for
the STA keepalive feature, so align with the new design.

Change-Id: I20cf9f54a7ec920a90575ffd73c51708414d46a0
CRs-Fixed: 2404896
2019-02-27 20:54:49 -08:00
nshrivas
844e7b4730 Release 5.2.0.122N
Release 5.2.0.122N

Change-Id: I5555950695363c3129f071d73a4d8c374a58a382
CRs-Fixed: 774533
2019-02-27 19:24:48 -08:00
Dustin Brown
015208532f qcacld-3.0: Integrate DSC (spectral scan)
As part of DSC integration, replace remaining cds_ssr_protect/unprotect
calls with appropriate osif_sync op start/stop calls in spectral scan.

Change-Id: I6a2f221aea47b31a0926e64f614999452d21a9f0
CRs-Fixed: 2406599
2019-02-27 19:24:47 -08:00
nshrivas
bcaeb5a487 Release 5.2.0.122M
Release 5.2.0.122M

Change-Id: I7ef91aa2a15a1927a9b476267f00b65e799b2c58
CRs-Fixed: 774533
2019-02-27 11:37:51 -08:00
Jeff Johnson
6636e623e6 qcacld-3.0: Rename HDD variable pValue
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pValue to be
compliant.

Change-Id: Id61c93b87a05d8207ff828728a47bc268d3b1235
CRs-Fixed: 2405755
2019-02-27 11:37:50 -08:00
Jeff Johnson
afa022c9cd qcacld-3.0: Rename HDD variable pUserData
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pUserData to be
compliant.

Change-Id: Ia6e960b2666ef2dc958cdc97cef0b525cfa9e58d
CRs-Fixed: 2405754
2019-02-27 11:37:45 -08:00
Jeff Johnson
52f19d57d7 qcacld-3.0: Rename HDD variable pPeerInfo
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pPeerInfo to be
compliant.

Change-Id: I1b8eb881e6c5fc164a587ba6305bbdf22002d865
CRs-Fixed: 2405753
2019-02-27 11:37:39 -08:00
Jeff Johnson
93107ad75f qcacld-3.0: Rename HDD variable pStaCtx
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pStaCtx to be
compliant.

Change-Id: Ief8942a12c802720d5eb2819e85eb895c6d8df40
CRs-Fixed: 2405752
2019-02-27 11:37:34 -08:00
nshrivas
21d29ae0fd Release 5.2.0.122L
Release 5.2.0.122L

Change-Id: I9ab30145808e60943a9434010cef12d5eddbe341
CRs-Fixed: 774533
2019-02-27 09:55:47 -08:00
Jeff Johnson
d89881a759 qcacld-3.0: Rename local variable localPattern
To align with the Linux coding standard rename local variable
localPattern.

Change-Id: Id1e5dba72ecb6e178e1766eb005f717894f7ae67
CRs-Fixed: 2404829
2019-02-27 09:55:46 -08:00
Jeff Johnson
b8673d0dae qcacld-3.0: Use vdev_id in wlan_hdd_set_filter()
Currently wlan_hdd_set_filter() uses sessionId as a parameter name.
In order to align with converged naming, and to adhere to the Linux
coding style, change this to vdev_id.

Change-Id: Icf284b27bf72df0bac1c3b7a2a60b5a7129b49e5
CRs-Fixed: 2404328
2019-02-27 09:55:42 -08:00
Pragaspathi Thilagaraj
96259b245f qcacld-3.0: Add support of FT-SAE roaming
Introduce new CSR auth type eCSR_AUTH_TYPE_FT_SAE to support the
akm suite selector 00:0F:AC-09(FT-SAE) and 00:0F:AC(FT-Suite-B).
Based on the sta_ctx authType, rsn auth type and hdd key
management type, set the auth type eCSR_AUTH_TYPE_FT_SAE to the
roam_profile during initial connection.

csr_scan_get_result() pushes the scan filter to scm module.
Translate the legacy eCsrAuthType to wlan_auth_type and push it
to the filter->auth_type.

Change-Id: I3ab91799ac280b85cdd67ad26b0eb7519d3b8b14
CRs-Fixed: 2400679
2019-02-27 09:55:37 -08:00
nshrivas
9450bf430e Release 5.2.0.122K
Release 5.2.0.122K

Change-Id: I0170b59c3808844f1497f329250f3a98be867664
CRs-Fixed: 774533
2019-02-27 08:11:54 -08:00
Dustin Brown
963101199d qcacld-3.0: Remove OS_* usage
There are a few consumers of the legacy OS_* APIs. Directly use
appropriate QDF APIs instead.

Change-Id: Ibe46172200119c6d293acb301baf796276c5949c
CRs-Fixed: 2403793
2019-02-27 08:11:53 -08:00
Min Liu
0daa098737 qcacld-3.0: Handle OWE info update from hostapd
Handle OWE info update from hostapd in the following path:
HDD->SAP->SME->CSR

Change-Id: I7584fb5db036d1643bd7d56076d30a0c75008a98
CRs-Fixed: 2397009
2019-02-27 08:11:47 -08:00
Min Liu
e34708a91d qcacld-3.0: Send update OWE info event
When receiving assoc request from OWE STA, always send update OWE
info event which contains the following information:
- MAC address of STA
- RSN IE in assoc request
- DH IE in assoc request

Change-Id: I7017c5d2730e493db2472ae53d5dfa69553cfe45
CRs-Fixed: 2396925
2019-02-27 08:11:42 -08:00
nshrivas
d816803646 Release 5.2.0.122J
Release 5.2.0.122J

Change-Id: Ica8ceefd3c0ba747b9064dfd573c14f4882eaab4
CRs-Fixed: 774533
2019-02-27 06:42:52 -08:00
Arun Kumar Khandavalli
34f69cfa51 qcacld-3.0: Update connect_timeout correctly in case of scan for ssid
Incase there is a scan for ssid failure connect_timeout is set to
true even when there is no BSSID has been found in the scan result.

Set the connect_timeout to false for the cases wherein there is a
scan for ssid failure.

Change-Id: I822371bbbe2a034b673798b28c993ba53468aa49
CRs-Fixed: 2404646
2019-02-27 06:42:51 -08:00
nshrivas
a574c6cc27 Release 5.2.0.122I
Release 5.2.0.122I

Change-Id: I38800250f6c2434beddf07ce7bbcd5009df2b540
CRs-Fixed: 774533
2019-02-27 05:10:08 -08:00
gaurank kathpalia
566c81ba4d qcacld-3.0: Refactor ini CFG_DHCP_SERVER_IP_NAME
Refactor ini CFG_DHCP_SERVER_IP_NAME to hdd config file

Change-Id: Iabaae01d3abfdada8a68606627cd96f959d05b07
2019-02-27 05:10:08 -08:00
Jeff Johnson
f6601c3858 qcacld-3.0: Remove transactionId from join_req
The transactionId in struct join_req is unused, so remove it.

Change-Id: I6117190ae0cf486763fd9636a5682553cf5f8970
CRs-Fixed: 2403177
2019-02-27 05:09:59 -08:00
Jeff Johnson
50d3ae6e21 qcacld-3.0: Remove transactionId from start_bss_req
The transactionId in struct start_bss_req is unused, so remove it.

Change-Id: Ifacaf5c25b7eb59df5f0b6d28aa91eb7a39311fa
CRs-Fixed: 2403176
2019-02-27 05:09:54 -08:00
Jeff Johnson
41485c2d0e qcacld-3.0: Remove transactionId from tSirSmeRsp
The transactionId in struct tSirSmeRsp is unused, so remove it.

Change-Id: I9c4ba3433bf2e1e745c963dde0795348fb06c5d5
CRs-Fixed: 2403175
2019-02-27 05:09:49 -08:00
Jeff Johnson
b2b63e0772 qcacld-3.0: Remove transactionId from tSirDeltsRsp
The transactionId in struct tSirDeltsRsp is unused, so remove it.

Change-Id: I83135573cdf53d61a8fcd4e2cd803eebca060e6d
CRs-Fixed: 2403174
2019-02-27 05:09:45 -08:00
Jeff Johnson
4836302298 qcacld-3.0: Replace wlan_hdd_validate_session_id()
To align with the coverged nomenclature replace
wlan_hdd_validate_session_id() with wlan_hdd_validate_vdev_id().

Change-Id: I06f948d8de4b8a98bfe66e18ae38b1040204fdb4
CRs-Fixed: 2404293
2019-02-27 05:09:40 -08:00
Jeff Johnson
3bc8194028 qcacld-3.0: Use vdev_id in plm_req_params
Change I1554febcfb641059a82349aad904c54b62250111 ("qcacmn: Replace
session_id in plm_req_params") is renaming the legacy identifier
session_id to vdev_id, so concurrently change the usage in the legacy
project.

Change-Id: I3c5192d31caa05c8fe7157382680318b6671257f
CRs-Fixed: 2405068
2019-02-27 05:09:36 -08:00
Sachin Ahuja
981e8e7b41 qcacld-3.0: Update MC address list correctly
Currently while copying the MC address list, PMO
checks for the IPv6 router solicitation address. If this
address is found in the source list then this address is
ignored but the hole is created in the destination list.
As a result of this hole, FW does not filter the packets
for the last configured MC address in the list.

To mitigate this issue, add the correct logic of copying
the MC addresses from source list to destination list when
IPv6 router solicitation address is found in the source list.

Change-Id: If9412933d30259e7260e4d9e11cc514dec964355
CRs-Fixed: 2403419
2019-02-27 05:09:30 -08:00
Jeff Johnson
e723995185 qcacld-3.0: Remove session_id from struct pmo_wow_add_pattern
The session_id field in struct pmo_wow_add_pattern does not serve any
purpose, so remove it.

Change-Id: I477b74c1360f124fb493440a8289fb2a4382c6d5
CRs-Fixed: 2404828
2019-02-27 05:09:26 -08:00