提交图

28310 次代码提交

作者 SHA1 备注 提交日期
Jeff Johnson
1e578993f3 qcacld-3.0: Remove obsolete legacy NAN data structures
NAN componentization removed the usage of most legacy NAN data
structures in sir_api.h, so remove those that are no longer used.

Change-Id: I8389dee19a8a044e8d06ff52207fc11a3bbf97a0
CRs-Fixed: 3424918
2023-03-07 19:46:54 -08:00
Jeff Johnson
5df9dd37ec qcacld-3.0: Remove wlan_hdd_display_txrx_stats() prototype
The function wlan_hdd_display_txrx_stats() was removed as part of
datapath componentization in:
    qcacld-3.0: Code cleanup from HDD module
    Change-Id If5f1cf432b5c02848202debee7de696b2f20be9a

However the prototype was left behind, so remove it as well.

Change-Id: I9b41bceff4a149e3aaf2938713ad0ca4a6735aa6
CRs-Fixed: 3426033
2023-03-07 19:46:49 -08:00
Srinivas Dasari
27ebcc45c2 qcacld-3.0: Don't clear vdev MLO flags upon roam sync abort
Host driver may abort the roam sync due to multiple reason.
The expectation is to revert the state of vdevs/links to original
state i.e. before receiving the roam sync indication.
Currently, there is a cleanup of vdev MLO bitmap assuming that
roam abort should reset whatever is set as part of roam sync
handling. But these flags might get set in previous connection
and are not supposed to reset upon roam sync abort.
Driver does the disconnection as part of HO_FAIL event handling
and corresponding vdev MLO flags gets cleared as part of that.

So, don't cleanup any vdev flags as part of roam sync abort.
Cleanup wlan_connect_req_links which is set only when roam sync
starts.

Change-Id: I5ca0d789a49fcf954dac332f494650866913f94b
CRs-Fixed: 3418430
2023-03-07 19:46:44 -08:00
Aditya Kodukula
37ad7204d2 qcacld-3.0: Update link peer mac address for mlo stats
Currently in the driver as part of ML unified_ll_get_sta stats,
the peer mac address for partner link is not being updated in
the callback function, causing driver to report incorrect
stats to upper layers.

To fix this issue, update peer mac address before invoking
vdev station stats callback function.

Change-Id: I39c460467a3572aad05e4c5fab136a844b753941
CRs-Fixed: 3421153
2023-03-07 19:46:39 -08:00
Madan Koyyalamudi
3f3b154907 Release 5.2.1.58
Release 5.2.1.58

Change-Id: I487062b4e7b4d75d1b005f6266d02e71b05b8527
CRs-Fixed: 774533
2023-03-07 16:39:21 -08:00
Jeff Johnson
29beb1eb3e qcacld-3.0: Remove struct hdd_config::enable_fisa_lru_deletion
The following patch added logic to HDD to read the value of the
CFG_DP_RX_FISA_LRU_DEL_ENABLE configuration item and store it in
struct hdd_config:
  qcacld-3.0: Add ini to enable FISA LRU eviction
  Change-Id I9930ec260bcab5ba8c8f1e594dbfde35965dff2e

However, the datapath maintains this configuration item on its own, and
the copy maintained by HDD is not used, so remove that logic.

Change-Id: I970195cf199c33802db5f84eeea4f622306703cd
CRs-Fixed: 3424797
2023-03-07 16:39:21 -08:00
Aditya Kodukula
fe2f35ad2e qcacld-3.0: Log ini config info to host_driver_log
In the driver, the debugfs replacement command for getConfig
WEXT command logs ini configuration into a separate file only
but doesn't log into the wlan host_driver_logs file.

So, fix this by logging ini configuration to wlan host_driver_logs.

Change-Id: I134847a7b498defbcdd58b575fb775b2d0ef3070
CRs-Fixed: 3424575
2023-03-07 16:39:15 -08:00
Jeff Johnson
f442688267 qcacld-3.0: Remove hdd_txrx_get_tx_ack_count()
The functionality that called hdd_txrx_get_tx_ack_count() was remove by:
  qcacld-3.0: Code cleanup from HDD module
  Change-Id If5f1cf432b5c02848202debee7de696b2f20be9a

Since datapath componentization made hdd_txrx_get_tx_ack_count()
obsolete, remove it.

Change-Id: I86cb82794f6ae324034d8a4fb76ac5084aced3aa
CRs-Fixed: 3424800
2023-03-07 16:39:10 -08:00
Madan Koyyalamudi
57da59abe2 Release 5.2.1.57Z
Release 5.2.1.57Z

