Commit graph

22,822 commits

Author SHA1 Message Date
Madan Koyyalamudi
eeafb2e01d Release 2.0.8.29A
Release 2.0.8.29A

Change-Id: I3ccb953524bd743e6a9b82f18b2768c364c1fb9b
CRs-Fixed: 774533
2022-04-26 13:05:16 -07:00
Jia Ding
faeabf9b03 qcacld-3.0: Enable uplink delay feature for WCN6750
Enable uplink delay feature for WCN6750 chipset.

Change-Id: Ie37172a0b845529fc4b82c9812a84077d6d4a282
CRs-Fixed: 3180279
2022-04-26 13:05:15 -07:00
Jia Ding
801b2e559c qcacld-3.0: Handle uplink delay TSF commands
Uplink delay TSF commands include TSF auto report enable, disable and
TSF uplink delay get. Auto report enable, disable commands controls
if targets will report clock delta to host. Uplink delay get command
will return the calculated uplink delay value to user space.

Change-Id: Ib01379074ab5565a9480348dc84531024e766b5a
CRs-Fixed: 2958814
2022-04-26 13:05:07 -07:00
Jia Ding
2131be6380 qcacld-3.0: Configure TSF auto report to target
As part of uplink delay report feature, send WMI cmd to
enable and disable target automatically sending TSF report
to HOST on a per vdev basis.

Change-Id: I79ef5bff5b91aca311ef16d7207e9dd2fb7ae0f2
CRs-Fixed: 2991975
2022-04-26 13:05:02 -07:00
Madan Koyyalamudi
f9aa149d1c Release 2.0.8.29
Release 2.0.8.29

Change-Id: I6470e4342f5f5445cf62804d23dab37bf9b2d9b5
CRs-Fixed: 774533
2022-04-26 10:39:56 -07:00
Jia Ding
e3bfec065b qcacld-3.0: Add chload param in LL radio stats event
chload is to indicate channel load condition and it is added
in LL radio stats vendor event.

Change-Id: I9371bf69f69ed62cc9dc97b6b2903e631b748ed4
CRs-Fixed: 2990982
2022-04-26 11:10:53 +08:00
Madan Koyyalamudi
8d7ac7ecf0 Release 2.0.8.28Z
Release 2.0.8.28Z

Change-Id: I06bd282bd74adfd38caffa88ed027ea0a02ce092
CRs-Fixed: 774533
2022-04-25 07:56:26 -07:00
Liangwei Dong
643fed7c0c qcacld-3.0: Init 5G SAP mandatory list with 2G+5G band
When SAP starts on 5G, initialize SAP mandatory list with
2G and 5G mandatory list. And also select same band channel
SCC channel firstly in the intersection of PCL and mandatory
channel list.

Change-Id: Iac86b5caf38bf72f143be81122f8378fc61b29e2
CRs-Fixed: 3039268
2022-04-25 07:56:26 -07:00
Madan Koyyalamudi
a519136e99 Release 2.0.8.28Y
Release 2.0.8.28Y

Change-Id: I61398093fd6ef36bc133693461e62cb16f31bf08
CRs-Fixed: 774533
2022-04-25 04:39:20 -07:00
Liangwei Dong
f5958f401b qcacld-3.0: Fix unnecessary log of sme_roaming_in_progress
During enumeration all adapters, if adapter is not "up",
it is unnecessary to check connecting or not. Otherwise,
the vdev is not created for the adapter and the
sme_roaming_in_progress will output "ROAM: incorrect vdev ID"
error message.

Change-Id: I3df5379a7d0b88c439d49711c36000717c7a433b
CRs-Fixed: 3002674
2022-04-25 04:39:20 -07:00
Madan Koyyalamudi
46688f9276 Release 2.0.8.28X
Release 2.0.8.28X

Change-Id: Ia95eca9e90715724b8feefe08e586983bafca9f5
CRs-Fixed: 774533
2022-04-20 23:05:18 -07:00
Jingxiang Ge
10502c75e2 qcacld-3.0: Change ce desc history from dynamic to static
As dynamic allocation occupy cnss prealloc memory, which may
cause this prealloc pool to be exhausted.

Move dynamic memory to static.

Change-Id: Ib05c044f8c0c805148d832f54c09915ef9b4c98b
CRs-Fixed: 3174282
2022-04-20 17:50:42 -07:00
Madan Koyyalamudi
c366352455 Release 2.0.8.28W
Release 2.0.8.28W

