提交線圖

20830 次程式碼提交

作者 SHA1 備註 日期
snandini
a191f4dc1e Release 5.2.0.203H
Release 5.2.0.203H

Change-Id: I7093475bf7e1a9366a093b5456656c78600a3937
CRs-Fixed: 774533
2020-09-18 10:38:02 -07:00
Pragaspathi Thilagaraj
55e19140ea qcacld-3.0: Fix null pointer dereference of profile
In csr_issue_set_context_req_helper() profile is dereferenced
to get the encryption type.

Add null check before accessing the profile pointer.

Change-Id: I40c148648130918f9da0194ff6e132d55b113008
CRs-Fixed: 2777778
2020-09-18 10:38:01 -07:00
Karthik Kantamneni
a8603fc937 qcacld-3.0: Add P2P UDP/TCP checksum offload DP cfg entry
Recently P2P UDP/TCP checksum offload INI is added
but corresponding DP cfg entry is missing. 
Add P2P UDP/TCP checksum offload DP cfg entry.

Change-Id: If1c4a898f23541ca9d1c674b7650d1f9998e59c6
CRs-Fixed: 2779963
2020-09-18 10:37:58 -07:00
snandini
9d1bee29e9 Release 5.2.0.203G
Release 5.2.0.203G

Change-Id: Ie118764c507a7c5c1b97e337a0c8c0a2ee5e7dcb
CRs-Fixed: 774533
2020-09-18 07:29:58 -07:00
Abhishek Singh
5cdd743c84 qcacld-3.0: Move rso tx ops to psoc from vdev
Move rso tx ops to psoc from vdev.

Change-Id: Icd0a8aef8ecc7ef097b2239d05c6e21ea36b8216
CRs-Fixed: 2779294
2020-09-18 07:29:57 -07:00
Arun Kumar Khandavalli
600758fada qcacld-3.0: sent the correct nss to the firmware
The current contract between the host and the firmware is that
0 means 1x1 nss
1 means 2x2 nss

with the new nl80211 interface the driver is sending 1 for 1x1
and 2 for 2x2 nss, so the command is failing for the 2x2 nss.

Send the nss value as per the current expectation so that rate
setting would take place.

Change-Id: I3cb376704e7e3430fbce0015183812484127cbb8
CRs-Fixed: 2772297
2020-09-18 07:29:52 -07:00
Yu Wang
491f6bc603 qcacld-3.0: free keys for vdev when disconnect from AP
Free keys for vdev when disconnect from AP in STA mode,
otherwise, the keys may be used in the next connection, which will
result in connection failure.

CRs-Fixed: 2773040
Change-Id: I6d3e858cdc5b38b25a4431b9aaf5f2fc3e1019c7
2020-09-18 07:29:47 -07:00
snandini
5511f2645b Release 5.2.0.203F
Release 5.2.0.203F

Change-Id: I54d9e42d974f131af685762f003a8416eeb3b3b3
CRs-Fixed: 774533
2020-09-18 04:59:11 -07:00
Srinivas Girigowda
49f542e8a7 qcacld-3.0: Replace WMI_LOGD() with wmi_debug()
Replace WMI_LOGD() with wmi_debug().

Change-Id: Ie08879d4c75685d8d0691c7db0a402ec36cdd772
CRs-Fixed: 2776619
2020-09-18 04:59:10 -07:00
Srinivas Girigowda
ef64ab26b9 qcacld-3.0: Replace WMI_LOGI() with appropriate log level
Replace WMI_LOGI() with appropriate log level.

Change-Id: I46323dcf0adf0f132c375955c162ddf9560f2d82
CRs-Fixed: 2776619
2020-09-18 04:59:06 -07:00
Srinivas Girigowda
8006e2ce39 qcacld-3.0: Replace WMI_LOGE() with wmi_err()
Replace WMI_LOGE() with wmi_err().

