Commit Graph

22945 Commits

Author SHA1 Message Date
Srinivas Dasari
32f991772f qcacld-3.0: Remove third-party vendor name from comments
Vendor name is mentioned in the below fix to address an
interoperability issue with the specified make and model,
commit:I0d205e0833b2638aab15401bacdef7a0696d40c2

But specifying the vendor name is not allowed as nothing from
this fix/feature is authorized by the vendor.
So, remove the vendor name from the comment section.

Change-Id: Ib5839667dc1809a57ab54169e5506080b977da63
CRs-Fixed: 2948503
2021-05-18 18:51:42 -07:00
Madan Koyyalamudi
db554dc824 Release 5.2.0.234L
Release 5.2.0.234L

Change-Id: Ief70f49442f7a4ac0a045037188bedc7adef8706
CRs-Fixed: 774533
2021-05-18 12:41:55 -07:00
Utkarsh Bhatnagar
919f560858 qcacld-3.0: Fix HO fail handling when received without roam start
If HO fail/ roam abort is received without any roam start indication
the roam command will not be present in connection manager, so
continue with cleanup even when roam command is not present in these
cases.

Change-Id: I0ff3307b4d4ba96cc3b0c413fd0a41be47e9c588
CRs-Fixed: 2948064
2021-05-18 12:41:55 -07:00
Abhishek Ambure
ef93e8f89a qcacld-3.0: Update OFDM rates only if oper freq is 5GHz
In PE session, host updates supported rates from beacon IE stored
in BSS descriptor. If OFDM rates are present in beacon while
operating frequency is not from 5GHz band, host copies them into
PE session's supported rated.
Hence add a check to avoid adding OFDM rates while operating
frequency is not 5GHz.

Change-Id: Ia3b39b31269b79e6d1f96d3a0bddb185597c0303
CRs-Fixed: 2948058
2021-05-18 12:41:50 -07:00
Madan Koyyalamudi
ce1483ffbd Release 5.2.0.234K
Release 5.2.0.234K

Change-Id: I85c4874b2f025fccec671e79c15db6e2473f3363
CRs-Fixed: 774533
2021-05-18 08:29:17 -07:00
Abhishek Ambure
6465076021 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 08:29:17 -07:00
Deeksha Gupta
565e6a7d76 qcacld-3.0: Support for TWT SAP get_status query command
Add support for TWT get_status command in SAP

As part of this change, TWT get_status command is supported
if
1. If particular dialog_id and particular mac_addr are
   present
2. If dialog_id = 0 and particular mac_addr are present
3. If no parameter present

Change-Id: I5ce1719da7f9a3988ba6e1f04455a06faf9687c6
CRs-Fixed: 2937999
2021-05-18 08:29:11 -07:00
Utkarsh Bhatnagar
76866c0712 qcacld-3.0: Use cm_is_open_mode() API to check for open security
Use cm_is_open_mode() API to check for open security.

Change-Id: I4d960ee781ee63e73f19f0d5e223fd49c01ba728
CRs-Fixed: 2947818
2021-05-18 08:29:05 -07:00
Madan Koyyalamudi
fe7af8cf8f Release 5.2.0.234J
Release 5.2.0.234J

Change-Id: I71965e3ce43bced1b11ed1d07e8cbac436f02059
CRs-Fixed: 774533
2021-05-18 06:24:35 -07:00
Deeksha Gupta
ee2e556362 qcacld-3.0: Add new parameter in add_dialog_policy
Add support for mac_addr parameter in add_dialog_policy

Change-Id: I085a0003a66a5497018674edaf4ef71ed001583b
CRs-Fixed: 2947832
2021-05-18 06:24:35 -07:00
Manikanta Pubbisetty
4af598a24d qcacld-3.0: add TX packet threshold for DP SWLM
Add TX packet threshold while considering for TX write
coalescing. This helps improve low throughput TCP DL &
UL cases.

Change-Id: I9503a0b28a58dcaddbb08f3a98479bb31cd95285
CRs-Fixed: 2931051
2021-05-18 06:24:31 -07:00
Madan Koyyalamudi
17889c36c1 Release 5.2.0.234I
Release 5.2.0.234I

Change-Id: I31b0ac98eaeb24e1e4d5ced9cf759de5ee0a6d4a
CRs-Fixed: 774533
2021-05-18 04:07:55 -07:00
Tiger Yu
1aa4e36c7e qcacld-3.0: Do not reset CONFIG_IPA3 if target is QCA6390
Do not reset CONFIG_IPA3 if target is QCA6390 to avoid mismatch between
Kbuild & qca6390_defconfig.

Change-Id: Iffe2976576a653a145a15cf798737569be116ec3
CRs-Fixed: 2946663
2021-05-18 04:07:55 -07:00
Tiger Yu
f146a1208c qcacld-3.0: Enable SMMU S1 unmap config for QCA6390
Enable SMMU S1 unmap config flag to do SMMU unmap of
IPA TX/RX doorbell registers as part of IPA cleanup.

