Commit Graph

25472 Commitit

Tekijä SHA1 Viesti Päivämäärä
Bing Sun
ff3734010c qcacld-3.0: Add cfg to configure mlo single link connection for sta
Add API to get mlo single link connection configuration for sta.

Change-Id: Ie3b6c270c5c7358321a176c744083175a81d0180
CRs-Fixed: 3171955
2022-04-15 12:56:54 -07:00
Madan Koyyalamudi
1cebf7f4ac Release 5.2.1.17R
Release 5.2.1.17R

Change-Id: I9b2708c416d3c06c9e1511a434746b6a2b86c214
CRs-Fixed: 774533
2022-04-15 06:36:48 -07:00
Lin Bai
179eaa34b4 qcacld-3.0: Return VDEV_ID_MAX if any exception
It is improper to return false in
policy_mgr_get_roam_enabled_sta_session_id,
which return value recognized as vdev id.
Use WLAN_UMAC_VDEV_ID_MAX instead.

Change-Id: If99f903c9344a99832d8d010deb5b2c35f2622f1
CRs-Fixed: 3172279
2022-04-15 06:36:47 -07:00
Madan Koyyalamudi
0bd6bbc328 Release 5.2.1.17Q
Release 5.2.1.17Q

Change-Id: I8df0aa73c70411fc8fe5c528cfbf04d34350f12b
CRs-Fixed: 774533
2022-04-15 05:11:35 -07:00
Divyajyothi Goparaju
bce9e688e7 qcacld-3.0: Add firmware_default mode support for elna_bypass
Previously elna_bypass is of type bool, which check for
elna_bypass enabled or disabled with en_dis

Change en_dis to elna_mode of enum extlna_mode
to support extra mode of firmware_default

Change-Id: I12dfe3a07e04b102562b11c8235d56bd3e2a7059
CRs-Fixed: 3169266
2022-04-15 05:11:35 -07:00
Madan Koyyalamudi
d29a789ae5 Release 5.2.1.17P
Release 5.2.1.17P

Change-Id: I39090d85fb89c38b303da83b78a420f0295d6e5e
CRs-Fixed: 774533
2022-04-14 14:55:03 -07:00
Utkarsh Bhatnagar
8af8418afd qcacld-3.0: Correct the condition to reject TDLS
Reject any incoming get_all_peers TDLS command if there
are any currently in progress.
The later commands will only be processed once the earlier
commands finish, since they are processed sequentially.
However, once a command finishes, the memory allocated for
it from userspace is freed up. Each command is passed the
same address so the later commands will end up writing to
a freed address. To avoid this, reject incoming requests
if there are any still in progress.
For this, the condition should be corrected.
We shouldn't use completion_done here for checking for
completion as this will always return false, as
tdls_user_cmd_comp.done will remain in init state always.
So, the very first command will also not work.
In general completion_done is used to check if there are
multiple threads waiting on the complete event that's
why it will return true only when tdls_user_cmd_comp.done
is set with complete().
Also, if the state is in wait_for_completion, this function
will return true after the wait timer is over or condition
is met as wait_for_completion will hold out the hold lock
and will will prevent completion_done from returning.
Better to use a flag to determine command condition.

Change-Id: I1b6b270dbb9b0b103f10e7ae22a60030ea2fbb98
CRs-Fixed: 3162184
2022-04-14 14:55:03 -07:00
Madan Koyyalamudi
1edb8b62bc Release 5.2.1.17O
Release 5.2.1.17O

Change-Id: I35c8dc8895814426ec49d3ddee2a09685f66c60b
CRs-Fixed: 774533
2022-04-14 13:22:51 -07:00
Jianmin Zhu
e7e286d346 qcacld-3.0: Enable LL STATS support for SAP mode
Extend support for LL STATS in SAP mode.
Need get tx/rx rate/mpdu/radio stats for SAP mode too.

Change-Id: Ib304e69b2779c90ac3087bf0cde1b200d1edc00b
CRs-Fixed: 3173865
2022-04-14 13:22:51 -07:00
Madan Koyyalamudi
a4948e1bc6 Release 5.2.1.17N
Release 5.2.1.17N

Change-Id: I75c979f7789fdf097e35f5d8f220ad3f2479de22
CRs-Fixed: 774533
2022-04-14 03:54:42 -07:00
Dundi Raviteja
990e73237e qcacld-3.0: Featurize pre cac code
Featurize pre cac code under PRE_CAC_SUPPORT macro.

Change-Id: I4379e667d4e0ddd3c4d91b5d624fc2325f87022e
CRs-Fixed: 3172393
2022-04-14 03:54:42 -07:00
Madan Koyyalamudi
a9611c584b Release 5.2.1.17M
Release 5.2.1.17M

