Commit-Graf

28398 Incheckningar

Upphovsman SHA1 Meddelande Datum
Madan Koyyalamudi
857fee2500 Release 5.2.1.59H
Release 5.2.1.59H

Change-Id: I17947fc635c35b40a43dc9369ad21a200f333f4e
CRs-Fixed: 774533
2023-03-15 07:45:30 -07:00
Sheenam Monga
241487b08d qcacld-3.0: Add handling of MCC in 2 port policy dump
Currently if 2 frequencies are in SCC then, SCC is added in
policy manager current concurrency dump but in case frequencies
are MCC then hardware mode is considered instead of MCC.

Fix is to add MCC instead of hw mode if frequencies are on same
Mac but not same.

Change-Id: If0fc20f5ed6efae881fbb96b9d5b42dfd95027a3
CRs-Fixed: 3421278
2023-03-15 07:45:29 -07:00
Madan Koyyalamudi
0a3249c99f Release 5.2.1.59G
Release 5.2.1.59G

Change-Id: I1368ada55c3e1d3133054107b6e50ab507e1b3f0
CRs-Fixed: 774533
2023-03-15 04:33:30 -07:00
Amruta Kulkarni
271f3367e8 qcacld-3.0: Handle supplicant enable rso for mlo connection
In case supplicant enable's roaming before link vdevs are up
drop the request as once all links are up host will enable RSO.

Change-Id: Iba10b6da7c0d24f6e7b1601eefab1dbee0e3af46
CRs-Fixed: 3429178
2023-03-15 04:33:30 -07:00
Madan Koyyalamudi
713bd016e3 Release 5.2.1.59F
Release 5.2.1.59F

Change-Id: I16a88be27da60be7474a7e221a294cda50b4377f
CRs-Fixed: 774533
2023-03-15 02:40:42 -07:00
Vinod Kumar Pirla
6ccfa85732 qcacld-3.0: Cleanup DP intf for link adapter
On mode switch to SAP on primary interface, the
DP interface of associated link adapter is cleaned up.
However due to STA mode check, the DP interface of
unassociated link adapter is not removed from the list.

Instead of STA mode check to cleanup DP interface
in MLO interface unregister, cleanup the link adapter's
DP interface incase of unequal MAC and MLD address.

Change-Id: I0df46822cfa8ab7b9df5c20d1abb703a271a9038
CRs-Fixed: 3430112
2023-03-15 02:40:42 -07:00
Jeff Johnson
e112b7bd36 qcacld-3.0: Clean up struct sSirKeys
Currently struct sSirKeys has at least 3 unused members: keyDirection,
keyRsc, and paeRole. Since they are unused, remove them. Also remove
the tpSirKeys typedef since it is also unused.

Change-Id: Ie237aecb2c8ce3f4675580f718882106828f02fa
CRs-Fixed: 3429912
2023-03-15 02:40:37 -07:00
Jeff Johnson
1986933553 qcacld-3.0: Remove mlme_sap_set_twt_command_in_progress() prototype
The mlme_sap_set_twt_command_in_progress() prototype was added as part
of the following patch:
  qcacld-3.0: Add support for SAP TWT teardown
  Change-Id I108ea425e69e07ee8a3657ca5afcb436420b2626

However, there isn't an actual implementation of this function, so
remove the unused prototype.

Change-Id: If30d4e53b69c7747d60974c06a91795caffd19c0
CRs-Fixed: 3430387
2023-03-15 02:40:32 -07:00
Madan Koyyalamudi
99c484bfa4 Release 5.2.1.59E
Release 5.2.1.59E

Change-Id: Ic542f3d7aa9adbad5dc94bd9fd2dcb770b1c783d
CRs-Fixed: 774533
2023-03-15 01:25:24 -07:00
Chaoli Zhou
2b9308c737 qcacld-3.0: Export CONFIG_ENABLE_VALLOC_REPLACE_MALLOC
Export CONFIG_ENABLE_VALLOC_REPLACE_MALLOC to
make it configurable while need to replace malloc
with valloc for some big size memory request case.

Change-Id: I8d138f3b4565aa2d6d5efde531560dafeb906106
CRs-Fixed: 3429232
2023-03-15 01:25:24 -07:00
Madan Koyyalamudi
55bebc9ee7 Release 5.2.1.59D
Release 5.2.1.59D

