Commit Graph

23973 Commits

Author SHA1 Message Date
Pragaspathi Thilagaraj
9081371b4b qcacld-3.0: Add changes to send connectivity log events to userspace
Fill the QCA_NL80211_VENDOR_SUBCMD_DIAG_DATA event data and
send the event to userspace.
Add dispatch table for the connectivity events to lookup
attribute type, id and length.

Change-Id: I1fc8467409852a430874ac1d926b06ec8dafb736
CRs-Fixed: 3030085
2021-09-26 04:49:49 -07:00
Pragaspathi Thilagaraj
5e4b2f49ad qcacld-3.0: Fill and send connectivity logging management frame events
Fill the management frame data and enqueue the filled record to the logging
queue.
Frame sequence number, peer rssi, tx_status, authentiation algo,
authentication frame transaction sequence number will be filled to the
log record.

Change-Id: I069b7816fdc52eeed964d6586c52b58d1a5d5cd4
CRs-Fixed: 3030075
2021-09-26 04:49:44 -07:00
Madan Koyyalamudi
887c66c1c0 Release 5.2.0.249G
Release 5.2.0.249G

Change-Id: I96e84f5425bbb4c58392a2be0059997278aede80
CRs-Fixed: 774533
2021-09-25 22:56:40 -07:00
chunquan
ddee734acb qcacld-3.0: Fix tcp drop for out of order
When NAPI enabled for Non-SMP platform, the 32th pkt is
send to tcp stack by netif_receive_skb, the first 31 pkts
are still in backlog queue, out of order issue will happen

Change-Id: Ieef5250fef9fcabb86e0e65673529c7db89a96c1
CRs-Fixed: 2997452
2021-09-25 22:56:40 -07:00
Madan Koyyalamudi
941a26facc Release 5.2.0.249F
Release 5.2.0.249F

Change-Id: Id76f82833524a3d347d4d7fcfb93171de7180b54
CRs-Fixed: 774533
2021-09-24 22:58:44 -07:00
Yu Ouyang
ee65b8465e qcacld-3.0: Get time slice duty cycle from FW
Get time slice duty cycle percentage from firmware.

Change-Id: I6f34948adfb853f61b0498ec68332e39a1b10122
CRs-Fixed: 3021684
2021-09-24 22:58:44 -07:00
Madan Koyyalamudi
adcde748e6 Release 5.2.0.249E
Release 5.2.0.249E

Change-Id: I34501bb29614d0705c0790277fdb13538909c8a0
CRs-Fixed: 774533
2021-09-24 20:44:45 -07:00
Lincoln Tran
cae4c6106a qcacld-3.0: Enable legacy connection with 11be enabled
Don't populate the MLO IE in the assoc req in legacy connections.
Don't create the MLO partner peer in legacy connections.

Change-Id: Id34662608a65ba9b85871d328099849c578f1585
CRs-fixed: 3038615
2021-09-24 20:44:44 -07:00
Bing Sun
0855f4f6ae qcacld-3.0: Start 11be AP without mlo IE with WLAN_FEATURE_11BE_MLO
When WLAN_FEATURE_11BE_MLO is enabled, 11be AP without mlo IE fails
to start because of number of links being 0.

11be AP without mlo IE is a valid case. It should be supported.

Change-Id: I66fce67e7235cd75db4599f7f06d239f7e1d965a
CRs-Fixed: 3042868
2021-09-24 20:44:40 -07:00
Madan Koyyalamudi
2cc48336a8 Release 5.2.0.249D
Release 5.2.0.249D

Change-Id: I1aef4a99945235130b314bf91609bafa7452b8f2
CRs-Fixed: 774533
2021-09-24 18:27:37 -07:00
VIJAY RAJ
7862b826b2 qcacld-3.0: Invalid rem_len computation in roam stats evt handler
rem_len is calculated based on MAX size of the WMI message
(WMI_SVC_MSG_MAX_SIZE) while extracting data from
WMI_ROAM_STATS_EVENTID event data.

