Commit Graph

25252 次程式碼提交

作者 SHA1 備註 提交日期
chunquan
abefa5a8b4 qcacld-3.0: Rename folder of blacklist_mgr
Rename folder of blacklist_mgr.

Change-Id: I426d1150d91a8fc97fc483836c954b742e8c8211
CRs-Fixed: 3102372
2022-03-15 20:43:56 -07:00
Ashish
ba7faf192a qcacld-3.0: Return EBUSY instead of EAGAIN from __dsc_vdev_can_trans
Currently driver returns EAGAIN as error code if vdev transition is
not possible, driver is not able to process this vdev transition
because some other PSOC/PDEV transition is going on.
On receiving EAGAIN error code userspace retries the same operation
immediately which again leads to failure as existing transition is
still in progress.

In current scenario, for STA+P2P case, if station is connected to
some ap and for p2p if DUT becomes p2p go, now if SSR is triggered,
host driver gets interface down for sta for change mac address as
station gets disconnected as part of SSR and this interface down
is cached as SSR is in progress. Once reinit gets complete, driver
processes this cached interface down as part of SSR and in this
process driver gets the change interface for p2p go, which it
rejects the error code as EAGAIN from __dsc_vdev_can_trans as
SSR is going on and change interface fails to get dsc op.
When user space gets EAGAIN as error code it immediately tries
the change interface again which driver again rejects as SSR is
still in progress. Also, on receiving EAGAIN error code, userspace
retries the change iface operation only once.

To address above issue, return error code as EBUSY, on receiving
EBUSY as erorr code, user space addds some wait before invoking
the same operation again and also it tries this operation 10 times
if it gets EBUSY as error code, this gives sufficient time to
complete the ongoing transition at driver.

Change-Id: I96ec94432e7624546363cda190abfc9970ab1eb9
CRs-Fixed: 3126558
2022-03-15 20:43:51 -07:00
Pragaspathi Thilagaraj
c5e40fc31a qcacld-3.0: Make PASN events as wakeable
PASN peer create request event and deauth events need
host actions and notifying the userspace.

So register for PASN events to wake up host.

Change-Id: Ic83f10984d4e4d5ee0f1e8a5d7c4fbc321395a26
CRs-Fixed: 3150120
2022-03-15 20:43:47 -07:00
Madan Koyyalamudi
aa39ba1d48 Release 5.2.1.14B
Release 5.2.1.14B

Change-Id: I9fa379dfd790f39e141a656d8590893ea0398c36
CRs-Fixed: 774533
2022-03-15 19:16:44 -07:00
Deeksha Gupta
620ca069f1 qcacld-3.0: Add support for allowed_authmode
Currently, STA doesn't support roam between WPA2 to WPA3
security or vice versa. To support this feature, host sends
list of allowed_authmode. So that Firmware will check and
roam on those authmode.

Fix, add support for allowed_authmode list in ap_profile.

Change-Id: I438a133a434ea12ec34680997ace358fd4910028
CRs-Fixed: 3113219
2022-03-15 19:16:43 -07:00
Madan Koyyalamudi
d0ea2dff70 Release 5.2.1.14A
Release 5.2.1.14A

Change-Id: I74bb35063ba53b30ed8a1c8132050875efa55a8e
CRs-Fixed: 774533
2022-03-15 17:24:50 -07:00
Bapiraju Alla
8120c5e78e qcacld-3.0: Save connection info to assoc link adapter
Currently, both ML adapter and assoc link adapter are mapped to same
VDEV. Hence STA connection info is expected to be same. But,
connection info is getting updated in only in ML adapter but not in
assoc link adapter. As a result, connection info is wrongly interpreted
when it is accessed through assoc link adapter.

To resolve this, update connection info in assoc link adapter with
the connection info present in ML adapter.

This change also includes 11BE mode conversion support from cfgdot11mode
to 80211mode.

Change-Id: Idb8371a6bcf7fc9e2dcc5972d0504d326d9e0aca
CRs-Fixed: 3121835
2022-03-15 17:24:49 -07:00
Madan Koyyalamudi
e7b024a157 Release 5.2.1.14
Release 5.2.1.14

