提交線圖

24739 次程式碼提交

作者 SHA1 備註 日期
Madan Koyyalamudi
f7e4138d44 Release 5.2.1.3
Release 5.2.1.3

Change-Id: I5e6e11f36f8506e5235f2f4acea8322e7f642457
CRs-Fixed: 774533
2021-12-02 02:24:55 -08:00
Aditya Kodukula
d00fec40a9 qcacld-3.0: Log correct con_mode
Log correct con_mode when in mission mode.

Change-Id: Ie413a21665eca9492b853650a45033cd9fb774ea
CRs-Fixed: 3085538
2021-12-02 02:24:55 -08:00
Mohit Khanna
320d7db738 qcacld-3.0: Account for sched delay in TX/RX BW tuning
Currently sched-delay is not taken into account while calculating TX/RX
offload packets in bus bandwidth work handler. This may result in an
incorrect calculation and determination of TX/RX bandwidth levels and
other params which are derived from it.

Add support to consider actual scheduling delay between two bandwidth
intervals to detemine TX/RX offloaded/not-offloaded packets.

Change-Id: Icfb961cbbc1a049df0133394883755418b631056
CRs-Fixed: 3079953
2021-12-02 02:24:50 -08:00
Madan Koyyalamudi
f955a44cd1 Release 5.2.1.2Z
Release 5.2.1.2Z

Change-Id: I08d2b87fe3fee7e3c54bc161246af29adf2c5cab
CRs-Fixed: 774533
2021-12-01 18:53:45 -08:00
Deeksha Gupta
50a7a731c2 qcacld-3.0: Fill status correctly for twt resume
Fill return status correctly in twt resume dialog
command.

Change-Id: I2b04a4028f2f05aa7636bf59551cb97f999e22a1
CRs-Fixed: 3083812
2021-12-01 18:53:45 -08:00
Madan Koyyalamudi
1743455c4a Release 5.2.1.2Y
Release 5.2.1.2Y

Change-Id: Ia08a29581c308acd7296ee4a7b00c9a80ff4cd06
CRs-Fixed: 774533
2021-12-01 16:13:10 -08:00
Yeshwanth Sriram Guntuka
304d128a08 qcacld-3.0: Disable intrabss fwd on SAP/P2P GO on sys suspend
REO interrupt is fired after sending WOW_ENABLE command
to FW. Multicast packets are processed and dp_tx_send is
invoked as part of intrabss forwarding. This results in
a FW exception.

Fix is to disable intrabss forwarding on SAP/P2P GO
on system suspend and enable it back on system resume.

Change-Id: If9f20bf59b776016dac3c1a27200deafa80266b5
CRs-Fixed: 3084288
2021-12-01 16:13:10 -08:00
Deeksha Gupta
0dbd5cacf6 qcacld-3.0: Check peer TWT capability before TWT setup request
Currently, in TWT setup command, if peer does not support TWT
capabilities then firmware returns status = 4.

Add condition to check the peer capabilities before sends TWT
setup request to firmware.

Change-Id: Icd1cbeff2db2bdec4e456013e98270a526ff22ce
CRs-Fixed: 3082071
2021-12-01 16:13:05 -08:00
Madan Koyyalamudi
bd0efaa674 Release 5.2.1.2X
Release 5.2.1.2X

Change-Id: I288296b6efd67e1d6ffefc9ca782652aba8510af
CRs-Fixed: 774533
2021-12-01 13:03:03 -08:00
Yu Wang
aaab5fca71 qcacld-3.0: only populate MLD vdev params for MLO STA/SAP
For ML STA + Legacy STA case, FW asserts due to legacy STA shares
the same MLD address with MLO STA.

Change-Id: Ibd8045007bd7c120dee7b1e8f7faccc0a80cea0b
CRs-Fixed: 3063367
2021-12-01 13:03:03 -08:00
Madan Koyyalamudi
a61130970f Release 5.2.1.2W
Release 5.2.1.2W

Change-Id: I1cb2396ff25d7867d9912b1d57edc4e3a1202681
CRs-Fixed: 774533
2021-12-01 08:44:40 -08:00
Prakash Manjunathappa
9d48783708 qcacld-3.0: Revert the DBS mode Max voting
Revert the DBS ultra high TPUT Max voting. Max voting is not required.
Instead vote for ultra high bw vote.

