Commit-Graf

26377 Incheckningar

Upphovsman SHA1 Meddelande Datum
Rakesh Pillai
8e45e437f0 qcacld-3.0: Bypass FISA aggregation for packets from DNS server
Currently FISA flows are added for packets received
from DNS server. The connection to DNS server are short
exchanges to resolve any URL, hence there is no need
to create FISA flows for such short lived flows.

Bypass FISA for packets from DNS server.

Change-Id: Ifd4f15f2c0b131148ccff7fd450d536ac029788d
CRs-Fixed: 3249810
2022-07-26 08:03:35 -07:00
Madan Koyyalamudi
3b18f5fb6a Release 5.2.1.30L
Release 5.2.1.30L

Change-Id: Ic6e532852a144072d4ceb5d4e5cdda065b4fe426
CRs-Fixed: 774533
2022-07-26 01:47:42 -07:00
Yu Wang
03622c131b qcacld-3.0: add support for VA based minidump
Initialize/De-initialize minidump upon module loading/unloading.

Change-Id: I333434312d8cc7080f81957b9b40b3138783145c
CRs-Fixed: 3234894
2022-07-26 01:47:42 -07:00
Madan Koyyalamudi
fe04b40ddf Release 5.2.1.30K
Release 5.2.1.30K

Change-Id: I2a6acb23c16993d2a6f3fcbd83719fae04698d6a
CRs-Fixed: 774533
2022-07-25 12:18:18 -07:00
Asutosh Mohapatra
7d514b7ba5 qcacld-3.0: Start SAP on valid non-DFS channel after country change
Currently if SAP is up on 5 GHz DFS/non-DFS channel and country
change happens to world mode where SAP is not allowed on 5 GHz
channels then it moves to a 2.4 GHz channel and saves current
operating frequency band information, now again if a country
change happens SAP tries to move back to any allowed 5 GHz
DFS/non-DFS channel.
Sap should come to non-DFS channel first. If not available then
it should come on DFS channel
To address this issue, add a fix to check for first valid 5 GHz
non-DFS channel and first valid 5 GHz DFS channel. Move to
valid 5 GHz non-DFS channel if present.

Change-Id: I0cf3841e35e22efc0f518ce15b4cab40996cc645
CRs-Fixed: 3247522
2022-07-25 12:18:17 -07:00
Madan Koyyalamudi
36671a6873 Release 5.2.1.30J
Release 5.2.1.30J

Change-Id: Iefd6275df66b30aa1e2c112bdf4836c78d79c4fd
CRs-Fixed: 774533
2022-07-25 08:21:45 -07:00
Amit Mehta
3296d26416 qcacld-3.0: Add change for WAPI IE in probe response
Add change for WAPI IE in probe response introduced by
change : I9212e0fe9d495e8300a2bfbed65d398e0fb27170
and also add change to print mac address while
updating mac from old mac address to new mac address.

Change-Id: I6481b211fa26c540b079d119070cc2f1cc1d3abf
CRs-Fixed: 3249823
2022-07-25 08:21:44 -07:00
Madan Koyyalamudi
c4f2f2b2ba Release 5.2.1.30I
Release 5.2.1.30I

Change-Id: Ife1c92c086f23f0df586788512cc400f0b30f8a4
CRs-Fixed: 774533
2022-07-24 12:09:19 -07:00
Rakesh Pillai
2421447f6d qcacld-3.0: Do not attempt to print FISA stats when its disabled
Currently the handler which dumps FISA stats, does not
check if the FISA feature has been enabled/disabled via
the INI. Accessing FST table when FISA has been disabled
via INI leads to unexpected assertion.

Fix this by checking if the FISA feature has been enabled
via INI, before accessing the FST table.

Change-Id: I5345138c5af03e3dd777bfe36004c477cff0ab7d
CRs-Fixed: 3249827
2022-07-24 12:09:19 -07:00
Madan Koyyalamudi
d971168920 Release 5.2.1.30H
Release 5.2.1.30H

Change-Id: Id6d4a0ef7599b8cb094ba0a036ba3f6566a79856
CRs-Fixed: 774533
2022-07-24 06:26:07 -07:00
Amit Mehta
14e5d5f4cb qcacld-3.0: Use netdev to get dp_interface
Currently, while we request netdev stats
we use the MAC address to find the DP interface.
There is a possibility that while we are
passing mac address to find DP interface
in parallel dynamic MAC update can happen
which will cause MAC address mismatch,
which will result in the DP interface not found
issue.