Change-Id: I68642411798f44f711e91d6ca9bfe387479ebede
CRs-Fixed: 774533
2022-03-15 12:15:03 -07:00
Sachin Ahuja
b7dae4ffb4 qcacld-3.0: Check Thermal throttle service caps for get temp
Currently when get temperature is queried, both
gThermalMitigationEnable ini and WMI_SERVICE_THERM_THROT service caps are
checked in the driver.
gThermalMitigationEnable ini means the thermal throttling will be done
by driver if enabled and will be done by FW if disabled.

So, set this ini as 0 by default in the driver as thermal throttling
is done by FW and check only WMI_SERVICE_THERM_THROT service while
get temperature is queried.

CRs-Fixed: 3139693
Change-Id: I28e2b6cfca6ea7bf60d81045ba267e019143f3a8
2022-03-15 12:15:03 -07:00
Madan Koyyalamudi
e9151c4241 Release 5.2.1.13Z
Release 5.2.1.13Z

Change-Id: I58eeee95718cb66549eff376fd30d3357f702d3c
CRs-Fixed: 774533
2022-03-15 07:37:42 -07:00
David Oladunjoye
a26ed5042c qcacld-3.0: Send TWT teardown if power save mode is disabled
When power save mode is disabled, TWT is also disabled. All existing
TWT sessions must be removed.

Change-Id: I7c1ceb7abbfea0205e65a038fdf8d574b797685e
CRs-Fixed: 3147231
2022-03-15 07:37:42 -07:00
Madan Koyyalamudi
0c515a99a8 Release 5.2.1.13Y
Release 5.2.1.13Y

Change-Id: Id3c77d873026f3871fdcd9c65bbe4de52d704826
CRs-Fixed: 774533
2022-03-15 00:10:30 -07:00
Wu Gao
f508db20c0 qcacld-3.0: Enable CFR support for KIWI
This change adds CFR support for KIWI.

Change-Id: I24be320cb74df03b278e2752f7c8386b70fcfb94
CRs-Fixed: 3119029
2022-03-15 00:10:30 -07:00
Madan Koyyalamudi
ba2706fec9 Release 5.2.1.13X
Release 5.2.1.13X

Change-Id: I5670f16c5483764b72762ac0da441b03693f6c38
CRs-Fixed: 774533
2022-03-14 22:31:05 -07:00
Jinwei Chen
54eeef2926 qcacld-3.0: Use policy_mgr_find_if_hwlist_has_dbs as DP DBS check
Current policy_mgr_is_hw_dbs_capable() will check both DBS HW mode
and WMI_SERVICE_DUAL_BAND_SIMULTANEOUS_SUPPORT service bit, while
DP expect to check HW mode only.

Use policy_mgr_find_if_hwlist_has_dbs() for DP DBS check.

Change-Id: I9e69e5754ef4ea522f50e2e27380e5b5d08532b3
CRs-Fixed: 3140385
2022-03-14 22:31:05 -07:00
Prakash Manjunathappa
61641f0ec8 qcacld-3.0: Make 1:1 mapping of REO to rx_thread
Remove CONFIG_WLAN_FEATURE_REDUCE_RX_THREADS compile flag.
Keep num rx_thread dependent on rx REO rings, 1 rx_thread for
each rx REO ring. It is controlled via INI dp_reo_rings_map.

Change-Id: I701e5cec79a8968b540c9437fe297ca1db8cd5d3
CRs-Fixed: 3048265
2022-03-14 22:31:00 -07:00
Madan Koyyalamudi
fa32dae582 Release 5.2.1.13W
Release 5.2.1.13W

Change-Id: Ieecb47a6b27500a211516bb01fa3669b0f57fad6
CRs-Fixed: 774533
2022-03-14 10:11:02 -07:00
Vinod Kumar Myadam
47e605e928 qcacld-3.0: Fix validate vdev param
In wma_unified_set_sta_ps_param(), sending vdev param to
fw with out validate the vdev param, effects crash in fw
for the invalid vdev.

Add validate vdev param to send proper context data to fw.

Change-Id: I75206cff745a2774f30b36e8e6261cb452d749e8
CRs-Fixed: 3128593
2022-03-14 10:11:02 -07:00
Deeksha Gupta
5a5a3deb12 qcacld-3.0: Add support for security scoring
Add support for security score. On the basis of score,
host will select AP for initial connection and roaming.

