提交图

28548 次代码提交

作者 SHA1 备注 提交日期
Madan Koyyalamudi
d84102eee7 Release 5.2.1.59Y
Release 5.2.1.59Y

Change-Id: Iee3c495c1a85e116efcc3decb2c7944070e7f4ba
CRs-Fixed: 774533
2023-03-19 07:55:47 -07:00
Jeff Johnson
2bf0280318 qcacld-3.0: Remove wma_handle_btm_denylist_event() prototype
Previously the function wma_handle_btm_blacklist_event() was removed
by:
  qcacld-3.0: Cleanup ROAM_TARGET_IF_CONVERGENCE usage
  Change-Id I6973d9c366ec6a9c6164dd19f6f4775dd3ebf5f0

However, the prototype was left behind.

This prototype was renamed as part of:
  qcacld-3.0: Replace blacklist/whitelist for denylist/allowlist
  Change-Id I9ba61dde3b3ea008ca3777448d1f8dab83d33ec1

But this is still a prototype without a function, so remove it.

Change-Id: I7b9ad27e7f9fd3195bbae77c07104a0ee4764e0b
CRs-Fixed: 3434500
2023-03-19 07:55:47 -07:00
Jeff Johnson
edd29df19c qcacld-3.0: Remove wma_register_roam_vdev_disc_event_handler()
A prototype for wma_register_roam_vdev_disc_event_handler() was added
by:
  qcacld-3.0: Process Disconnect request from FW
  Change-Id Ic1e83aace48a3e8424f23641b0e77c66f4283587

However, no actual function was added, so remove the prototype.

Change-Id: I4c6f41f93bb80f733031f4a77a94ee0b4cad6f1c
CRs-Fixed: 3434499
2023-03-19 07:55:41 -07:00
Amruta Kulkarni
095e152d33 qcacld-3.0: Handle fast reassoc with mac address set to zero
When fast reassoc command is received with bssid
and channel frequency set to zero, if no candidate
found, STA DUT should disconnect.
Currently STA DUT stays on the same AP.

Fix is to add bssid zero check and disconnect from
current AP.

Change-Id: Id6a26703929f7783e852bb42eebd57f5d5ba8b13
CRs-Fixed: 3433308
2023-03-19 07:55:36 -07:00
Madan Koyyalamudi
2da0f0d370 Release 5.2.1.59X
Release 5.2.1.59X

Change-Id: Ieef9c71edf583bf7e8558185b357be3f181b1f58
CRs-Fixed: 774533
2023-03-17 17:07:12 -07:00
Mohammed Ahmed
5600f0123e qcacld-3.0: add hdd_dump_log_buffer output to sysfs
Current code doesn't allow output of hdd_dump_log_buffer to sysfs.
Fix this by adding sysfs output functionality.

Change-Id: I077c10e379e542ac99d8ebe01d68fe76a7470e39
CRs-Fixed: 3426193
2023-03-17 17:07:12 -07:00
Mohammed Ahmed
61fc438cdc qcacld-3.0: move hdd_dump_log_buffer to wlan_hdd_ioctl.[ch]
Current code has hdd_dump_log_buffer and hdd_ioctl_log_buffer in
wlan_hdd_wext.c. This will not be included in build if wext is not
enabled. Fix this by moving the functions to wlan_hdd_ioctl.[ch].

Change-Id: Idb4824815890c605961e802e0d5a43ca2181a13d
CRs-Fixed: 3436349
2023-03-17 17:07:06 -07:00
Madan Koyyalamudi
5abbab0e8b Release 5.2.1.59W
Release 5.2.1.59W

Change-Id: I56a971b658273584f70ad7e5dac3b000549961bc
CRs-Fixed: 774533
2023-03-17 12:42:01 -07:00
Sheenam Monga
d05fc12d8b qcacld-3.0: Add support to handle HT LL and LT LL policy separately
Currently, policy_mgr_is_ll_sap_present api is used to check if
ll sap is present or not but different operations may be required
for HT and LT LL AP policy example for LT policy i.e gaming/loss
less audio MCC is acceptable but for HT MCC is strictly prohibited.
So, wrapper functions are added to check HT, LT and any AP policy.

Change-Id: I93dbcd65b1a102d0f879366db26f3d2cf01e030e
CRs-Fixed: 3435203
2023-03-17 12:42:01 -07:00
Madan Koyyalamudi
c9471c3707 Release 5.2.1.59V
Release 5.2.1.59V

