Графік комітів

19091 Коміти

Автор SHA1 Повідомлення Дата
Tiger Yu
f702106630 qcacld-3.0: Enable TSO/SG feature by the FEATURE_TSO/dp_sg_support
The hdd_set_netdev_flags enable the TSO feature regardless of the
FEATURE_TSO, which will cause the performance regression issue on
the non-tso supported chip.

Enable TSO feature based on the FEATURE_TSO, and enable the SG feature
separately by ini dp_sg_support for legacy chip to fix it.

Change-Id: I0fcb189069f0aa2069ae8427ad96a8db25a91a2f
CRs-Fixed: 2812953
2020-11-22 21:13:12 -08:00
snandini
aa8c9d0bbd Release 5.2.0.211E
Release 5.2.0.211E

Change-Id: I645b399f3ca7616bcb1975d52186c7df793c3db7
CRs-Fixed: 774533
2020-11-22 05:41:22 -08:00
Pragaspathi Thilagaraj
950deb641d qcacld-3.0: Add support for peer create confirmation event
Firmware sends peer create confirmation to detect duplicate peer
on other vdev. If the status field in the
wmi_peer_create_conf_event_fixed_param is 0, peer creation is
successful.
Add support to handle the peer create confirmation command for
sta mode. For roaming scenario, the peer will be internally
created by the firmware, so bail out after creating object
manager peer/datapath peer without sending the peer create
command similar as the current implementation.
For SAP/P2P Go mode the legacy peer create path will be used.

Proceed to do post linkstate change if status is success, else
do vdev stop and indicate failure to upper layers

Change-Id: I0abbd70dd509f2b9afa8d4d7db1774e289d1e021
CRs-Fixed: 2747870
2020-11-21 09:13:06 -08:00
snandini
7c473de8af Release 5.2.0.211D
Release 5.2.0.211D

Change-Id: Ia2f7762e68a9f74f8a75df2567fe2f4418e95976
CRs-Fixed: 774533
2020-11-20 20:30:18 -08:00
Wu Gao
2298da126c qcacld-3.0: Update nla policy about cfr configurations
It uses policy of wlan host to check settings from user space in
msm-5.4, which causes user application failed to trigger cfr vendor
command. This change updates nla policy of cfr and let it compatible
with msm-5.4.

Change-Id: Ia7e9bb1e12b4e4f586abb650fe52a62292b0f11d
CRs-Fixed: 2819321
2020-11-20 20:30:18 -08:00
snandini
a42d93effb Release 5.2.0.211C
Release 5.2.0.211C

Change-Id: I67cdc3df6dbe8a9fde4217d3f33c5703bac5f6e9
CRs-Fixed: 774533
2020-11-20 18:31:35 -08:00
Nisha Menon
391c3e1271 qcacld-3.0: Add more memory stats pertaining to DP usage
Add sysfs node for DP level memory stats:
/sys/kernel/wifi/wlan/wlan_dp_mem_stats

This includes: Tx SKB memory allocated, Rx SKB memory
allocated, high watermarks for the memory allocations
in Rx/Tx path, Rx/Tx buffer counts, high watermarks
for these counters, outstanding Tx decs count and high
watermark for the outstanding Tx descs.

Change-Id: I58a31c6a6140801eb59512f8d764ddf8fb1d4213
CRs-Fixed: 2724442
2020-11-20 18:31:35 -08:00
snandini
60e3e52198 Release 5.2.0.211B
Release 5.2.0.211B

Change-Id: Ibbba0b7fa45a7d4002add10aa2e539d7116c5f63
CRs-Fixed: 774533
2020-11-20 16:24:41 -08:00
Lincoln Tran
b18e7854bf qcacld-3.0: Add check for passive channel for SAP
Add a check for passive channels when checking the restricted
bands on SAP. This change blocks SAP from restarting on a passive
channel.

Implement the function to filter out passive channels from the PCL.

Change-Id: I80a4b78c1af77f5bfa68be3163f9e9a78cc6425a
CRs-fixed: 2817589
2020-11-20 16:24:41 -08:00
snandini
4f22ac0d3e Release 5.2.0.211A
Release 5.2.0.211A

