Commit graph

25493 Commits

Autor SHA1 Nachricht Datum
Sheenam Monga
90c75a1aef qcacld-3.0: Add PM_SCC_ON_5_CH_5G pcl type support
Add PM_SCC_ON_5_CH_5G pcl type to give priority
to SCC 5G followed by rest 5G channels for next
connection.

Change-Id: Ibff48dcd145368d967fb9f39c0118f94897a72a4
CRs-Fixed: 3170031
2022-04-19 10:45:36 -07:00
Madan Koyyalamudi
3df0d77782 Release 5.2.1.18A
Release 5.2.1.18A

Change-Id: Iddfc87c10cdd1b4b6f4087f1663a4f972b1ed342
CRs-Fixed: 774533
2022-04-19 08:38:18 -07:00
Mohammed Siddiq
ddf3264b03 qcacld-3.0: Enable CONFIG_CNSS_QCA6490 in qca6490 config file
Enable CONFIG_CNSS_QCA6490 in qca6490 config file.

Change-Id: I6759edb5404a913973fdf3d528872a816a75f347
CRs-Fixed: 3174532
2022-04-19 08:38:17 -07:00
Madan Koyyalamudi
a5538aec1e Release 5.2.1.18
Release 5.2.1.18

Change-Id: Ibfcfdd75a8dcde56d16d5e919bdd49632e3bbf07
CRs-Fixed: 774533
2022-04-19 05:17:02 -07:00
Abhishek Singh
bef5eed6f0 qcacld-3.0: Optimize the 3 home freq logic in policy manager
Optimize the 3 home freq logic in policy manager and rename few
APIs indicating the action they are performing.

Change-Id: Ice92917573537d0717144690a84ea46602984ef2
CRs-Fixed: 3174550
2022-04-19 05:17:02 -07:00
Madan Koyyalamudi
72b9d28d03 Release 5.2.1.17Z
Release 5.2.1.17Z

Change-Id: I363037d74a49d9a9d95f487c9a8b23431c00123d
CRs-Fixed: 774533
2022-04-19 02:46:19 -07:00
Rajeev Kumar
125a55e833 qcacld-3.0: Remove dev enter log from get stats
Get stats NDO can be called from user space or CLI in a loop
and this can over flow useful driver log buffer and hence remove
dev enter log from get stats ndo callback.

Change-Id: I99a4431f810dbb738ba94b31df488a9c5b24da86
CRs-Fixed: 3176830
2022-04-19 02:46:19 -07:00
Ashish
2c4b0aca58 qcacld-3.0: Init start completion in fw down instead of reovery shutdown
Currently driver initializes start completion on recovery shutdown
which leads to an issue where userspace thread does not wait when
it writes state ctrl params with below event sequence because of
which wifi on fails.
On fw down driver sets recovery in progress, on shutdown it resets
wlan_start_complete and on reinit, it sets wlan_start_complete.
Now if driver again receives fw down it sets recovery in progress and
when userspace tries to write state ctrl param this thread does not
wait here as wlan_start_comp was set in previous SSR sequence.
If driver does not block this thread, userspace tries to iface up
which fails because SSR is still in progress.

To address above issue, init start completion in fw down instead of
recovery shutdown so that driver can block the state ctrl param thread
until SSR completes, when it tries to set the params.

Change-Id: I3fe3768b1ec431620b37055d783de0201371e774
CRs-Fixed: 3176181
2022-04-19 02:46:12 -07:00
Madan Koyyalamudi
46156ecb48 Release 5.2.1.17Y
Release 5.2.1.17Y

Change-Id: I18ab2a04c70044ef8380e1098a0b256d0defad08
CRs-Fixed: 774533
2022-04-19 01:12:28 -07:00
VIJAY RAJ
e6a153e819 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_scan.c

Change-Id: I8fdf9e0689c916c07424992c81d72249b508d3c9
CRs-Fixed: 3174442
2022-04-19 01:12:28 -07:00
Madan Koyyalamudi
5fd68227cf Release 5.2.1.17X
Release 5.2.1.17X

Change-Id: Iab03ed6154166a3661f854537c47a39dbef3706d
CRs-Fixed: 774533
2022-04-18 22:39:31 -07:00
Liangwei Dong
bd316f507b qcacld-3.0: Fix no_of_active_sessions validation failure
Acquire the policy mgr connection entry lock before
update no_of_active_sessions and call policy_mgr_decr_connection_count
API. Other thread may validate the no_of_active_sessions and
the connection list, so the two operations have to be done
in lock acquired.

Change-Id: Ibf06c7afe869ce4d582f54deae3f15dd789bdf1b
CRs-Fixed: 3175837
2022-04-18 22:39:31 -07:00
Madan Koyyalamudi
ef1bfbe2f5 Release 5.2.1.17W
Release 5.2.1.17W

Change-Id: I7e7600569d8035e1bc5285a8b4c9f6c0d85c01f9
CRs-Fixed: 774533
2022-04-18 21:13:20 -07:00
Sachin Ahuja
38ae7f68b9 qcacld-3.0: Change the log level for wake event packet
Currently the dump for the wake event packet is DEBUG level.
Change it to INFO level to get this info on console.

CRs-Fixed: 3172546
Change-Id: If053a835ffab060d93e908177036c2e74b6d9234
2022-04-18 21:13:19 -07:00
Madan Koyyalamudi
b6a20ec3a0 Release 5.2.1.17V
Release 5.2.1.17V

Change-Id: I98d1540b0bec7678c9cbab8fcb67edc56297e88f
CRs-Fixed: 774533
2022-04-18 17:16:09 -07:00
Amruta Kulkarni
2ee1ad2c09 qcacld-3.0: Add support for ML probe request
Add support to send ML probe request for MLO connection.

Change-Id: If4ec260a416ac47c0a609b154b5573891998fdc5
CRs-Fixed: 3154422
2022-04-18 17:16:08 -07:00
Madan Koyyalamudi
2ea684e827 Release 5.2.1.17U
Release 5.2.1.17U

Change-Id: I3bca2c36b239153deefec28f5b0fe9f753176f9e
CRs-Fixed: 774533
2022-04-18 00:10:33 -07:00
Vinod Kumar Myadam
708acac4e5 qcacld-3.0: Replace QDF_TRACE with SME APIs
Replaced QDF_TRACE with SME APIs debug and err
in sme_qoc.c

Change-Id: I1a72a632de2597a28d04236cf4ef1b26b064510d
CRs-Fixed: 3173313
2022-04-18 00:10:32 -07:00
Madan Koyyalamudi
ae94ac1126 Release 5.2.1.17T
Release 5.2.1.17T

Change-Id: Ib28a6d6e8a7485c6c01613d9469d00e124dc871b
CRs-Fixed: 774533
2022-04-15 21:30:11 -07:00
Rahul Gusain
89a0498939 qcacld-3.0: Enable Multi-Client feature for Thermal throttle service
Currently, for Thermal Throttle service, Multi-Client feature is enabled
for QCA6750 only but now it is enabled for all the targets.

Change-Id: I0afd48c481193d02c473bc7daa2226c9225968ed
CRs-Fixed: 3174679
2022-04-15 21:30:10 -07:00
Madan Koyyalamudi
14fda3cb34 Release 5.2.1.17S
Release 5.2.1.17S

Change-Id: Ic5f88a3537b342e7e4fbf61b1bd2a7551ce1c8b9
CRs-Fixed: 774533
2022-04-15 12:56:54 -07:00
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