Change-Id: I2e6e5312fb54841fde89db64071ded965c1c1bd1
CRs-Fixed: 2855099
2021-05-18 04:07:51 -07:00
Jia Ding
b3b2f0a498 qcacld-3.0: Add 320MHz support in HDD
As part of 11BE 320MHZ bandwidth support, add 320MHz
in HDD layer.

Change-Id: Ibf39b8ff314d9b3a9a2c8ccc0739374c2caeb82a
CRs-Fixed: 2935883
2021-05-18 04:07:46 -07:00
Surya Prakash Sivaraj
1eb074d4a3 qcacld-3.0: Validate the duration and interval for P2P_SET_NOA
The following are the firmware expectations for the parameters
through p2p_set_noa:
If count > 1 , the duration should be smaller than interval.
If count = 1, the duration can be same or smaller as interval.
Hence, set the duration as interval if it is configured
greater than interval.
This commit adds the checks accordingly.
Fails the command if the above conditions do not pass.

Change-Id: Ic273b0167c3551cd4b21d4c6dc7f31ba5329bebc
CRs-Fixed: 2941170
2021-05-18 04:07:42 -07:00
Madan Koyyalamudi
4dd6995df4 Release 5.2.0.234H
Release 5.2.0.234H

Change-Id: Id52ce62e29d2c836963cd545d95238cac7a1f637
CRs-Fixed: 774533
2021-05-17 23:43:36 -07:00
Tiger Yu
91d2958518 qcacld-3.0: Reset iface_context to NULL if max IPA interfaces reached
Reset iface_context to NULL if max IPA interfaces reached to avoid to
cleanup the wrong interface context when setup IPA interface failure.

Change-Id: I2f19d62b9f76f826c2275a0d889b5f5a0a48a01f
CRs-Fixed: 2931966
2021-05-17 23:43:36 -07:00
Madan Koyyalamudi
79f3a39921 Release 5.2.0.234G
Release 5.2.0.234G

Change-Id: I6188005c353c08feb08323614e9a68270f3729ba
CRs-Fixed: 774533
2021-05-17 18:55:54 -07:00
sandhu
7ab9c3057e qcacld-3.0: Add flags for HTT HTC tx based completion on lithium
Added flag for HTT HTC tx based completion. currently
packet are freed using htt htc misc list.

Change-Id: I2e7e4d59cadf30f4bb14eaefc045240d1ebc1aaa
CRs-Fixed: 2922547
2021-05-17 18:55:54 -07:00
Madan Koyyalamudi
dd95a7aff0 Release 5.2.0.234F
Release 5.2.0.234F

Change-Id: I2c009886b114ccd0239f3f958a967c8db9ab55bb
CRs-Fixed: 774533
2021-05-17 16:52:28 -07:00
Liangwei Dong
7de7abf90a qcacld-3.0: Fix sap started on unsupported channel
In wlan_hdd_validate_operation_channel, "status" is override
to QDF_STATUS_SUCCESS after "ucfg_mlme_get_sap_allow_all_channels"
call. Reset "status" to QDF_STATUS_E_INVAL before checking
with supported channel list, otherwise QDF_STATUS_SUCCESS
will be returned for unsupported channel case.

Change-Id: Ibc3396eb89634b0efc77262e90427510d26e0f39
CRs-Fixed: 2946475
2021-05-17 16:52:28 -07:00
Madan Koyyalamudi
6b70862ab1 Release 5.2.0.234E
Release 5.2.0.234E

Change-Id: I03a365b02eafbe933f99f932ee1f4c2df13ad6be
CRs-Fixed: 774533
2021-05-17 13:03:58 -07:00
Lincoln Tran
42e337a873 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 13:03:58 -07:00
Madan Koyyalamudi
6dc6e7f951 Release 5.2.0.234D
Release 5.2.0.234D

Change-Id: I11caf5e1a18dfd8cd37e1534b6551a1cf2ca308b
CRs-Fixed: 774533
2021-05-17 03:10:25 -07:00
Ashish Kumar Dhanotiya
41e3dfc713 qcacld-3.0: Add support to accept frequency for ch switch command
Currently channel switch command accepts only channel number as
parameter but with 6GHz changes channel switch can come for the
6GHz channel as well and to support 6GHz channel switch frequency
needs to be accepted as parameter.

To address above issue add support to accept frequency as
parameter for channel switch command.

Change-Id: I38978348c0d70e3e860d4644b4664f8775ecb777
CRs-Fixed: 2931485
2021-05-17 03:10:25 -07:00
Will Huang
920016e72f qcacld-3.0: Update num_transmit_power_env before packing probe response
num_transmit_power_env of tDot11fProbeResponse should also update like
tDot11fBeacon2, otherwise default value is 0, and transmit power
envelope IE(195) will not pack into probe response template.

Fix it by updating num_transmit_power_env of tDot11fProbeResponse to
same as tDot11fBeacon2.