Change-Id: I25556a4952bb328a7154478ccfe72aa73e86642a
CRs-Fixed: 774533
2023-03-14 12:18:53 -07:00
Srinivas Dasari
e8a87efa45 qcacld-3.0: Process disconnect even if peer is not present
When DUT roams from one set of links(e.g. 2 GHz + 5 GHz) to
another set of links(e.g. 5 GHz + 6 GHz) in the same AP, there
might be a common link/peer(e.g. 5 GHz link). Current MLO roaming
design doesn't allow the common link peer creation as it's
already present on another link in previous connection.
Added changes to cleanup all peers as part of roam sync
processing on first vdev if it's a self ML roaming.
So, peers get deleted at the beginning itself and if roam sync
fails due to any reason, no new peer gets created.
Next HO_FAIL/disconnection should go through though peer
is not present.
Add changes for the same.

Change-Id: Idcec54c795dd494243c9a8d8152499f2ca1f5ed0
CRs-Fixed: 3426642
2023-03-14 12:18:52 -07:00
Amruta Kulkarni
38f9e35aa3 qcacld-3.0: Add api to find pe session by bssid and vdev id
Adds new api to find pe session by bssid and vdev id. This api
is used to handle mlo self roaming scenario.

Change-Id: I1277cb867ee54ab9c83c566e31e05b93a17be5f2
CRs-Fixed: 3388130
2023-03-14 12:18:47 -07:00
Amruta Kulkarni
91d49f075a qcacld-3.0: Add changes to handle self roaming
For mlo roaming, roam sync will be handled on
link vdev/s first and then assoc link vdev.
In case of mlo self roaming, an issue is observed
during peer creation as one already exists on other link.

To solve this all link peers will be deleted
while handling roam synch on first link.

Change-Id: I4d3ff71dd7c8b54f3f06b0147ce23ac8bfe5f49b
CRs-Fixed: 3421698
2023-03-14 12:18:42 -07:00
Madan Koyyalamudi
dc452f6fbb Release 5.2.1.59C
Release 5.2.1.59C

Change-Id: I38a5f08ebaf27ed8c99441963ae4e6b3ae8d609f
CRs-Fixed: 774533
2023-03-14 10:37:09 -07:00
Sai Pavan Akhil Remella
c7d5fd2c1b qcacld-3.0: Send the trigger reason as part of roam scan stats
Notif_param of Roam event ID carries the trigger reason as part
of roam scan start notif. Currently host doesn't read this param.
This commit reads the trigger reason and sends it to user-space
via vendor attribute whenever the roam event vendor command is
enabled.

Change-Id: If9fdbc31df149f4f1c9ca196ee74e2fcb3709a1c
CRs-Fixed: 3161803
2023-03-14 10:37:09 -07:00
Sai Pavan Akhil Remella
c8a5f9ac8d qcacld-3.0: Send the vendor attributes with Roam stats
As part of commit I6d04f0946e6735613a4cf3d4361bf31052314fa0
a vendor command was added to enable roam stats event.
This change registers callback to send the added vendor
command event to userspace.

Change-Id: I3c504797b1b9619d3e4ecc1c37256dea75127e14
CRs-Fixed: 3403536
2023-03-14 10:37:03 -07:00
Madan Koyyalamudi
d58a55bb86 Release 5.2.1.59B
Release 5.2.1.59B

Change-Id: I11aa866066420347c1166f46457e377abfb820b4
CRs-Fixed: 774533
2023-03-14 03:25:33 -07:00
Bing Sun
46429af3ab qcacld-3.0: Get maximum A-MPDU length exponent extension per band
Maximum A-MPDU length exponent extension is supported by band. It may
be supported only in 5 GHz.

Get maximum A-MPDU length exponent extension based on band.

Change-Id: I08f44f3ada014b7a3058adbfa32dd79a71f4d028
CRs-Fixed: 3413673
2023-03-14 03:25:32 -07:00
Madan Koyyalamudi
476eb15166 Release 5.2.1.59A
Release 5.2.1.59A

Change-Id: Ifc8472d3e43e3a2a8c54ff515e4169baee570d4b
CRs-Fixed: 774533
2023-03-14 01:40:38 -07:00
Asutosh Mohapatra
a7bf5c734c qcacld-3.0: Add support to fill he rate flags info
Currently host sends improper rate flags and nss for 160 MHz he
operation for SAP big data stats as corresponding rate flags
aren't filled in to assoc indication params and don't have
support to fill he operation rate info in station info struct.