Correct this by considering the actual message length
received in the event.

Change-Id: If24f732a8fdc0ad403e9b8a936ff8cfa0b7f7737
CRs-Fixed: 3035196
2021-09-24 18:27:37 -07:00
Madan Koyyalamudi
9f4d7dddec Release 5.2.0.249C
Release 5.2.0.249C

Change-Id: I18eb0552c6ba4a67d8194576b47ff0ee9556ed49
CRs-Fixed: 774533
2021-09-24 02:14:20 -07:00
Lincoln Tran
af893f201c qcacld-3.0: Update SET_FCC_CHANNEL command
If driver receives the command with parameter -1, the driver is enabling
all bands. Add check to see if the device supports 6G first, otherwise
don't change the band settings.

Change-Id: I2e0980015d8e8bad10fbdcd6f397ac1ca383a5bb
CRs-fixed: 3038801
2021-09-24 02:14:20 -07:00
sheenam monga
cdb30cbe71 qcacld-3.0: Send probe response only on probe request channel
Currently lim_process_probe_req_frame_multiple_bss sends probe
response for all AP sessions. If probe request is received on 2g
and 2 AP sessions are present then probe response will be sent
for both AP's operating frequencies which is not desired and
can cause delay to send probe response on required frequency.

Fix is to check probe request frequency and vdev operating freq
if both frequencies are same then only send probe response.

Change-Id: I8df0b0e78a5f9a586567dbe4b1d496f6cee04ff8
CRs-Fixed: 3042791
2021-09-24 02:14:15 -07:00
Surya Prakash Sivaraj
75277ed0ab qcacld-3.0: Send SSID in join req for OWE transition mode
STA connection with OWE transition mode SSID fails due to join
failure timeout. Since, it is OWE transition mode, STA needs probe
response for join success.

The scan table entry of the candidate BSSID is sent in the join request.
This entry is used to create session and to send probe request to AP.
In case of OWE transition mode, the beacon carries wildcard SSID.
Therefore, the scan table entry also has wildcard ssid. Also,
during the candidate selection, scm_ignore_ssid_check_for_owe check
allows even entries with wildcard SSIDs to be selected as candiates
for OWE transition mode.

The join request with Wildcard SSID in the scan entry is used by LIM
to create session, as well as to send probe request.Therefore,
the AP doesn't respond to the probe request with wildcard ssid
leading to join failure timeout.

This change adds ssid from connect request to the cm_vdev_join_req,
which can be used by LIM to create session and to send probe request
whenever the SSID in scan entry is wildcard.

Change-Id: I02e19e16f2620b5568fbff82ff29d394ab9ee00d
CRs-Fixed: 3041073
2021-09-24 02:14:10 -07:00
Madan Koyyalamudi
a71d33d0fc Release 5.2.0.249B
Release 5.2.0.249B

Change-Id: I44f032318802b7a58da41d8dc1a1390da651541f
CRs-Fixed: 774533
2021-09-24 00:01:26 -07:00
Alan Chen
b7ce8eba14 qcacld-3.0: Add an error log before forcing fw crash
Add an error log in cds_trigger_recovery_handler() before forcing a fw
crash to help with debugging stability issues revolving around it.

Change-Id: Ifc5faa14e1812d145abc7aecd12f66db51eef3b4
CRs-Fixed: 3043316
2021-09-24 00:01:26 -07:00
Amruta Kulkarni
1e0e7a7328 qcacld-3.0: Add SCC concurrency check for STA+STA roaming
In case of STA+STA roaming, to enable roaming on primary vdev
check is added to handle SCC concurrency case.

Change-Id: Id43856b344ce016a17e5bf921c629f3dcc2be138
CRs-Fixed: 3041409
2021-09-24 00:01:21 -07:00
Madan Koyyalamudi
ec75534bae Release 5.2.0.249A
Release 5.2.0.249A