Change-Id: Icf6d13ec4053ab1bebc0384988fa61f2b343a00a
CRs-Fixed: 774533
2023-03-07 14:49:18 -08:00
Jeff Johnson
68a43bd7b0 qcacld-3.0: Remove obsolete struct lim_max_tx_pwr_attr
The logic that utilized struct lim_max_tx_pwr_attr was removed with:
    qcacld-3.0: Add TPC calculation logic to obtain max tx power
    Change-Id I80a2454c2ef0dbc3b1d69e8b233b1a56567ec1a1

Since this struct is obsolete, remove it.

Change-Id: I5c885e5b37ee2e451a0c5474c2d6e7540ada93b9
CRs-Fixed: 3423249
2023-03-07 14:49:18 -08:00
Madan Koyyalamudi
13ec839272 Release 5.2.1.57Y
Release 5.2.1.57Y

Change-Id: I8e747588ce0b311b1c984ef736a12922628e1037
CRs-Fixed: 774533
2023-03-07 12:08:59 -08:00
Prasanna JS
016c20c61d qcacld-3.0: Update ratemask command policy to NLA_NESTED
Update wlan_hdd_set_ratemask_param_policy nl policy from
QCA_WLAN_VENDOR_ATTR_RATEMASK_PARAMS_LIST to NLA_NESTED
in order to allow use array indices as nested attribute.

Change-Id: I68abd4c920dba625bea0b37f542ccb748b35db39
CRs-Fixed: 3419294
2023-03-07 12:08:58 -08:00
Jeff Johnson
9f728c40cb qcacld-3.0: Remove struct hdd_context::disconnect_for_sta_mon_conc
The logic that used struct hdd_context::disconnect_for_sta_mon_conc
was removed with:
  qcacld-3.0: Code cleanup for connection manager in HDD
  Change-Id I2934e4a867458561c50170b0e786e63f20f1af4a

This member is now only written and never read, hence it is obsolete,
so remove it.

Change-Id: Iff1b4a1e508bc193c9d40c11f31317f353874b52
CRs-Fixed: 3424792
2023-03-07 12:08:53 -08:00
Madan Koyyalamudi
0180c53486 Release 5.2.1.57X
Release 5.2.1.57X

Change-Id: Iba5a3c1744bea3d8b99a49edb65fe73898e013b0
CRs-Fixed: 774533
2023-03-07 07:51:08 -08:00
Jeff Johnson
020a97dec1 qcacld-3.0: Remove dp_protect_entry_count atomic variable
The following patch removed the use of hdd_wait_for_dp_tx():
    qcacld-3.0: Update HDD to use DP component APIs
    Change-Id I377aecc4343e75dd17d279a2eb84fc49e737e784

Since the function is obsolete, remove it.

Note that this removes the only code that depends upon the
dp_protect_entry_count atomic variable, which means that is also
obsolete, as are the hdd_dp_ssr_protect() and hdd_dp_ssr_unprotect()
functions that increment and decrement it.

Change-Id: I02621dabf2e67a39259c4a51a604312f1927f72d
CRs-Fixed: 3424826
2023-03-07 07:51:07 -08:00
Madan Koyyalamudi
9fb1c05c79 Release 5.2.1.57W
Release 5.2.1.57W

Change-Id: Iee97e5f74fd2048932b471c0583eb13c3c2f8949
CRs-Fixed: 774533
2023-03-07 06:27:50 -08:00
Jeff Johnson
7c73be1d9d qcacld-3.0: Fix ucfg_dp_config_direct_link() stub
One of the parameters to the ucfg_dp_config_direct_link() stub
implementation does not match the associated parameter in the
prototype.  The stub and the prototype should match, so modify the
stub to align with the prototype, which matches the non-stub
implementation.

Change-Id: If9dda7db2bfbbce94c0356a73b33ae7569337955
CRs-Fixed: 3424788
2023-03-07 06:27:50 -08:00
Madan Koyyalamudi
70935c9a88 Release 5.2.1.57V
Release 5.2.1.57V

Change-Id: I7951f91e88353a67a30d5f5440dafa8b63d2bba8
CRs-Fixed: 774533
2023-03-07 05:06:59 -08:00
Jeff Johnson
93614c8de6 qcacld-3.0: Remove WMA_LRO_CONFIG_CMD
The logic that invoked wma_lro_init() was removed by the patch:
  qcacld-3.0: Code cleanup from HDD module
  Change-Id If5f1cf432b5c02848202debee7de696b2f20be9a