Change-Id: I041a1b0c1456d7f01dd07e9b282996c56755655e
CRs-Fixed: 3113213
2022-03-14 10:10:56 -07:00
Madan Koyyalamudi
3bf75d584b Release 5.2.1.13V
Release 5.2.1.13V

Change-Id: If9cf79443ac1820b9b308aac68b6ae6b8bd55a6b
CRs-Fixed: 774533
2022-03-14 08:50:06 -07:00
chunquan
03c551de67 qcacld-3.0: Rename files with blacklist/whitelist
Rename files with blacklist/whitelist to denylist/whitelist.
Rename files with blm to dlm.

Change-Id: Ief7ce0a797f74460c9708f8d2dd440412af5b7eb
CRs-Fixed: 3099864
2022-03-14 08:50:05 -07:00
Madan Koyyalamudi
f2b6199882 Release 5.2.1.13U
Release 5.2.1.13U

Change-Id: I2d06943661416f711b7fded2f57649bf66d6921c
CRs-Fixed: 774533
2022-03-14 07:28:18 -07:00
Deeksha Gupta
777ebf8d3a qcacld-3.0: Handle status code for TWT Notify event
Handle status code for TWT Notify event

Change-Id: Icc802a19eaac3ccd92dc6447ed0f797ea43ff454
CRs-Fixed: 3138650
2022-03-14 07:28:18 -07:00
Madan Koyyalamudi
16b8c67c37 Release 5.2.1.13T
Release 5.2.1.13T

Change-Id: I26933560f28ee7d132e42ed899c556f168aa66bb
CRs-Fixed: 774533
2022-03-14 00:43:36 -07:00
Madhvapathi Sriram
79e13b55ab qcacld-3.0: User MCC quota setting
Set the MCC quota for a given interface.

Change-Id: I313cdf1673f8fc5f50a049d429c0d88fd213e66f
CRs-Fixed: 3106146
2022-03-14 00:43:35 -07:00
Madan Koyyalamudi
ec454ae3e5 Release 5.2.1.13S
Release 5.2.1.13S

Change-Id: I92d8e8ffd6bb08b09263254cc0dec7cfb11c9656
CRs-Fixed: 774533
2022-03-13 10:13:28 -07:00
Yu Ouyang
b6f786391b qcacld-3.0: Avoid calling idle shutdown many times
Shutdown in suspend phase, idle shutdown timer will be invoked if all
adapters closed. And then driver suspend function will return EAGAIN to
user space to try suspend again. Idle shutdown will be finished in ~1s.
Thus, Idle shutdown timer may be called for many times when user space
try suspend again.

So, add flag to avoid calling idle shutdown many times.

Change-Id: Ic701dce917288db09511f6ffc540cf8cf3eca5db
CRs-Fixed: 3140750
2022-03-13 10:13:28 -07:00
Madan Koyyalamudi
780ffbb0c2 Release 5.2.1.13R
Release 5.2.1.13R

Change-Id: I2adc47d7118311f3d81c9ad0679528444edaf4d1
CRs-Fixed: 774533
2022-03-11 09:16:12 -08:00
Pragaspathi Thilagaraj
4648e9fece qcacld-3.0: Fix ROAM/NO_ROAM print conditions
As part of the Roam candidate result logging, the
driver prints ROAM if reassociation is successful and
NO_ROAM if candidate is found and roaming is successful.
But the expectation is to print ROAM even if candidate
is found and roaming has failed.

Change the logic to print ROAM/NO_ROAM based on below condition:
1. Roam result successful -> ROAM
2. Roam result failure && candidate is found -> ROAM
3. ROam result failure && candidate is not found -> NO_ROAM

Fix the authentication/association missing frame print
in the roam logging, also cleanup the unused API's.

Change-Id: I43e0cea007890f4796b421b0a42cc71b8ca1a600
CRs-Fixed: 3146630
2022-03-11 09:16:12 -08:00
Madan Koyyalamudi
1cc0eda0cf Release 5.2.1.13Q
Release 5.2.1.13Q

Change-Id: Ic6dd83f72e43110f9d6b88df4e908af88389c1e7
CRs-Fixed: 774533
2022-03-11 03:37:48 -08:00
Will Huang
985e21a72b qcacld-3.0: Reserve NAN vdev only when both fw/host enable NAN
On some platform, FW report NAN support capability always with the
share reason, but don't have to support NAN on some project so host
configure disable it.