Change-Id: I069fe89823703d92aff8dd496ebd49fc2bf670da
CRs-Fixed: 774533
2022-04-14 02:34:28 -07:00
chunquan
7e7f7f24f5 qcacld-3.0: Replace slave for target
Replace slave for target, and replace
master for initiator which pair of slave.

Change-Id: I4f758a2149f9314d92cc775d2d665ada0d8c8a43
CRs-Fixed: 3169100
2022-04-14 02:34:27 -07:00
Bing Sun
361ceba4e4 qcacld-3.0: Allow MLO sta connetion with single link
It is MLO single link connection if MLO sta does not include
partner link information in mlo IE in MLO assoc request.
Make MLO single link connection work.

Change-Id: Ib0de4a79be794c53327241fe7be5af88f9a055e6
CRs-Fixed: 3168615
2022-04-14 02:34:22 -07:00
Madan Koyyalamudi
b6b80f5652 Release 5.2.1.17L
Release 5.2.1.17L

Change-Id: I78a6c6097b8d1f7aa00eefb65b3c2b6a415e1bce
CRs-Fixed: 774533
2022-04-13 17:35:18 -07:00
Ashish
ea83b43dc4 qcacld-3.0: Update lost link rssi for sta big data stats
Currently for big data stats, driver gives rssi from get
station command. As get station command comes every 3 seconds
from user space, this rssi can be 3 seconds old rssi value.
When station gets lost link info as part of bmiss indication
or as part of disconnect from AP,it receives rssi info as well.
Since this is the latest rssi info before disconnection, driver
needs to give this latest rssi instead of the rssi from get
station command.

To address above issue, update rssi in big data stats cache
information from lost link information.

Change-Id: Ifc81541c3ef67bbeb86b4775bbc8f295971777c8
CRs-Fixed: 3166948
2022-04-13 17:35:18 -07:00
Madan Koyyalamudi
8dac5d68db Release 5.2.1.17K
Release 5.2.1.17K

Change-Id: I9106b55af8af3b026275160a12c9cf54c9746e49
CRs-Fixed: 774533
2022-04-13 07:12:53 -07:00
Abhishek Singh
1ae6c6e85b qcacld-3.0: Add 3 home channel check for 4th active vdev
Add 3 home channel check for 4th active vdev. Do not allow
if in DBS and SBS modes 4th freq can lead to 3 home channel.

And optimize 3rd active vdev APIs.

Change-Id: I2d1ef437fc5c69b1255863c85a2b9f4efa24fa58
CRs-Fixed: 3172212
2022-04-13 07:12:53 -07:00
Madan Koyyalamudi
8a7ddd5f40 Release 5.2.1.17J
Release 5.2.1.17J

Change-Id: Id4d23e5a24034c6a7e6e4dd0797c50474a682c85
CRs-Fixed: 774533
2022-04-13 05:17:58 -07:00
Vinod Kumar Myadam
dc16afb95c qcacld-3.0: Added netdev print to debug
Currently driver does not have the interface info
in the stop ap and restart ap

Add netdev interface and event flag info
in __wlan_hdd_cfg80211_stop_ap and hdd_ssr_restart_sap

Change-Id: Ibb915f597923f864fbbda1bc92255df968bee815
CRs-Fixed: 3154052
2022-04-13 05:17:57 -07:00
Madan Koyyalamudi
feaf4b77fa Release 5.2.1.17I
Release 5.2.1.17I

Change-Id: I8c86b68d4206740395beeacf591f20879c5857ec
CRs-Fixed: 774533
2022-04-12 21:19:35 -07:00
Yu Tian
6243b01b13 qcacld-3.0: Use skb_orphan instead of skb_unshare in TX
To use skb_orphan instead of skb_unshare, this is
aimed to prevent addition skb_alloc possible failures
in TX path, then avoid of unnecessary packet drop when
memory runs low.

Change-Id: Ic8dfdb09c73a1071678612430fff2f23180ad336
CRs-Fixed: 3162137
2022-04-12 21:19:35 -07:00
Madan Koyyalamudi
f7ce668a27 Release 5.2.1.17H
Release 5.2.1.17H

Change-Id: Idaae3763e2ead4029c9f3d65e5ab3df46c01348c
CRs-Fixed: 774533
2022-04-12 17:49:23 -07:00
Aravind Kishore Sukla
f082da249c qcacld-3.0: Replace QDF_TRACE with sme APIs
Replace QDF_TRACE with respective sme APIs

Change-Id: Ibc7349dc5c5a8c1511ab578c2177cc0e32bc64cd
CRs-Fixed: 3170203
2022-04-12 17:49:23 -07:00
Madan Koyyalamudi
a1e47c5738 Release 5.2.1.17G
Release 5.2.1.17G