Since this function is no longer used, remove it.

That removes the logic which used to send the WMA_LRO_CONFIG_CMD
command.  Since that command is no longer used, also remove the
command handler, wma_lro_config_cmd(), along with the command
definition itself.

Change-Id: I1416d8c635a908d33cc41046ffd0ff63837dae99
CRs-Fixed: 3424790
2023-03-07 05:06:58 -08:00
Madan Koyyalamudi
e096f93ac1 Release 5.2.1.57U
Release 5.2.1.57U

Change-Id: Ie4efeba811f96ed968090849849c75391882b5f7
CRs-Fixed: 774533
2023-03-07 03:19:53 -08:00
Jeff Johnson
79303b171e qcacld-3.0: Fix wma_api.h documentation
The kernel-doc script identified documentation issues in
core/wma/inc/wma_api.h, so fix them.

Change-Id: I723daf02378ea794628adbcc4d14c0e5d031c599
CRs-Fixed: 3424666
2023-03-07 03:19:53 -08:00
Jeff Johnson
7bc0d6b5b5 qcacld-3.0: Remove wma_sta_mlme_vdev_down_send() prototype
The wma_sta_mlme_vdev_down_send() prototype was added by:
  qcacld-3.0: Add VDEV state machine for STA disconnection
  Change-Id Iee7274fbc8ae985d034a29f920faa38aab68ccc7

However, it didn't add a function body, and one hasn't been added
since then, so remove the unused prototype.

Change-Id: I729c758676a2b0c77d44916808c50a9996a6c698
CRs-Fixed: 3424626
2023-03-07 03:19:48 -08:00
Madan Koyyalamudi
1b172b4175 Release 5.2.1.57T
Release 5.2.1.57T

Change-Id: Ie522a7e3eaad026cd958cb6a275797a8c7425839
CRs-Fixed: 774533
2023-03-06 23:32:24 -08:00
Jeff Johnson
b8abd917c5 qcacld-3.0: Remove struct vdev_create_req_param
The following patch removed all usage of struct vdev_create_req_param:
  qcacld-3.0: Send the vdev create to firmware in the caller thread
  Change-Id Iafb186b13d948e421d152c3142cb8614fdbbffa6

However it didn't remove the actual struct, so remove it now.

Change-Id: I20937b00ecdc61f7b349dd287092d5ebd6d7e9c4
CRs-Fixed: 3424785
2023-03-06 23:32:24 -08:00
Madan Koyyalamudi
120f007fc7 Release 5.2.1.57S
Release 5.2.1.57S

Change-Id: Ic78395bd89274648ffdbeb695e7cef03bdcdfbe3
CRs-Fixed: 774533
2023-03-06 18:47:13 -08:00
Jeff Johnson
1a9aefb4b5 qcacld-3.0: Remove sme_send_he_om_ctrl_*_update() prototypes
The functions sme_send_he_om_ctrl_bw_update() and
sme_send_he_om_ctrl_nss_update() were removed by the following patch:

  qcacld-3.0: Add support to configure HE +HTC support and OMI Tx
  Change-Id Ic3ad5952198472ecda79471a37ff527dfdbcdbf0

However the prototypes were not removed, so remove them now.

Change-Id: I8d3bc19b629d22eb06161dff972388d816b652ab
CRs-Fixed: 3424786
2023-03-06 18:47:12 -08:00
Madan Koyyalamudi
5b38f4764e Release 5.2.1.57R
Release 5.2.1.57R

Change-Id: I68b27b79485f55f627ba6cbf9070be7eec2da599
CRs-Fixed: 774533
2023-03-06 17:34:16 -08:00
Jeff Johnson
59a541e018 qcacld-3.0: Fix wlan_mlme_public_struct.h documentation
wlan_mlme_public_struct.h has some documentation that is not being
processed by kernel-doc since it isn't using the kernel-doc comment
indicator "/**". Fix those comments, and also fix the documentation
syntax errors now reported by kernel-doc.

Change-Id: I407b5abefe8313071e5e99d52d69f181880c431d
CRs-Fixed: 3424372
2023-03-06 17:34:16 -08:00
Madan Koyyalamudi
d3848a34ee Release 5.2.1.57Q
Release 5.2.1.57Q

