Commit Graph

24625 次程式碼提交

作者 SHA1 備註 提交日期
Madan Koyyalamudi
ff03bfbafc Release 5.2.1.4G
Release 5.2.1.4G

Change-Id: Id20466d707c793fba2504180e1b56e6b809c7b35
CRs-Fixed: 774533
2021-12-15 12:27:27 -08:00
Balaji Pothunoori
d101ac52b4 qcacld-3.0: update timestamp for TX failed pkt to upper layer
Currently, wlan host driver only report timestamp for TX successful
packets to upper layer.
This change add support to report timestamp for TX failed pkt to
upper layer.

Change-Id: Ib9b021675ebd388107f8bf1a61703f2b6cebb882
CRs-Fixed: 3077222
2021-12-15 12:27:27 -08:00
Madan Koyyalamudi
fd0bd78bfc Release 5.2.1.4F
Release 5.2.1.4F

Change-Id: I15b5002558f0bf6475c40af7f8a4cd7fb5d81d77
CRs-Fixed: 774533
2021-12-15 11:07:35 -08:00
Utkarsh Bhatnagar
2c20f1dffa qcacld-3.0: Handle MLO STA + Legacy STA concurrencies
Handle MLO STA + Legacy STA concurrencies such that:

1) Don't disable any link if STA form SCC with any of the
   link.

2) Disable the link on the same MAC which can cause MCC.

   a) On non-SBS devices disable the ML link on the same
      band as STA, As the same band means the same MAC
      in non-SBS mode.
   b) On SBS devices, disable the ML link on the same MAC:
     - If STA freq is 2.4Ghz disable the 2.4Ghz link.
       If a 2.4Ghz link is not present, disable any of the
       5/6Ghz links (FW to decide the link depending on
       SBS mode, low share or high share).
     - If STA freq is 5Ghz and can lead to SBS with on of
       the link, disable the non-SBS link (link which will
       remain on the same MAC).
     - If STA freq is 5Ghz and cannot lead to SBS with
       one of the links, disable the link on the same MAC/
       band.

e.g:

 STA freq:    STA ML combo: NON SBS Action: SBS Action:
 ------------------------------------------------------------------
 2Ghz         2Ghz+5/6Ghz   Disable 2Ghz    Disable 2Ghz
 5Ghz         2Ghz+5/6Ghz   Disable 5Ghz    Disable 2.4Ghz
                                            if both 5Ghz lead
                                            to SBS, else
                                            disable 5Ghz

 5Ghz(lower)  5Ghz+6Ghz     Disable 5Ghz    Disable 5Ghz
 5Ghz(higher) 5Ghz+6Ghz     Disable 5Ghz    Disable 6Ghz
 2Ghz         5Ghz+6Ghz     Disable Any     Disable Any

Change-Id: Ie8ca51b5e108c1cfce1a02fc97f4849c617216b7
CRs-Fixed: 3090333
2021-12-15 11:07:34 -08:00
Madan Koyyalamudi
912e44f4ff Release 5.2.1.4E
Release 5.2.1.4E

Change-Id: I32e5d21aadad0f6127e04a5e5f27dab23a2eb0f5
CRs-Fixed: 774533
2021-12-15 07:39:49 -08:00
Utkarsh Bhatnagar
3da6181e11 qcacld-3.0: Fix filling of the SBS range
Fix filling of the SBS range, in current freq range.
And Add is current mode SBS in required APIs.

Change-Id: Ief334aa236ad18512ac5d8cf80b3a2d13d77529a
CRs-Fixed: 3093159
2021-12-15 07:39:49 -08:00
Madan Koyyalamudi
117ba7016e Release 5.2.1.4D
Release 5.2.1.4D

Change-Id: I5363c4aaf0fae8f89f36fdd0e020a841c2392561
CRs-Fixed: 774533
2021-12-15 06:27:37 -08:00
Vulupala Shashank Reddy
17b4a5b9d6 qcacld-3.0: Add ref count for global vdev used in packet capture
Currently the global vdev gp_pkt_capture_vdev used in packet capture
does not have ref count.

Add ref count for global vdev used in packet capture component.