Change-Id: I360afd45a703d14e5a486a0d3905d9548fa9f3ca
CRs-Fixed: 774533
2023-03-17 09:12:50 -07:00
Aditya Kodukula
b150d1328c qcacld-3.0: Add support for gStaKeepAliveMethod ini
Currently the ini gStaKeepAliveMethod doesn't support
Unsolicited ARP response packets. So, add it.

Change-Id: I614e87e7f173ea5c25c34eaf56de0805d37b26a4
CRs-Fixed: 3433020
2023-03-17 09:12:49 -07:00
Rachit Kankane
430b5d9224 qcacld-3.0: Add check before SAP / GO Restart
In STA+P2P-GO DFS SCC concurrency when INI
g_move_sap_go_1st_on_dfs_sta_csa is set, the movement of P2P-GO / SAP
is reversed. i.e. upon getting CSA on STA interface, P2P-GO will move
first before STA's movement.

SCC is enforced after STA moves and observes 1st beacon on the new
channel. Add check here to avoid call to legacy flow of restarting
SAP / GO as this has to be triggered only when 1st beacon is observed.

This is applicable only for special case where SAP / GO moves 1st
before STA's movement.

Change-Id: I7e804a0f7e7d4c4739f05f68f471184503ca2930
CRs-Fixed: 3431391
2023-03-17 09:12:44 -07:00
Deeksha Gupta
daf55602d0 qcacld-3.0: Add utils_mlo.h to avoid compilation issue
Currently utils_mlo.h is not present in lim_process_auth_frame.c
which may cause compilation issue because headerfile
is used in some files.

Change-Id: Icfb63c33bcd14c6cfd19828f95d29320ebf13356
CRs-Fixed: 3433968
2023-03-17 09:12:37 -07:00
Mohammed Ahmed
85cc22516f qcacld-3.0: add custom print for hdd_dump_log_buffer
Current code doesn't allow for custom print output for
hdd_dump_log_buffer.
Fix this by adding ability to pass custom print function.

Change-Id: I6a32008d8c18dbe02aada520d0e0bb168949ba80
CRs-Fixed: 3426192
2023-03-17 09:12:31 -07:00
Madan Koyyalamudi
4096b9a3d3 Release 5.2.1.59U
Release 5.2.1.59U

Change-Id: Ie1bdb60319ea2e82fe1e50f26ca07ca91a2e1191
CRs-Fixed: 774533
2023-03-17 07:19:39 -07:00
Mohammed Ahmed
05ddf01c24 qcacld-3.0: Add sysfs print api
Current code does not have a way to abstract printing to sysfs file
resulting in duplicate code when wanting to add sysfs output to
existing functionalities.
Fix this by creating API which allows for easy printing to a sysfs
file and is compatible with qdf_abstract_print.

Change-Id: Ide71dc1e5f869f03ce66500eed50bb55781dc228
CRs-Fixed: 3426189
2023-03-17 07:19:39 -07:00
Madan Koyyalamudi
475329074b Release 5.2.1.59T
Release 5.2.1.59T

Change-Id: Ia993f02ff31a073a777c6b8faa515b75e81e7de9
CRs-Fixed: 774533
2023-03-17 01:40:42 -07:00
Gururaj Pandurangi
def62fa76d qcacld-3.0: Add a missing dot at the end of copyright header
Add a missing dot at the end of the copyright header.

Change-Id: I5d55af6160bb93b309bcb22a767ef45e7496a124
CRs-Fixed: 3432924
2023-03-17 01:40:42 -07:00
Madan Koyyalamudi
7b4085ffb3 Release 5.2.1.59S
Release 5.2.1.59S

Change-Id: I836539a4f1a0d110a0d61ad357d9356e7200983b
CRs-Fixed: 774533
2023-03-16 23:58:54 -07:00
Chaoli Zhou
c96850ac27 qcacld-3.0: Replace kzalloc/kfree with vmalloc/vfree for mac->lim.maxBssId
At continuous physical address limited telematics platform,
in order to avoid occasional memory alloc failure with big
kzalloc size, it's better to use virtual memory allocation
API instead. And below items will be refined to replace
malloc with valloc if CONFIG_ENABLE_VALLOC_REPLACE_MALLOC=y.

1 x 60432 =   60432B @ pe_open:829   mac_open+0xcc/0x160 [qca6698]

Change-Id: I6ffcc83e3f51a89b04661535cf9b8803dd9f0569
CRs-Fixed: 3435173
2023-03-16 23:58:53 -07:00
Aravind Kishore Sukla
98caf8b818 qcacld-3.0: Initialize SAP timer gracefully
Currently hdd_medium_assess_init() and hdd_medium_assess_deinit()
are being invoked from hdd_hostapd_sap_event_cb. Timer counter is
not being incremented properly for multiple SAP concurrencies.
Hence seeing assert during the timer deinit.