Change-Id: I2331246766cdfb4180426302277611d8567779cc
CRs-Fixed: 774533
2021-09-23 21:35:05 -07:00
Huashan Qu
818dcd2f18 qcacld-3.0: Rename QCA_MCL_DFS_SUPPORT to MOBILE_DFS_SUPPORT
Rename QCA_MCL_DFS_SUPPORT to MOBILE_DFS_SUPPORT.

Change-Id: I82fbad81b4a66f2e1cb7780d13248b18d5fb5da2
CRs-Fixed: 3038285
2021-09-23 21:35:04 -07:00
Madan Koyyalamudi
fb9a36997c Release 5.2.0.249
Release 5.2.0.249

Change-Id: I424e9f9cae4358a0f0b9b396c2f9a53fdb5b392a
CRs-Fixed: 774533
2021-09-23 19:19:23 -07:00
Rajeev Kumar
dc2d3d1d6b qcacld-3.0: Correct default value comment for INI igmp_version_support
By default INI item igmp_version_support has value 0x7. Fix the comment
to match with the correct default value.

Change-Id: Iab0caf41b3f3a57873b8cae1188d475adcfe9cc5
CRs-Fixed: 3042427
2021-09-23 19:19:23 -07:00
Madan Koyyalamudi
5790a395b7 Release 5.2.0.248Z
Release 5.2.0.248Z

Change-Id: If5b99f271251bf47248d28c678774378569aa6e0
CRs-Fixed: 774533
2021-09-23 14:59:39 -07:00
Prateek Patil
2456d78bd3 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
2021-09-23 14:59:39 -07:00
Madan Koyyalamudi
5b12e74ef9 Release 5.2.0.248Y
Release 5.2.0.248Y

Change-Id: I03475bed702934689ca4b43389df2b0215ebca88
CRs-Fixed: 774533
2021-09-23 12:09:45 -07:00
Bing Sun
70a98de49c qcacld-3.0: Populate mlo IE and rnr IE for probe response of mlo ap
Populate mlo IE and rnr IE for non mlo probe response if it is mlo AP

Change-Id: I9bdedb235a35c22a9de4d009d5a72cf104b4da2c
CRs-Fixed: 3042029
2021-09-23 12:09:45 -07:00
Madan Koyyalamudi
a6584d7346 Release 5.2.0.248X
Release 5.2.0.248X

Change-Id: Iddc01fe1ff652fea9bd3db4b4b2c3c4501908f74
CRs-Fixed: 774533
2021-09-23 10:00:15 -07:00
sheenam monga
12c2d0a54b qcacld-3.0: Update failure log of qdf_delayed_work_start
Currently, interface change request failure is indicated
whenever qdf_delayed_work_start returns false which may
indicate wrong failure reason as qdf_delayed_work_start
returns false in case any other request is already started.

Fix is to update failure log of qdf_delayed_work_start
to avoid any wrong indication.

Change-Id: Icf75ab5eff5b225bb7a2db1d8327bde6bb4fc9ac
CRs-Fixed: 3042780
2021-09-23 10:00:14 -07:00
Madan Koyyalamudi
253a7f72d1 Release 5.2.0.248W
Release 5.2.0.248W

Change-Id: I6286487f0fa1b8ee1d8313ba74ddb0ba1fcdeb90
CRs-Fixed: 774533
2021-09-23 04:25:11 -07:00
Nirav Shah
b7fe8299dc qcacld-3.0: Add ini configuration to limit supported HE MCS rates
Add ini configuration to limit supported TX/RX HE MCS rates.
In case of XR use-case, higher throughput is not needed but
higher reliability is expected. So, this ini provide option to
limit HE MCS rate capability to MCS0-7 to achieve higher reliability.

