Commit graph

22,112 commits

Author SHA1 Message Date
Abhishek Ambure
bca68f99e4 qcacld-3.0: Add OCI IE in SA Query request
Add OCI IE in SA Query request, if host and the peer both OCV capable.
If both host and peer are OCV capable and host doesn't add OCI IE SA
Query request, peer fails to send SA query response that leads to
disconnection.

Change-Id: I734a4bea04dbe2126082e4e514b9865d33575fd0
CRs-Fixed: 2946244
2021-05-18 14:30:57 -07:00
Madan Koyyalamudi
6362daf2bd Release 2.0.8.17P
Release 2.0.8.17P

Change-Id: Ibc4c82741717df4755da2a22d6d9f3d0a93be87f
CRs-Fixed: 774533
2021-05-18 06:37:44 -07:00
Manikanta Pubbisetty
9b6e04c5ce qcacld-3.0: config changes to enable deferred reo qdesc free
Config changes to enable deferred freeing of REO Queue
descriptors feature on WCN6750.

Change-Id: Id7524a8f7de8943b11530e70a842c138cc80bb71
CRs-Fixed: 2940347
2021-05-18 06:37:44 -07:00
Madan Koyyalamudi
980f6e1508 Release 2.0.8.17O
Release 2.0.8.17O

Change-Id: I5676c2ef82e58a6ba7242d040bcba8d956e42f15
CRs-Fixed: 774533
2021-05-18 02:49:27 -07:00
Surabhi Vishnoi
039090c264 qcacld-3.0: Set retry flag in frame ctrl in tx data pkts
If the retry count is more than zero then set the retry flag in
frame control of tx data packets in packet capture mode.

Change-Id: Ie1ecfc30c30946d97c92ee2612c825f8d3539f25
CRs-Fixed: 2932130
2021-05-18 02:49:27 -07:00
Surabhi Vishnoi
3eab40ad63 qcacld-3.0: Fix retry count in tx data packets in packet capture mode
Transmit count received in tx completion status includes the success
transmission also, so retry count will be one less than transmit
count.

Change-Id: I81a06d4800b2f1015e618938229b7d7abfe5ed2e
CRs-Fixed: 2932141
2021-05-18 02:49:21 -07:00
Vulupala Shashank Reddy
ea6f3d2a83 qcacld-3.0: Fix compilation error because of unused variable
Fix compilation error due to unused variable tx_retry_cnt
in packet capture.

Change-Id: I9df7ae71723390fb6e1f58495efbb8bdfe42edf4
CRs-Fixed: 2942168
2021-05-18 02:49:15 -07:00
Madan Koyyalamudi
5ae3cb45d1 Release 2.0.8.17N
Release 2.0.8.17N

Change-Id: I8d3e16725605df48799b7abca3f50dd20d183cee
CRs-Fixed: 774533
2021-05-18 01:01:06 -07:00
Surabhi Vishnoi
70efc78cfe qcacld-3.0: Register for mgmt control frames in pkt capture mode
Register for management control frames with the mgmt txrx
component in packet capture mode.

Change-Id: Ibaa20e00753cdeb6a15a79bd458166b47652cdb5
CRs-Fixed: 2932144
2021-05-18 01:01:06 -07:00
Madan Koyyalamudi
24df65781f Release 2.0.8.17M
Release 2.0.8.17M

Change-Id: I792539cca3522c075904eafbfa09e8eff3b8d686
CRs-Fixed: 774533
2021-05-17 20:07:12 -07:00
Lincoln Tran
c03f0209bc qcacld-3.0: Restore default power mode when not in 6GHz
When starting SAP, the power mode is set to VLP to comply with
regulatory rules. There is no need to set this when starting SAP in
2GHz or 5GHz bands, so restore the power mode back to LPI. This
allows any concurrent operations to work on the full channel list.

Change-Id: Ic6270d9cf3e20e544a3dbaf4db8bbe1d85753c83
CRs-fixed: 2942809
2021-05-17 20:07:12 -07:00
Madan Koyyalamudi
3da88f636b Release 2.0.8.17L
Release 2.0.8.17L

Change-Id: I466ed379e1a28521f9fbd1270ad81862b0d9b1c3
CRs-Fixed: 774533
2021-05-17 12:56:06 -07:00
abhinav kumar
f199eb55c9 qcacld-3.0: Don't allow set_fast_roaming if roaming is in progress
When roaming/roam sync is in progress, the host receives a "disable
fast roaming" indication from the supplicant. Host process roaming
or roam sync indication in schedular thread and process disable
fast roaming process is in a supplicant thread. As both processes
are executed in different threads, there is a possibility in the
host that the roaming state gets changes from ROAM_SYNCH_IN_PROG
to RSO_STOPPED or ROAMING_IN_PROG to RSO_STOPPED in the middle of
roaming.

A state change in the middle of roaming can lead to multiple
issues.

To avoid this host should not process disable roaming indication
from userspace, if roaming is in progress.

Change-Id: I9b02683eab7db9b5be12ada6d922073e5267b8a5
CRs-Fixed: 2944303
2021-05-17 12:56:05 -07:00
Liangwei Dong
a634ee63a2 qcacld-3.0: Update ht cap max amsdu size
When vht cap indicates the vht max MPDU size >= 7991 supported,
ht cap A-MSDU length field should indicate 7935 octets
supported according to 80211 specification.
At present no WMI HT cap defined for ht cap A-MSDU length field
from target.
Fix the issue by override ht amsdu len to 1 if vht max mpdu
len >= 7991 supported by target.

Change-Id: I9d2b8c11e7a27e016f618c1a2c8a380d081a6ba7
CRs-Fixed: 2929148
2021-05-17 12:56:01 -07:00
Madan Koyyalamudi
f92ab9faff Release 2.0.8.17K
Release 2.0.8.17K

Change-Id: Ic99da8dfc3e6835aa288a3edeaeb8e73e5ebc76c
CRs-Fixed: 774533
2021-05-17 11:06:29 -07:00
Lincoln Tran
3887a58573 qcacld-3.0: Use MLME channel list in connection manager
When updating the scan filter with valid channels, refer to the MLME
channel list instead of the policy manager list. The policy manager list
is used mainly for SAP related APIs.

Change-Id: I5530e5bcfd6b5c04063d7530fbc996ffca91df3f
CRs-fixed: 2946365
2021-05-17 11:06:28 -07:00
Lincoln Tran
63511b5912 qcacld-3.0: Change SAP related APIs to use secondary channel list
In any start BSS or ACS related function, change the calls to regulatory
to access the secondary channel list instead. This list will hold the
VLP channels specifically for any beaconing modes. This allows a client
and an AP to operate simultaneously on different power modes.

Change-Id: Ic06b408ebcc78292d84f1f035c00bf39a23de3ca
CRs-fixed: 2944484
2021-05-17 11:06:24 -07:00
Deeksha Gupta
0f0032bcb7 qcacld-3.0: Add support for SAP TWT setup event
In host, add support to handle the SAP TWT setup event
and sends the event to userspace via nl layer

Change-Id: I8614e76a28f7b0af0146e3fe8553b24212b7991b
CRs-Fixed: 2938086
2021-05-17 11:06:19 -07:00
Madan Koyyalamudi
6d2db5e735 Release 2.0.8.17J
Release 2.0.8.17J

Change-Id: I5e728533fd3e1bc974994d0d98c0877aeb886274
CRs-Fixed: 774533
2021-05-17 06:50:23 -07:00
Deeksha Gupta
689bb4c24a qcacld-3.0: Add support for SAP TWT pause/resume/nudge event
In host, add support to handle SAP TWT pause/resume/nudge
event and sends the event to userspace via nl layer

Change-Id: I319cb7c67ffc2f8db284a737ca94f7d746ffe27f
CRs-Fixed: 2938335
2021-05-17 06:50:22 -07:00
Madan Koyyalamudi
0e68bc6675 Release 2.0.8.17I
Release 2.0.8.17I

Change-Id: I535cbab63b695f326a82a8a770b7386bae1a62f4
CRs-Fixed: 774533
2021-05-17 05:09:29 -07:00
Gururaj Pandurangi
fbd20a5143 qcacld-3.0: Initialize Link Report struct before using it
Initialize Link Report struct before using it in RRM API.

Change-Id: Ib9688205897befd303147036c6118ce531775401
CRs-Fixed: 2944531
2021-05-17 05:09:29 -07:00
Madan Koyyalamudi
6eef0a2d98 Release 2.0.8.17H
Release 2.0.8.17H

Change-Id: Icb47b079d0ce9780b5c072486b81a1e1c219ba12
CRs-Fixed: 774533
2021-05-17 02:37:31 -07:00
Vulupala Shashank Reddy
1c38a47b61 qcacld-3.0: Update rssi and seqno as part of roam sync indication
Customer tries to trigger quick connect (connection without scan)
just after roaming and reading scan_cache_entry parameters. But
currently the scan_cache_entry parameters followed by roam sync
event are not filled properly.

To Fix this fill Rssi from roam sync indication fixed parameters
and fill seqno from frame mac header during roam sync indication.

Change-Id: Iebe817ac996ecca3998bcf25e62304797a70ea2b
CRs-Fixed: 2870742
2021-05-17 02:37:31 -07:00
Madan Koyyalamudi
409fa30e2c Release 2.0.8.17G
Release 2.0.8.17G

Change-Id: I1abc5f7cb50416a03e99c8b06f001732f404c184
CRs-Fixed: 774533
2021-05-17 00:46:58 -07:00
Surabhi Vishnoi
189947ab05 qcacld-3.0: Fix nss value in rx data packets in packet capture mode
Currently, the value of the nss is filled wrong in radiotap
header of rx data packets received in packet capture mode.
Fix the nss value in rx status in packet capture mode.

Change-Id: I15ceb16869aa15a2191f25feb3ef56625435fe4c
CRs-Fixed: 2932135
2021-05-17 00:46:57 -07:00
Madan Koyyalamudi
21d8527604 Release 2.0.8.17F
Release 2.0.8.17F

Change-Id: I4293d0cebf0e353427fe87220de12e525061ef94
CRs-Fixed: 774533
2021-05-16 13:09:23 -07:00
Deeksha Gupta
b2eec6938c qcacld-3.0: Add support for SAP TWT teardown event
Firmare sends SAP TWT teardown event to host. Host handle
the event and send values to userspace via nl layer

Change-Id: I714c6a18399c1e0d8b79d31af984037f2f5e2024
CRs-Fixed: 2938332
2021-05-15 07:56:53 -07:00
Madan Koyyalamudi
1edc28df9b Release 2.0.8.17E
Release 2.0.8.17E

Change-Id: I0f3d6f8dd7b698ceed49d50398b06598e6ad0f4f
CRs-Fixed: 774533
2021-05-15 05:19:33 -07:00
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