Change-Id: Ica675893cb651fd9ba895666a4cd441c3a97f0f7
CRs-Fixed: 2776619
2020-09-18 04:59:02 -07:00
Srinivas Girigowda
97500653e2 qcacld-3.0: Replace WMI_LOGP() with appropriate log level
Replace WMI_LOGP() with appropriate log level.

Change-Id: Ie484e7be902e0d47652347c2c6728d81fe793410
CRs-Fixed: 2776619
2020-09-18 04:58:58 -07:00
snandini
ba54894176 Release 5.2.0.203E
Release 5.2.0.203E

Change-Id: I15472de08b9e6cc32f179470c5eb14297e2031da
CRs-Fixed: 774533
2020-09-18 02:06:54 -07:00
Liangwei Dong
7cc3eecb25 qcacld-3.0: Check channel bw valid in pre vdev start
wlan_reg_set_channel_params_for_freq API will check the bonded
channels are valid or not. If invalid ch width is returned, that
means no suitable channel bonding in current regdomain for
requested channel frequency, then abort the vdev start request.

Change-Id: Ibca5ef7af72f1fd45855d64f380abaa49c0f54c4
CRs-Fixed: 2777637
2020-09-18 02:06:54 -07:00
sheenam monga
bc64b790ba qcacld-3.0: Consider he caps from beacon if missing in assoc resp
Issue: Currently, host calculates he_caps based on assoc resp
he caps. In case assoc resp doesn't have he_caps host will
set peer mode vht and vdev mode he which may cause issue due
to different peer and vdev modes.

Fix: Consider beacon he caps if he caps not present in
assoc resp to keep vdev and he param same.

Change-Id: Ia47b3d9c30b5ebc59a398a5ece2263ea65b03550
CRs-Fixed: 2777916
2020-09-18 02:06:50 -07:00
Pragaspathi Thilagaraj
f175b03bea qcacld-3.0: Fix invalid pcl weight for 2G channels in 6G sta connection
When band mask for connected STA is 7(connected in 6GHz), the weight
of 2.4Ghz channels is sent as 1(weight of non-pcl channels). This
allows firmware to roam to 2.4Ghz AP with dual sta roaming enabled.

For 6Ghz connection, set 2.4Ghz channels weight to 0 to disallow fw
roaming.

Change-Id: I9581c51a827e6fa6ac186b531639ce4835ba0faa
CRs-Fixed: 2775276
2020-09-18 02:06:47 -07:00
snandini
6daff2f35f Release 5.2.0.203D
Release 5.2.0.203D

Change-Id: I301042a4ca4711dc799252960e9e24d645ec3fdc
CRs-Fixed: 774533
2020-09-17 23:43:05 -07:00
Jinwei Chen
2c0ab424d7 qcacld-3.0: Fix incorrect head_skb IP/UDP header in fisa flow
Host received mixed vlan header frames and non-vlan header frames,
and these frames is belong to same UDP flow. currently wlan host
will assume same UDP flow frames with same L2 header length which
then get incorrect IP/UDP header for non-vlan frames.
Determine FISA continuation by RX frame self L2/L3 header length,
update head skb L2/L3 header length in fisa flow when head skb
changed.

Change-Id: Id61b856773b8dd7f0199055b1e0bf9a2bd98e401
CRs-Fixed: 2778403
2020-09-17 23:43:05 -07:00
Jyoti Kumari
d9121815a2 qcacld-3.0: Avoid 0 bytes mem alloc in csr_get_cfg_max_tx_power
In some cases, max_2_4_g_power.len/max_5_g_power.len value
could be 0 and driver tries to allocate 0 bytes through
qdf_mem_alloc. qdf_mem_alloc has a check for 0 size which
logs the failure and returns an error code. But this error
log could cause some delay in the roaming process
unnecessarily  as this is not an error case from roaming
perspective. It's better to avoid calling qdf_mem_alloc if
the length is 0.

Add validation for cfg_length in csr_get_cfg_max_tx_power,
if cfg_length is 0 return default maxTxPwr.