Change-Id: Id6343f5b28d341e5ee377d11ad8420e3b8ded6ef
CRs-Fixed: 3033342
2021-09-23 04:25:11 -07:00
Will Huang
7e2055c8ba qcacld-3.0: Fix possible memory leak of hdd_medium_assess_timer
If hostapd stop bss happen together with SSR, it is possible
eSAP_STOP_BSS_EVENT not post and hdd_medium_assess_deinit()
miss to invoke.

Fix it by invoke hdd_medium_assess_deinit() in failure path.

Change-Id: I79814be745fab366e1073438a295414f7de3f69a
CRs-Fixed: 3037020
2021-09-23 04:25:06 -07:00
Madan Koyyalamudi
5ccd6f19ef Release 5.2.0.248V
Release 5.2.0.248V

Change-Id: I3741e34974036bf2c9014989bcb21e58f4b9a79b
CRs-Fixed: 774533
2021-09-23 02:11:22 -07:00
Liangwei Dong
4370350179 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
2021-09-23 02:11:21 -07:00
Madan Koyyalamudi
e0a00e6961 Release 5.2.0.248U
Release 5.2.0.248U

Change-Id: Ib895e0c22ed933e787f2ad7dd1ac8a0181f0e9d9
CRs-Fixed: 774533
2021-09-22 22:00:29 -07:00
Aditya Kodukula
9115747214 qcacld-3.0: Add feature flag to support ICMP offload
Add Feature flag WLAN_FEATURE_ICMP_OFFLOAD to support
ICMP offload feature.

Change-Id: I7ef593c76eaf4a02651e67bcf53b7a607a58421e
CRs-Fixed: 3042400
2021-09-22 22:00:28 -07:00
Madan Koyyalamudi
185da686a1 Release 5.2.0.248T
Release 5.2.0.248T

Change-Id: I84395c3c8c90595b5d57b6913fc2d9ca842e4253
CRs-Fixed: 774533
2021-09-22 19:52:29 -07:00
abhinav kumar
7615e98870 qcacld-3.0: Enable UAPSD flag in FW for AC(s)
Currently, the host considers only INI configuration
to enable UAPSD flag for AC(s) in FW. Host Should
enable UAPSD flag only if QoS is enabled in currently
connected BSS.

The fix is to add a sanity check to make sure the
host enables UAPSD flag in FW only if BSS is QoS
enabled.

Change-Id: I791b014393032aab3a960c334e34b719b2629c5c
CRs-Fixed: 3036329
2021-09-22 19:52:29 -07:00
Madan Koyyalamudi
4f3ec7ee26 Release 5.2.0.248S
Release 5.2.0.248S

Change-Id: I89aa756601f79748c459903efadf619675c1ccb9
CRs-Fixed: 774533
2021-09-22 13:48:53 -07:00
Arun Kumar Khandavalli
7876d018c4 qcacld-3.0: use nl interface for eapol
For latest chipsets use nl interface for eapol handshake for all
device modes.

Change-Id: I5f5b5f2b34687ec90c93f406b39196fc18c31375
CRs-Fixed: 3021188
2021-09-22 13:48:53 -07:00
Madan Koyyalamudi
fdaf5bfcf7 Release 5.2.0.248R
Release 5.2.0.248R

Change-Id: I3bd497222d31b3675af69317b4536c9da63e4e17
CRs-Fixed: 774533
2021-09-22 03:15:48 -07:00
Kiran Kumar Lokere
fb85fcd3b0 qcacld-3.0: Disable 6G security check if RF testmode is enabled
The 6GHz security check is enabled by default. Disable the check
if RF test mode is enabled.

Change-Id: Id6af514f6a31f6351b1b0d784c2b9f7d301496c0
CRs-Fixed: 3040621
2021-09-22 03:15:48 -07:00
Pragaspathi Thilagaraj
f5c868fc78 qcacld-3.0: Stop connectivity logging after stop modules
When wifi is turned off, if the connectivity logging queue is
not empty, the wlan logging thread tries to dequeue the record
and send the logging event to the userspace. While performing
dequeue operation, the records from queue are copied to temporary
buffer before read pointer is incremented. There could be a
condition where this buffer is allocated in ini domain after stop
modules is done and freed in active domain if the wlan_logging
thread is preempted during stop modules.