To address this issue, fill he rate flags into assoc indication
params and add support to fill he rate flags and nss info into
station info struct.

Change-Id: I653ed43fe95a881857b5ed8d17f7e1f1d0b31b77
CRs-Fixed: 3422220
2023-03-14 01:40:37 -07:00
Madan Koyyalamudi
eceb697bfc Release 5.2.1.59
Release 5.2.1.59

Change-Id: I5da0b3adabb38073f5724299c7f93f9a9f197471
CRs-Fixed: 774533
2023-03-13 12:26:15 -07:00
Jeff Johnson
21953c301b qcacld-3.0: Remove struct sme_session_params
The usage of struct sme_session_params was removed by:
  qcacld-3.0: Send vdev create to fw from object create notification
  Change-Id Ibba02f6b5885d7b3a62529ef51768f520395513e

But the struct itself wasn't removed, so remove it now.

Change-Id: I86b23fe60186fe43b6c07ade034fd98598da3127
CRs-Fixed: 3429715
2023-03-13 12:26:14 -07:00
Jeff Johnson
21f2f45661 qcacld-3.0: Remove struct del_vdev_params::sme_ctx
The last reference to the sme_ctx member of struct del_vdev_params was
removed with the following patch:
    qcacld-3.0: Send vdev delete to firmware on notification
    Change-Id I67bea0d2b2a0d2d9eb4602e5d0b8bbdcafdd4d26

Since it is now obsolete, remove it.

Change-Id: I9f016232d62c469075d4abb8e718d6876179e4bf
CRs-Fixed: 3429768
2023-03-13 12:26:09 -07:00
Jeff Johnson
8242cb38ff qcacld-3.0: Remove typedef csr_session_open_cb
The last use of typedef csr_session_open_cb was removed by:
  qcacld-3.0: Register Open/close session callbacks once
  Change-Id Ia94857ce4cc608be30e9974ddde8a6261d45f6e3

Since this typedef is unused, remove it.

Change-Id: I73d21bd04a3a28130e09a40dc71112d1c8af4d62
CRs-Fixed: 3428822
2023-03-13 12:26:03 -07:00
Madan Koyyalamudi
80b07e0e9c Release 5.2.1.58Z
Release 5.2.1.58Z

Change-Id: Ib49178cc47b16c6d2f57ce9af45ddd3dc34da141
CRs-Fixed: 774533
2023-03-13 11:08:17 -07:00
Jeff Johnson
d3dc58e48b qcacld-3.0: Refine csr_issue_set_context_req_helper()
The function csr_issue_set_context_req_helper() currently takes 9
parameters. However, three of these parameters are unused, so remove
them from the function signature. In addition, rename the session_id
parameter to vdev_id to align with current nomenclature.

Change-Id: I3eec487bb8d29c39d615c54dd8c5f58c26894bc4
CRs-Fixed: 3429882
2023-03-13 11:08:16 -07:00
Madan Koyyalamudi
495019c9ae Release 5.2.1.58Y
Release 5.2.1.58Y

Change-Id: Id4c9c0bc059c3aa74ae6f11d628658240d3d059d
CRs-Fixed: 774533
2023-03-13 09:46:24 -07:00
Jeff Johnson
f092753821 qcacld-3.0: Remove lim_is_sme_set_context_req_valid()
The use of lim_is_sme_set_context_req_valid() was removed with:
  qcacld-3.0: Remove deprecated code in MAC layer
  Change-Id I65bc90b457cdd642d64d6ab0e6829856ee93e472

Since this function is now obsolete, remove it.

Change-Id: Ib60ae088401faa503db7201456c1c0ba1ab4917b
CRs-Fixed: 3429893
2023-03-13 09:46:23 -07:00
Madan Koyyalamudi
fa57a3d437 Release 5.2.1.58X
Release 5.2.1.58X

Change-Id: I7624322cb28143b3d4e848e22b9e06ee403d649e
CRs-Fixed: 774533
2023-03-12 22:36:34 -07:00
Jeff Johnson
d2d67b1054 qcacld-3.0: Remove wlan_dp_psoc_context::rx_skip_qdisc_chk_conc
The following patch removed all usage of the rx_skip_qdisc_chk_conc
member of struct wlan_dp_psoc_context:
  qcacld-3.0: Move TC based dynamic GRO logic to DP component
  Change-Id I3c6658e8f19a71e548c77ff6fd637148925008d7