Change-Id: I0aed3931e4052f6544301bfa2bf14e08fc0a29be
CRs-Fixed: 774533
2023-03-06 16:00:12 -08:00
Jeff Johnson
d5b7eb0a5a qcacld-3.0: Remove unused enum pkt_origin
enum pkt_origin is unused, and is poorly defined so it should not be
used in the future, so remove it.

Change-Id: Ia51ffa4518b36ea50f9ed67007978e228b18c7fc
CRs-Fixed: 3424371
2023-03-06 16:00:11 -08:00
Qun Zhang
5268464ab3 qcacld-3.0: Support TX OFF for LL legacy flow control
For QCA_LL_LEGACY_TX_FLOW_CONTROL data flow control,
currently it cannot support TX off for thermal mgmt.
Similar to thermal implementation in FW, refine
ol_tx_set_throttle_phase_time() to support thermal
mitigation TX off processing when INI throttle duty
cycle set to maximum 100.

Change-Id: I208288bda2ad7ca1a14be0b80a0d57361ce0ec8c
CRs-Fixed: 3413545
2023-03-06 16:00:06 -08:00
Jeff Johnson
4ba54fa109 qcacld-3.0: Remove wma_fill_in_wapi_key_params()
The following change removed most of the legacy crypto code following
the transition to the converged crypto component:
    qcacld-3.0: Cleanup CRYPTO_SET_KEY_CONVERGED for WMA layer
    Change-Id If70fc5cb01f2a0123030c92410e126ce8078e1c6

This change removed wma_setup_install_key_cmd(), but left behind the
now unused function wma_fill_in_wapi_key_params() that it used to call
when FEATURE_WLAN_WAPI was enabled.

So remove the unused function, along with struct wma_set_key_params
which is now unused as well.

Change-Id: Ie16d6ce20d8f5f99ef1c625b34bea3685d3d8029
CRs-Fixed: 3424774
2023-03-06 16:00:01 -08:00
Madan Koyyalamudi
be2e2bb604 Release 5.2.1.57P
Release 5.2.1.57P

Change-Id: I7978af1d4e04a59a60d7c2ae17ed344626f36cb8
CRs-Fixed: 774533
2023-03-06 13:27:26 -08:00
Jeff Johnson
2c10062642 qcacld-3.0: Remove lim_process_rx_channel_status_event() prototype
Function lim_process_rx_channel_status_event() was removed by:
  qcacld-3.0: Refactor code to store chan info status in cp_stats
  Change-Id I2e7219c112e96916d3b73f974dd9803b9c2821c3

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

Change-Id: I2c3fa2bd3ae70cb8a16d6dd6a57ec298a6c32423
CRs-Fixed: 3424284
2023-03-06 13:27:26 -08:00
Jeff Johnson
274e7c9ce7 qcacld-3.0: Remove t_wma_handle::ocb_config_req
The follow change removed all usage of the t_wma_handle ocb_config_req
member:
  qcacld-3.0: Clean up OCB legacy code
  Change-Id Ib8a26c9e67e78e53f8b2b4929276060687254ea1

However the member itself was not removed, so remove it now.

Change-Id: Id61a2575b9e7d447bb88133322fae9aa7ef33cb5
CRs-Fixed: 3424783
2023-03-06 13:27:21 -08:00
Madan Koyyalamudi
6d7f771169 Release 5.2.1.57O
Release 5.2.1.57O

Change-Id: I60546c8b1c610cb00ee922c48bf6cc7917d9f8f9
CRs-Fixed: 774533
2023-03-06 11:41:49 -08:00
Divyajyothi Goparaju
d0c814124e qcacld-3.0: Send g_sap_ps_with_twt_enable with set param
As part of new requirement of 'SAP PS with TWT enabled',
send configured ini value 'g_sap_ps_with_twt_enable'
through vdev set param i.e whether power save
enabled or disabled, during vdev_create to the firmware.

Change-Id: I22fa5754229b5efd7fe3f9b97e0e565f31c01949
CRs-Fixed: 3421619
2023-03-06 11:41:49 -08:00
Divyajyothi Goparaju
28632436e5 qcacld-3.0: Add support for g_sap_ps_with_twt_enable ini
As part of new requirement of 'SAP PS with TWT enabled',
add ini 'g_sap_ps_with_twt_enable' support in host
to enabled/disabled SAP power save with TWT enable.

Change-Id: Iea76f9cdef6f0753a6dfcebedc2aeab17d121faf
CRs-Fixed: 3421610
2023-03-06 11:41:43 -08:00
Madan Koyyalamudi
2bdfffdc18 Release 5.2.1.57N
Release 5.2.1.57N