Change-Id: Ic8ee47a0c8422be5590d2a009b4700b4a3a8124a
CRs-Fixed: 3078684
2021-12-01 08:44:40 -08:00
Madan Koyyalamudi
8d5fcafb6c Release 5.2.1.2V
Release 5.2.1.2V

Change-Id: I681a73daab1109d1143abb98cd3b45fb17025e35
CRs-Fixed: 774533
2021-12-01 04:22:56 -08:00
Bapiraju Alla
6058846058 qcacld-3.0: Fix mem leak with NDP peer multicast address list
Currently, NDP peer multicast address is derived from peer MAC address
and cached in the host. While removing the NDP peer, peer MAC address
is used to search the cached multicast address list. Because of this,
peer multicast address list is not getting freed.

To resolve this, derive peer multicast address from the peer MAC address
while clearing the cached multicast address list.

Since MAX NDP sessions are 8, allocate memory for peer multicast address
list during the NAN vdev private object allocation. This avoids the
special handling for peer multicast list in multiple error scenarios.

Change-Id: Ifbf890a4b9c8be54d84a5b57ed8f6c237ecd51ca
CRs-Fixed: 3085069
2021-12-01 04:22:56 -08:00
Pragaspathi Thilagaraj
71f5251684 qcacld-3.0: Send BMISS disconnect event only when teardown happens
The driver sends BMISS disconnection logging event when firmware
sends the bmiss event to host. But if the AP responds after
sending the unicast probe request then we stay connected to
same AP. This could cause the BMISS disconnection log sent
earlier to be a false alarm.

Send the BMISS disconnection logging event only when host driver
initiates teardown with the AP.

Change-Id: I021b335071f803829bdc55249f1071ceaa92edc9
CRs-Fixed: 3083568
2021-12-01 04:22:51 -08:00
Amruta Kulkarni
15760d2d1b qcacld-3.0: Fix double free in cm_roam_pmkid_request_handler
Currently memory allocated for structure roam_pmkid_req_event
is freed in two places causing usage after free.
Fix is to free memory only once in
target_if_pmkid_request_event_handler api.

Change-Id: Idc70e8437f89cb1cf4f6d35f924085409994714a
CRs-Fixed: 3064667
2021-12-01 04:22:46 -08:00
Jinwei Chen
5ed9d1d796 qcacld-3.0: Revert FISA LRU deletion change
Revert FISA LRU deletion change as this change might cause RX skb
double free/indication in FISA path.

Change-Id: I1889a33db335715d17da36d1a02e8562d348cfe1
CRs-Fixed: 3083874
2021-12-01 04:22:40 -08:00
Madan Koyyalamudi
6abf3213a6 Release 5.2.1.2U
Release 5.2.1.2U

Change-Id: I27986709f7963fdce2a5e7c10b7b91ed18b24187
CRs-Fixed: 774533
2021-12-01 00:06:46 -08:00
Jinwei Chen
d3fc2dc056 qcacld-3.0: Enable TX AST index search for HMT STA
Enable TX AST index search for HMT STA which is more efficient
compared with older source address search.

Change-Id: Ie5ebf4199ada959ebd33351929cf642c21657c51
CRs-Fixed: 3084026
2021-12-01 00:06:46 -08:00
Madan Koyyalamudi
9c4e3e1e34 Release 5.2.1.2T
Release 5.2.1.2T

Change-Id: Iff0b771aaa0ee18cd579d0cada5f1c1d055f05f8
CRs-Fixed: 774533
2021-11-30 07:14:32 -08:00
Jianmin Zhu
7f71588692 qcacld-3.0: Fix assert for TPE IoT issue
Some IoT AP set maximum transmit power as 4 in transmit power envelope
element IE, which violated wifi 802.11 spec: 9.4.2.161 Table 9-276,
DUT STA didn't handle the exception case, accessed index 7 of array
with length 4: get_next_higher_bw[4], out of bound happened.

To fix it, add code to handle the exception case that maximum transmit
power of ref AP is larger than 3.