Since this is obsolete, remove it.

Change-Id: I13fbc9dd60466800070c968ec6d89ffa16734b5f
CRs-Fixed: 3427563
2023-03-12 22:36:34 -07:00
Madan Koyyalamudi
1b86dd2e7a Release 5.2.1.58W
Release 5.2.1.58W

Change-Id: I2b607209a35e2ed303639954b526c9204dccd585
CRs-Fixed: 774533
2023-03-12 12:28:14 -07:00
Jeff Johnson
d2586847a3 qcacld-3.0: Remove struct hdd_context::g_event_flags
The following patch removed the last use of the g_event_flags
member of struct hdd_context:
  qcacld-3.0: Remove the logic to move ACS to pending
  Change-Id I439398b406e9371a8e443f5409bd3f25b3062501

Since g_event_flags is now unused, remove it.

Change-Id: Ib81827dd9bd97950051084208a9d910620b8813d
CRs-Fixed: 3428706
2023-03-12 12:28:14 -07:00
Madan Koyyalamudi
cd87b85e6b Release 5.2.1.58V
Release 5.2.1.58V

Change-Id: I9aa42356e2e85cf0da786b3bf27b5b0490fc8b7d
CRs-Fixed: 774533
2023-03-12 08:46:15 -07:00
Jeff Johnson
76a51f31db qcacld-3.0: Remove struct hdd_config::get_roam_chan_from_fw
The following patch added get_roam_chan_from_fw to struct hdd_config:
  qcacld-3.0: Add support to get roam scan channels from fw
  Change-Id I690aca6c3f1e3aa7ae1fe54aadc839ea19446079

However, that member isn't actually used, so remove it.

Change-Id: Icc490935c82396f5469be14812bb66dbb5299312
CRs-Fixed: 3424940
2023-03-12 08:46:15 -07:00
Madan Koyyalamudi
4f1267db1f Release 5.2.1.58U
Release 5.2.1.58U

Change-Id: I3197e04f1a238873187e29c416900e917ba2fd51
CRs-Fixed: 774533
2023-03-12 07:28:37 -07:00
Jeff Johnson
c4741f08f7 qcacld-3.0: Remove hdd_is_sta_authenticated()
All usage of hdd_is_sta_authenticated() was removed by the patch:
  qcacld-3.0: Code cleanup from HDD module
  Change-Id If5f1cf432b5c02848202debee7de696b2f20be9a

Since hdd_is_sta_authenticated() is unused, remove it.

Change-Id: I777b8bb1ecda596d71744aa62be4b14dba71fe0e
CRs-Fixed: 3428727
2023-03-12 07:28:37 -07:00
Jeff Johnson
6d3b419417 qcacld-3.0: Remove htt_pdev_t::tx_mgmt_desc_ctxt
The tx_mgmt_desc_ctxt member of struct htt_pdev_t has been unused
since the initial snapshot of the driver, so remove it along with the
unused underlying data structures.

Change-Id: Iebd73c0c9eb8f882ec6a0d01ad2979edb701cb80
CRs-Fixed: 3428241
2023-03-12 07:28:31 -07:00
Jeff Johnson
f23b5ba829 qcacld-3.0: Remove macro ol_ctrl_addba_req()
The original snapshot of the driver included the macro
ol_ctrl_addba_req(). However, this macro has never been used and,
since it references an unknown identifier ol_addba_req_reject, it
could never be used, so remove it.

Change-Id: Ib934617376ba241fc7502cfef49bc895e8cc4102
CRs-Fixed: 3428342
2023-03-12 07:28:26 -07:00
Madan Koyyalamudi
eaa55bf78c Release 5.2.1.58T
Release 5.2.1.58T

Change-Id: I00c48a9ebd9f4cf189c2623145f67a22e646f34c
CRs-Fixed: 774533
2023-03-11 17:48:16 -08:00
Jeff Johnson
3fac0e7be8 qcacld-3.0: Remove hdd_update_eht_cap_in_cfg() prototype
A prototype for hdd_update_eht_cap_in_cfg() was added as part of:
  qcacld-3.0: Add APIs to update 11be target capabilities
  Change-Id Ib3baa41ea3d8ef2ce49b88e4b48d8bc29556cd66

But no actual function was added, so remove the unused prototype.