Change-Id: Ifd5d90186605e141ed2c107b4170a1d2c82bee0e
CRs-Fixed: 2768190
2020-09-17 23:43:01 -07:00
snandini
60cef4febb Release 5.2.0.203C
Release 5.2.0.203C

Change-Id: I3122c8f784ae797e73fe94e06b356c1ecde9924b
CRs-Fixed: 774533
2020-09-17 21:09:00 -07:00
Paul Zhang
67c55db07a qcacld-3.0: Fix compiler issue about cnss_set_pcie_gen_speed
Since some platform driver does not support for PCIE gen switch,
Using macro PCIE_GEN_SWITCH to control whether function
cnss_set_pcie_gen_speed is invoke or not.

Change-Id: I478cd6426b005014e85c0b3c1c31963045d7322b
CRs-Fixed: 2767110
2020-09-17 21:09:00 -07:00
snandini
2e61669297 Release 5.2.0.203B
Release 5.2.0.203B

Change-Id: I85316542b0b52ccabec81bb697008fe6fa9bde7d
CRs-Fixed: 774533
2020-09-17 10:18:06 -07:00
Alan Chen
53d838dcb3 qcacld-3.0: Add check for OPM power save enabled
Qpower config should not be allowed if Qpower config/OPM power save config
is disabled in ini file.

Change-Id: Iff21159f30731f7188506ab5e5e3133d02203b6b
CRs-Fixed: 2778632
2020-09-17 10:18:06 -07:00
Abhishek Ambure
af97342e5a qcacld-3.0: Update proper RCPI value in beacon report
In beacon report's RCPI, host updates current RSSI which is incorrect
according to "2008 11k spec reference: 18.4.8.5 RCPI Measurement".
Hence fill RCPI value in beacon report as per "2008 11k spec reference:
18.4.8.5 RCPI Measurement".

Change-Id: I2ce88ad9f5d0db252d96f9e25db336b081cdd9bb
CRs-Fixed: 2776844
2020-09-17 10:18:02 -07:00
Manikanta Pubbisetty
90194f2a71 qcacld-3.0: add logic to configure FST in CMEM
Unlike QCA6490, where flow search table(FST) is maintained in DDR;
in QCA6750, the flow search table which is used for RX FISA will be
placed in CMEM. CMEM is an on-chip memory, accessing this memory
would be faster when compared to DDR.

Placing FST in CMEM will bring down the latencies for the HW to access the
flow search table and this latency is critical when FISA is enabled in
QCA6750 to avoid packet drops.

Adding the logic to add/delete FST entries placed in CMEM.

Change-Id: Icbfbb7e00cec813ed3de07a640d203db556da444
CRs-Fixed: 2771183
2020-09-17 10:17:58 -07:00
Manikanta Pubbisetty
6b37d83e23 qcacld-3.0: fetch CMEM detils from CMEM HTT response
Firmware sends the base address and the size of the FST in the
FSE CMEM HTT response message; all CMEM transactions from the driver
will be with respect to this base address.

Firmware allocates memory in CMEM and sends FSE CMEM HTT message in
response to the FSE setup HTT request(when the base address of the
FST in the FSE setup message is set to '0').

Change-Id: Ie6d4fa03a09a429024e660443a3501a3bc660c35
CRs-Fixed: 2771175
2020-09-17 10:17:54 -07:00
Manikanta Pubbisetty
3f3176d0c2 qcacld-3.0: place FST in CMEM if FW supports
Firmware advertizes it's support for placing FST in CMEM.
Check for FW's support before sending FSE setup HTT message.
If CMEM allocations are supported, flow search table will
be placed in CMEM, else it will be placed in DDR.

Change-Id: I3f473248a11f9556e36cf8f12930b9993796cc10
CRs-Fixed: 2771172
2020-09-17 10:17:50 -07:00
Manikanta Pubbisetty
0cc7771e12 qcacld-3.0: add and initialize data structures for FST in CMEM
Adding init/deinit logic for the data structures required to place
flow search table in CMEM.

