Commit Graph

26453 次程式碼提交

作者 SHA1 備註 提交日期
Madan Koyyalamudi
39c07a1cc8 Release 5.2.1.30W
Release 5.2.1.30W

Change-Id: Ib850bb55de58981f9f3b5dfc788994f7fc9c688d
CRs-Fixed: 774533
2022-07-29 09:20:26 -07:00
Yu Ouyang
580d003ab6 qcacld-3.0: Ignore country code change if driver enabled
Corner case: idle restart --> country code set from user space -->
idle shutdown start -->set country command pended --> idle shutdown
complete --> country_change_work_handle crashed

The crash root cause is getting country code set command when adapter
started, but work q country_change_work handle pended by idle shutdown
processing. After idle shutdown complete, work q country_change_work
gets chance to process the command, but driver already disabled.

The fixing is similar with Ic651e1abdf6b2efa27e57695c04ace249f9d21bb.
But 9f9d21bb can't cover the corner case.

So, add driver state checking in q country_change_work.

Change-Id: I1c9407f03273d4ad487e617fa3426f2c103ada7f
CRs-Fixed: 3247396
2022-07-29 09:20:26 -07:00
Madan Koyyalamudi
99fca30da2 Release 5.2.1.30V
Release 5.2.1.30V

Change-Id: I30e3b11a6ce758f7282cd341f97043440a4934fc
CRs-Fixed: 774533
2022-07-29 05:56:46 -07:00
Namita Nair
a1c50a9788 qcacld-3.0: Support same link/mld peer mac address
Handle build errors in legacy chipsets, to support
same link/mld peer mac address handling for MLO.

Change-Id: I8b4e323481c6d327ee579a6b8143215c94341b8e
CRs-Fixed: 3228926
2022-07-29 05:56:46 -07:00
Sheenam Monga
02342e91f1 qcacld-3.0: Add single vdev of mac in connection dump
For multiple concurrency on dual mac, connection
dump is not added if a single vdev is present on
one mac. For example if 2 connections are on MCC 5 GHz
and one connection is on 2 GHz in DBS system then in
connection dump only MCC/SCC vdevs will be present.

Fix is to include single vdev in connection dump and
cleanup dump_dual_mac_concurrency as concurrency can
be checked with in loop instead of separarte mac share
check for each vdev.

Change-Id: I09ab964915cd3b132c3bd3cba096e40cba238eed
CRs-Fixed: 3254806
2022-07-29 05:56:40 -07:00
Yu Ouyang
2b22e003f9 qcacld-3.0: Ignore wiphy_suspend if shutdown_suspend enabled
If shutdown_suspend mode enabled, idle shutdown should be done before
suspend enter (wihpy_suspend). However, idle shutdow (cnss_idle_shutdown)
may return zero even failed to shutdown. Because cnss_idle_shutdown
just post event, and then return, almost always return zero.

Once this happened, driver can't be disabled. Function wiphy_suspend
and wlan_hdd_cfg80211_suspend_wlan will be called. It is not expected.
So, ignore wiphy_suspend if shutdown_suspend enabled, return EINVAL
directly.

Change-Id: I156a0bbefabe0e02ecdbe7ae37477b716840a0d4
CRs-Fixed: 3240745
2022-07-29 05:56:35 -07:00
Madan Koyyalamudi
c1a91c3a4e Release 5.2.1.30U
Release 5.2.1.30U

Change-Id: I26fd2d96242935ac11748792644eabcaa8338b0d
CRs-Fixed: 774533
2022-07-29 02:37:28 -07:00
Lin Bai
c65b1f6ca9 qcacld-3.0: update mld address when wlan_mac.bin is used
Update the MLD address when mac address are retrieved through
wlan_mac.bin.

Change-Id: I90e54f93dcc447756dd0dcaf5f39bfa86d110c79
CRs-Fixed: 3254278
2022-07-29 02:37:28 -07:00
Pragaspathi Thilagaraj
85754a03ca qcacld-3.0: Allow RX filter configuration for vdev mac address
For PASN authentication, the mgmt frame TX happens before
vdev is started. Firmware configures RX filter for the vdev
mac address during vdev start only. So if firmware sends PASN
initiate request with source mac address as vdev mac address,
then the RX filter willnot be configured since vdev mac is same
as source mac, this causes the PASN M2 frame from SAP to be
dropped and No ack is sent.

Configure RX filter for vdev mac address when vdev is not up.

Change-Id: I52c9e50a250be1935d1097d45753fa941ae73bea
CRs-Fixed: 3254628
2022-07-29 02:37:22 -07:00
Madan Koyyalamudi
93a07522e2 Release 5.2.1.30T
Release 5.2.1.30T

Change-Id: Id371777016161ea152d5894cecd8504c4107edd1
CRs-Fixed: 774533
2022-07-27 13:25:56 -07:00
Roopavathi Lingampalli
865eaba7f4 qcacld-3.0: Implement DP component for SWLM feature
Implement SWLM feature support in DP componentization
model.

Change-Id: I4cd03c768fe9d9bd66d484a8c5e2f2613e55f4e6
CRs-Fixed: 3243889
2022-07-27 13:25:56 -07:00
Madan Koyyalamudi
dbe3844a1f Release 5.2.1.30S
Release 5.2.1.30S