Change-Id: Ie96c86f9028f39438e6a135c9733465aaf52c12b
CRs-Fixed: 3428468
2023-03-11 17:48:16 -08:00
Madan Koyyalamudi
3bb93073c8 Release 5.2.1.58S
Release 5.2.1.58S

Change-Id: Ib4cc79462dc235b7bbfd3f44fab60df28b56814d
CRs-Fixed: 774533
2023-03-11 00:04:43 -08:00
Jeff Johnson
b731c3a5ed qcacld-3.0: Remove hdd_sme_open_session_callback() prototype
Function hdd_sme_open_session_callback() was removed by:
  qcacld-3.0: Send the vdev create to firmware in the caller thread
  Change-Id Iafb186b13d948e421d152c3142cb8614fdbbffa6

However, the prototype was not removed, so remove it now.

Change-Id: Iffa96f51b2e274ba3540dbeac3011819285f50a0
CRs-Fixed: 3428757
2023-03-11 00:04:43 -08:00
Jeff Johnson
f4c0c27af2 qcacld-3.0: Remove hdd_max_sta_vdev_count_reached() prototype
The function hdd_max_sta_vdev_count_reached() was removed by:
  qcacld-3.0: Check for max allowed STA vdevs in hdd_start_adapter()
  Change-Id I5b2dd09fb58aa3135743a029889e689729bd05a7

However, the prototype was not removed, so remove it now.

Change-Id: I3ca75963bb69f0d2fc5a27687566e70b11f02058
CRs-Fixed: 3428740
2023-03-11 00:04:37 -08:00
Madan Koyyalamudi
6d5a20074b Release 5.2.1.58R
Release 5.2.1.58R

Change-Id: I29ce7dfc289f264393f2fc9b6faef55b964e3f34
CRs-Fixed: 774533
2023-03-10 22:48:30 -08:00
Jeff Johnson
a091adb461 qcacld-3.0: Remove cds_context::dp_mem_pre_alloc_ctx
The dp_mem_pre_alloc_ctx was added to struct cds_context by the
following patch:
  qcacld-3.0: Add support to pre-allocate DP SRNG mem
  Change-Id I1f814f9f18d482eb5f55e0b157606d1792e665f8

However, that patch didn't actually use the member, and it hasn't been
used since, so remove it.

Change-Id: I8799e11cb753432b8433782990be6c259a785271
CRs-Fixed: 3428230
2023-03-10 22:48:30 -08:00
Jeff Johnson
6d3daec8a0 qcacld-3.0: Cleanup core/dp/txrx/ol_rx_fwd.h
Prototypes ol_rx_fwd_mcast_check_ap() and ol_rx_fwd_mcast_check_sta()
were part of the initial driver snapshot, but there was never an
actual implementation of these functions, so remove the prototypes.

The prototype for ol_rx_fwd_check() uses a legacy documentation
template, and the prototype for ol_get_intra_bss_fwd_pkts_count() has
no documentation, so make sure both of these have proper kernel-doc
documentation.

Change-Id: I80a9c6f61631dd509b9029312b1e35c235ac2aa9
CRs-Fixed: 3428364
2023-03-10 22:48:25 -08:00
Jeff Johnson
4af8794bc3 qcacld-3.0: Rename enum pmo_wow_action_wakeup_opertion
Rename enum pmo_wow_action_wakeup_opertion to correct the misspelling
of "operation" in the name. Note that no code actually references the
enum by name, so no other code is affected by this change.

Change-Id: I77a113bed3e74b151945ad228471e1a5d09b9d76
CRs-Fixed: 3427584
2023-03-10 22:48:20 -08:00
Jeff Johnson
21b4a881d4 qcacld-3.0: Remove TDLS_MAX_NO_OF_2_4_CHANNELS
Use of the macro TDLS_MAX_NO_OF_2_4_CHANNELS was removed by the
following patch:
  qcacld-3.0: Process rx_mgmt_pkt based on frequency
  Change-Id Ib063070738ecdb4f83379eafe50629778a490aae

But the macro itself was not removed, so remove it now.

Change-Id: Iae040652e46795add803056bfe63c18de4dfeaf1
CRs-Fixed: 3426257
2023-03-10 22:48:15 -08:00
Madan Koyyalamudi
9b7e24cfd2 Release 5.2.1.58Q
Release 5.2.1.58Q

Change-Id: I62b8d1fb031ae2b1682b0f42d0046c0bb11526f2
CRs-Fixed: 774533
2023-03-10 16:11:14 -08:00