We should check NAN reserve logic only when both fw/host enable it.

Change-Id: Ied9b6e292670b7d49ddcf691275410b95b7fd7bc
CRs-Fixed: 3142145
2022-03-11 03:37:48 -08:00
Madan Koyyalamudi
ae7e9df152 Release 5.2.1.13P
Release 5.2.1.13P

Change-Id: I7e378d89d703b1148d875f2e81b37f4ed1177594
CRs-Fixed: 774533
2022-03-10 19:23:53 -08:00
Pragaspathi Thilagaraj
f1dd1a7be4 qcacld-3.0: Fix BTM response ordering in connectivity logs
Currently for WTC BTM roam trigger, below order is followed:
[22:22:51.127105][BTM] RESP token=1 status=1 delay=0 [vdev_id=0
fw_time=00:53:58.350672]
[22:22:51.127129][BTM] WTC reason_code=6 [vdev_id=0
fw_time=00:53:58.350672]

But expected order is:
[22:22:51.127129][BTM] WTC reason_code=6 [vdev_id=0
fw_time=00:53:58.350672]
[22:22:51.127105][BTM] RESP token=1 status=1 delay=0 [vdev_id=0
fw_time=00:53:58.350672]

Fix this order issue and also ignore the BTM response TLV if
timestamp is 0.

Change-Id: I21fe268a3e3ea065482c1c2938d03b844cd387ea
CRs-Fixed: 3143297
2022-03-10 19:23:52 -08:00
Madan Koyyalamudi
7d27200269 Release 5.2.1.13O
Release 5.2.1.13O

Change-Id: Icb1b57c6c9cff0de2dafd037f6bcadd192641104
CRs-Fixed: 774533
2022-03-10 14:47:34 -08:00
Zhaoyang Liu
91e5d73b13 qcacld-3.0: add band 6ghz flag to fix building error
Default kernel version 5.4 not support all 6GHz changes,
and msm-5.4 kernel introduced below commit to do backport:
Git-commit: 3290a9818c538b88d4e75b5891fa530e9142c219.

This causes building error on third party platform with
kernel version 5.4. Fix it with adding CONFIG_BAND_6GHZ flag.

Change-Id: I967a5e5c1ab3b3bc349f2685950f3bfe6b33255e
CRs-Fixed: 3148383
2022-03-10 11:12:14 +08:00
Madan Koyyalamudi
abef63b88d Release 5.2.1.13N
Release 5.2.1.13N

Change-Id: Ic247e018f02503570557e80817e5348eaec58be8
CRs-Fixed: 774533
2022-03-09 08:04:09 -08:00
Jianmin Zhu
d813137bb6 qcacld-3.0: Reconfig ITO when enter WoW for runtime pm
Some rogue AP sends beacon frames with TIM bit set for long time,
DUT STA need response a qos null frame, if ITO(inactive timeout) is 200ms,
STA can't get a chance go to sleep for long time during WoW, assert will
happen at last.
To fix it, for both system suspend and runtime suspend/resume, config
ITO to short value(50ms) when trigger FW to enter WoW mode, and config
ITO to default value(200ms) after exiting WoW mode.

Change-Id: I8f84afaf2ba030bbb9acf5c7ea78de583c634424
CRs-Fixed: 3146685
2022-03-09 08:04:08 -08:00
Madan Koyyalamudi
9b2da066e9 Release 5.2.1.13M
Release 5.2.1.13M

Change-Id: Ib21907d31a2255e090af0ef993a5e5c872913a37
CRs-Fixed: 774533
2022-03-09 04:07:17 -08:00
Kai Liu
c8bc7b1b08 qcacld-3.0: Use simple lim.c to include lim layer common files
When build kiwi_v2 driver, it reports below error
"make[3]: /bin/sh: Argument list too long". It's because when ar
process kiwi_v2.o, current driver generates too many characters which
over bash's limitation, so create lim.c file to includes all lim layer
common files to save some room.