Change-Id: I315dbeb0f17fd8d3e37be61b6ef77e2bfc2b08ce
CRs-Fixed: 2771169
2020-09-17 10:17:46 -07:00
snandini
c00ae96b8c Release 5.2.0.203A
Release 5.2.0.203A

Change-Id: Ib07cfb15b324cac6b5c96955461d316af98a480e
CRs-Fixed: 774533
2020-09-17 07:35:53 -07:00
Pragaspathi Thilagaraj
efae9d0fd6 qcacld-3.0: Fix roam scan mode tlv formation for secure connection
Fix roam scan mode tlv formation for secure connection.
11i tlv is not filled due to wrong akm check in
wmi_fill_rso_tlvs().

Fix the akm check in wmi_fill_rso_tlvs to fill the roam scan mode
tlv properly.

Change-Id: I59ec0e34139ac4a6d6e2bcc03e84ac695292b1f2
CRs-Fixed: 2778658
2020-09-17 07:35:53 -07:00
Deeksha Gupta
1c88796c77 qcacld-3.0: Remove roaming_in_progress in hdd_context
Remove roaming_in_progress in hdd_context and
use API hdd_is_roaming_in_progress in
hdd_send_roam_triggers_to_sme()

Change-Id: Icb6022f26e8e3b17782d5c59f2d523635ffc151a
CRs-Fixed: 2771210
2020-09-17 07:35:49 -07:00
snandini
9acd1808f1 Release 5.2.0.203
Release 5.2.0.203

Change-Id: I1a1dc63a17cfb2bfb5944f6b56dbbd7b54f27968
CRs-Fixed: 774533
2020-09-17 00:21:46 -07:00
Kiran Kumar Lokere
046e173276 qcacld-3.0: Update HE MCS12/13 support for 6GHz connection
Update HE MCS12/13 support for 6GHz connection.

Change-Id: I6382e9c61f8a4b785845d3348f12deffa02acc00
CRs-Fixed: 2775281
2020-09-17 00:21:46 -07:00
snandini
2e15b3d19a Release 5.2.0.202Z
Release 5.2.0.202Z

Change-Id: Id0acf53bda0640e85270e2b714da0e9d5302ef38
CRs-Fixed: 774533
2020-09-16 21:04:42 -07:00
Yeshwanth Sriram Guntuka
232b5c6b0b qcacld-3.0: Enable SMMU S1 unmap config flag for Lahaina
IOVA address returned as part of pld_smmu_map for IPA
rx ready doorbell register exceeds the IOVA range
configured in FW by Host. This is because smmu unmap
support is not enabled and due to IOVA range validation
issue in cnss SMMU map API.

Fix is to enable SMMU S1 unmap config flag to enable
SMMU unmap as part of IPA cleanup.

Change-Id: I751044003d1cd91f6520fdbc15585b7bb0f63256
CRs-Fixed: 2775487
2020-09-16 21:04:42 -07:00
Jia Ding
26981ec085 qcacld-3.0: Enable SMMU S1 unmap config for SDXPRAIRIE
Enable SMMU S1 unmap config flag to do SMMU unmap of
IPA TX/RX doorbell registers as part of IPA cleanup.

Change-Id: I056a82592928aa1dde0e9c1ed43c1135424750a8
CRs-Fixed: 2777804
2020-09-16 21:04:38 -07:00
Rajasekaran Kalidoss
3e35bdbafe qcacld-3.0: Serialize TWT commands to allow one command for TWT operation
Post message to the scheduler to send twt wmi command and receive the
response event. check twt callback in sme_context to allow only one
twt command for a particular twt operation at any time. Return EBUSY
if a TWT operation is already in progress.