Change-Id: Ib12062d03920b04f03de16682361e8d9e7126031
CRs-Fixed: 3083034
2021-11-30 07:14:32 -08:00
Madan Koyyalamudi
c5dd850948 Release 5.2.1.2S
Release 5.2.1.2S

Change-Id: Id946db6eed3be24cbcec6d8d15c189625dad75fa
CRs-Fixed: 774533
2021-11-30 04:40:13 -08:00
Zhaoyang Liu
2b640ea7f9 qcacld-3.0: extend the value range for chainmask setting
To support QCN7605 DBS chip, which has 3 RF chains, chain0 is for 2G,
chain1 is for 2G/5G, and chain2 for 5G. So it need 3 bits to
indicate RF chainmask for DBS mode. This is to extend the value
range for 2g/5g chainmask setting for QCN7605 DBS mode.

Change-Id: I43ee3393c121b6e9609223af1db0059158d44078
CRs-Fixed: 2933722
2021-11-30 04:40:13 -08:00
Madan Koyyalamudi
b1aa752792 Release 5.2.1.2R
Release 5.2.1.2R

Change-Id: I8d100902a13fbc4df3f2a30202f1409d915ae3ea
CRs-Fixed: 774533
2021-11-29 07:33:55 -08:00
Karthik Kantamneni
a8ffe9a11f qcacld-3.0: Control netif sub queues with sub queue pause mask
Currently global pause mask is used for controlling individual
AC based sub queues and even all the network queues, due to this
mask is set/reset improperly which is not giving actual global
queue status representation. To avoid this introduced new sub queue
mask which is used while controlling individual network sub queues
and global mask is over for overall network queues.

Change-Id: I6632a1831cbea84c23441dbb67473c94b487109a
CRs-Fixed: 3081060
2021-11-29 07:33:55 -08:00
Madan Koyyalamudi
aac2d986e0 Release 5.2.1.2Q
Release 5.2.1.2Q

Change-Id: I0292474ca0da018942d6b01233e92efff7286b6f
CRs-Fixed: 774533
2021-11-28 22:16:57 -08:00
Vulupala Shashank Reddy
5c72b5aded qcacld-3.0: Change ops from vdev specific to psoc level
Currently in packet capture component the tx and rx ops are
stored in vdev but the ops should be only per psoc and
the ops will be registered only once per psoc. So change
tx and rx ops from vdev specific to psoc level.

Change-Id: I09e9dd5d83e7b10c86e80ebf2584469071060813
CRs-Fixed: 3049207
2021-11-28 22:16:57 -08:00
Madan Koyyalamudi
bb9b2be285 Release 5.2.1.2P
Release 5.2.1.2P

Change-Id: Ic7b3d46c20a1051cc809daa75a75816956d4db13
CRs-Fixed: 774533
2021-11-27 03:11:23 -08:00
Utkarsh Bhatnagar
98fd330171 qcacld-3.0: Covert fw_phy_id to policy_mgr mac_id
In HW mode transition event for mac_freq_mapping,
fw sends pdev id for identifying mac in following
format:
	WMI_PDEV_ID_1ST 1 /* first pdev  (pdev 0) */
	WMI_PDEV_ID_2ND 2 /* second pdev (pdev 1) */
	WMI_PDEV_ID_3RD 3 /* third pdev  (pdev 2) */
Covert these PDEV_ID to the ones used in policy manager
used for filling current mac frequencies

Change-Id: I745de0278b1ddf627062163364b684745df5e4e7
CRs-Fixed: 3083289
2021-11-27 03:11:23 -08:00
Madan Koyyalamudi
be124588ab Release 5.2.1.2O
Release 5.2.1.2O

Change-Id: Iecca0a07b8661773133e34819838e95ba06a074a
CRs-Fixed: 774533
2021-11-26 15:08:26 -08:00
Ashish
86ceade63b qcacld-3.0: Enable Thermal mitigation control by default
Based on new requirement enable gThermalMitigationEnable
by default from code.

Change-Id: Ib353b75c18d13cea9982061558f1d125b0b3d411
CRs-Fixed: 3080737
2021-11-26 15:08:25 -08:00
Madan Koyyalamudi
6bc7a0371c Release 5.2.1.2N
Release 5.2.1.2N

Change-Id: Ibc4242d9a8b69e560b5f5766f3da91fc6a231f47
CRs-Fixed: 774533
2021-11-26 10:12:57 -08:00
Ashish
4289293186 qcacld-3.0: Add support for new argument 1 for SET_FCC_CHANNEL
Currently there is no support for argument 1 for SET_FCC_CHANNEL
command, with this change add support for argument 1 for
SET_FCC_CHANNEL command.

Change-Id: I2ceab2459b1798042412e3d3bbadbbf24004451f
CRs-Fixed: 3079545
2021-11-26 10:12:57 -08:00
Madan Koyyalamudi
d7100793b7 Release 5.2.1.2M
Release 5.2.1.2M

Change-Id: I7215c962053a6f05839023c9ffc490b379d15240
CRs-Fixed: 774533
2021-11-26 03:19:17 -08:00
Jinwei Chen
0af30cef66 qcacld-3.0: Fix FISA dp_rx_sw_ft_lock uninitialized issue
Currently if INI dp_rx_fst_in_cmem is not enabled and FW not report
the capability of FSE in CMEM, FISA dp_rx_sw_ft_lock will not be
initialized which lead to panic.

initialize FISA dp_rx_sw_ft_lock by default if FISA is supported

Change-Id: I515b151b9a02665f51c30263ef6c6c9929edb392
CRs-Fixed: 3082642
2021-11-26 03:19:16 -08:00
Jianmin Zhu
e327eadc63 qcacld-3.0: Fix allowlist roaming failure
For allowlist roaming, EAPOL isn't offloaded for PMK changed, then
RSO is stopped and allowlist ssid is cleared in F/W, but when RSO
is restarted after EAPOL finished, allowlist ssid isn't reset to F/W,
so allowlist roaming will fail after that.

To fix it, when roam start or update cmd is sent to F/W: update
allowlist ssid and denylist to F/W.

Change-Id: Ia8ddc251767dfc04d9a6cfd1e7c1074ab0e88e96
CRs-Fixed: 3081226
2021-11-26 03:19:12 -08:00
Madan Koyyalamudi
1b77284519 Release 5.2.1.2L
Release 5.2.1.2L

Change-Id: Ie2ae308f439d48cc0708879e80e4bdcaff2bf5c6
CRs-Fixed: 774533
2021-11-25 20:04:51 -08:00
Aditya Kodukula
cefd0f71e9 qcacld-3.0: Remove ADDBA_REQ to avoid overwriting spec_mgmt
As per the current implementation, the ADDBA_REQ bitmap setting
overwrites DROP_SPEC_MGMT_ACTION_FRAME_BITMAP. Hence, to avoid it,
remove the ADDBA_REQ bitmap setting.

Change-Id: I1135a64de99248b67e477d3276b217c128c1a721
CRs-Fixed: 3081291
2021-11-25 20:04:50 -08:00
Madan Koyyalamudi
3fc8b5924f Release 5.2.1.2K
Release 5.2.1.2K

Change-Id: I07664b77f785535aa510ada6cb914c60f0246d95
CRs-Fixed: 774533
2021-11-24 20:31:09 -08:00
Jinwei Chen
08460fc2b7 qcacld-3.0: Fix different flow RX packet aggregating on same fisa flow
Flow A packet is waiting napi_id 1 lock as it has passed metadata
and reo_id check in dp_add_nbuf_to_fisa_flow(), another flow B packet
FSE hash pointed to same FSE flow as flow A, but flow B packet is
coming from napi_id 2, current FISA LRU logic will allow flow B packet
hold napi_id 1 lock and update FSE flow to napi_id 2, then release
napi_id 1 lock. flow A and B packet will be added to same fisa flow,
skb double free or other issue will hit.

Move napi_id lock acquring before sanity check in
dp_add_nbuf_to_fisa_flow(), then different napi flow packet will
not be added to same FISA flow.

Change-Id: I2679972a0923d8cfba4f9d22182c1cc193b3f34f
CRs-Fixed: 3080877
2021-11-24 20:31:08 -08:00
Madan Koyyalamudi
1016ea0595 Release 5.2.1.2J
Release 5.2.1.2J