Change-Id: I46d2f442bbd3da64d25078579b45e9628065dfbb
CRs-Fixed: 774533
2020-11-20 13:11:00 -08:00
Gururaj Pandurangi
370f376c02 qcacld-3.0: Modify connect start code in if mgr
Modify connect start code in interface manager by
moving disable roam and tdls link teardown notify
APIs from HDD to if mgr. Alongside, move tdls link
teardown notify API from HDD to if mgr in start bss API.
Also, move the tdls link teardown API to TDLS module from
HDD module as TDLS should manage the wait logic.

Change-Id: I09fa31878563a3daaa7c5fde46327475829317b3
CRs-Fixed: 2811807
2020-11-20 13:11:00 -08:00
snandini
c9cd665a5c Release 5.2.0.211
Release 5.2.0.211

Change-Id: Iae96b08e5bffc89aa33a81975a18802208ced4bc
CRs-Fixed: 774533
2020-11-20 10:43:33 -08:00
Paul Zhang
a1e54f9b9e qcacld-3.0: Configure capabilities of ul mu-mimo
Add code logic to configure capabilities of ul mu-mimo.

Change-Id: Ia498962072383c195f9b6c5c1370aa5c1bb22782
CRs-Fixed: 2816961
2020-11-20 10:43:32 -08:00
Liangwei Dong
fcd160da98 qcacld-3.0: Correct OCB dbg ID
Use hdd_objmgr_get_vdev_by_user to get OCB dbg ID instead of
hdd_objmgr_get_vdev.

Change-Id: I7e37c91a4e6670ddb6772dfce3235284a411b7c2
CRs-Fixed: 2823479
2020-11-20 10:43:29 -08:00
snandini
e5ca5d3f87 Release 5.2.0.210Z
Release 5.2.0.210Z

Change-Id: I1bb62a5e6a28a4ca4535477675a6e1644db3581c
CRs-Fixed: 774533
2020-11-20 08:35:11 -08:00
Amar Singhal
618b6939f2 qcacld-3.0: Do not loop tx power from firmware
firmware sends Hw-limit tx power in vdev response and roam sync.
Do not loop back the same value to firmware; since firmware already
knows the value.

Change-Id: Ie9ba329516d5d75329bb1baaed13c8bdb7d1eb83
CRs-Fixed: 2823108
2020-11-20 08:35:10 -08:00
Min Liu
2dc9d8c956 qcacld-3.0: Get dynamic nss configuration for STA
For STA, get dynamic nss configuration if it is supported by FW.

Change-Id: Ie1fce5896e473e361672f7e021d3acf6653cb964
CRs-Fixed: 2822062
2020-11-20 08:35:07 -08:00
CNSS_WLAN Service
ce857836f1 Merge "Release 5.2.0.210Y" into wlan-cld3.driver.lnx.2.0 2020-11-20 07:46:03 -08:00
CNSS_WLAN Service
5b41ea9b44 Merge "qcacld-3.0: Remove unnecessary wma_handle checks" into wlan-cld3.driver.lnx.2.0 2020-11-20 07:46:02 -08:00
CNSS_WLAN Service
f77fe56aa8 Merge "qcacld-3.0: Use spectral scan dbg id for spectral operations" into wlan-cld3.driver.lnx.2.0 2020-11-20 07:46:01 -08:00
CNSS_WLAN Service
7fdbc98a07 Merge "Release 5.2.0.210X" into wlan-cld3.driver.lnx.2.0 2020-11-20 07:45:56 -08:00
CNSS_WLAN Service
780a582016 Merge "qcacld-3.0: Add ini for STA + Monitor mode" into wlan-cld3.driver.lnx.2.0 2020-11-20 07:45:55 -08:00
CNSS_WLAN Service
c88b31201c Merge "qcacld-3.0: Add support for STA + monitor mode" into wlan-cld3.driver.lnx.2.0 2020-11-20 07:45:53 -08:00
CNSS_WLAN Service
c9ca80e5f2 Merge "qcacld-3.0: Use powersave osif debug id for vdev get/put" into wlan-cld3.driver.lnx.2.0 2020-11-20 07:45:51 -08:00
CNSS_WLAN Service
31ad116779 Merge "qcacld-3.0: Add function to convert HW to qdf status" into wlan-cld3.driver.lnx.2.0 2020-11-20 07:45:48 -08:00
snandini
d7b3636531 Release 5.2.0.210Y
Release 5.2.0.210Y

Change-Id: If9e732c1f7521b663244af5dcdacbad2c4b32270
CRs-Fixed: 774533
2020-11-20 04:03:31 -08:00
Srinivas Girigowda
6659ed5e49 qcacld-3.0: Remove unnecessary wma_handle checks
Remove unnecessary wma_handle checks and cleanup the code.