Change-Id: I1cc619b31c81a77af0842ce219cfcc96060626a0
CRs-Fixed: 3049225
2021-12-15 06:27:02 -08:00
Madan Koyyalamudi
996fea0a9d Release 5.2.1.4C
Release 5.2.1.4C

Change-Id: I0ca223e29ae196fd8ea942cb8c949d84df7afd88
CRs-Fixed: 774533
2021-12-14 21:22:33 -08:00
Yeshwanth Sriram Guntuka
46d86f50df qcacld-3.0: Enable wlan tracepoints config flag for LI/BE
Enable wlan tracepoints config flag for Lithium and
Beryllium.

Change-Id: Idf40e510f084a9b4e2b3d67160c80dba8a49f7e2
CRs-Fixed: 3080798
2021-12-14 21:22:33 -08:00
Yeshwanth Sriram Guntuka
5e38109641 qcacld-3.0: Use tracepoints to trace rx packets
Use tracepoints to trace receive packets.

Change-Id: I0124c3c4d577018497e940ced299960fc9a21d8c
CRs-Fixed: 3083361
2021-12-14 21:22:29 -08:00
Madan Koyyalamudi
554002c536 Release 5.2.1.4B
Release 5.2.1.4B

Change-Id: I684398b23649ee959e202bf14e1a23981a107995
CRs-Fixed: 774533
2021-12-14 14:09:13 -08:00
Amruta Kulkarni
ee567ed1fa qcacld-3.0: Change param name "is_assoc_link" to "is_first_link"
In cdp_peer_setup_info "is_assoc_link" flag is changed to
"is_first_link" flag to avoid confusion caused by naming.
is_first_link flag means the first link in the ML connection
trying to setup DP ML peer, it can be assoc or non-assoc link.

Change-Id: I2643866dfd465025d98cef14d06e44276799098d
CRs-Fixed: 3092858
2021-12-14 14:09:13 -08:00
Ashish
fd8abaebdb qcacld-3.0: Enable nan only for VLP channels for 6GHz
Currently for 6GHz, nan is allowed on LPI channels as well,
nan should be allowed only on VLP channels.

With this change allow nan only on VLP channels.

CRs-Fixed: 3072585
Change-Id: Ic8cd8a5ca5c096530762cc0f9d199cef30155838
2021-12-14 14:09:08 -08:00
Amruta Kulkarni
a32e3f1a0c qcacld-3.0: Add new files for mlo roaming
Add new files for mlo roaming and update Kbuild file.

Change-Id: I3e672a5e068648fd836ecccb0edbac084850f11d
CRs-Fixed: 3090925
2021-12-14 14:09:03 -08:00
Utkarsh Bhatnagar
5becebe02d qcacld-3.0: Optimize SBS prints part 2
Dump SBS range while checking for SBS mode in
policy_mgr_are_3_freq_on_same_mac and
policy_mgr_are_2_freq_on_same_mac

Change-Id: Ic8e6a49d60dcc82746a2b3e392576399dd1ad417
CRs-Fixed: 3092338
2021-12-14 14:08:58 -08:00
Madan Koyyalamudi
d80f95c274 Release 5.2.1.4A
Release 5.2.1.4A

Change-Id: I1010a2d9834704112f4926a60a48d3c3a512fcd8
CRs-Fixed: 774533
2021-12-13 11:15:51 -08:00
Jinwei Chen
8c9674d9c4 qcacld-3.0: enable FISA for HMT
Enable FISA for HMT

Change-Id: I94d078381d397c6eb5d02a13e85b6b6f22b170de
CRs-Fixed: 3085397
2021-12-13 11:15:51 -08:00
Madan Koyyalamudi
2e38f42221 Release 5.2.1.4
Release 5.2.1.4

Change-Id: Id0e3b16d31ec385ee70f1ef439928ae2a0e829ca
CRs-Fixed: 774533
2021-12-09 17:11:31 -08:00
Utkarsh Bhatnagar
1e067759de qcacld-3.0: Optimize SBS prints
policy_mgr_dump_sbs_freq_range is flooding the logs with
SBS range, instead print it once when we check for
SCC channel.