Change-Id: Ic4a1a71ebc9e42fde5e1a11b5342a7f17a9e0d91
CRs-Fixed: 3138823
2022-03-09 04:07:16 -08:00
Madan Koyyalamudi
c938ad3f8a Release 5.2.1.13L
Release 5.2.1.13L

Change-Id: I8deaac7cdffe5cc82f6717694f067eb349dcb794
CRs-Fixed: 774533
2022-03-08 23:59:11 -08:00
Amruta Kulkarni
6b446b0074 qcacld-3.0: Add checks in mlo api's
- Pass appropriate length size in lim_send_mlo_caps_ie().
- Initialize ml ie reserved bits to 0.
- Add null check in mlo_cm_roam_sync_cb() and
lim_mlo_roam_delete_link_peer().

Change-Id: I70abcca14f29b4a417ae8ca3dda840bbef0de6a0
CRs-Fixed: 3126553
2022-03-08 23:59:10 -08:00
Madan Koyyalamudi
149e251e40 Release 5.2.1.13K
Release 5.2.1.13K

Change-Id: I3584189885467ed97e55d714b1aed6a0b302d93e
CRs-Fixed: 774533
2022-03-08 15:09:58 -08:00
Jia Ding
ab1f6b5682 qcacld-3.0: Mark first packet after wow wakeup
Add feature flag to support marking first packet after wow wakeup
and enable it for QCA6490.

Change-Id: Icbda6dabe61a113a8aaa87f7a8fd1d95555226a1
CRs-Fixed: 3137627
2022-03-08 15:09:58 -08:00
Madan Koyyalamudi
aac0ed56b3 Release 5.2.1.13J
Release 5.2.1.13J

Change-Id: Iabf3d493ed8df9c77c17a217e663ac8be9b19cdf
CRs-Fixed: 774533
2022-03-08 13:04:06 -08:00
Gururaj Pandurangi
223e717e96 qcacld-3.0: Correct the copyright year in dot11f file
Correct the copyright year in the header of dot11f frame
parser file.

Change-Id: I0788c6975ebc09fc5db5f83fc94e5d90b92c33f9
CRs-Fixed: 3144935
2022-03-08 13:04:05 -08:00
Jyoti Kumari
4085f1d96d qcacld-3.0: Release vdev ref count in twt complete callback api
Vdev ref count is not released after acquired in both success and
failure case in osif_twt_notify_complete_cb().

Release vdev ref count in both success and failure case.

Change-Id: I54ba4bdeb0ac5a6965a674e4c3dc5d0d8d6992bc
CRs-Fixed: 3143718
2022-03-08 13:03:59 -08:00
Madan Koyyalamudi
fe26429ae9 Release 5.2.1.13I
Release 5.2.1.13I

Change-Id: Iaf39df6afe2116093991450bd6448a40d165279f
CRs-Fixed: 774533
2022-03-08 05:37:35 -08:00
Pragaspathi Thilagaraj
0ca74f6926 qcacld-3.0: Fix cu load/current rssi/rssi threshold invalid values
Driver fetches CU load/current rssi/rssi threshold values from
wmi_roam_trigger_reason TLV.
But the values are applicable only for below roam triggers:
wmi_roam_trigger_reason->cu_load : BSS LOAD trigger
wmi_roam_trigger_reason->current_ap_rssi: Low RSSI trigger/
Periodic scan
wmi_roam_trigger_reason->rssi_threshold: Low Rssi/Periodic
scan trigger

So based on agreement with target, use the values from
wmi_roam_ap_info TLV of the current connected AP
irrespective of the roam trigger.

Change-Id: Iaf204198778c1912f77a625154dd63756b1d23e5
CRs-Fixed: 3128803
2022-03-08 05:37:35 -08:00
Madan Koyyalamudi
d410214f2b Release 5.2.1.13H
Release 5.2.1.13H

Change-Id: I43e9522f1aecb4b80e2fca5dc19206e56581750a
CRs-Fixed: 774533
2022-03-08 01:19:44 -08:00
nakul kachhwaha
12c10fe176 qcacld-3.0: Add config to ease scan/connection restriction in 6Ghz
Add new config to ease scan and connection restriction
in 6GHz band when bss is advertising different country.

Change-Id: I13bd0dbd52fad297b995add8fc8a71d7a058c25b
CRs-Fixed: 3135152
2022-03-08 01:19:44 -08:00