To fix the issue, instead of MAC address use
netdev name to search DP interface from
the list of available DP interface.

Change-Id: Ib04ce2fc7193be4733b16707600a10d3d729813c
CRs-Fixed: 3247725
2022-07-24 06:26:07 -07:00
Madan Koyyalamudi
fcda304b57 Release 5.2.1.30G
Release 5.2.1.30G

Change-Id: Ifac2b1c29538663babffd39926141f9397ab5a17
CRs-Fixed: 774533
2022-07-24 04:40:40 -07:00
Ashish
c0956f31ba qcacld-3.0: Update connected APs beacon IE correctly
Currently host driver does not update connected APs beacon
IE and because of this host is not able to pass this information
to userspace when it request for this info.

To address above issue, update connected APs beacon IE
correclty in host driver.

Change-Id: Id08d0162704883ad8ccb0f1c436aa8f9886f28c6
CRs-Fixed: 3193823
2022-07-24 04:40:39 -07:00
Madan Koyyalamudi
c33f7ff2f1 Release 5.2.1.30F
Release 5.2.1.30F

Change-Id: I900739bf52ffe302a5be3f656ce62dc32d3d469e
CRs-Fixed: 774533
2022-07-24 02:52:41 -07:00
Pragaspathi Thilagaraj
0937163d1b qcacld-3.0: Add NULL pointer validation for RSNXE capability
Validate RSNXE caps pointer against NULL to prevent null
pointer dereference in hdd_softap_update_pasn_vdev_params() API.

Change-Id: Ic971a82818d33332ad03e58b3ca0d3f18f9deafb
CRs-Fixed: 3246704
2022-07-24 02:52:40 -07:00
Amruta Kulkarni
0e7d768737 qcacld-3.0: Add null check for join req
Check if session or join req is null before accessing.

Change-Id: I6fde6970d72e564b869c83134f1957f45016c31c
CRs-Fixed: 3251024
2022-07-24 02:52:35 -07:00
Srinivas Dasari
780d285267 qcacld-3.0: Enable the ini param enable_pending_list_req by default
Firmware aborts the ongoing scan upon receiving new scan
channel list (through WMI_SCAN_CHAN_LIST_CMDID). Channel list
might get updated from userspace through commands like
country code change, power level change(SET_FCC_CHANNEL),...
It affects the features that are dependent on that scan,
e.g. ongoing connection, p2p find, etc.. Few frames might
be stuck in firmware as the scan is canceled.
It's recommended to defer the scan channel list update till
the current scan is done. This is already supported and
guarded through the ini param enable_pending_list_req
but disabled by default.

Enable the ini param to make sure above scenarios are not
affected due to channel list update.

Change-Id: I4176bb6a03657cf32f0c099b72254d61207ea6ca
CRs-Fixed: 3250137
2022-07-24 02:52:30 -07:00
Madan Koyyalamudi
8a5eb4978c Release 5.2.1.30E
Release 5.2.1.30E

Change-Id: I74434c153eba8bffdba6a3dc2cb4c4f3e46295a8
CRs-Fixed: 774533
2022-07-24 01:01:34 -07:00
Pragaspathi Thilagaraj
1d53ced209 qcacld-3.0: Fix invalid inactive time sent to target
Idle roam inactive time is expected in seconds but
the host driver is sending it in milliseconds, this causes
idle roam trigger not happening at the target.

Send the idle roam inactive time in seconds instead of
milliseconds.

Change-Id: If326a4bf464164183fdcd9baea9002483053adf7
CRs-Fixed: 3246541
2022-07-24 01:01:34 -07:00
Aditya Kodukula
5a1277ed00 qcacld-3.0: Enable COEX feature flag
Dedicated Bluetooth Antenna Mode (DBAM) feature is dependent
on COEX feature. So, enable CONFIG_FETURE_COEX in kiwi_v2
default config.

Change-Id: I1a2001f7be88d7527de5402d5272799b207a0077
CRs-Fixed: 3251103
2022-07-24 01:01:29 -07:00
Madan Koyyalamudi
2517bf7a36 Release 5.2.1.30D
Release 5.2.1.30D

