Commit Graph

14738 Commits

Author SHA1 Message Date
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
Dustin Brown
6ca9b026b1 qcacld-3.0: Remove reference to VOS_STATUS
Some documentation still mentions VOS_STATUS. Update these to
QDF_STATUS.

Change-Id: I31a48715c23f24c310eb51a6eddf3ec6d4193258
CRs-Fixed: 2403794
2019-02-25 21:47:16 -08:00
nshrivas
0ba1f4df9a Release 5.2.0.121Z
Release 5.2.0.121Z

Change-Id: I0b6cbd99c86a19f4dcaa2623ba7e14613a96001d
CRs-Fixed: 774533
2019-02-25 18:43:43 -08:00
Min Liu
ddd233069e qcacld-3.0: Save RSN auth type for RSN association
Save RSN auth type in related context for RSN assocoation.
Some OWE specific operation need to be done according to
this RSN auth type since we cannot tell if a STA / SAP is OWE,
WPA2 or OPEN by its auth type OPEN.

Change-Id: I17dd72c7adf1c663725ac58ce263f4408d9c967b
CRs-Fixed: 2396885
2019-02-25 18:43:42 -08:00
Min Liu
3621ede660 qcacld-3.0: Clean up local variable of csr_roam_info
In some functions, the structure csr_roam_info is declared as
local variable. Given its size is large, adding fields in this
structure will easily break the 2K limit check of stack size.

Allocate this structure in heap instead of declaring it as
local variable.

Change-Id: I78980b0816d464f4d9951cf0b7b0f5a15d8985b4
CRs-Fixed: 2396867
2019-02-25 18:43:37 -08:00
nshrivas
acb10483fc Release 5.2.0.121Y
Release 5.2.0.121Y

Change-Id: I57e3ee701db8ecf8c4538ac709a1b46a4577080c
CRs-Fixed: 774533
2019-02-25 17:17:02 -08:00
Jeff Johnson
7eb6e84efd qcacld-3.0: Introduce wlan_hdd_validate_vdev_id()
Introduce function wlan_hdd_validate_vdev_id() as a replacement for
wlan_hdd_validate_session_id() to align with the converged naming.

Change-Id: I12913e48c28f48ab7139d012b1584d8a8a9737ab
CRs-Fixed: 2404173
2019-02-25 17:17:01 -08:00
nshrivas
1011db9221 Release 5.2.0.121X
Release 5.2.0.121X

Change-Id: I4e766212af122b45b233795d6c55e9c2e00ef2b8
CRs-Fixed: 774533
2019-02-25 15:48:01 -08:00
Jeff Johnson
27b989624e qcacld-3.0: Remove transactionId from join_rsp
The transactionId in struct join_rsp is unused, so remove it.

Change-Id: I3a208281994af7454415f71e66cc8abbf8c8561c
CRs-Fixed: 2403166
2019-02-25 15:48:00 -08:00
Jeff Johnson
0781949054 qcacld-3.0: Remove transactionId from tSirAddtsRsp
The transactionId in struct tSirAddtsRsp is unused, so remove it.

Change-Id: I89bd793f761c42c661269b71da0cda273cc38769
CRs-Fixed: 2403173
2019-02-25 15:47:55 -08:00
Jeff Johnson
c80ed54c69 qcacld-3.0: Remove transactionId from set_context_rsp
The transactionId in struct set_context_rsp is unused, so remove it.

Change-Id: I4de2bda5b1ac9644f3b99f5d67a5582c14784128
CRs-Fixed: 2403172
2019-02-25 15:47:51 -08:00
Jeff Johnson
953f99aea4 qcacld-3.0: Remove transactionId from deauth_ind
The transactionId in struct deauth_ind is unused, so remove it.

Change-Id: Icb138510b6e3e2cdbc9929d6c317237c7558c4b2
CRs-Fixed: 2403171
2019-02-25 15:47:47 -08:00
Jeff Johnson
b9e2c22adb qcacld-3.0: Remove transactionId from deauth_rsp
The transactionId in struct deauth_rsp is unused, so remove it.

Change-Id: I22ce8a357966675eec13c2fb9be53b2a22db6369
CRs-Fixed: 2403169
2019-02-25 15:47:43 -08:00
Jeff Johnson
b82e6d765e qcacld-3.0: Remove transactionId from disassoc_ind
The transactionId in struct disassoc_ind is unused, so remove it.

Change-Id: I8ab5254f3ec00eff19e32b897f1c8e4c9e4143af
CRs-Fixed: 2403168
2019-02-25 15:47:39 -08:00
nshrivas
4619c30900 Release 5.2.0.121W
Release 5.2.0.121W

Change-Id: I712a1ad6fafa72d5acd53358aefbc14d66857b96
CRs-Fixed: 774533
2019-02-25 14:14:09 -08:00
Pragaspathi Thilagaraj
87a60af51a qcacld-3.0: Update fils connection ERP sequence number after roam
Currently the host driver updates the fils erp sequence number
to upper layer once the roam synch indication with the next erp
sequence number is received from the firmware. During the next
connection triggered from upper layer, the supplicant sends the
updated erp seq number value to host and host saves it in
session->pCurRoamProfile->fils_con_info->sequence_number.

During roaming, the supplicant doesn't update erp next seq
number so host retains the older value of sequence number given
by the supplicant during initial connection and sends this value
as part of RSO update config sent to firmware after roam synch
complete is done. So the FILS connection is terminated due to
this wrong sequence number sent by the host.