So to avoid this domain mismatch, start the queue only if
start_modules is done and stop the queue after stop modules
to avoid dequeue being done during/after stop modules.

Change-Id: Ied8c36b19bc66474d3c4d8f913f3e3dbf9a574a0
CRs-Fixed: 3035644
2021-09-22 03:15:43 -07:00
abhinav kumar
9bb838865c qcacld-3.0: Send roam scan info to userspace
Host receives WMI_ROAM_STATS_EVENTID event
from fw whenever roam scan trigger happens.
Send roam scan details and candidate AP details
to userspace.

Change-Id: I92a35d7b15951321107db14ae588d66e82a8174e
CRs-Fixed: 3031391
2021-09-22 03:15:38 -07:00
Pragaspathi Thilagaraj
db383df8c9 qcacld-3.0: Add support to parse roam frame info TLV
Add support to parse roam frame info TLV.
Add changes to send the BTM request logging event.

Change-Id: I24fab5fc0ec204fce74cf822742b5a44b0e7774f
CRs-Fixed: 3013489
2021-09-22 03:15:32 -07:00
Madan Koyyalamudi
1b47a5b316 Release 5.2.0.248Q
Release 5.2.0.248Q

Change-Id: Ice4b898b158b2c5a7258dd75559c51a9c42df15c
CRs-Fixed: 774533
2021-09-21 14:29:36 -07:00
Pragaspathi Thilagaraj
2483cde388 qcacld-3.0: Kbuild: Enable nested composites on supported QKI kernels
KERNEL_SUPPORTS_NESTED_COMPOSITES := y is used to enable nested
composite support. The nested composites support is available in
all GKI & QKI kernels beginning with
5.10.20, but unfortunately is not available in any upstream kernel.

When a QKI kernel is used the flag is not set explicitly on the
kernel sources. Current logic sets the flag for GKI kernels only.
So extend the logic to set the flag for QKI kernels also.

Change-Id: I96aa36628aaf66f194c14f8883674da205220117
CRs-Fixed: 3041134
2021-09-21 14:29:35 -07:00
Madan Koyyalamudi
7712bf610f Release 5.2.0.248P
Release 5.2.0.248P

Change-Id: I5e0029a55d824f6a263316701bcf3bc282f7aab5
CRs-Fixed: 774533
2021-09-21 09:30:12 -07:00
Sai Pavan Akhil Remella
41300fcf7c qcacld-3.0: Update scan result APIs to map MDID in PMK cache
PMK stale entry will be updated in driver by framework after
disconnection with AP. Since there is no connected profile
in driver no MDID is associated. On new PMKSA addition in
driver it will check for cached entry based on MDID and
remove older one. This commit associates MDID to the cache
entry from the scan result if no connected profile is
present.

Change-Id: I9e8362387a53f622b9c52c4ba994939cabf244aa
CRs-Fixed: 3030376
2021-09-21 09:30:12 -07:00
Madan Koyyalamudi
70f7e5b8db Release 5.2.0.248O
Release 5.2.0.248O

Change-Id: Ia688ad1430fd94df4c2a6403bfa4803fcd3210c0
CRs-Fixed: 774533
2021-09-21 06:51:24 -07:00
Yu Ouyang
4c86f51c68 qcacld-3.0: Add time slice duty cycle in wifi_interface_info
Android S VTS test case GetLinkLayerStats_1_5 need get interface time
slice duty cycle info. VTS will get it over vendor command
QCA_NL80211_VENDOR_SUBCMD_LL_STATS_GET.

So, we need put time slice duty cycle percentage in structure
wifi_interface_info.

Change-Id: Iff644b4b1ed6dd34badc2008d2957c98e0207aa6
CRs-Fixed: 3040005
2021-09-21 06:51:24 -07:00