* [PATCH BlueZ v2 1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable
@ 2024-06-28 16:47 Luiz Augusto von Dentz
2024-06-28 16:47 ` [PATCH BlueZ v2 2/2] advertising: " Luiz Augusto von Dentz
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2024-06-28 16:47 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This promotes experimental properties to stable since they have been in
use for quite a while without any changes.
---
doc/org.bluez.LEAdvertisement.rst | 28 +++++++++++++-------------
doc/org.bluez.LEAdvertisingManager.rst | 12 +++++------
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/doc/org.bluez.LEAdvertisement.rst b/doc/org.bluez.LEAdvertisement.rst
index 4609bde74a5e..d3f9cc480470 100644
--- a/doc/org.bluez.LEAdvertisement.rst
+++ b/doc/org.bluez.LEAdvertisement.rst
@@ -83,8 +83,8 @@ dict ServiceData
Service Data elements to include. The keys are the UUID to associate
with the data.
-dict Data [Experimental]
-````````````````````````
+dict Data
+`````````
Advertising Data to include. Key is the advertising type and value is
the data as byte array.
@@ -101,8 +101,8 @@ dict Data [Experimental]
<Transport Discovery> <Organization Flags...>
0x26 0x01 0x01...
-bool Discoverable [Experimental]
-````````````````````````````````
+bool Discoverable
+`````````````````
Advertise as general discoverable. When present this will override
adapter Discoverable property.
@@ -110,8 +110,8 @@ bool Discoverable [Experimental]
Note: This property shall not be set when **Type** is set to
"broadcast".
-uint16 DiscoverableTimeout [Experimental]
-`````````````````````````````````````````
+uint16 DiscoverableTimeout
+``````````````````````````
The discoverable timeout in seconds. A value of zero means that the
timeout is disabled and it will stay in discoverable/limited mode
@@ -158,8 +158,8 @@ uint16_t Timeout
Timeout of the advertisement in seconds. This defines the lifetime of
the advertisement.
-string SecondaryChannel [Experimental]
-``````````````````````````````````````
+string SecondaryChannel
+```````````````````````
Secondary channel to be used. Primary channel is always set to "1M"
except when "Coded" is set.
@@ -170,24 +170,24 @@ string SecondaryChannel [Experimental]
:"2M":
:"Coded":
-uint32 MinInterval [Experimental]
-`````````````````````````````````
+uint32 MinInterval
+``````````````````
Minimum advertising interval to be used by the advertising set, in
milliseconds. Acceptable values are in the range [20ms, 10,485s].
If the provided MinInterval is larger than the provided MaxInterval,
the registration will return failure.
-uint32 MaxInterval [Experimental]
-`````````````````````````````````
+uint32 MaxInterval
+``````````````````
Maximum advertising interval to be used by the advertising set, in
milliseconds. Acceptable values are in the range [20ms, 10,485s]. If the
provided MinInterval is larger than the provided MaxInterval, the
registration will return failure.
-int16 TxPower [Experimental]
-````````````````````````````
+int16 TxPower
+`````````````
Requested transmission power of this advertising set. The provided value
is used only if the "CanSetTxPower" feature is enabled on the
diff --git a/doc/org.bluez.LEAdvertisingManager.rst b/doc/org.bluez.LEAdvertisingManager.rst
index b9d5cafc6ff3..7f6359dff1f8 100644
--- a/doc/org.bluez.LEAdvertisingManager.rst
+++ b/doc/org.bluez.LEAdvertisingManager.rst
@@ -89,8 +89,8 @@ array{string} SupportedIncludes [readonly]
:"local-name":
:"rsi":
-array{string} SupportedSecondaryChannels [readonly, Experimental]
-`````````````````````````````````````````````````````````````````
+array{string} SupportedSecondaryChannels [readonly]
+```````````````````````````````````````````````````
List of supported Secondary channels. Secondary channels can be used to
advertise with the corresponding PHY.
@@ -101,8 +101,8 @@ array{string} SupportedSecondaryChannels [readonly, Experimental]
:"2M":
:"Coded":
-dict SupportedCapabilities [readonly, Experimental]
-```````````````````````````````````````````````````
+dict SupportedCapabilities [readonly]
+`````````````````````````````````````
Enumerates Advertising-related controller capabilities useful to the
client.
@@ -125,8 +125,8 @@ dict SupportedCapabilities [readonly, Experimental]
Max advertising tx power (dBm)
-array{string} SupportedFeatures [readonly,optional,Experimental]
-````````````````````````````````````````````````````````````````
+array{string} SupportedFeatures [readonly,optional]
+```````````````````````````````````````````````````
List of supported platform features. If no features are available on
the platform, the SupportedFeatures array will be empty.
--
2.45.2
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH BlueZ v2 2/2] advertising: Promote experimental properties to stable 2024-06-28 16:47 [PATCH BlueZ v2 1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable Luiz Augusto von Dentz @ 2024-06-28 16:47 ` Luiz Augusto von Dentz 2024-06-28 19:16 ` [BlueZ,v2,1/2] org.bluez.LEAdvertisement: " bluez.test.bot 2024-06-28 19:40 ` [PATCH BlueZ v2 1/2] " patchwork-bot+bluetooth 2 siblings, 0 replies; 4+ messages in thread From: Luiz Augusto von Dentz @ 2024-06-28 16:47 UTC (permalink / raw) To: linux-bluetooth From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> This promotes experimental properties to stable since they have been in use for quite a while without any changes. --- src/advertising.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/src/advertising.c b/src/advertising.c index 5d373e0884b1..dce79bbb51c0 100644 --- a/src/advertising.c +++ b/src/advertising.c @@ -1129,10 +1129,6 @@ static bool parse_min_interval(DBusMessageIter *iter, { uint32_t min_interval_ms; - /* Only consider this property if experimental setting is applied */ - if (!(g_dbus_get_flags() & G_DBUS_FLAG_ENABLE_EXPERIMENTAL)) - return true; - if (!iter) { client->min_interval = 0; return false; @@ -1162,10 +1158,6 @@ static bool parse_max_interval(DBusMessageIter *iter, { uint32_t max_interval_ms; - /* Only consider this property if experimental setting is applied */ - if (!(g_dbus_get_flags() & G_DBUS_FLAG_ENABLE_EXPERIMENTAL)) - return true; - if (!iter) { client->max_interval = 0; return false; @@ -1195,10 +1187,6 @@ static bool parse_tx_power(DBusMessageIter *iter, { int16_t val; - /* Only consider this property if experimental setting is applied */ - if (!(g_dbus_get_flags() & G_DBUS_FLAG_ENABLE_EXPERIMENTAL)) - return true; - if (!iter) { client->tx_power = ADV_TX_POWER_NO_PREFERENCE; return false; @@ -1841,10 +1829,8 @@ static const GDBusPropertyTable properties[] = { { "SupportedIncludes", "as", get_supported_includes, NULL, NULL }, { "SupportedSecondaryChannels", "as", get_supported_secondary, NULL, secondary_exists }, - { "SupportedFeatures", "as", get_supported_features, NULL, NULL, - G_DBUS_PROPERTY_FLAG_EXPERIMENTAL}, - { "SupportedCapabilities", "a{sv}", get_supported_cap, NULL, NULL, - G_DBUS_PROPERTY_FLAG_EXPERIMENTAL}, + { "SupportedFeatures", "as", get_supported_features, NULL, NULL }, + { "SupportedCapabilities", "a{sv}", get_supported_cap, NULL, NULL }, { } }; @@ -1998,8 +1984,7 @@ static struct btd_adv_manager *manager_create(struct btd_adapter *adapter, /* Query controller capabilities. This will be used to display valid * advertising tx power range to the client. */ - if (g_dbus_get_flags() & G_DBUS_FLAG_ENABLE_EXPERIMENTAL && - btd_has_kernel_features(KERNEL_HAS_CONTROLLER_CAP_CMD)) + if (btd_has_kernel_features(KERNEL_HAS_CONTROLLER_CAP_CMD)) mgmt_send(manager->mgmt, MGMT_OP_READ_CONTROLLER_CAP, manager->mgmt_index, 0, NULL, read_controller_cap_complete, manager, NULL); -- 2.45.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [BlueZ,v2,1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable 2024-06-28 16:47 [PATCH BlueZ v2 1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable Luiz Augusto von Dentz 2024-06-28 16:47 ` [PATCH BlueZ v2 2/2] advertising: " Luiz Augusto von Dentz @ 2024-06-28 19:16 ` bluez.test.bot 2024-06-28 19:40 ` [PATCH BlueZ v2 1/2] " patchwork-bot+bluetooth 2 siblings, 0 replies; 4+ messages in thread From: bluez.test.bot @ 2024-06-28 19:16 UTC (permalink / raw) To: linux-bluetooth, luiz.dentz [-- Attachment #1: Type: text/plain, Size: 1605 bytes --] This is automated email and please do not reply to this email! Dear submitter, Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series: PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=866685 ---Test result--- Test Summary: CheckPatch PASS 3.46 seconds GitLint FAIL 1.02 seconds BuildEll PASS 24.75 seconds BluezMake PASS 1650.38 seconds MakeCheck PASS 13.34 seconds MakeDistcheck PASS 176.89 seconds CheckValgrind PASS 250.18 seconds CheckSmatch PASS 350.63 seconds bluezmakeextell PASS 119.05 seconds IncrementalBuild PASS 2992.84 seconds ScanBuild PASS 996.19 seconds Details ############################## Test: GitLint - FAIL Desc: Run gitlint Output: [BlueZ,v2,1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable WARNING: I3 - ignore-body-lines: gitlint will be switching from using Python regex 'match' (match beginning) to 'search' (match anywhere) semantics. Please review your ignore-body-lines.regex option accordingly. To remove this warning, set general.regex-style-search=True. More details: https://jorisroovers.github.io/gitlint/configuration/#regex-style-search 1: T1 Title exceeds max length (83>80): "[BlueZ,v2,1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable" --- Regards, Linux Bluetooth ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH BlueZ v2 1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable 2024-06-28 16:47 [PATCH BlueZ v2 1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable Luiz Augusto von Dentz 2024-06-28 16:47 ` [PATCH BlueZ v2 2/2] advertising: " Luiz Augusto von Dentz 2024-06-28 19:16 ` [BlueZ,v2,1/2] org.bluez.LEAdvertisement: " bluez.test.bot @ 2024-06-28 19:40 ` patchwork-bot+bluetooth 2 siblings, 0 replies; 4+ messages in thread From: patchwork-bot+bluetooth @ 2024-06-28 19:40 UTC (permalink / raw) To: Luiz Augusto von Dentz; +Cc: linux-bluetooth Hello: This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Fri, 28 Jun 2024 12:47:00 -0400 you wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> > > This promotes experimental properties to stable since they have been in > use for quite a while without any changes. > --- > doc/org.bluez.LEAdvertisement.rst | 28 +++++++++++++------------- > doc/org.bluez.LEAdvertisingManager.rst | 12 +++++------ > 2 files changed, 20 insertions(+), 20 deletions(-) Here is the summary with links: - [BlueZ,v2,1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=1a51250a7ea5 - [BlueZ,v2,2/2] advertising: Promote experimental properties to stable https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=7e028287ae1a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-06-28 19:40 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-06-28 16:47 [PATCH BlueZ v2 1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable Luiz Augusto von Dentz 2024-06-28 16:47 ` [PATCH BlueZ v2 2/2] advertising: " Luiz Augusto von Dentz 2024-06-28 19:16 ` [BlueZ,v2,1/2] org.bluez.LEAdvertisement: " bluez.test.bot 2024-06-28 19:40 ` [PATCH BlueZ v2 1/2] " patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox