Commit graph

22,083 commits

Author SHA1 Message Date
Deeksha Gupta
ce94287d8d qcacld-3.0: Send mac_addr attribute in all TWT events
Peer mac address is required in SAP mode TWT events.
So add support to send mac_address attribute in all
the TWT events to userspace.

Change-Id: Iab7c210eb2a058315b71f2327e6ac07d97ea7200
CRs-Fixed: 2940862
2021-05-15 05:19:33 -07:00
Madan Koyyalamudi
c5f621e0e5 Release 2.0.8.17D
Release 2.0.8.17D

Change-Id: I356a0956e703f0c90bf897aacf7e50b78afacfe0
CRs-Fixed: 774533
2021-05-15 03:44:46 -07:00
Kiran Kumar Lokere
12fb0bd4bc qcacld-3.0: Fix the TWT suspend command parse failure
Correct the attribute policy for TWT suspend to fix the command
parsing failure.

Change-Id: I6078c2e199ed13433c3dea532e3bbe396dd6ad8a
CRs-Fixed: 2872500
2021-05-14 23:48:48 -07:00
Madan Koyyalamudi
f294514c34 Release 2.0.8.17C
Release 2.0.8.17C

Change-Id: I9bb949a5ba807619ee29899b821e11cfb87a3db7
CRs-Fixed: 774533
2021-05-14 13:13:02 -07:00
Vevek Venkatesan
6896649aee qcacld-3.0: increase ce_service_max_yield_time to 2 msec
Increase ce_service_max_yield_time to 2 msec in SLUB_DEBUG
builds for helium SNOC platforms to improve the CE reaping
performance.

Change-Id: I2a8a21fd1a65bc2ffc5fb17986116613f47510c7
CRs-Fixed: 2937231
2021-05-14 13:13:02 -07:00
Jianmin Zhu
18082a52d6 qcacld-3.0: Remove WLAN_REG_IS_5GHZ_CH
Remove WLAN_REG_IS_5GHZ_CH in cld

Change-Id: I7525f4490f865721bee3213fdffd586082724e4a
CRs-Fixed: 2883683
2021-05-14 13:12:57 -07:00
Madan Koyyalamudi
79cd582687 Release 2.0.8.17B
Release 2.0.8.17B

Change-Id: Ie673cd8292ea13764ff62d10ba11f99e903ff07c
CRs-Fixed: 774533
2021-05-13 23:36:55 -07:00
Jyoti Kumari
26364361fc qcacld-3.0: wma_send_peer_assoc() sets incorrect peer state
wma_send_peer_assoc() calls wma_unified_peer_state_update() which
always sets the peer state as AUTH irrespective of peer state.

Remove wma_unified_peer_state_update() from wma_send_peer_assoc()
to handle peer state.

Change-Id: I4a887acbc8018653c34b927636cce7cc05323838
CRs-Fixed: 2888808
2021-05-13 23:36:55 -07:00
Yeshwanth Sriram Guntuka
a881903791 qcacld-3.0: Do not intrabss fwd frag EAPOL frames in HL
Do not intrabss forward fragmented EAPOL frames that have
DA different from the SAP vdev mac addr when high latency
is enabled.

Change-Id: Idb6e6c001f4dae51c2181e70ab9adbbb964f0ee3
CRs-Fixed: 2942096
2021-05-13 23:36:49 -07:00
Yeshwanth Sriram Guntuka
3253140173 qcacld-3.0: Enable config flag to disable EAPOL intrabss fwd
Enable config flag to disable EAPOL intrabss fwd for Lithium

Change-Id: I23959e38b5cbd845d369bebd6913150eca4551bf
CRs-Fixed: 2876353
2021-05-13 23:36:44 -07:00
Yeshwanth Sriram Guntuka
046760890a qcacld-3.0: Flush frags for peer on add key request
Fragments are not flushed as part of rekey which
could result in fragments encrypted under different
keys to be reassembled.

Fix is to flush fragments for the peer for which add
key request is received.

Change-Id: I0c018ff7375272125c62aaea7b8ad4df9e842508
CRs-Fixed: 2875950
2021-05-13 23:36:38 -07:00
Yeshwanth Sriram Guntuka
d7600941a3 qcacld-3.0: Add support to flush fragments for a particular peer
Add support for flushing fragments for a particular peer.

Change-Id: I91236d2edc73317380590458b974013a02e858a1
CRs-Fixed: 2860131
2021-05-13 23:36:32 -07:00
Madan Koyyalamudi
81c45259b3 Release 2.0.8.17A
Release 2.0.8.17A

Change-Id: I7eb184124aff844fc5d2638cdd4454ced2555a50
CRs-Fixed: 774533
2021-05-13 21:43:10 -07:00
Srinivas Girigowda
d4f5f2e932 qcacld-3.0: Do not wait for TWT notify for peer initiated teardown
TWT notify event from firmware is expected only if the teardown
is initiated by the firmware during scenarios like
(roaming in progress, etc).
If the TWT teardown is initiated by the peer then notify WMI event
is not expected from the firmware.

Change-Id: Ic13a4858fb06d023d5e71da10320a546a1dcf80d
CRs-Fixed: 2944663
2021-05-13 21:43:10 -07:00
Madan Koyyalamudi
07a31b9a07 Release 2.0.8.17
Release 2.0.8.17

Change-Id: If90111f81916a95a16170d68365b36281ac2e241
CRs-Fixed: 774533
2021-05-13 19:55:58 -07:00
Yeshwanth Sriram Guntuka
e3535751a9 qcacld-3.0: Do not intrabss fwd EAPOL frames in IPA exc path
Do not intrabss forward EAPOL frames received in IPA
exception path.

Change-Id: I0be68ec2c186a7b64d4d2f1c3de7dbb20e49d860
CRs-Fixed: 2860225
2021-05-13 19:55:58 -07:00
Yeshwanth Sriram Guntuka
9e14373ace qcacld-3.0: Drop EAPOL frame with DA different from SAP vdev mac addr
Fragmented EAPOL frames and EAPOL frames received
in few error scenarios with DA different from SAP
vdev mac addr will be dropped.

Change-Id: I624eba5bdb43c6b88a1f57112550f8026cc35e24
CRs-Fixed: 2888227
2021-05-13 19:55:54 -07:00
Gururaj Pandurangi
8ca645e48f qcacld-3.0: Enable Skip TPE consideration INI by default
The INI skip_tpe_consideration when set, skips power from AP's
TPE IE in TPC power calculation for 2.4G/5G case. Enable this
INI by default since APs advertise low TPE powers for IoT, thus
lowering overall TPC power.

Change-Id: I6c07bbd684579c2fa3617e49d76c75b5bf3f2815
CRs-Fixed: 2941630
2021-05-13 19:55:50 -07:00
Yeshwanth Sriram Guntuka
375fa9bd37 qcacld-3.0: Modify check to ensure consecutive PN for frags
Modify check to ensure packet number is consecutive for
fragments and drop the fragments if the check fails.

Change-Id: Ica24f65aff65ca58bb010c876f27964b5b2bae6a
CRs-Fixed: 2860242
2021-05-13 19:55:45 -07:00
Madan Koyyalamudi
7618a5128c Release 2.0.8.16Z
Release 2.0.8.16Z

Change-Id: If9e8afc6912891c34e443f3e084406436962ea48
CRs-Fixed: 774533
2021-05-13 12:46:45 -07:00
Yeshwanth Sriram Guntuka
100768c9f2 qcacld-3.0: Drop non-EAPOL/WAPI frames from unauthorized peer
Drop non-EAPOL/WAPI frames from unauthorized peer received
in the IPA exception path.

Change-Id: I0c0bc6e60efa193126ba1e3eca36c5e02f7f76a3
CRs-Fixed: 2860206
2021-05-13 12:46:45 -07:00
Surabhi Vishnoi
14ed3f8c2d qcacld-3.0: Add support for TSO frames in packet capture mode
Currently, TSO frames are not handled in packet capture mode.
Add support to handle TSO frames.

Change-Id: Ib901defcd369b01a33c87ca888ad80fe5fd086c7
CRs-Fixed: 2932138
2021-05-13 12:46:40 -07:00
Yeshwanth Sriram Guntuka
bfd4709490 qcacld-3.0: Do not intrabss forward fragmented EAPOL frames
Do not intrabss forward fragmented EAPOL frames that have
DA different from the SAP vdev mac addr.

Change-Id: I4145227c9b02fe8cec86ef4ffc3bc2025f906923
CRs-Fixed: 2888467
2021-05-13 12:46:36 -07:00
Yeshwanth Sriram Guntuka
ebf5d60313 qcacld-3.0: Drop mcast and plaintext frags in protected network
Multicast frames should not be fragmented and plaintext
frags should not be reassembeld in protected network.

Fix is to drop mcast frags and plaintext frags received
in protected network.

Change-Id: I98cf0715f5832f2f86f86b79dbdbc3a7c86dbfd0
CRs-Fixed: 2860245
2021-05-13 12:46:32 -07:00
Madan Koyyalamudi
318aa4e52f Release 2.0.8.16Y
Release 2.0.8.16Y

Change-Id: I64865ae20b9ae2054042e2bfbb02adac393e599e
CRs-Fixed: 774533
2021-05-13 08:34:13 -07:00
Karthik Kantamneni
f1219ad8e6 qcacld-3.0: Increase QDF nbuf history for Lithium targets
For some of the stability issues triggered by H.W,
by the time host detects it most of the QDF history
is getting overwritten to avoid this increasing QDF
nbuf history. So that there will be less chance of
events getting overwritten.

Change-Id: Ia4bad1a175976af2e56126b56ae8c92a988e4289
CRs-Fixed: 2942868
2021-05-13 08:34:12 -07:00
Madan Koyyalamudi
bd7f0293d1 Release 2.0.8.16X
Release 2.0.8.16X

Change-Id: Ia6bd0d065ff0fbe8d170c20549f4fa29494eb76a
CRs-Fixed: 774533
2021-05-13 06:37:08 -07:00
Karthik Kantamneni
e58a748845 qcacld-3.0: Config changes for QCA6750 target
Disable lock less access and delyed reg v2 support for QCA6750.

Change-Id: I4c0294c07db656a0dbf5b0f512205eb08d72eb71
CRs-Fixed: 2933266
2021-05-13 06:37:08 -07:00
Naman Padhiar
07500062d9 qcacld-3.0: Add PLD wrapper for MHI state info
Add pld_get_mhi_state API to get current MHI state and
pld_is_pci_ep_awake to indicate that PCI EP is out of
low power state.

Also enable pld_prevent_l1 and pld_allow_l1 API for WCN6750
to manage low power state of PCI EP from Host.

Change-Id: Ic574bf7d7886b8e59b98e65806b387eef3a54e94
2021-05-13 06:37:03 -07:00
Madan Koyyalamudi
74e543b5c5 Release 2.0.8.16W
Release 2.0.8.16W

Change-Id: I1a42d384e85995b494041129373f0fca2c8662bc
CRs-Fixed: 774533
2021-05-12 19:35:52 -07:00
sheenam monga
f0b20488a1 qcacld-3.0: Remove usage of wlan_reg_get_channel_state
Use wlan_reg_get_channel_state_for_freq to get channel state
instead of wlan_reg_get_channel_state.

Change-Id: I0ab0465458801747cc97bf03b3aee4ec255beb57
CRs-Fixed: 2859852
2021-05-12 19:35:51 -07:00
Madan Koyyalamudi
a2c996d3b7 Release 2.0.8.16V
Release 2.0.8.16V

Change-Id: Ief81df0992a92053883f6a269efe3938b6d15102
CRs-Fixed: 774533
2021-05-12 17:34:28 -07:00
Srinivas Dasari
3dc81a55a5 qcacld-3.0: Start P2P_CLI vdev in max supported ch_width
Some APs/P2P-GOs send beacon with 20mhz and assoc resp with 80mhz
and after assoc resp, next beacon also has 80mhz. Connection is
expected to happen in better possible bandwidth(80MHz in this
case).
Start the vdev with max supported ch_width in order to
support this. It'll be downgraded to appropriate ch_width or
the same would be continued based on assoc resp.

Change-Id: I0d205e0833b2638aab15401bacdef7a0696d40c2
CRs-Fixed: 2870758
2021-05-12 17:34:27 -07:00
Madan Koyyalamudi
1506c70383 Release 2.0.8.16U
Release 2.0.8.16U

Change-Id: Iac810efca680519556cb9e01b27c224ab9ea8732
CRs-Fixed: 774533
2021-05-12 15:44:12 -07:00
Srinivas Dasari
cba32908dd qcacld-3.0: Stop opportunistic timer for NAN cmds in HL platforms
Opportunistic timer gets triggered as soon as a DBS use case
is completed and hw_mode would be set to SMM when the
timer(5 seconds) expires.
Below is an example scenario,
1. DBS is enabled to support STA on 5GHz + SAP on 2.4GHz on
   a Helium device.
2. SAP is disabled(to enable NAN as NAN+SAP is not supported on
   HL platforms)
3. Opportunistic timer gets triggered with a timeout of 5 seconds
   as DBS is not needed anymore.
4. Once the timer expires, WMI_PDEV_SET_HW_MODE_CMDID command
   would be sent to firmware to set the hw_mode to SMM.

But if framework enables NAN immediately after disabling SAP,
firmware can't allow it as NAN is not supported in DBS mode in
Helium platforms. Thereby firmware either rejects the NAN enable
or defer it till set_hw_mode command is received(which introduces
a delay of 5 seconds as host sends it after timer expiry).

So, stop the timer and complete corresponding action when a NAN
command is received from framework to avoid this failure/delay.

Change-Id: I50521c0dd5f2314034957a0f65898c737cfe7e2e
CRs-Fixed: 2937407
2021-05-12 15:44:12 -07:00
Gururaj Pandurangi
47eb72ef13 qcacld-3.0: Fix memory leak in CSR join request
Fix memory leak in CSR join request API.

Change-Id: Idddd0b70d4925e390cdfc8536c51ad1417f365ae
CRs-Fixed: 2942735
2021-05-12 15:44:07 -07:00
Madan Koyyalamudi
6288e36a18 Release 2.0.8.16T
Release 2.0.8.16T

Change-Id: I9f98103870c9279c9c71525c94c297a2558e0b04
CRs-Fixed: 774533
2021-05-12 11:01:06 -07:00
Karthik Kantamneni
13833d2d6e qcacld-3.0: Set ep vote access states during suspend and resume
Set ep vote states during wlan suspend and resume opeartions

Change-Id: I5da5fb69ca99ac1d9ecd82cc61cc106eeba8eb47
CRs-Fixed: 2939902
2021-05-12 11:01:06 -07:00
Madan Koyyalamudi
cb7b7e864f Release 2.0.8.16S
Release 2.0.8.16S

Change-Id: Ic9a42a5651b59db3272cb04c68c06b5112101307
CRs-Fixed: 774533
2021-05-11 21:05:36 -07:00
Vevek Venkatesan
57efb9edae qcacld-3.0: enable BW_MONITOR support for moselle
Enable WDI3_STATS_BW_MONITOR support for moselle
platforms.

Change-Id: I09fc851548f584f7b67824de523df8dd3ece90eb
CRs-Fixed: 2941935
2021-05-11 21:05:36 -07:00
Liangwei Dong
422c1e3376 qcacld-3.0: Fix LTE unsafe channel switching failure of SAP
At present LTE unsafe channel switch and DCS is using
hdd_switch_sap_channel to switch channel of SAP.
hdd_switch_sap_channel has no bw setting parameters and just
use the original bw of SAP - ch_width_orig. The ch_width_orig
(80Mhz) may not be applicable if SAP is channel switching from
5G 80Mhz to 2G. Use the new API wlan_get_ap_prefer_conc_ch_params
to override the bw to appropriate value for the new channel.

Change-Id: I9ab6c92a0534517c524bd56b0c3087d7f75f6368
CRs-Fixed: 2939654
2021-05-11 21:05:31 -07:00
Liangwei Dong
7a2141ed51 qcacld-3.0: Refine SAP force SCC target channel bandwdith selection
Merge the bandwidth selection of the two API
wlansap_get_csa_chanwidth_from_phymode &
wlan_sap_get_concurrent.
Update 5G Force SCC target Max BW selection for dbs hw:
1. Max BW 80Mhz if sta_sap_scc_on_dfs_chan = 1 and Single SAP
2. Max BW 80Mhz if sta_sap_scc_on_dfs_chan = 0 and STA+SAP SCC
3. other case use User configured BW

The above Max BW value will be limited by SAP user configured
BW at the end.

Change-Id: I1b165d1411288ca6845f90103adbf8bbfc34f67d
CRs-Fixed: 2925750
2021-05-11 21:05:27 -07:00
Madan Koyyalamudi
52df69ea67 Release 2.0.8.16R
Release 2.0.8.16R

Change-Id: I3ec70d307e3421427bcfddf8d6d54b7a63cfe008
CRs-Fixed: 774533
2021-05-11 19:08:52 -07:00
sheenam monga
a163b0b0c4 qcacld-3.0: Add log to check igmp offload support
Currently, there is no log to differentiate whether
igmp offload is not supported by fw or ini is disabled.

Add log to check the ini support of igmp offload and
fw capability to handle igmp request.

Change-Id: I22f6f9f1d11da5e03aa8d3c7869b81fc1acc51d7
CRs-Fixed: 2936131
2021-05-11 19:08:51 -07:00
Yu Tian
c2dd0ca266 qcacld-3.0: Set HIF PM link state on in RTPM suspend failure flow
HIF PM link state is used to indicate bus is alive or not. This
indicates RING HP/TP updating directly or using async method.In
RTPM suspend failure flow, CLD reject RTPM suspent request, but
state is not resumed correctly.

Change-Id: I3b96dc1fb34e2810d721e1fcb4db609a3d1d684d
CRs-Fixed: 2919930
2021-05-11 19:08:47 -07:00
Sachin Ahuja
a30ed56c32 qcacld-3.0: Flush the idle shutdown before the dsc op start
Currently idle shutdown is flushed after the suspend dsc op
start. This can lead to the deadlock when the idle shutdown
work is running as it waits for the dsc ops to complete.

To mitigate this issue, flush the idle shutdown work before
starting the dsc ops in suspend sequence.

CRs-Fixed: 2941314
Change-Id: I023b9eb3543d83a30e0587cec3977e08ac7ab752
2021-05-11 19:08:41 -07:00
Madan Koyyalamudi
bdb9bdc719 Release 2.0.8.16Q
Release 2.0.8.16Q

Change-Id: I393e7eb79442905e70185df5e203c60bf5dc27b7
CRs-Fixed: 774533
2021-05-11 10:01:20 -07:00
Utkarsh Bhatnagar
4f06ebfb48 qcacld-3.0: Set ldpc for more than 20 Mhz TDLS link
If ldpc bit is not set in case AP width more than
20 Mhz, it may cause crash.
So, force set LDPC coding in such cases.

Also, force set LDPC if peer supports MCS 10 and 11.

Change-Id: I14bb4b56d0efb660ad19587b319badfac9083f21
CRs-Fixed: 2915086
2021-05-11 10:01:19 -07:00
Madan Koyyalamudi
7ea8440b1d Release 2.0.8.16P
Release 2.0.8.16P

Change-Id: I33c1cf50f56b46bbcb31b3c930b5ccf0a40edbe0
CRs-Fixed: 774533
2021-05-10 23:23:17 -07:00
Karthik Kantamneni
755e7f3cea qcacld-3.0: Enable TX HW descriptor history support
Enable TX HW descriptor history support for Lithium targets.

Change-Id: I84c079cb28f0e320de5378291a21263b8417372f
CRs-Fixed: 2934910
2021-05-10 23:23:17 -07:00