Change-Id: I1d07ffd040611c1bc84a66f0baafcc707f6feb49
CRs-Fixed: 774533
2022-04-12 11:24:18 -07:00
Jianmin Zhu
1231d49b76 qcacld-3.0: Fix wlan0 sta PCL not updated after wlan1 disconnect
During sta+sta dbs concurrency,  if vdev1 sta disconnect, vdev0 sta pcl
isn't updated to firmware to include all band.

Change-Id: I986b85644cf17ad917136adc1ea274ae2d8ed795
CRs-Fixed: 3171216
2022-04-12 11:24:18 -07:00
Madan Koyyalamudi
bc8119b845 Release 5.2.1.17F
Release 5.2.1.17F

Change-Id: Ie28ff928a7e7a175ae39af7bf125ca95a93a0597
CRs-Fixed: 774533
2022-04-12 06:31:13 -07:00
Ananya Gupta
4231010286 qcacld-3.0: Clear g_ipa_pld_enable if IPA disabled from pld
Enable IPA only if it is enabled in both platform driver
and ini file.
Clear g_ipa_pld_enable if disabled from pld.

Change-Id: I1bd4e03eadf420f736bb91478b0f2e04bcd60ebd
CRs-Fixed: 3148820
2022-04-12 06:31:13 -07:00
Bing Sun
6df47a0d95 qcacld-3.0: Add API to get max mcs index
Add a new field max_mcs_index in mlme_legacy_priv to save max mcs
index of current vdev.
Add a new field max_real_mcs_idx in hdd_station_info to save max
mcs index of the connected station.

Change-Id: I28908515cbe5c18c79f14f8645defd5c82e3a6f0
CRs-Fixed: 3065838
2022-04-12 06:31:07 -07:00
Madan Koyyalamudi
b5ba99c5aa Release 5.2.1.17E
Release 5.2.1.17E

Change-Id: I88db9410b41636733e656e8742940a8ab807f47d
CRs-Fixed: 774533
2022-04-12 02:59:04 -07:00
Jinwei Chen
075572020c qcacld-3.0: Optimize TX path in function __hdd_hard_start_xmit()
Currently hdd_cm_is_vdev_associated() and cdp_peer_state_get() per
packet check consumed much CPU on TX path, they will hold spin
lock which will introduce contention between different TX streams.

solution:
(1) check is_authenticated in sta_ctx->conn_info, if true,
then connection has been established already.
(2) clear is_authenticated flag if disconnection happened for
STA and P2P client.

Change-Id: I208608eba7bab69c8795e25495424327b7f2331f
CRs-Fixed: 3165165
2022-04-12 02:59:03 -07:00
Madan Koyyalamudi
89ced0e2bb Release 5.2.1.17D
Release 5.2.1.17D

Change-Id: I0e172aa5333619159109df362893700603856875
CRs-Fixed: 774533
2022-04-11 21:07:54 -07:00
Zhaoyang Liu
46d2c60297 qcacld-3.0: free allocated memory for failure case
When obtaining twt session traffic statistics,
some allocated memory not freed for failure case.
Fix it to avoid memory leak.

Change-Id: I18ce45467c3600c3f62b23ab50582ecb40ced88d
CRs-Fixed: 3169747
2022-04-11 21:07:53 -07:00
Madan Koyyalamudi
8c45c18934 Release 5.2.1.17C
Release 5.2.1.17C

Change-Id: Ibb019109d2761b1455680faa54c313ae70e76622
CRs-Fixed: 774533
2022-04-11 19:47:10 -07:00
Ashish
4bc1f3cb67 qcacld-3.0: Update data type of iface name to const for NAN
Currently driver code has data type as char* for NAN related code.
With this change update this data type as const char*.
Also, move NAN related functions under WLAN_FEATURE_NAN feature flag.

Change-ID: I61ad10304be4399a68f32778d01d9a951d7d14bb
CRs-Fixed: 3169168
2022-04-11 19:47:10 -07:00
Ashish
cede71c355 qcacld-3.0: Add/del virtual iface using NL commands for NDP
Currently host driver creates/deletes NDI interfaces using
vendor command. With the kernel 5.12 version onwards,
interface creation/deletion is not allowed using vendor
commands as it leads to deadlock when driver tries to acquire
the RTNL_LOCK at the time of netdev register/unregister.

With this change, add support to Create and delete NDI interface
using NL80211_CMD_NEW_INTERFACE and NL80211_CMD_DEL_INTERFACE
commands respectively if driver advertises
QCA_WLAN_VENDOR_FEATURE_USE_ADD_DEL_VIRTUAL_INTF_FOR_NDI capability.
Since NL80211_CMD_NEW_INTERFACE and NL80211_CMD_DEL_INTERFACE
already comes with the rtnl lock and driver does not need to
take the rtnl lock again which will help to avoid the above issue.