CRs-Fixed: 2769378
Change-Id: I7d3bce413e12c2775a7b2e8e2c5259a8b8e55131
2020-09-16 21:04:33 -07:00
Chaoli Zhou
320e37d20b qcacld-3.0: Export get driver mode interface
Since PCIE Genoa has separate wlan fw patch for
mission mode(amss.bin) and ftm mode(genoaftm.bin),
but cnss2 platform driver always try to load amss.bin,
which is not feasible. So add this new interface for
cnss2 to get correct driver mode and update the fw
patch name before it start downloading wlan fw

Change-Id: I44565c5f50aa03bbc407ee135ef5b02a040b0df6
2020-09-16 21:04:29 -07:00
Gururaj Pandurangi
ed26554eea qcacld-3.0: Validate pProfile before dereferencing it
Add sanity check for pProfile pointer before
dereferencing it in csr api.

Change-Id: I7290a46aea92f0c77c1123143c994cc684e26744
CRs-Fixed: 2775360
2020-09-16 21:04:25 -07:00
snandini
a91c6c1f4b Release 5.2.0.202Y
Release 5.2.0.202Y

Change-Id: Ifd233e4a5e60f56946cb09cc4041a117bc46c336
CRs-Fixed: 774533
2020-09-16 13:40:14 -07:00
Will Huang
01c4ce799f qcacld-3.0: Check bssid number before access bssid array
If trigger reassociate to same AP with LFR2.0 enabled,
csrNeighborRoamProfile.BSSIDs will not be updated like roaming to
different AP. So we will hit null pointer access when calling
csr_roam_issue_disassociate() in this scenario if reassociate failed.

Check numOfBSSIDs before access array pointer BSSIDs.bssid, if it is
0 means we are doing reassociate to same AP, so must send disassociate
to connected bssid.

Change-Id: I06bac328a164432d6cc425b907a4ca29a78ca306
CRs-Fixed: 2765251
2020-09-16 13:40:14 -07:00
CNSS_WLAN Service
722cf8a001 Merge "Release 5.2.0.202X" into wlan-cld3.driver.lnx.2.0 2020-09-16 12:14:04 -07:00
CNSS_WLAN Service
78300e133a Merge "qcacld-3.0: Enable interface manager logging" into wlan-cld3.driver.lnx.2.0 2020-09-16 12:14:02 -07:00
CNSS_WLAN Service
3375d2346d Merge "qcacld-3.0: Remove logs for hdd_validate_adapter() checks" into wlan-cld3.driver.lnx.2.0 2020-09-16 12:14:01 -07:00
CNSS_WLAN Service
feef7ce078 Merge "Release 5.2.0.202W" into wlan-cld3.driver.lnx.2.0 2020-09-16 10:02:30 -07:00
CNSS_WLAN Service
47cf0ba8c5 Merge "qcacld-3.0: Send WLAN_IF_MGR_EV_CONNECT_START event" into wlan-cld3.driver.lnx.2.0 2020-09-16 10:02:29 -07:00
CNSS_WLAN Service
cba5cf6c74 Merge "qcacld-3.0: Remove logs for wlan_hdd_validate_vdev_id() checks" into wlan-cld3.driver.lnx.2.0 2020-09-16 10:02:28 -07:00
CNSS_WLAN Service
c9144404c7 Merge "qcacld-3.0: Rate limit NAN error log messages" into wlan-cld3.driver.lnx.2.0 2020-09-16 10:02:27 -07:00
snandini
60b5349e72 Release 5.2.0.202X
Release 5.2.0.202X

Change-Id: I23498e75ea8e5c91a7fb4d42392702af30aea9a3
CRs-Fixed: 774533
2020-09-16 09:30:21 -07:00
Sandeep Puligilla
1f187534d4 qcacld-3.0: Enable interface manager logging
Enable interface manager logging.

Change-Id: Ic5b689f952f678546ff8976a0ccd1fad84c5b9ff
CRs-Fixed: 2777037
2020-09-16 09:30:20 -07:00