Change-Id: I18772d2fed0cf62bb3eb1da1210fa05a8719a2bb
CRs-Fixed: 774533
2022-04-20 15:44:55 -07:00
David Oladunjoye
eb2d3f6315 qcacld-3.0: Add certain OUIs into FW triggered TWT WAR list
TWT is not disabled for certain APs. Add OUIs of the
APs to configuration file.

Change-Id: I3bb2238550294b443f166920069a14fb81e6873d
CRs-Fixed: 3176212
2022-04-20 15:44:55 -07:00
Madan Koyyalamudi
2b9f40c5f2 Release 2.0.8.28V
Release 2.0.8.28V

Change-Id: I63d5edefcefaa77237eb42a090c2cfb51eebe0e7
CRs-Fixed: 774533
2022-04-20 09:50:40 -07:00
Balaji Pothunoori
afff1c08cf qcacld-3.0: Add support for FT over DS
Add support to enable the "FT over DS" via
QCA_WLAN_VENDOR_ATTR_CONFIG_FT_OVER_DS vendor config
command.
This configuration helps the firmware to support
“FT over DS” instead of “FT over Air”

Change-Id: I493bf15f83bc39135aaeefa9d8ef328f0fc0cda3
CRs-Fixed: 2968680
2022-04-20 09:50:40 -07:00
Madan Koyyalamudi
fc7c43b36e Release 2.0.8.28U
Release 2.0.8.28U

Change-Id: I3579a927ffbfd58714d3dd62d5918c3f869a9696
CRs-Fixed: 774533
2022-04-20 07:16:50 -07:00
Yu Tian
5f1358deb6 qcacld-3.0: use more accurate tx/rx packets statistics
Sometimes TX/RX pkt statistics workqueue may be delayed.
The workqueue interval value is pre-defined and is used
for bandwidth vote. If the interval is inaccurate, whole
pkts statistics are not accurate, bus bandwidth vote is
wrong also. This change is aimed to use absolute workqueue
time delay instead of pre-defined value to get accurate
packets per milliseconds result.

Change-Id: I2b730fc36d4b5c42742ed9107d9a7e1f95eb4988
CRs-Fixed: 2976857
2022-04-20 07:16:50 -07:00
Madan Koyyalamudi
7210f98c03 Release 2.0.8.28T
Release 2.0.8.28T

Change-Id: I238b6dc06e58e1fd240a1e1dbe4e032097ba00c7
CRs-Fixed: 774533
2022-04-20 03:32:46 -07:00
Ashish Kumar Dhanotiya
87ba364a2c qcacld-3.0: Do not free radio stats memory from wma
Currently driver frees the radio stats memory from wma
in error cases, there is a possibility that if hdd gets
time out for the stats request, it tries to free the radio
stats memory and at the same time if wma receives invalid
stats from fw in that case wma also tries to free the radio
stats memory which may lead to double free.

To aoid above issue, do not free the radio stats memory from
wma, in error cases hdd will free this memory after it gets
time out.

Change-Id: I6f6073a1a8e0be1b87efce288b7567e8fc8d69b0
CRs-Fixed: 3013842
2022-04-20 03:32:46 -07:00
Utkarsh Bhatnagar
1e937d5c37 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-18 01:55:08 -07:00
Madan Koyyalamudi
705e9a43d7 Release 2.0.8.28S
Release 2.0.8.28S

Change-Id: I005760f056471867df38a48a8b8527d253c4a9cf
CRs-Fixed: 774533
2022-04-14 04:16:08 -07:00
Ananya Gupta
6c7d2c9671 qcacld-3.0: Enable global IPA struct if enabled in pld and ini
Enable global IPA structure, g_ipa_config only if it is
enabled in both platform driver and ini file.

Change-Id: I1bd4e03eadf420f736bb91478b0f2e04bcd60ebd
CRs-Fixed: 3148820
2022-04-14 04:16:08 -07:00
Madan Koyyalamudi
5d3540b331 Release 2.0.8.28R
Release 2.0.8.28R

Change-Id: I29c261ad1c8cc17bfebc2ef0e883513c4bd090d4
CRs-Fixed: 774533
2022-04-14 01:46:17 -07:00
Prateek Patil
d04fe2218a qcacld-3.0: Receive HOST wakeup event from FW
For IPCI_FW_SIM, HOST is not sending WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID to
FW. To wakeup HOST after suspend add api pld_ipci_fw_sim_exit_power_save
to redirect HOST wakeup.