Change-Id: I60e17f6fed3d0973f29d5225458a392021e482f7
CRs-Fixed: 3091231
2021-12-09 17:11:31 -08:00
Madan Koyyalamudi
cb92473987 Release 5.2.1.3Z
Release 5.2.1.3Z

Change-Id: I1342f27800061539722bedd30146dc7d21b53162
CRs-Fixed: 774533
2021-12-09 13:41:32 -08:00
Gururaj Pandurangi
14c336d212 qcacld-3.0: Modify MLO IE generation in assoc req for ML STA
Sta profile sub-element has been changed from IE to data
buffer under ML IE to accommodate different fixed fields
per sta profile for different frames.
Modify populate_dot11f_assoc_req_mlo_ie API to manually
populate sta profile subelement/s.
Also, fix Probe resp and Assoc response parser APIs to
address this change in sta profile field.

Change-Id: I8692d1fdc0a5597b962307a081ab18e4bf2360e1
CRs-Fixed: 3084364
2021-12-09 13:41:32 -08:00
Bing Sun
551b86cfa6 qcacld-3.0: Refine mlo IE generating for mlo AP
sta profile fields are changed from IE to data buffer, so it need
to be populated manually.
Generating mlo IE for beacon and assoc response.

Change-Id: I1768daf48c2016d3dd91aba8ee53d8969882ebae
CRs-Fixed: 3079796
2021-12-09 13:41:25 -08:00
Bing Sun
23c1f486ca qcacld-3.0: Use util_gen_link_assoc_req for partner link of mlo ap
MLO assoc request frame parsing and generating for partner link is
converged, switch to this new API.

Change-Id: Icfe2e975b70579927a255930b9bd042d9e864045
CRs-Fixed: 3078837
2021-12-09 13:41:20 -08:00
Gururaj Pandurangi
2ac114ac4e qcacld-3.0: Update sta_profile field from IE to data buffer
Update sta_profile field from IE format to a data buffer and add
the sub-element ID field in ML IE to determine the type of
subelement under MLO IE.
Per sta profiles will be populated manually accordingly.

Change-Id: I835548cf13525f4eec3118f5aae882df488a5398
CRs-Fixed: 3084367
2021-12-09 13:41:15 -08:00
Madan Koyyalamudi
d5c2fcf1f1 Release 5.2.1.3Y
Release 5.2.1.3Y

Change-Id: I07b5913acd9ec513b2896acb308b0f89ae2835ac
CRs-Fixed: 774533
2021-12-08 23:19:12 -08:00
Baowei Liu
bdc5e9efc2 qcacld-3.0: fix congestion overflow issue
The diff value have lost integer precision before calculate.

Change-Id: I937f5079834258d2215b282e112ef0152bed382b
2021-12-08 23:19:12 -08:00
Madan Koyyalamudi
1ed64244c6 Release 5.2.1.3X
Release 5.2.1.3X

Change-Id: I7641404b047e55bdff1ab68a908f6ae87307515d
CRs-Fixed: 774533
2021-12-08 20:47:30 -08:00
Pragaspathi Thilagaraj
a700e95c62 qcacld-3.0: Fix RSO state change in disconnected state
When roaming has started and connect request from userspace
is received, disconnect is initiated as part of the connect
request and RSO stop->RSO Deinit is sent to firmware. But
before receiving the RSO stop, firmware posted the Roam Synch
indication to the host driver. While droping the roam
synch indication, the driver does abort roaming and as part of
that RSO state is changed to RSO enabled in connecting state.

Change the RSO state to RSO enabled only if roaming or roam synch
indication processing is in progress.

Change-Id: I7869d1a559884480708b9d1a493296a443364f0b
CRs-Fixed: 3089165
2021-12-08 20:47:30 -08:00
Rakesh Pillai
faee1a2e61 qcacld-3.0: Allow 11BE phy mode for monitor mode
Add support to set 11BE phy mode for monitor mode
in WCN7850.

Change-Id: I9671463e62c10669454b18c62ae04282a2a9e484
CRs-Fixed: 3089242
2021-12-08 20:47:26 -08:00
sandhu
f24d8cd260 qcacld-3.0: enable REMOVE_PKT_LOG for lithium and berrylium
enable REMOVE_PKT_LOG for lithium and berrylium