Change-Id: I6d5441a5e883de1222f105f26d73cb0506d16ddf
CRs-Fixed: 3167125
2022-04-11 19:46:27 -07:00
Madan Koyyalamudi
bdf70fa4aa Release 5.2.1.17B
Release 5.2.1.17B

Change-Id: I766addb27b1793272421bb7c03502d742c0f211a
CRs-Fixed: 774533
2022-04-11 15:24:08 -07:00
VIJAY RAJ
867ce29f88 qcacld-3.0: Add support for source mac address in add key
Add support for source mac address in add key

Change-Id: Ia16346aecdc40474c31c2f1b187533b7c651acdd
CRs-Fixed: 3169925
2022-04-11 15:24:07 -07:00
Madan Koyyalamudi
79b5add636 Release 5.2.1.17A
Release 5.2.1.17A

Change-Id: I339e0ab4405c4f3a565638a105d95af16590aa3d
CRs-Fixed: 774533
2022-04-11 04:09:34 -07:00
Sai Pavan Akhil Remella
e8b3b4792b qcacld-3.0: Add min_dwell_time_6g ini support in roam offload scan
Currently min_dwell_time_6g ini support is there only for normal
scan.
Added support to configure min_dwell_time_6g in roam offload scan.

Change-Id: I7da5fff738dbaf2a28a909e58ab6c797724ccfaf
CRs-Fixed: 3156597
2022-04-11 04:09:34 -07:00
Madan Koyyalamudi
780b5d4231 Release 5.2.1.17
Release 5.2.1.17

Change-Id: I5072421f466cd58c3dfa2e1a45abf35f48722396
CRs-Fixed: 774533
2022-04-11 02:44:22 -07:00
Bing Sun
2b7fe880eb qcacld-3.0: Add CONFIG_QCACLD_FEATURE_SON dependency configs
Enable configs which are needed by SON, if SON is enabled.

Change-Id: Ib781804a03472aa8c4ab7cdef0a5a4e6e89dcc7e
CRs-Fixed: 3062225
2022-04-11 02:44:22 -07:00
Madan Koyyalamudi
8b27ce3329 Release 5.2.1.16Z
Release 5.2.1.16Z

Change-Id: I44cfc498b243d7319a07931bc3aa5e71e0bc333f
CRs-Fixed: 774533
2022-04-09 12:52:32 -07:00
Jia Ding
773eec3e96 qcacld-3.0: Properly update EHT caps support for 320MHz
320MHz bandwidth is supported only for single PHY mode. Therefore populate
320MHz support from HW_MODE_SINGLE mac_phy_caps_ext2 entry.

Change-Id: I298b13a82ca0532aa6da76d12edd12a57c74121a
CRs-Fixed: 3165631
2022-04-09 12:52:32 -07:00
Madan Koyyalamudi
b369c994aa Release 5.2.1.16Y
Release 5.2.1.16Y

Change-Id: I8f91b03c0e4ed53171430b84b2fefde7d64cfd17
CRs-Fixed: 774533
2022-04-09 01:22:20 -07:00
Qun Zhang
3f80fae5f0 qcacld-3.0: Refine roam event processing for LFR2/LFR3
Currently wmi_roam_event_id event handler only register under feature
WLAN_FEATURE_ROAM_OFFLOAD, but it's needed for LFR2 roaming too. So
refine roam event processing for LFR2/LFR3.

Change-Id: Ic07fd8a543142fc1e151f484979ab99ff55ce802
CRs-Fixed: 3161973
2022-04-09 01:22:20 -07:00
Madan Koyyalamudi
4dc55d662a Release 5.2.1.16X
Release 5.2.1.16X

Change-Id: I3bbf1483f23b9c0c2528cee965e7ffc9dea8357b
CRs-Fixed: 774533
2022-04-08 10:04:54 -07:00
VIJAY RAJ
2fc8eae7a6 qcacld-3.0: Replace QDF_TRACE with sme api for log optimization
Optimize the log by replacing the QDF_TRACE api with sme api in
csr_api_roam.c

Change-Id: Id2a8b86619fab5c4ee9e69fb59152060654afc02
CRs-Fixed: 3169030
2022-04-08 10:04:53 -07:00
Madan Koyyalamudi
c8b586d6d5 Release 5.2.1.16W
Release 5.2.1.16W

Change-Id: I13867e76c59425354e02a11d7d540fdc89c7ec20
CRs-Fixed: 774533
2022-04-08 04:28:48 -07:00
Liangwei Dong
bd1e740bf9 qcacld-3.0: Update PCL type for STA+SAP+P2P
Update PCL type for STA+SAP+P2P 3vif concurrency using
PM_SBS_CH_24G, PM_SCC_ON_5_5G_SCC_ON_24G.

Change-Id: If82f928134e45486114fd6d4a6222e7127d6b9fd
CRs-Fixed: 3168636
2022-04-08 04:28:48 -07:00