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
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
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
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
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
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
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
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
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
EOK is a legacy definition and frequently misused. Remove references to
it from BMI.
Change-Id: I38455eca00a6c1f3ffe25635019677708e312f92
CRs-Fixed: 2404901
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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