Change-Id: I5c467addea56f7010f01e97a59281b292d580959
CRs-Fixed: 3080216
2021-12-08 20:47:21 -08:00
Madan Koyyalamudi
2623356f06 Release 5.2.1.3W
Release 5.2.1.3W

Change-Id: Ic73076d99ddaa03b8b34f5a69c0a0126aaecb6c2
CRs-Fixed: 774533
2021-12-08 16:37:19 -08:00
abhinav kumar
1d06f37092 qcacld-3.0: Format specifies type does not match
The [-Werror,-Wformat] compiler option is enabled,
Format specifies type does not match the argument
type.

Fix the compiler errors that format specifies type
does not match the argument type.

Change-Id: I66c4834693c41217f1263e8d23e9e291f7045c55
CRs-Fixed: 3089460
2021-12-08 16:37:19 -08:00
Madan Koyyalamudi
77d11b3544 Release 5.2.1.3V
Release 5.2.1.3V

Change-Id: I2d335a7e6b1d84f68dbd0b0a07172dea50d43e23
CRs-Fixed: 774533
2021-12-08 14:56:55 -08:00
chunquan
1fab5f2e75 qcacld-3.0: Send high 32bit addr for no smmu platform which fw need
Host send HTT_H2T_MSG_TYPE_WDI_IPA_CFG cmd to fw, need update
high 32bit addr for non-smmu platform which alloc physics
address more than 4G, like addr 0x1 5000 0000.It will cut
off bit32~bit63, fw get memory is 0x5000 0000, it's maybe
use for peripheral memory.when fw write addr 0x5000 0000,
it will meet some error.

Change-Id: Ic5c5c00c85bdf08e61c9ff0f539989d2e96bb153
CRs-Fixed: 3077016
2021-12-08 14:56:54 -08:00
Madan Koyyalamudi
fd7792eef1 Release 5.2.1.3U
Release 5.2.1.3U

Change-Id: Id8a1eb57cf613d4aedb882cff85e616666fda24f
CRs-Fixed: 774533
2021-12-08 13:50:00 -08:00
bings
53a13ccb3a qcacld-3.0: Add API to get sta information for EasyMesh
Add API to get sta information for EasyMesh.

Change-Id: I12e7eaae3562ca35b33f0637a33e784b912ca8a3
CRs-Fixed: 3044736
2021-12-08 13:50:00 -08:00
Madan Koyyalamudi
8a4bd39b79 Release 5.2.1.3T
Release 5.2.1.3T

Change-Id: Ie8d4f481f96c463030841137633d4897cb40d38d
CRs-Fixed: 774533
2021-12-08 12:41:23 -08:00
Mohit Khanna
729ccaf947 qcacld-3.0: Amend throughput based RTPM policy
Currently the feature is taking up both a rtpm_lock and a wake_lock
while trying to "allow" or "prevent".
Remove the use of wake_lock as the system is not expected to be in
suspend state at high throughputs where this feature is applicable.

Change-Id: I7335e5273983d219d2568d19dc44e86794dd0d48
CRs-Fixed: 3088736
2021-12-08 12:41:23 -08:00
Liangwei Dong
a185d29d1b qcacld-3.0: Add INI to configure MGMT frame HW retry count
Add INI - mgmt_frame_hw_tx_retry_count to configure MGMT
frame HW tx retry count for certain frame types.
The INI String format:
frame_hw_tx_retry_count="<frame type>,<retry count>,..."

The supported frame types are defined by enum mlme_cfg_frame_type.
Retry count max value is 127.
For example:
mgmt_frame_hw_tx_retry_count="0,64,2,32"
The above input string means:
For p2p go negotiation request fame, hw retry count 64
For p2p provision discovery request, hw retry count 32

Change-Id: I32f6c7d83ede9b28484c7a0b29824bde32e06422
CRs-Fixed: 3082532
2021-12-08 12:41:18 -08:00
Bapiraju Alla
b93d2939d0 qcacld-3.0: Fix MLO compilations when kernel doesn't support MLO
Along with 11BE_MLO feature macro, check for Kernel 11be macro as well
to avoid compilation issues when kernel doesn't support MLO.

