Commit Graph

14817 Commits

Author SHA1 Message Date
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
nshrivas
e0740b600d Release 5.2.0.122H
Release 5.2.0.122H

Change-Id: I80555de9d59d0c523b064357df063431db85ee03
CRs-Fixed: 774533
2019-02-27 03:13:38 -08:00
Nirav Shah
f359dd2770 qcacld-3.0: Avoid using ifdef for print arguments
Avoid using ifdef for print arguments.

Change-Id: Iea2b60189d2aa7ba8108fc5f1f04802e5403efeb
CRs-Fixed: 2401654
2019-02-27 03:13:38 -08:00
nshrivas
74d5915a1f Release 5.2.0.122G
Release 5.2.0.122G

Change-Id: I390b4089f879dc9bd1f6d2cc15b017a5c26d2647
CRs-Fixed: 774533
2019-02-26 23:33:34 -08:00
Pragaspathi Thilagaraj
a9ecc6354a qcacld-3.0: Refine pe_roam_synch_callback()
Refine pe_roam_synch_callback() declaration and definition to be
compliant with coding style. Replace lim_print_mac_addr() calls
with %pM format to print the bssid in this function.

Change-Id: I39a91c213d947f542f2a678910d0715098074365
CRs-Fixed: 2404405
2019-02-26 23:33:33 -08:00
nshrivas
21979dbace Release 5.2.0.122F
Release 5.2.0.122F

Change-Id: I8417d7dfbb508ddc706ff1cfbb58e74512e770cd
CRs-Fixed: 774533
2019-02-26 21:18:24 -08:00
Srinivas Girigowda
a987746e2c qcacld-3.0: Replace struct ether_header with qdf_ether_header_t
Replace struct ether_header with qdf_ether_header_t.

Change-Id: I250b9c72828595c738cf3cfdca69ba6de66ef8aa
CRs-Fixed: 2395980
2019-02-26 21:18:23 -08:00
Srinivas Girigowda
4c2d30580c qcacld-3.0: Remove duplicate macro ETHERTYPE_8021Q
Remove duplicate macro ETHERTYPE_8021Q and instead use
ETHERTYPE_VLAN.

Change-Id: I84b1382a92023cc670b1cd19b8588c6386ffce84
CRs-Fixed: 2395980
2019-02-26 21:18:19 -08:00
Srinivas Girigowda
3105e4db2d qcacld-3.0: Remove duplicate WME_AC_* macros
Remove duplicate WME_AC_* macros.

Change-Id: Iedd17289974b5c017c9ea76501fa746e4ef5ca2c
CRs-Fixed: 2395980
2019-02-26 21:18:15 -08:00
Srinivas Girigowda
a02ce98bc3 qcacld-3.0: Replace IEEE80211_ELEMID_* with WLAN_ELEMID_*
Remove the duplicate enumerations in CDS and
use the enums defined in wlan_cmn_ieee80211.h.

Change-Id: I0bf380d0b06d85be8778d985b10246ea2b8aa474
CRs-Fixed: 2395980
2019-02-26 21:18:10 -08:00
Srinivas Girigowda
2834495863 qcacld-3.0: Remove cds_ieee80211_defines.h
Remove cds_ieee80211_defines.h file.

Change-Id: I3b7a3f61f82ea15b7975fb5d143257c80382f20d
CRs-Fixed: 2395980
2019-02-26 21:18:05 -08:00
Srinivas Girigowda
3beefb408c qcacld-3.0: Replace IEEE80211_PMKID_LEN with PMKID_LEN
Replace IEEE80211_PMKID_LEN with PMKID_LEN which is defined
in wlan_cmn_ieee80211.h.

Change-Id: I0b59d4cbd6522e799e66b3b674b5a0cfa53b039a
CRs-Fixed: 2395980
2019-02-26 21:18:00 -08:00
nshrivas
6f20f2e4ba Release 5.2.0.122E
Release 5.2.0.122E