Change-Id: I865ba9d9ad96068c52d3d6434b113cb7662e95c6
CRs-Fixed: 2933031
2021-05-17 03:10:20 -07:00
Manikanta Pubbisetty
5af2169e8f 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-17 03:10:16 -07:00
Madan Koyyalamudi
b0e5a5f833 Release 5.2.0.234C
Release 5.2.0.234C

Change-Id: I5d90dfcda559a7e5faab747af2dbc0d2edee737e
CRs-Fixed: 774533
2021-05-16 20:50:29 -07:00
Vulupala Shashank Reddy
fb5c7ba38a qcacld-3.0: Fill he and vht parameters for packet capture mode
Fill he and vht parameters in data tx and rx packets for packet
capture mode to update in radio tap header.

Change-Id: I229fc41657456b9ab5d8a2dfce1cdd039b624fcb
CRs-Fixed: 2942108
2021-05-16 20:50:28 -07:00
Vulupala Shashank Reddy
bccb16f916 qcacld-3.0: Fix Frequency for data rx packets in packet capture mode
Currently centre frequency filled in data rx packets for packet
capture mode. Need to fill base frequency so filling frequency
from connection policy manager.

Change-Id: I79abe4e8a27a853c156eff8618be2f280fc54e78
CRs-Fixed: 2942107
2021-05-16 20:50:24 -07:00
Madan Koyyalamudi
e18c2c850b Release 5.2.0.234B
Release 5.2.0.234B

Change-Id: Ifbdae850f8e20d4e231fb09c901c36d3e8b67380
CRs-Fixed: 774533
2021-05-15 10:50:37 -07:00
Lincoln Tran
2a0851b0ab 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-15 10:50:37 -07:00
Madan Koyyalamudi
802c5c0018 Release 5.2.0.234A
Release 5.2.0.234A

Change-Id: I37757d239685b8e3613da6b297526d30244351aa
CRs-Fixed: 774533
2021-05-14 22:55:28 -07:00
Gururaj Pandurangi
cc4b32d9bf 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-14 22:55:28 -07:00
Madan Koyyalamudi
8555202036 Release 5.2.0.234
Release 5.2.0.234

Change-Id: Ia0e4170238cae5319e279b44ef062a8e061f79aa
CRs-Fixed: 774533
2021-05-14 14:57:19 -07:00
Deeksha Gupta
451a26ec5d 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-14 14:57:19 -07:00
Deeksha Gupta
5fadf12d3b 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-14 14:57:14 -07:00
Deeksha Gupta
9000cb5714 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-14 14:57:10 -07:00
Deeksha Gupta
7cbae4f860 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-14 14:57:05 -07:00
Madan Koyyalamudi
a33691aa80 Release 5.2.0.233Z
Release 5.2.0.233Z

Change-Id: Ibfdf998d0fc5335cac8a9d3f3caedeeaaa90cd67
CRs-Fixed: 774533
2021-05-14 12:54:21 -07:00
Lincoln Tran
8b2cd2c24d 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-14 12:54:21 -07:00
Madan Koyyalamudi
dcc2ba97c0 Release 5.2.0.233Y
Release 5.2.0.233Y

Change-Id: I7e811c246c18542bba1a18181a54e7dc0330020f
CRs-Fixed: 774533
2021-05-14 06:49:50 -07:00
Aditya Kodukula
2d3512006a qcacld-3.0: Add check to validate the Tx chainmask value
Add a sanity check to validate the Tx chainmask value
sent from the user space for each HW mode.

Change-Id: I2705efe20fcb13bf8343088ceecb4207e2562789
CRs-Fixed: 2943363
2021-05-14 06:49:49 -07:00
Madan Koyyalamudi
ae308ca24f Release 5.2.0.233X
Release 5.2.0.233X

Change-Id: Iebe5fbb64c25699a5edbbb348fc756349c5a1805
CRs-Fixed: 774533
2021-05-14 04:52:39 -07:00
Liangwei Dong
edd0baca7d 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-14 04:52:39 -07:00
Madan Koyyalamudi
71b028ca7c Release 5.2.0.233W
Release 5.2.0.233W

Change-Id: Ia7063ae1113413d3b756ec49f310fd039a9572b6
CRs-Fixed: 774533
2021-05-13 22:29:52 -07:00
abhinav kumar
5b8594d59a 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-13 22:29:52 -07:00
Madan Koyyalamudi
105772e806 Release 5.2.0.233V
Release 5.2.0.233V

Change-Id: I9f74ccedee60da9879ffe0032a01bb539badcdde
CRs-Fixed: 774533
2021-05-13 20:34:03 -07:00
Lin Bai
732ea69682 qcacld-3.0: Add CNSS_BUS_EVENT event handler
CNSS platform will notify bus related event, and add related
handler in CLD driver.

Change-Id: I257f2e09c4fbefa6c4913eb7a7deba165a9b73ec
CRs-Fixed: 2922102
2021-05-13 20:34:03 -07:00