To address this issue invoke hdd_medium_assess_init() explicitly
from wlan_hdd_cfg80211_start_bss , wlan_hdd_start_sap and
hdd_restart_sap.

Change-Id: I03b2567fd25119ff82f2c85939c31eb0ccf6cdb7
CRs-Fixed: 3432439
2023-03-16 23:58:48 -07:00
Madan Koyyalamudi
3cff90551e Release 5.2.1.59R
Release 5.2.1.59R

Change-Id: I44a69330924eec083d7638613da0d35c50483f1f
CRs-Fixed: 774533
2023-03-16 20:52:10 -07:00
Jeff Johnson
2abcb4494c qcacld-3.0: Remove wma roam event prototypes
Functions wma_roam_synch_event_handler() and wma_roam_event_callback()
were removed by:
  qcacld-3.0: Cleanup ROAM_TARGET_IF_CONVERGENCE usage
  Change-Id I6973d9c366ec6a9c6164dd19f6f4775dd3ebf5f0

However, the prototypes were left behind, so remove them now.

Change-Id: I53970271698425093abd3d96f8c03b8eef0bbb60
CRs-Fixed: 3434498
2023-03-16 20:52:10 -07:00
Jeff Johnson
90db3714c3 qcacld-3.0: Remove wma_stats_event_handler() prototype
Function wma_stats_event_handler() was removed by:
  qcacld-3.0: Remove legacy implementation of stats event handler
  Change-Id I9a892b5f7486a406654256fc2cc8177f2fafe790

However, the prototype was left behind, so remove it now.

Change-Id: I8eba9a888c9dbb592b802fa3fd2e1fd0a824296d
CRs-Fixed: 3434497
2023-03-16 20:52:04 -07:00
Madan Koyyalamudi
b66e545dfa Release 5.2.1.59Q
Release 5.2.1.59Q

Change-Id: Ie8b0a7e5455e21d58572641fa69a6e16b34fe849
CRs-Fixed: 774533
2023-03-16 19:02:10 -07:00
Jeff Johnson
e81c7e2284 qcacld-3.0: Fix bad numPeers reference
The following patch replaced typedef tSirWifiPeerStat with a new
struct wifi_peer_stat that has member names that following the Linux
coding style:
  qcacld-3.0: Replace typedef tSirWifiPeerStat
  Change-Id I337e2329d544e0b6daf6650f826e736f2492ef30

As part of that change all instances of tSirWifiPeerStat::numPeers
should have been replaced with wifi_peer_stat::num_peers, but one
instance was overlooked in wma_peer_ps_evt_handler(), so fix it now.

Note that ideally the compiler should have caught this, but
wma_peer_ps_evt_handler() is conditionally compiled, and apparently
the WLAN_PEER_PS_NOTIFICATION feature is not enabled on any current
targets.

Change-Id: If7fc2d38886119f2e21413213ad386d2ad19e4f3
CRs-Fixed: 3431813
2023-03-16 19:02:10 -07:00
Jeff Johnson
623b296208 qcacld-3.0: Remove wma_wni_cfg_dnld() prototype
Function wma_wni_cfg_dnld() was removed by:
  qcacld-3.0: Cleanup legacy cfg related files
  Change-Id If46ae4c59f1010a655aa65e3502fc0c660e33cdc

However the prototype was left, so remove it now.

Change-Id: I35d5c578407492e213d9183275c68c8e011f5abe
CRs-Fixed: 3434496
2023-03-16 19:02:05 -07:00
Jeff Johnson
40cfbf36f5 qcacld-3.0: Refine wma_ds_peek_rx_packet_info()
There are several issues with wma_ds_peek_rx_packet_info():
1) The bSwap parameter is unused.
2) The other parameter identifiers used in the prototype do not match
   the ones in the implementation.
3) The implementation is documented instead of the interface.

Fix these issues by removing the unused parameter, making sure the
other parameters match between the prototype and implementation, and
documenting the interface.

Change-Id: Ia9d68dbcc7093f14aec6519303c4318e950c4d2d
CRs-Fixed: 3433198
2023-03-16 19:01:59 -07:00
Madan Koyyalamudi
633927a8b1 Release 5.2.1.59P
Release 5.2.1.59P