Change-Id: Iafa67acc7827ec9dfb248f929eeb67d74ed8ad84
CRs-Fixed: 774533
2019-02-26 16:28:46 -08:00
Rakshith Suresh Patkar
5f9efa342a qcacld-3.0: Post PEER_UNMAP_RESPONSE cmd to mc thread in ho fail
Unable to send WMI_PEER_UNMAP_RESPONSE_CMDID for peer ids in case
of WOW + ROAM failure scenarios, where target is suspended. This
will cause peer ids leak in the firmware.

Post the PEER_UNMAP_RESPONSE cmd to mc thread in case of ho fail.

Change-Id: I5b9e0fc874ab31f401f7adc8cff22fbc20811acb
CRs-Fixed: 2396094
2019-02-26 16:28:45 -08:00
nshrivas
b289d0aabd Release 5.2.0.122D
Release 5.2.0.122D

Change-Id: I866fbfc6a969efa34370685c482815200dc90523
CRs-Fixed: 774533
2019-02-26 14:21:25 -08:00
Nachiket Kukade
d4d40bcb61 qcacld-3.0: Set 2.4G NSS to 1 for NDI if antenna sharing present
If antenna sharing is supported, target must not include 2x2
rates in HT IE for NAN Datapath related frames. Therefore set
2.4GHz band NSS to 1x1 in NDI vdev NSS config parameters.

Set 2.4GHz NSS to 1x1 for NDI if antenna sharing is supported.

Change-Id: I9950c825b09135e08dbd7c0ecf624fdb575476cd
CRs-Fixed: 2384515
2019-02-26 14:21:24 -08:00
hangtian
d152e8da67 qcacld-3.0: Set TDLS max AMPDU size to 7 if vht capable
Set TDLS max AMPDU size to 7 (1048575) if vht capable, in previous
design, it's set to 3 (65535) even with vht capable. Fix TDLS
throughput issue on 5G VHT80.

Change-Id: Ieaf465e87d239aa853dd16c458c11721d11e3550
CRs-Fixed: 2380621
2019-02-26 14:21:19 -08:00
nshrivas
63a9e09b75 Release 5.2.0.122C
Release 5.2.0.122C

Change-Id: Id5f1cbfd5cc5dfc3bb5a58f8bee0b7378d348574
CRs-Fixed: 774533
2019-02-26 11:30:00 -08:00
Bala Venkatesh
79fe810190 qcacld-3.0: Check for STA+GO restart only if SAP is active
In function policy_mgr_is_restart_sap_allowed, STA+SAP concurrency is
decided based on return status of policy_mgr_get_concurrency_mode.
It can happen, SAP adapter is opened. But hostapd_open and start_ap
is not done. Then, this api will return SAP bit true even even though
SAP is not active. So, explicitly check if the SAP is active by
checking the SAP connection count along with the concurrency mode.

This can result in GO channel override with STA channel.
Hence check the sap and go mode connection count along
with the concurrency mode.

Change-Id: I672d503f34734d7e16175fedc685d2838e77d8f7
CRs-Fixed: 2405189
2019-02-26 11:29:59 -08:00
nshrivas
1decf76867 Release 5.2.0.122B
Release 5.2.0.122B

Change-Id: Ia3aaf2d93a6a59e4e73413fdca8e813e10220cce
CRs-Fixed: 774533
2019-02-26 04:26:48 -08:00
Dustin Brown
0d17e0107a qcacld-3.0: Remove SSR protect (psoc)
As part of DSC integration cleanup, remove SSR protection from SSR
protection wrappers where psoc op start/stop protection is also in
place.

Change-Id: If9f901a764ec975a16fa911e4d74db919982101d
CRs-Fixed: 2404906
2019-02-26 04:26:47 -08:00
Dustin Brown
b55242077d qcacld-3.0: Remove SSR protect (vdev ioctls)
As part of DSC integration cleanup, remove SSR protection from IOCTLs
where vdev op start/stop protection is also in place.