Change-Id: Ie87b73be72f62b76b8526a3f714b5585e78ade30
CRs-Fixed: 774533
2022-07-27 11:22:13 -07:00
Amit Mehta
3a8e4be9ea qcacld-3.0: Add call to apply tput policy
In current code changes call to apply tput policy
was missing, So to fix issue add call to update
the tput policy.

Change-Id: I29ef9db5789406877deb3177233c10ba1ae9db9c
CRs-Fixed: 3254183
2022-07-27 11:22:13 -07:00
Abhishek Singh
aa0fb887b5 qcacld-3.0: use wlan_status_code for status in SAE and SON status
SAE and SON use data path enum IEEE80211_STATUS_* to assign status
code.

Use proper control path enum wlan_status_code instead.

Change-Id: I50bde9e7983860692ffe381c74e894b84de11ddf
CRs-Fixed: 3253954
2022-07-27 11:22:07 -07:00
Madan Koyyalamudi
003bc0e1cb Release 5.2.1.30R
Release 5.2.1.30R

Change-Id: Ia64560547dc239c23528b95f6801c23a070fb3f5
CRs-Fixed: 774533
2022-07-27 09:25:12 -07:00
Aditya Kodukula
34c6ef266d qcacld-3.0: Fix variable type in sch_gen_timing_advert_frame
Currently inside the function sch_gen_timing_advert_frame, the variable
type used to hold the return value of populate_dot11f_timing_advert_frame,
is incorrect. So, fix it with correct variable type.

Change-Id: I592c1b3c291b4c9dce2cbe731021cf512cb598f2
CRs-Fixed: 3243257
2022-07-27 09:25:12 -07:00
Madan Koyyalamudi
8b9c0afcb4 Release 5.2.1.30Q
Release 5.2.1.30Q

Change-Id: I5f5ac76ee31f280d0d6fe8fd80dbe98977f64c02
CRs-Fixed: 774533
2022-07-27 07:22:29 -07:00
Bing Sun
dc90fbafd4 qcacld-3.0: Use qdf_hrtimer_data_t instead of __qdf_hrtimer_data_t
We should use qdf_hrtimer_data_t, which is QDF abstraction of hr_timers.
We should use QDF_HRTIMER_NORESTART instead of __QDF_HRTIMER_NORESTART.

Change-Id: I02b83a23c94d1acde955313ed39e1b5cc44f76f2
CRs-Fixed: 3253137
2022-07-27 07:22:29 -07:00
Madan Koyyalamudi
c5daf2d3e8 Release 5.2.1.30P
Release 5.2.1.30P

Change-Id: I6f46a6f673c00afa10f2489ae28ed6d88ada6a7e
CRs-Fixed: 774533
2022-07-27 05:36:20 -07:00
Amruta Kulkarni
a2014b4353 qcacld-3.0: Send correct HE caps length
While sending HE caps to FW the length parameter is not
updated, resulting in incorrect value for 2 GHz.
To fix this initialize the HE caps length before sending
WMI_VDEV_SET_IE_PARAM_CMDID.

Change-Id: I2126e02f82f48a0b3110bc7e1dbee887d2f8b0db
CRs-Fixed: 3250116
2022-07-27 05:36:19 -07:00
Madan Koyyalamudi
0c43291096 Release 5.2.1.30O
Release 5.2.1.30O

Change-Id: I3afbd3b02c2adc6acc9393a0d5110b4180c60fdb
CRs-Fixed: 774533
2022-07-26 19:38:28 -07:00
Amit Mehta
8208a54eb1 qcacld-3.0: Get Vote level and High threshold from dp context
Currently we are getting current vote level and bus bandwidth
high threshold from hdd context. But these are moved to dp
context under dp component.
So to fix issue add and call ucfg api to get and set values.

Change-Id: I2c36b2df76c5932dc0d1bdbdec21ce2da5f537bc
CRs-Fixed: 3252743
2022-07-26 19:38:28 -07:00
Madan Koyyalamudi
0bd12f8cfc Release 5.2.1.30N
Release 5.2.1.30N

Change-Id: I49032598b6c36b47425c4596df552bbe5c73fba8
CRs-Fixed: 774533
2022-07-26 16:27:55 -07:00
Amit Mehta
f0dd63a14e qcacld-3.0: Get netdev stats from DP interface
While requesting sta stats, tx/rx netdev stats update are
happening from adapter. But as part of latest code change
these stats are moved from adapter to dp interface, because
of which some of stats values are displayed as 0.

To Fix the issue get tx/rx netdev stats from dp interface,
Also add calls to clear netdev stats

Change-Id: I64523b035c1d902ccc4a45d82f7508751e518150
CRs-Fixed: 3247540
2022-07-26 16:27:55 -07:00
Madan Koyyalamudi
f62b46e07c Release 5.2.1.30M
Release 5.2.1.30M

Change-Id: I7234fd1202b825ac4910903c41096a98fa412299
CRs-Fixed: 774533
2022-07-26 08:03:41 -07:00
Aravind Kishore Sukla
0c13057466 qcacld-3.0: Reduce the level of kmsg for multiple assoc req
For multiple assoc requests, corresponding APIs are called
multiple times, which leads to the crash.

Reduce the level of kmsg, so that it reduces the number of logs
per second.

Change-Id: I846a88c75cc326e7e7bb6aa8dfb22717c6dba5c2
CRs-Fixed: 3249830
2022-07-26 08:03:41 -07:00
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