Add changes to update the new erp sequence number received in
roam synch indication to
session->pCurRoamProfile->fils_con_info->sequence_number. Send
this updated value without any modification if the RSO update
config reason is roam completion.

Change-Id: Ie833f31c57173a5a4dc45722c7ee0b42cf916cb0
CRs-Fixed: 2397877
2019-02-25 14:14:08 -08:00
nshrivas
aceaf6dc26 Release 5.2.0.121V
Release 5.2.0.121V

Change-Id: I33530a7e71f6c7ff7b1893752b761c3fd05d45c3
CRs-Fixed: 774533
2019-02-25 12:44:57 -08:00
Yeshwanth Sriram Guntuka
81b17d5f1c qcacld-3.0: Do not reduce NSS for AP with vendor_4_OUI IE
NSS is reduced to 1 even though AP beacons or probe
responses contain vendor_4_OUI. The return value of
function csr_check_vendor_ap_3_present, which checks
for the presence of vendor_4_OUI, is true instead of
false due to incorrect IE data sent to this function.

Fix is to send appropriate IEs to csr_check_vendor_ap_3_present

Change-Id: Iea9ad4aae017df6972fdbe26d49bbda460d58dba
CRs-Fixed: 2401932
2019-02-25 12:44:56 -08:00
nshrivas
919979d7e8 Release 5.2.0.121U
Release 5.2.0.121U

Change-Id: Ifcdabbec99e8d402b56d46b2f7391318c3c56ae6
CRs-Fixed: 774533
2019-02-24 21:34:52 -08:00
Jeff Johnson
38d0ce6787 qcacld-3.0: Converge on struct gateway_update_req_param
The driver currently defines two different data structures to hold
Gateway Update parameters:
- legacy struct gateway_param_update_req
- unified WMI struct gateway_update_req_param

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

Change-Id: Icc56c4d83808e3661593d2e4735533442d48eb7e
CRs-Fixed: 2404089
2019-02-24 21:34:51 -08:00
Wu Gao
814ce703b4 qcacld-3.0: Format ini descriptions
Some ini descriptions are different to common, and some of them
include wrong information, so correct them and use unified form.

Change-Id: I36348fb26a03cab254fd309d792125b8a21ad02f
CRs-Fixed: 2402446
2019-02-24 21:34:47 -08:00
nshrivas
d69f5041c5 Release 5.2.0.121T
Release 5.2.0.121T

Change-Id: Ie4c29768876732824fd256509a19738f2d291d3d
CRs-Fixed: 774533
2019-02-24 20:04:29 -08:00
Jeff Johnson
e24a554e29 qcacld-3.0: Use vdev_id in gateway_update_req_param
Change I84b28aa734b570f0a7834fbac7d27e9c66b8b026 ("qcacmn: Replace
session_id in gateway_update_req_param") is renaming the legacy
identifier session_id to vdev_id, so concurrently change the usage in
the legacy project.

Change-Id: I2d24a54e80931a944580e968a841679d2da7b2a1
CRs-Fixed: 2404013
2019-02-24 20:04:28 -08:00
nshrivas
ff3d8b1178 Release 5.2.0.121S
Release 5.2.0.121S

Change-Id: I36574e9abe5981c5093717b044b000c403bce366
CRs-Fixed: 774533
2019-02-24 18:36:09 -08:00
Jeff Johnson
941b0647c4 qcacld-3.0: Remove transactionId from disassoc_rsp
The transactionId in struct disassoc_rsp is unused, so remove it.

Change-Id: If39a946ad61ec7ac5f469a731c91dc9aa7550123
CRs-Fixed: 2403167
2019-02-24 18:36:08 -08:00
nshrivas
9d8cb6da9f Release 5.2.0.121R
Release 5.2.0.121R

Change-Id: I7ab9eee161ac7663e292bc0625ccbe2e427b4a26
CRs-Fixed: 774533
2019-02-24 16:40:56 -08:00
Jeff Johnson
93cf08a710 qcacld-3.0: Converge on struct tdls_send_mgmt_request
During TDLS componentization the legacy typedef tSirTdlsSendMgmtReq
was replicated, creating struct tdls_send_mgmt_request. 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: I7d304d3d211101c7227ea621f307f91ff68a5753
CRs-Fixed: 2400767
2019-02-24 16:40:55 -08:00
nshrivas
43a0654452 Release 5.2.0.121Q
Release 5.2.0.121Q

Change-Id: I651ce2dfb91626b0012dfc0b15690658975a821a
CRs-Fixed: 774533
2019-02-24 14:59:22 -08:00
Jeff Johnson
301e5c996e qcacld-3.0: Refine hdd_send_peer_status_ind_to_oem_app()
Refine hdd_send_peer_status_ind_to_oem_app() as follows:
- Replace legacy sessionId with converged vdev_id
- Replace mixed-case names
- Zero the entire struct instead of per-field

Change-Id: I543fccbd628c653bf2dca1fa422688592d43e4a9
CRs-Fixed: 2404168
2019-02-24 14:59:22 -08:00
nshrivas
dbb72058e2 Release 5.2.0.121P
Release 5.2.0.121P

Change-Id: Ic7e3822ba4a6ff912ab05216870a051be1bbfe2e
CRs-Fixed: 774533
2019-02-24 06:31:43 -08:00