Change-Id: I8cad98e4faae7dc1711e5a9d7b67b1a8f0b12a3b
CRs-Fixed: 774533
2023-03-06 00:19:04 -08:00
Divyajyothi Goparaju
4a59ae263c qcacld-3.0: Modify API wlan_reg_get_usable_channel
As part of modification
of reg_set_channel_params_for_freq API to
reg_set_channel_params_for_pwrmode to make it
compatible with new API need to modify
the wlan_reg_get_usable_channel with extra argument
of REG_CURRENT_PWR_MODE, to invoke
reg_set_channel_params_for_pwrmode which is having
extra parameter of type supported_6g_pwr_types.

Change-Id: I4589bc604ae6bbe25f24c4d0261bcf96347589a8
CRs-Fixed: 3311839
2023-03-06 00:19:04 -08:00
Madan Koyyalamudi
ae17ccf3e9 Release 5.2.1.57M
Release 5.2.1.57M

Change-Id: I7c567067c5d5bf089bd820bbaff07f91f506ca4c
CRs-Fixed: 774533
2023-03-05 11:22:39 -08:00
sandhu
c32269cc16 qcacld-3.0: Add bool flag to mlme_vdev_disconnect_peers legacy callback
Add bool flag to mlme_vdev_disconnect_peers legacy callback.
This flag will be used by WIN. MCC should ignore this flag.

Change-Id: I693d1aeda1109a987311c1b87346960bed52309f
CRs-Fixed: 3403218
2023-03-05 11:22:39 -08:00
Madan Koyyalamudi
19b9b6cb83 Release 5.2.1.57L
Release 5.2.1.57L

Change-Id: I3a9ed1fe341591db66433197edfdc85858d218ab
CRs-Fixed: 774533
2023-03-04 23:26:42 -08:00
Jianmin Zhu
f473d77df9 qcacld-3.0: Fix vdev ref leakage
Vdev ref WLAN_OSIF_STATS_ID leaked in corner case, then vdev was failed to
delete, assert happened.

Change-Id: I20b102804d4c3e89be14d89d261996025750be93
CRs-Fixed: 3423850
2023-03-04 23:26:42 -08:00
Madan Koyyalamudi
9a185e4496 Release 5.2.1.57K
Release 5.2.1.57K

Change-Id: Ie209c7fd504e03d530eca1bd3020ec6e8da57b17
CRs-Fixed: 774533
2023-03-04 03:54:07 -08:00
Jianmin Zhu
4dc1a27cf5 qcacld-3.0: Support mld self roaming with high rssi trigger
Support mld self roam between DBS(2 GHz+5/6 GHz) and HBS(5 GHz+6 GHz).
Change high rssi config.

Change-Id: Icb65f26509848a09fe46bf01154a0f42efa073f2
CRs-Fixed: 3416549
2023-03-04 03:54:07 -08:00
Madan Koyyalamudi
453ab92362 Release 5.2.1.57J
Release 5.2.1.57J

Change-Id: Iab89f0fc4ffc35faa534e144a67d8775ea3de8cc
CRs-Fixed: 774533
2023-03-03 19:53:11 -08:00
David Oladunjoye
3b4cda196e qcacld-3.0: Remove support for ESE in pe_session
ESE Connection param exist in both mlme_cfg and pe_session.
Current params saved in mlme_cfg can be retrieved from psoc directly.
Support in pe_session is no longer needed. Remove params from
pe_session and update functions to get mlme_cfg flag.

Change-Id: I202f6f5b7003eba64d77e5dd70fdf9a03f01183b
CRs-Fixed: 3415748
2023-03-03 19:53:11 -08:00
Madan Koyyalamudi
6759515556 Release 5.2.1.57I
Release 5.2.1.57I

Change-Id: Ibd7c9ddff13bc25399ee96ffe5884383931b17ea
CRs-Fixed: 774533
2023-03-03 11:45:53 -08:00
Qun Zhang
114f58739f qcacld-3.0: Free limAssocResponseData before assigning assoc_rsp
When do continuous reassociation test, It's needed to free
session_entry->limAssocResponseData first before assigning
new assoc_rsp, otherwise all previous allocated assoc_rsp
don't have chances to be freed except the last reassocation,
and memory leak will be detected.

Change-Id: Icf9056369b5f1d390b1393d5942cefe116d03417
CRs-Fixed: 3419762
2023-03-03 11:45:53 -08:00