Change-Id: Ie6b513cdb9846b1c47674cabbd8e5ff1a1adff63
CRs-Fixed: 3087573
2021-12-08 12:41:13 -08:00
Madan Koyyalamudi
03ba46bd2e Release 5.2.1.3S
Release 5.2.1.3S

Change-Id: Ic2956d23b6543fb7c34ff17cbd582bb45bb34783
CRs-Fixed: 774533
2021-12-07 22:39:03 -08:00
abhinav kumar
f778fdacef qcacld-3.0: Send proper PCL list to FW
Currently, the host does not check STA+STA concurrency
before sending VDEV/PDEV level PCL command to FW.

1. In case of STA Standalone connection, Host should send
PDEV level PCL commands to FW and marks all channels in PCL
as allowed.

2. In the case of STA + STA connection in MCC/SCC, Host
should send PDEV level PCL command for primary vdev id and
mark all channels in PCL as allowed.

3. In case of STA + STA connection in DBS, Host should
send VDEV level PCL command for both vdev id and via PCL
list host should make sure band is restricted to maintain
only DBS.

4. Initially STA + STA connection in DBS and then one STA
got disconnected. In this case, After disconnection Host
should send PDEV level PCL command for connected vdev id
and mark all channels in PCL as allowed.

Change-Id: I59cf5dfd1bf8fb26e360a8b0b5456fe05037376a
CRs-Fixed: 3084156
2021-12-07 22:39:03 -08:00
Madan Koyyalamudi
62a3d83720 Release 5.2.1.3R
Release 5.2.1.3R

Change-Id: I4b8cc07a547eb3ddb729caf5d76e1888d852324a
CRs-Fixed: 774533
2021-12-07 11:15:25 -08:00
Arun Kumar Khandavalli
3e0ebcdc8a qcacld-3.0: Add Suspend delay only for prevent suspend
Currently whenever there is a idle shutdown suspend delay is added
to timeout to prevent the suspend running in parallel to the shutdown
this delay is added for the idle shutdown time also, rather add
the delay only for the suspend API.

Change-Id: I2726301cc7bf3c421bcd19167aec1ab12bff820f
CRs-Fixed: 3086873
2021-12-07 11:15:25 -08:00
Jingxiang Ge
720bb5c8dd qcacld-3.0: Fix possible memory leak of tx_time_per_power_level
It is possible tx_time_per_power_level is not freed
in last event, and it is reused in
__wma_unified_radio_tx_power_level_stats_event_handler,
the buffer size may be different for each event by
manually test.

Fix is to check if memory is freed before malloc, if
not null, free it before malloc.

Change-Id: I51064734cf97b9ff0ecbbaf27f38d5a223c91d3b
CRs-Fixed: 3057436
2021-12-07 11:15:20 -08:00
Madan Koyyalamudi
9582d5e134 Release 5.2.1.3Q
Release 5.2.1.3Q

Change-Id: Ib86b658a01b79a124751af6d8e002b88ff48ceac
CRs-Fixed: 774533
2021-12-07 10:04:52 -08:00
Jingxiang Ge
765f3289a1 qcacld-3.0: Check input parameters for tx_attr/rx_attr
In hdd_config_tx_rx_nss and hdd_config_vdev_chains, it
missed to check if tx_attr or rx_attr is null, which will
cause invalid memory access.

Change-Id: Ic3427d714e240507cf4253588f706d06d355ba93
CRs-Fixed: 3086252
2021-12-07 10:04:52 -08:00
Madan Koyyalamudi
8a62e5dcd9 Release 5.2.1.3P
Release 5.2.1.3P

Change-Id: I3b919dcd90ad0ff1ef08437d78b9d4cd10027295
CRs-Fixed: 774533
2021-12-07 05:58:48 -08:00
Bapiraju Alla
aff8059b06 qcacld-3.0: Register dynamic set MAC address feature with the framework
Register dynamic set MAC address feature with the framework.
If driver supports this feature, then framework doesn't need to
issue interface down and interface up to set the MAC address.

Change-Id: I7a493574c11c8d51731021d418cfeaf942720383
CRs-Fixed: 3066743
2021-12-07 05:58:48 -08:00