Change-Id: Iaec5c947c5f3c1fd23dc5b31801ff94612fb7c47
CRs-Fixed: 3039189
2022-04-14 01:46:17 -07:00
Madan Koyyalamudi
46f9ca378e Release 2.0.8.28Q
Release 2.0.8.28Q

Change-Id: I839e7b5632736d8922394db6b1ab64b423b43850
CRs-Fixed: 774533
2022-04-13 11:57:32 -07:00
Rahul Gusain
8a9f3d36ed qcacld-3.0: Process deauth even in middle of SAE authentication
When SAE authentication fails due to some reason and if the
failure is detected while processing confirm request from the
station, some APs send deauth instead of confirm response.

Current driver/wpa_suplicant wait for the confirm response and
driver drops the deauth frame as it's in the middle of SAE
authentication. This results in connect timeout.
Driver is supposed to process the deauth from AP and indicate
failure to userspace. To resolve this, consider the deauth from AP
as SAE failure and abort the connection. Send connect failure to
userspace.

CRs-Fixed: 3157178
Change-Id: I09c9d8b19539e4986665c6052d3a7f52b3e49600
2022-04-13 16:44:56 +05:30
Madan Koyyalamudi
0c9ae47306 Release 2.0.8.28P
Release 2.0.8.28P

Change-Id: I3425da6dde3e93b3f783c589ffe4dcbb659212ef
CRs-Fixed: 774533
2022-04-12 09:25:32 -07:00
Sai Pavan Akhil Remella
88968aba6e 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-12 09:25:31 -07:00
Madan Koyyalamudi
a7dcc70acd Release 2.0.8.28O
Release 2.0.8.28O

Change-Id: Iab3a9d1e1c4199743ee5b39c5861cd8d30bacaa6
CRs-Fixed: 774533
2022-04-12 06:21:19 -07:00
Karthik Kantamneni
45ddb8c430 qcacld-3.0: Fix REO ID mismatch issue in fisa flow aggregation
Currently during fisa flow aggregation REO ID check is done to
make sure all the flow packets are received in same REO and to avoid
out of order reception. But if RX packet matches CCE rules REO ID
is selected based on CCE rules since they have higher priority.
In this case ignore RX packet for FISA aggregation and do not panic.

Change-Id: I09b5c9fc4ecff7223d0034921e8923776ae4bf3b
CRs-Fixed: 3153104
2022-04-12 06:21:18 -07:00
Madan Koyyalamudi
23af959e8b Release 2.0.8.28N
Release 2.0.8.28N

Change-Id: I4be14c153de0ca6f007d3918cd094f0bc042eb64
CRs-Fixed: 774533
2022-04-12 03:50:44 -07:00
Vevek V
8676c37878 qcacld-3.0: handle_last_discon to disable IPA in dual SAP mode
In dual SAP connection, calls only disable_pipes to disable IPA,
whereas during second SAP disconnection, to enable IPA, calls
wlan_ipa_uc_handle_first_con, which sends ipa_set_active MSG
as true to FW, for both Tx/Rx to resume.
So calling wlan_ipa_uc_handle_last_discon in dual SAP mode,
which sends ipa_set_active MSG as false to FW, to suspend.

Change-Id: I224e94a003030f497e15f242634f15d9c71b9ef0
CRs-Fixed: 3094276
2022-04-12 03:50:43 -07:00
Madan Koyyalamudi
7e44043bfc Release 2.0.8.28M
Release 2.0.8.28M

Change-Id: I670d36c0181002dc8bdde3b6372c2d21043e5e6a
CRs-Fixed: 774533
2022-04-11 07:42:29 -07:00
Surabhi Vishnoi
e9e2f8ea5c qcacld-3.0: Fix null pointer dereference in bus suspend related code
Fix hdd_ctx null pointer derefernce issue in hdd bus suspend
related code by addition of hdd_ctx null check before its use.

Change-Id: Iea92dcdf8591e61853af233f8e28fe7e0f9ec4bf
CRs-Fixed: 3144126
2022-04-11 07:42:29 -07:00
Madan Koyyalamudi
8f182a1f3d Release 2.0.8.28L
Release 2.0.8.28L

Change-Id: I2d8155c6ee3ab625b9684205ffc6ad9716e64aab
CRs-Fixed: 774533
2022-04-11 04:20:48 -07:00
Srinivas Dasari
761b511181 qcacld-3.0: set nan_separate_iface_support flag in FTM mode
Set nan_separate_iface_support flag in FTM mode to avoid
create NAN vdev in FTM mode. This helps in FTM mode test cases
where max supported vdevs are used.