Change-Id: Ia8daf24037d94996f35b9eefc661713664c0fce9
CRs-Fixed: 2823125
2020-11-20 04:03:31 -08:00
Liangwei Dong
94f2a06fdd qcacld-3.0: Use spectral scan dbg id for spectral operations
Change HDD layer to use WLAN_OSIF_SPECTRAL_ID reference count
dbg id for vdev reference count acquire/release when process
spectral scan request.

Change-Id: I432821275cb4a88cecc049403145868239899c15
CRs-Fixed: 2820488
2020-11-20 04:03:27 -08:00
snandini
62998977da Release 5.2.0.210X
Release 5.2.0.210X

Change-Id: Ia9d18c35600acd319d88b6204deb92606f5c4fac
CRs-Fixed: 774533
2020-11-19 22:45:59 -08:00
Amruta Kulkarni
3d08c46bea qcacld-3.0: Add ini for STA + Monitor mode
Add new ini "monitor_mode_concurrency" to support this feature
and introduce policy manager api's for concurrency checks.

Change-Id: I35ee1fece0a6f9ae8fe340b0598c4a3e20b17e82
CRs-Fixed: 2814523
2020-11-19 22:45:59 -08:00
Amruta Kulkarni
65fe69ff37 qcacld-3.0: Add support for STA + monitor mode
In mission mode, add support for virtual add/del monitor
mode interface. In addition to STA vdev, create and maintain
a new vdev for monitor interface.

Change-Id: I91ea8e56976cce92f9b1ae308d4bd0fb30815366
CRs-Fixed: 2818499
2020-11-19 22:45:53 -08:00
Liangwei Dong
f371b49a46 qcacld-3.0: Use powersave osif debug id for vdev get/put
For all Power/WOW operations in HDD layer, use WLAN_OSIF_POWER_ID
reference count dbg id for vdev reference count acquire/release.

Change-Id: Iec49ba5f2dfc1d809f64767d17eb00e4ba25739a
CRs-Fixed: 2819394
2020-11-19 22:45:47 -08:00
snandini
51f38950d8 Release 5.2.0.210W
Release 5.2.0.210W

Change-Id: Iee4cdda0c71a0678ee493b86a2991989de6f86da
CRs-Fixed: 774533
2020-11-19 20:39:03 -08:00
sandhu
a31cfcd002 qcacld-3.0: Add function to convert HW to qdf status
Enhance qdf tx rx to hw tx completion status mapping.
Add inline function to convert hw status to qdf
status. Add dummy argument to qdf_dp_trace_ptr function.

Change-Id: If225bf385a3ce12f354f761594bf3d51ff710a13
CRs-Fixed: 2810592
2020-11-19 20:39:02 -08:00
snandini
84f9108b85 Release 5.2.0.210W
Release 5.2.0.210W

Change-Id: I6e689bd175f74235e40a59b94ce8d1bb7614777a
CRs-Fixed: 774533
2020-11-19 18:23:13 -08:00
Li Feng
292b491dd8 qcacld-3.0: Add gpio irq as wakeup source
On some third party platform, the in-band bus suspend-resume is
not supported well, instead add gpio irq as wakeup source to
support out-of-band suspend-resume.

Change-Id: I7621f04d093013e15719b5c84dc244604be238df
CRs-Fixed: 2815754
2020-11-19 18:23:13 -08:00
Min Liu
e75553536a qcacld-3.0: Wait for ram dump completed when FW assert
From ROME, when FW assert, need to wait for ram dump via PCIe completed
before calling QDF_BUG.

Change-Id: I3d76f34c5eacccae07ed485b679a4177be12b15e
CRs-Fixed: 2818715
2020-11-19 18:23:08 -08:00
snandini
7f3cb5c26c Release 5.2.0.210V
Release 5.2.0.210V

Change-Id: I85136edeeed4e5f8482b80a992918376532330c5
CRs-Fixed: 774533
2020-11-19 14:03:22 -08:00
hqu
592423cb90 qcacld-3.0: Check for max allowed STA vdevs in hdd_start_adapter()
When set ini gEnableConcurrentSTA to wlan1, two adapters with STA
type will be opened in initialization, in STA+P2P_CLI test case,
it will be failed for checking maximum allowed STA vdevs in change
interface APIs from QDF_P2P_DEVICE_MODE to QDF_P2P_CLIENT_MODE. If
just open adapter with STA type and don't start adapter, it won't
create vdev in firmware.