Change-Id: Iaf72fa5de0b4788ff172ec109aa81ccceb277f3b
CRs-Fixed: 774533
2023-03-16 15:34:45 -07:00
Jeff Johnson
1b11b38dbd qcacld-3.0: Fix incorrect wma_er() function call
A typo was introduced by the following patch:
  qcacld-3.0: Replace WMA_LOGE() with wma_err() in wma_main.c
  Change-Id If55d52640dbe921377f1ceffed609e096f449563

One instance of WMA_LOGE(), in wma_motion_det_host_event_handler(),
was changed to wma_er() instead of wma_err(). This has gone undetected
since it is feature-specific code that is not enabled, and hence has
not resulted in a compilation failure. But this was detected manually
during dead code removal, so fix the typo.

Change-Id: I07b6b5792c1419a83ee1a735943b8375d22e71d8
CRs-Fixed: 3432958
2023-03-16 15:34:45 -07:00
Madan Koyyalamudi
9af8c5de8f Release 5.2.1.59O
Release 5.2.1.59O

Change-Id: I91620db2d00061a10955f6b169336e06107cb48e
CRs-Fixed: 774533
2023-03-16 11:19:03 -07:00
Jeff Johnson
b7d54a9d11 qcacld-3.0: Fix misspelling "sceurity"
Fix misspelling: "sceurity" => "security".

Change-Id: Idaf2f1a19b5376ec0cb44cb2c995c56f689e4a4d
CRs-Fixed: 3429926
2023-03-16 11:19:02 -07:00
Jeff Johnson
c031a55590 qcacld-3.0: Remove wlan_cm_is_sta_connected() prototype
Function wlan_cm_is_sta_connected() was removed by the following patch:
  qcacld-3.0: Code cleanup for connection manager CSR
  Change-Id I156b7ee286f666ee5d660312bf5ba2fe364165c4

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

Change-Id: Id23f14f1390c72e5f39cef3fbab2eacd6752dc1d
CRs-Fixed: 3430410
2023-03-16 11:18:57 -07:00
Madan Koyyalamudi
e0237ebb0c Release 5.2.1.59N
Release 5.2.1.59N

Change-Id: I13f090ade95f7bebefdcdd37ae00165a0c884f3e
CRs-Fixed: 774533
2023-03-16 09:29:50 -07:00
Asutosh Mohapatra
406999bf6d qcacld-3.0: Disable sta_sap_scc_on_indoor_chan ini
Disable sta_sap_scc_on_indoor_chan ini.

Change-Id: I6d9e91c27ce62c3cefc09739cb3e05e7b034b958
CRs-Fixed: 3432677
2023-03-16 09:29:50 -07:00
Surya Prakash Sivaraj
d70d29eb5f qcacld-3.0: Fix race condition in adapter iterator
In some race-condition, the adapter entry in the
adapter list gets deleted midway between an iteration
over the same list via another thread. Accessing this
stale entry leads to watchdog timeout due to infinite
loop.

Fix this by breaking out the iterator if the next iterator
entry is same as the current adapter entry being held.

Change-Id: Id91cbc43474927faec72a9e0dcaa56e935ccf63d
CRs-Fixed: 3390966
2023-03-16 09:29:45 -07:00
Madan Koyyalamudi
084d4d76cb Release 5.2.1.59M
Release 5.2.1.59M

Change-Id: I4412e359643e4a7d1c74e5d88fd35472d004b317
CRs-Fixed: 774533
2023-03-16 03:10:52 -07:00
Jeff Johnson
38e0ca8278 qcacld-3.0: Remove tgt_send_cp_big_data_stats_req() prototype
The tgt_send_cp_big_data_stats_req() prototype was added by:
  qcacld-3.0: Add support for big data stats
  Change-Id I3642035d9f25237c80b529da78c51bb1ccf0035a

However a function with that name is not actually present. Instead,
the struct wlan_lmac_if_cp_stats_tx_ops::send_req_big_data_stats()
function pointer is used to send the request.

Since the prototype is unused, remove it.

Change-Id: I1a05c40d2ae639e4b6333362661e9012786a467c
CRs-Fixed: 3430267
2023-03-16 03:10:51 -07:00
Madan Koyyalamudi
5879745a9c Release 5.2.1.59L
Release 5.2.1.59L

Change-Id: I2db480969695706a57c183cedd2e4ddf654572bf
CRs-Fixed: 774533
2023-03-15 20:59:04 -07:00
Jeff Johnson
f7d4a2fd9a qcacld-3.0: Remove mlme_vdev_create_send() prototype
Function mlme_vdev_create_send() was removed by the following patch:
  qcacld-3.0: Send vdev create to fw from object create notification
  Change-Id Ibba02f6b5885d7b3a62529ef51768f520395513e

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