Change-Id: Ia628655a87505db787043ef29dd18d259052b521
CRs-Fixed: 2888703
2022-04-08 20:22:25 +05:30
Madan Koyyalamudi
8ab049b2f2 Release 2.0.8.28K
Release 2.0.8.28K

Change-Id: I9e7c813ca4afa6087d4717eff2b7414bbc3586cd
CRs-Fixed: 774533
2022-04-01 03:11:04 -07:00
Vijay Patil
66dff27cd3 qcacld-3.0: Add PLD API to check if ipa offload is disabled
Add PLD API to check if ipa offload is disabled or not in PLD
layer.

Change-Id: If2ef19cdc16a399cf5abfa495e01bab6da799c8d
CRs-Fixed: 3148041
2022-04-01 03:11:04 -07:00
Madan Koyyalamudi
5f892316ae Release 2.0.8.28J
Release 2.0.8.28J

Change-Id: I0f6989adde4d2470cb7219710cebbd2ab6f1f966
CRs-Fixed: 774533
2022-03-28 13:47:06 -07:00
Ashish
5bfb40ab3c Revert "qcacld-3.0: Fix arp offload not sent when suspend"
This reverts commit I06ea617df49287ee87e7b5bf8b20971b581dedf1

which introduced a fix to enable/disable arp offload on every
suspend/resume even if gActiveModeOffload is enabled, which is
not correct. The expectation here is that if gActiveModeOffload
is enabled, host should enable arp offload only onece and it
should not disable on any condition.

Change-Id: Ifc4ff1c0a39cc4c17e9a292ef8b0ebabd766a710
CRs-Fixed: 3147896
2022-03-28 13:47:06 -07:00
Madan Koyyalamudi
46251fb519 Release 2.0.8.28I
Release 2.0.8.28I

Change-Id: Ie7cfb9ee2c847a83d25886c738eebbf387414f58
CRs-Fixed: 774533
2022-03-24 14:42:33 -07:00
Yu Tian
5c94f027a1 qcacld-3.0: Add an ini control to disable Dynamic GRO feature
Dynamic GRO feature is enabled by default and aimed for specific
customers. Add an ini control to allow other customers to config
this feature enable/disable.

Change-Id: I83edd69d0e30d5944f0724ed8350328abff619bb
CRs-Fixed: 3070912
2022-03-24 14:42:32 -07:00
Madan Koyyalamudi
5c3fabb7ce Release 2.0.8.28H
Release 2.0.8.28H

Change-Id: Ice42f746a441285be3a60734594d0d26300beb69
CRs-Fixed: 774533
2022-03-23 23:39:52 -07:00
Jingxiang Ge
d58c6b7ac4 qcacld-3.0: Add length check in wma_update_beacon_noa_ie
It may cause out of bound access if length exceed
SIR_MAX_BEACON_SIZE.

Add length check to protect that.

Change-Id: I6581b62aa8b380a0f1195a16515ad635a9154023
CRs-Fixed: 3147267
2022-03-24 08:45:02 +08:00
Madan Koyyalamudi
6e6ebf7ec8 Release 2.0.8.28G
Release 2.0.8.28G

Change-Id: I1e6a0561bf814ca9e48c372d171b0c6fb252a5d9
CRs-Fixed: 774533
2022-03-23 15:04:42 -07:00
Lincoln Tran
0b83881074 qcacld-3.0: Reject TDLS cmd if still in progress
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.

Change-Id: I6970e3b73c6ce5afc921edaaf477825928800342
CRs-Fixed: 3150044
2022-03-23 09:15:59 -07:00
Madan Koyyalamudi
19b1b43d99 Release 2.0.8.28F
Release 2.0.8.28F

Change-Id: Ia40831a24dc439d509536470131cdb6203b2016b
CRs-Fixed: 774533
2022-03-23 03:01:05 -07:00
Vulupala Shashank Reddy
9f12ca2e76 qcacld-3.0: Add roaming in progress check in get sta stats
In wlan_hdd_get_sta_stats add hdd_is_roaming_in_progress
check.

Change-Id: I49500f592cc73ee859f6326dbf8f0e1af968036f
CRs-Fixed: 3151142
2022-03-23 03:01:05 -07:00
Vulupala Shashank Reddy
9eafeb1001 qcacld-3.0: Reduce the log level to optimize roam time
Reduce the log level for the frequent acceptable errors
to reduce the roam latencies

Change-Id: I9f5405025948d160e6fcd65ecca05dce7670ea84
CRs-Fixed: 3150439
2022-03-23 03:00:58 -07:00