Change-Id: I53a61a832e8dc0a875f5130c3cd4d06c31bb6a42
CRs-Fixed: 774533
2022-07-23 21:04:29 -07:00
Rahul Gusain
25383f2539 qcacld-3.0: Fix the error handling for NDP txrx
Currently, in host driver, if ucfg_dp_init_tx_rx fails, it returns
error and this error is handled in hdd_init_nan_data_mode by
unregister the wext and detroying the vdev.
But wext unregister fails as it is waiting for rtnl_lock forever
which causes CPU to struck there.

To fix this, add rtnl held flag which will check rtln lock is
supported or not.

Change-Id: Ibc826ace63919979d743f6c8fcc26f1438d25274
CRs-Fixed: 3248716
2022-07-23 21:04:29 -07:00
Sandeep Puligilla
33c1960b40 qcacld-3.0: Enhance MLO debug information
11be supported draft information is added in the
UMAC debug logs.

Change-Id: I99808a775b8442ca764c4336809628c7f8541b5a
CRs-Fixed: 3237799
2022-07-23 21:04:23 -07:00
Madan Koyyalamudi
f3ad583e8c Release 5.2.1.30C
Release 5.2.1.30C

Change-Id: Ifcc923bd5ab91fc6dfd2fff0326935fcde21cb24
CRs-Fixed: 774533
2022-07-23 19:14:35 -07:00
Jianmin Zhu
897377cab3 qcacld-3.0: Add assoc link bit in mlo_support_link_band
Add assoc link bit in mlo_support_link_band to indicate supported band of
assoc link.
bit4: 2 GHz
bit5: 5 GHz
bit6: 6 GHz

Change-Id: I8fa156f43656ba91b8622ce12034ddad0bcf28a2
CRs-Fixed: 3250252
2022-07-23 19:14:34 -07:00
Gururaj Pandurangi
ecb16fabc7 qcacld-3.0: Update params based on new EML caps struct
Update the params based on the new MLO EML caps struct.

Change-Id: I01639f8bb6b0bf98d1486dbdc3cc0442f090a86d
CRs-Fixed: 3245988
2022-07-23 19:14:29 -07:00
Madan Koyyalamudi
0060dd3dcf Release 5.2.1.30B
Release 5.2.1.30B

Change-Id: I79d7e0c22f75e7c1a3492fe8f33898dbad94acb3
CRs-Fixed: 774533
2022-07-23 17:31:48 -07:00
Divyajyothi Goparaju
487d2210e2 qcacld-3.0: Avoid illegal memory access
Currently In os_if_monitor_mode_configure API,
tb attribute is getting accessed before parsing
the data coming from userspace.
This is leading to illegal memory access.

Move tb attribute access after parsing userspace
data with API wlan_cfg80211_nla_parse.

Change-Id: Ia972ebb87e18ed82c6c3a2ff3ce2d10a4b9685b9
CRs-Fixed: 3241952
2022-07-23 17:31:48 -07:00
Madan Koyyalamudi
0c9211ab2a Release 5.2.1.30A
Release 5.2.1.30A

Change-Id: I14bbbd103e9608ec46f695a7c9deafc54d5572f7
CRs-Fixed: 774533
2022-07-22 06:59:55 -07:00
abhinav kumar
8c996f7c38 qcacld-3.0: Logging enhancements for GET driver cmds
For the below GET driver command, print the value
before sending it to user space to enhance automation
tools:
1. GETDWELLTIME for 2 GHz, 5 GHz and 6 GHz channels
2. GETSCANCHANNELTIME
3. GETSCANHOMETIME

Change-Id: I8d090898828049107d4a00bbc3622665aa0e30ac
CRs-Fixed: 3247541
2022-07-22 06:59:55 -07:00
Bing Sun
6d47c060d1 qcacld-3.0: Update HE bw after extracting EHT opertion IE
For 11BE mode, channel width information may be set in EHT
operation IE, and 11BE sta should populate its channel width
information in HE capabilities IE after extracting EHT operation IE.

Otherwise 11BE sta can't sends correct bandwidth information
to 11BE AP.

Change-Id: I08b4b61ad21017fde52d504f6d3e5c9b1e948950
CRs-Fixed: 3246725
2022-07-22 06:59:49 -07:00
Srinivas Dasari
1e3b509a22 qcacld-3.0: Rate limit DELBA process logs
AP/peer may send DELBA continuously in some error scenarios.
Host driver generates a dump of the frame in INFO level
and a log in ERROR level for each DELBA received. This
results in excessive logs to the kernel logging.
Rate limit the logs to avoid spamming kernel logs.