Change-Id: I45e20bc4cb8fb00486208711765625792312ce8b
CRs-Fixed: 3430397
2023-03-15 20:59:03 -07:00
Madan Koyyalamudi
fa09712b02 Release 5.2.1.59K
Release 5.2.1.59K

Change-Id: I28a13a7c1657b3b96676c2ec3fca0c7e48dc01b2
CRs-Fixed: 774533
2023-03-15 17:40:58 -07:00
Surabhi Vishnoi
19348c7d14 qcacld-3.0: Do input validation for beacon interval in packet capture mode
Beacon interval set from the vendor command in packet capture mode
should be greater than connected AP's beacon interval otherwise it
nth beacon value will be calculated as 0. So add a condition to
validate the value of user configured beacon interval before sending
it to firmware. Reject the connected beacon interval configuration in
packet capture mode if its value is not 0 and less than AP's beacon
interval.

Change-Id: I4b90ed239d54c5d59142a7a7b70c65b7df80a469
CRs-Fixed: 3423534
2023-03-15 17:40:57 -07:00
Abhishek Singh
f96ac10656 qcacld-3.0: Use Scan entry bss transition instead of csr scan entry
Cleanup to use scan entry bss transition instead of legacy
csr scan entry.

Change-Id: Ib54552698d39ba7286327d2b454c2a02b036cd28
CRs-Fixed: 3430503
2023-03-15 17:40:51 -07:00
Madan Koyyalamudi
c72f559410 Release 5.2.1.59J
Release 5.2.1.59J

Change-Id: I116c968c894c8fd252026aab4881e4c9889f5295
CRs-Fixed: 774533
2023-03-15 11:20:00 -07:00
Jingxiang Ge
055778ff85 qcacld-3.0: Report noise floor value to userspace
Noise floor value is got from fw and report it to
userspace by QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_NF_CAL_VAL.

Change-Id: Ie5aabdd650b2d8b21dbfbe13a9f7da81e8684d13
CRs-Fixed: 3427742
2023-03-15 11:20:00 -07:00
Jeff Johnson
f999fa29be qcacld-3.0: Remove struct sSmeIbssPeerInd
The last use of struct sSmeIbssPeerInd (via typedef tSmeIbssPeerInd)
was removed by:
  qcacld-3.0: Cleanup IBSS code from LIM
  Change-Id Idebb0f55aa27751f1fdd7b4c1fb8124ae29eb382

Since the struct is obsolete, remove it.

Change-Id: I981c7991efb88b34824313f4f2872f91ccfbcbd8
CRs-Fixed: 3431514
2023-03-15 11:19:55 -07:00
Madan Koyyalamudi
f37a7442c6 Release 5.2.1.59I
Release 5.2.1.59I

Change-Id: Idac54ad4a280adac719ff4f8535d906a267abc80
CRs-Fixed: 774533
2023-03-15 09:31:09 -07:00
Jeff Johnson
45f4c19675 qcacld-3.0: Remove struct set_context_req
The last use of struct set_context_req was removed by:
  qcacld-3.0: Remove lim_is_sme_set_context_req_valid()
  Change-Id Ib60ae088401faa503db7201456c1c0ba1ab4917b

Since this struct is now obsolete, remove it.

Change-Id: I377dad835e5d1184f8c89441ccd804122f51ce9d
CRs-Fixed: 3431490
2023-03-15 09:31:09 -07:00
Rachit Kankane
e0b7095e74 qcacld-3.0: Update to change CSA count
Add variables and APIs in SAP and SME to change CSA count
for SAP / GO.
Currently the default CSA count is 10, this API allows
to reduce the CSA count if required as per the requirements

Change-Id: I17c101cd0c809f49d57d2aaf87fc37d90b92ea1f
CRs-Fixed: 3431384
2023-03-15 09:31:04 -07:00
Vinod Kumar Myadam
9d96541447 qcacld-3.0: Fix to non-pre-cac adapter cleanup
If the non-pre-cac adapter stop got trigger first, non-pre-cac adapter will
get close but the pre-cac vdev is not cleaned up.

So, don't need to check for is pre-cac ON for non-pre-cac adapter.

Remove check for is pre-cac ON for non-pre-cac adapter in
hdd_stop_adapter_ext and wait for the pre-cac cleanup to complete first.

Change-Id: I03b46b7db849f45f7625bdd0666f63ba7820e0f1
CRs-Fixed: 3431907
2023-03-15 09:30:59 -07:00