Change-Id: Idd6fc5ab07786a9480a046a605bb02c7c33488d2
CRs-Fixed: 774533
2021-11-24 19:22:14 -08:00
Liangwei Dong
f2eec44f25 qcacld-3.0: optimization of p2p miracast connecting time
Add new parameter 128/129 for miracast command to enable/disable
p2p connection time optimization. The command needs to be issued
before p2p negotiation/invitation/connecting, the driver will do some
necessary configuration to reduce the p2p connecting time. At present,
disabling IMPS is the only configuration to achieve it.

Change-Id: I518b0027290d0254313031fe23315b718565e04b
CRs-Fixed: 3031461
2021-11-24 19:22:14 -08:00
Madan Koyyalamudi
b0b0fbe925 Release 5.2.1.2I
Release 5.2.1.2I

Change-Id: I6dd51829666cefa2d2e0c784caff7d8862ca6590
CRs-Fixed: 774533
2021-11-24 15:39:28 -08:00
Rongjing Liao
7d30fea1c8 qcacld-3.0: support 2.4G 1x1 + 5G 1x1 DBS config for FW
Currently host doesn't support below configuration for FW:
gEnable2x2=0 (disable 2x2 mode)
dual_mac_feature=0(ENABLE_DBS_CXN_AND_SCAN)
tx_chain_mask_2g=0x1
rx_chain_mask_2g=0x1
tx_chain_mask_5g=4
rx_chain_mask_5g=4
disable_rx_mrc_2g=1
disable_tx_mrc_2g=1
disable_tx_mrc_5g=1
disable_rx_mrc_5g=1
gSetTxChainmask1x1=0
gSetRxChainmask1x1=0

Now there is a new requirement for QCA6595:
1. RF chain0: WLAN 2.4G with 1x1 antenna
2. EF chain1: WLAN 5G with 1x1 antenna
3. RF chain1: BT 2.4G with 1x1 antenna

To support this new requirement, need to exclude the case in
condition check when gEnable2x2=0 and dual_mac_feature=0.

Change-Id: Ic08a4b7f5eb4beece867d7d7b4ae1796e67eae85
CRs-Fixed: 3074098
2021-11-24 15:39:28 -08:00
Madan Koyyalamudi
fa552ccc09 Release 5.2.1.2H
Release 5.2.1.2H

Change-Id: I4565a7d074b32f85f1b422face6c7ae19516cdc9
CRs-Fixed: 774533
2021-11-24 06:40:53 -08:00
Aleti Nageshwar Reddy
268acccd8f qcacld-3.0: Update thermal mitigation policy table
Update thermal mitigation policy table to fix the issue related to
thermal subcmd invoked from userspace

Change-Id: I5beb82d68253651736657d3131f4571e877d6042
CRs-Fixed: 3070375
2021-11-24 06:40:53 -08:00
Madan Koyyalamudi
789d49e5b4 Release 5.2.1.2G
Release 5.2.1.2G

Change-Id: I6f0d7ee3e1b0ffb0625a20e30ca0eda5df4e6e18
CRs-Fixed: 774533
2021-11-24 02:43:52 -08:00
Bapiraju Alla
5cf970b5c7 qcacld-3.0: Derive NDP peer multicast address from peer MAC address
Currently, driver is depending on NS frame to be received to configure
peer multicast address for an NDP session. If there is a delay in NS
frame reception, peer multicast address list will be configured to the
FW without actual peer multicast address. Because of this, FW will drop
the NS frame from NDP peer.

To address this, derive peer multicast address from peer MAC address
and include it in multicast address list that is configured to the FW.

Change-Id: I92a575352d592b4001dc4f061e31eb7f592f8445
CRs-Fixed: 3066990
2021-11-24 02:43:52 -08:00
Madan Koyyalamudi
dbf9361d32 Release 5.2.1.2F
Release 5.2.1.2F

Change-Id: I1fc79dbb95772e296020e0115a6bebea1d15583d
CRs-Fixed: 774533
2021-11-24 01:14:18 -08:00
Nakul Kachhwaha
aabf3d74ff qcacld-3.0: Fix Switch Case fallthrough compiler error
Adding fallthrough statement in switch case to
suppress compile time errors.

Change-Id: I948e87090dd68d2f5cf342e2115d672d2d772b6f
CRs-Fixed: 3079848
2021-11-24 01:14:18 -08:00