Change-Id: I94b11b76b862924672e06520b5bf2e731ec462df
CRs-Fixed: 3248606
2022-07-22 06:59:44 -07:00
Madan Koyyalamudi
1225910f06 Release 5.2.1.30
Release 5.2.1.30

Change-Id: Icd09f35c5989912689ed80965fc0ef660bf57a5b
CRs-Fixed: 774533
2022-07-22 02:43:39 -07:00
Azmath Mohammed
842dc538f3 qcacld-3.0: Display control pipes info on WOW ack failure
Display control pipes info on WOW ack failure which helps to
debug issues when full debug history is not available.

Change-Id: I6a84aa01c07831b7109d0741337cae6ac0be2f44
CRs-Fixed: 3246284
2022-07-22 02:43:38 -07:00
Madan Koyyalamudi
d97593419b Release 5.2.1.29Z
Release 5.2.1.29Z

Change-Id: I8762469a426fb4ae0dd0624a19b3be3869b9ffa8
CRs-Fixed: 774533
2022-07-21 23:08:41 -07:00
Divyajyothi Goparaju
89752dbdf5 qcacld-3.0: Check return value of hdd_process_peer_chain_rssi_req
Currently host does not check the return value of
hdd_process_peer_chain_rssi_req, returns success
on error case as well in __wlan_hdd_cfg80211_get_chain_rssi.
Also double conversion of qdf status to os_if status
is taking place which is giving wrong error status.

Remove extra status conversion and consider the return value
of hdd_process_peer_chain_rssi_req.

Change-Id: I387a36afe80eb4e7aa5bad746074d077b20de331
CRs-Fixed: 3245972
2022-07-21 23:08:41 -07:00
Jyoti Kumari
977a4af84c qcacld-3.0: Remove csr_roamstart_bssparams structure
Add all members of csr_roamstart_bssparams structure to
parent structure and remove csr_roamstart_bssparams structure

Change-Id: Ifa9f38305e72de45776d6ead25a7053063792382
CRs-Fixed: 3247189
2022-07-21 23:08:35 -07:00
Madan Koyyalamudi
847185c77e Release 5.2.1.29Y
Release 5.2.1.29Y

Change-Id: I0b9d820411cb34e1cb1c0d7a129962b03bd95e70
CRs-Fixed: 774533
2022-07-21 21:09:19 -07:00
Surya Prakash Sivaraj
ba05c22b03 qcacld-3.0: Fix FT-FILS roaming failure
The AP rejects the FILS-IM association request with reason
"Invalid IE format". In the assoc request, two problems are
seen:
    1. The RSN IE has a junk group management cipher suite.
    2. FILS HLP container IE is fragmented, and the fragment
       IE does not immediately follow the HLP container IE.

In the assoc request, the RSN IE encoded in the authentication
is unpacked and the PMKID is replaced with the pmkr1 name
derived at the end of FILS authentication. Currently, the
existing PMKID in the RSN IE is replaced only if the group
management cipher is present. In non-802.11w case, the new
PMKID is appended at the end of existing PMKID, and leads to
improper IE format.

To fix this, replace the existing PMKID whenever PMKID is
present.

To fix invalid HLP container IE format, encode the HLP
container and its fragment IEs together in the assoc request.

Also, inorder to get the pmksa match from the crypto table for
a FT-FILS, fill both ssid and cache ID. Without cache id, the
cached entry is not updated with MDIE.

Change-Id: I654b5527a726eb7872b90fb19a3d97623f3caa68
CRs-Fixed: 3233081
2022-07-21 21:09:18 -07:00
Aditya Kodukula
c4efabebb6 qcacld-3.0: Avoid rssi overwrite for big data stats
Currently for big data stats, driver stores correct rssi
value in cache_conn_info. But since vdev is in disconnected
state and unified_ll_stats_get_sta command is queried periodically
for every 3 seconds, firmware will now return 0 as a new rssi value.
The correct rssi value which is stored in cache_conn_info now
gets overwritten in hdd_lost_link_cp_stats_info_cb.

To avoid this issue, do not overwrite the rssi value for
big data stats if the rssi value returned by firmware is 0.

Change-Id: Iee0dba113d6ed684c00230a2714744191bcd0f7f
CRs-Fixed: 3248245
2022-07-21 21:09:09 -07:00
Madan Koyyalamudi
39088d2e82 Release 5.2.1.29X
Release 5.2.1.29X