When do interface up action, hdd_start_adapter() will create vdev in
firmware really, so add interface up status check when checking for
max allowed STA vdevs and check max allowed STA vdevs in
hdd_start_adapter().

Change-Id: I5b2dd09fb58aa3135743a029889e689729bd05a7
CRs-Fixed: 2815174
2020-11-19 14:03:21 -08:00
snandini
d1af4a2242 Release 5.2.0.210U
Release 5.2.0.210U

Change-Id: Ia5d79f3329431eff1e563273be5f5e599cd7355c
CRs-Fixed: 774533
2020-11-19 00:51:02 -08:00
Srinivas Girigowda
04ec73013d qcacld-3.0: wma: Remove logs for cds_get_context() checks
cds_get_context() function already takes care of logging the
caller function name in case of any error.
Hence there is no need to add the error log again.
Getting rid of these unnecessary logs reduces driver memory footprint.

Change-Id: I44e2998effe642932d83376bf92083be8d52073d
CRs-Fixed: 2822110
2020-11-19 00:51:01 -08:00
snandini
9c98aa45b0 Release 5.2.0.210T
Release 5.2.0.210T

Change-Id: I60f9e342f131fc213e6560de1ad497700fe15fe6
CRs-Fixed: 774533
2020-11-18 16:23:36 -08:00
sandhu
d4c2f2c440 qcacld-3.0: Add inline function to check RX thread flush condition
Add a wrapper for the RX thread flush condition.

Change-Id: I0358c6cafaa6bc55f443e07afce0d0bb58d301c7
CRs-Fixed: 2783960
2020-11-18 16:23:36 -08:00
snandini
7213cc5db4 Release 5.2.0.210S
Release 5.2.0.210S

Change-Id: I28cc3d12ddc444d376844e3c1daf4acf8634d476
CRs-Fixed: 774533
2020-11-18 14:19:13 -08:00
snandini
8fbb8508ad Release 5.2.0.210R
Release 5.2.0.210R

Change-Id: Id1a5e13003aa811fb908f4e73ec20661eac65cb0
CRs-Fixed: 774533
2020-11-18 12:03:52 -08:00
Yu Wang
c37adc1bf1 qcacld-3.0: add api to check if the channel is allowed for sap
Check the factors as below to decide whether the channel is
allowed or not:
 * If the channel is in LTE coex channel avoidance list;
 * If it's STA+SAP SCC;
 * If STA+SAP SCC on LTE coex channel is allowed.

Replace policy_mgr_is_safe_channel() with this new function
for sap channel selection and acs channel filtering, to allow
unsafe channels when it's STA+SAP SCC and STA+SAP SCC on LTE
coex channel is allowed.

CRs-Fixed: 2743042
Change-Id: Ic5a84b2628200fe9decf6972f00706f190f04722
2020-11-18 12:03:52 -08:00
snandini
db21759630 Release 5.2.0.210Q
Release 5.2.0.210Q

Change-Id: I83039a11dd26ea63b7155e3a87ce9786eda9d9ca
CRs-Fixed: 774533
2020-11-18 09:54:44 -08:00
gaurank kathpalia
6ef65a43ed qcacld-3.0: Move ini cfg to LIM
Move ini configuration params to LIM
as per of connection manager.

Change-Id: I85f7dc87fb483d49ed021349f81a1072b4aa114a
CRs-Fixed: 2820684
2020-11-18 09:54:44 -08:00
snandini
4c3e9cf813 Release 5.2.0.210P
Release 5.2.0.210P

Change-Id: I3e8b3c51ffd386466c7b2ff29d18ba273e2b1236
CRs-Fixed: 774533
2020-11-18 07:46:14 -08:00
gaurank kathpalia
2afb8a6688 qcacld-3.0: Add logic to ignore 6Ghz AP if security is not valid
Add logic to
- Check if connect req freq is 6Ghz and security
  is not allowed for 6Ghz, reject connect.
- Ignore 6Ghz APs if connect req security is invalid
  for 6Ghz

Also added user config key_mgmt_mask_6ghz mask
to allow specific AKMs, by default all are allowed.

Add added user config check_6Ghz_security to enable
security checks as per spec.

Change-Id: Iada7bb685b272e26cff7e89cf64d181ed6eb48a4
CRs-Fixed: 2820358
2020-11-18 07:46:14 -08:00