Change-Id: I27c29ba73fe5bb1248c85b4a3d2ab457a4b791d0
CRs-Fixed: 2404907
2019-02-26 04:26:41 -08:00
Dustin Brown
39f416cc15 qcacld-3.0: Remove SSR protect (vdev cfg80211 ops)
As part of DSC integration cleanup, remove SSR protection from cfg80211
ops where vdev op start/stop protection is also in place.

Change-Id: I14aa060622ba01f6de02e33b7fc246f191df6d9a
CRs-Fixed: 2404910
2019-02-26 04:26:35 -08:00
Dustin Brown
f79be9df78 qcacld-3.0: Remove SSR protect (vdev vendor commands)
As part of DSC integration cleanup, remove SSR protection from vendor
commands where vdev op start/stop protection is also in place.

Change-Id: I8719494f5fc863d0a1c99d601252f1f0ef6e61c6
CRs-Fixed: 2404909
2019-02-26 04:26:30 -08:00
Jeff Johnson
23503ac6b6 qcacld-3.0: Use vdev_id in roam_offload_scan_rssi_params
Change Ifbbca30b9aca9688931ac0f4e4f703c28ad0ad32 ("qcacmn: Replace
session_id in roam_offload_scan_rssi_params") is renaming the legacy
identifier session_id to vdev_id, so concurrently change the usage in
the legacy project.

Change-Id: Ifb2282b8977ad1fb999e8460c0d276343793a0c6
CRs-Fixed: 2404095
2019-02-26 04:26:24 -08:00
Jeff Johnson
4c6d40f67d qcacld-3.0: Converge on struct rssi_monitor_param
The driver currently defines two different data structures to hold
Gateway Update parameters:
- legacy struct rssi_monitor_req
- unified WMI struct rssi_monitor_req

To align with the converged software architecture remove the legacy
definition and exclusively use the unified WMI definition.

Change-Id: Ia3336b68dac84ce8aeb53ea6d5be8b9f2e0f1736
CRs-Fixed: 2404088
2019-02-26 04:26:19 -08:00
Jeff Johnson
c71a922a10 qcacld-3.0: Use vdev_id in rssi_monitor_param
Change I6087c5018af98a84e7e784527000448ace7fac6e ("qcacmn: Replace
session_id in rssi_monitor_param") is renaming the legacy identifier
session_id to vdev_id, so concurrently change the usage in the legacy
project.

Change-Id: Icf5d5797eed143837c57a2b7d9a6c9b1b63387e9
CRs-Fixed: 2404082
2019-02-26 04:26:12 -08:00
Dustin Brown
cda29b5091 qcacld-3.0: Remove EOK from BMI
EOK is a legacy definition and frequently misused. Remove references to
it from BMI.

Change-Id: I38455eca00a6c1f3ffe25635019677708e312f92
CRs-Fixed: 2404901
2019-02-26 04:26:07 -08:00
nshrivas
8b2ca5dc00 Release 5.2.0.122A
Release 5.2.0.122A

Change-Id: If486d5e505e83fd00b9e0736e76cb51701d1053d
CRs-Fixed: 774533
2019-02-26 00:09:09 -08:00
Jeff Johnson
cdd14b6563 qcacld-3.0: Remove "same as" comments from TDLS public structs
As part of the original TDLS componentization legacy typedefs were
replicated to create the TDLS public structs. Due to the way in which
these data structures were initially used there was an implicit
requirement that their memory layout be exactly identical, and some of
the public structs had comments of the form "same as <foo>" to show
this relationship. Over time the use of the legacy typedefs has been
phased out in favor of the public structs, but some of the public
structs still have "same as" comments which reference legacy typedefs
which no longer exist. To avoid confusion remove those comments.

Change-Id: I46b498155907eea3ddf3f2a00f8138a1aac95b72
CRs-Fixed: 2404154
2019-02-26 00:09:08 -08:00
Jeff Johnson
7318367ba7 qcacld-3.0: Remove transaction_id from tdls_send_mgmt_request
The transaction_id in struct tdls_send_mgmt_request is unused, so
remove it.

Change-Id: Id06d6883a34d8becbb0040464e0abaecfbfd3b92
CRs-Fixed: 2404153
2019-02-26 00:09:03 -08:00
Jeff Johnson
8ef5a3b3e1 qcacld-3.0: Remove transaction_id from tdls_send_mgmt_rsp
The transaction_id in struct tdls_send_mgmt_rsp is unused, so remove
it. Also remove the comment that implies this struct has the same
structure as tSirSmeRsp since it does not.

Change-Id: I79cf0b2051b232635f37808155ddbd6438a40658
CRs-Fixed: 2404152
2019-02-26 00:08:58 -08:00
Jeff Johnson
2b2a5509ec qcacld-3.0: Converge on struct tdls_del_all_tdls_peers
During TDLS componentization the legacy struct sir_del_all_tdls_peers
was replicated, creating struct tdls_del_all_tdls_peers. Unfortunately
this left the driver with two different data structures which serve
the same purpose. Not only is this pointless, but due to the way in
which these structures are used there is an implicit requirement that
they be exactly identical. This approach is very fragile. To align
with the converged software architecture and to improve code
maintainability exclusively use the TDLS component public struct.

Change-Id: Id2140e5143167e90d869de6d65ee75273830b5b0
CRs-Fixed: 2404151
2019-02-26 00:08:53 -08:00
Jeff Johnson
ab797d63a8 qcacld-3.0: Converge on struct tdls_del_sta_req
During TDLS componentization the legacy typedef tSirTdlsDelStaReq was
replicated, creating struct tdls_del_sta_req. Unfortunately this left
the driver with two different data structures which serve the same
purpose. Not only is this pointless, but due to the way in which these
structures are used there is an implicit requirement that they be
exactly identical. This approach is very fragile. To align with the
converged software architecture and to improve code maintainability
exclusively use the TDLS component struct.

Note that this struct must be promoted to be a public struct since it
is now accessed from outside the component.

Change-Id: I054ee24e07062a60c4e00b935cd1bc5b4a9aef95
CRs-Fixed: 2400769
2019-02-26 00:08:49 -08:00
Jeff Johnson
4cdd1ac8e0 qcacld-3.0: Converge on struct tdls_add_sta_req
During TDLS componentization the legacy typedef tSirTdlsAddStaReq was
replicated, creating struct tdls_add_sta_req. Unfortunately this left
the driver with two different data structures which serve the same
purpose. Not only is this pointless, but due to the way in which these
structures are used there is an implicit requirement that they be
exactly identical. This approach is very fragile. To align with the
converged software architecture and to improve code maintainability
exclusively use the TDLS component struct.

Note that this struct must be promoted to be a public struct since it
is now accessed from outside the component.

Change-Id: I37500ead43eed2295df24c70b96e0b6ff85738c6
CRs-Fixed: 2400768
2019-02-26 00:08:43 -08:00
nshrivas
f7467dbd73 Release 5.2.0.122
Release 5.2.0.122

Change-Id: I31d3c81f3b8b13459e339cf59a4aab627d5e7b3b
CRs-Fixed: 774533
2019-02-25 21:47:22 -08:00
Jeff Johnson
fc0969f7b1 qcacld-3.0: Use vdev_id in hidden_ssid_vdev_restart_params
Change Iea0bf0a3dcae9186cce4eb176b974515fd0d7624 ("qcacmn: Replace
session_id in hidden_ssid_vdev_restart_params") is renaming the legacy
identifier session_id to vdev_id, so concurrently change the usage in
the legacy project.

Change-Id: Ie8c426aff1a8a1e7f75199c8cf7c761f1a893a05
CRs-Fixed: 2403935
2019-02-25 21:47:21 -08:00