Change-Id: Id831412fb548cd8e9b3661951c07e08cae126e9e
CRs-Fixed: 774533
2022-07-21 17:48:08 -07:00
Mohammed Ahmed
73f6d2fde0 qcacld-3.0: hdd: Fix kernel documentation in files(1/n)
Fix kernel documentation in files for kernel-doc rules to resolve
kernel-doc script warnings.

CRs-Fixed: 3237683
Change-Id: I3ba8e8c559a105ca0bc55219b623c606d2acca56
2022-07-21 17:48:08 -07:00
Madan Koyyalamudi
4c26310b33 Release 5.2.1.29W
Release 5.2.1.29W

Change-Id: Ifb2d8586692083cb26cc50a7f6cf07327f936f7d
CRs-Fixed: 774533
2022-07-21 11:01:54 -07:00
Nirav Shah
05edbb507f qcacld-3.0: Correct description of ratemask_set ini
Correct description of ratemask_set ini for VHT mode
to avoid wrong configuration.

Change-Id: I91b887d8268f8faa0d0c32f90da032d00eaa14f2
CRs-Fixed: 3198950
2022-07-21 11:01:54 -07:00
Madan Koyyalamudi
100dd5a1ed Release 5.2.1.29V
Release 5.2.1.29V

Change-Id: I1928bbf86299688216e72b84375227cb6943bb3a
CRs-Fixed: 774533
2022-07-21 07:46:06 -07:00
Vinod Kumar Myadam
618d070651 qcacld-3.0: Enable feature flag PKTLOG_HAS_SPECIFIC_DATA
In ath_pktlog_hdr, uint32_t type_specific_data member is
required for the framework while parsing with structure
type wh_pktlog_hdr_v2_t and without this member leads to
crash in userspace.

wifi hal expects "status" variable which is inside struct
packet_dump to be of "tx_pkt_fate" enum and any value
other than this will cause a tombstone crash.

As sizeof (struct ath_pktlog_hdr) is different in driver
and wifi hal, if PKTLOG_HAS_SPECIFIC_DATA is not enabled
then "status" is not decoded at correct offset which
causes the crash

So, feature flag PKTLOG_HAS_SPECIFIC_DATA is made available
globally to avoid crashes in userspace.

Change-Id: Ie6aca4bbcb5795595945cc4470162ab32c9c6734
CRs-Fixed: 3241071
2022-07-21 07:46:06 -07:00
Madan Koyyalamudi
d722b1a825 Release 5.2.1.29U
Release 5.2.1.29U

Change-Id: I9f93e2d8cb90a8749942c6c87ea1883fbbb6d931
CRs-Fixed: 774533
2022-07-21 05:50:37 -07:00
abhinav kumar
f66512e051 qcacld-3.0: Avoid possible NULL pointer dereference
In target_if_get_roam_vendor_control_param_event_handler,
there are 2 possible NULL pointer dereference issues:

1. Host calls target_if_get_psoc_from_scn_hdl API to get
   psoc object. But as per current logic even if psoc is
   NULL, psoc is dereferenced by passing it as an argument
   to get_wmi_unified_hdl_from_psoc.

2. Host calls get_wmi_unified_hdl_from_psoc API to get
   wmi_handle pointer. But as per current logic even if
   wmi_handle is NULL, wmi_handle is dereferenced by
   passing is as an argument 1 to function
   wmi_extract_roam_vendor_control_param_event.

Fix is to update the sanity check logic for psoc and
wmi_handle pointers to avoid possible NULL pointer
dereference.

Change-Id: I3c3df062b538b05218e729d7bf6806e221073269
CRs-Fixed: 3242435
2022-07-21 05:50:37 -07:00
Madan Koyyalamudi
645dab45ba Release 5.2.1.29T
Release 5.2.1.29T

Change-Id: Ia03c4b59f7e47cafd840e0f658dd67d3b5cf6a89
CRs-Fixed: 774533
2022-07-20 00:14:19 -07:00
Utkarsh Bhatnagar
45601af361 qcacld-3.0: Restrict TDLS 2.4 GHz bw to APs
Restrict BW for TDLS when connection is made
in 2.4 GHz to that of AP.
Also, restrict the BW if the TDLS connection
is made in DFS channel.

Change-Id: Ida8693837b4b8e11a706b5b9fa482399630d2beb
CRs-Fixed: 3246100
2022-07-20 00:14:19 -07:00