* [PATCH BlueZ v1 1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable @ 2024-06-28 14:21 Luiz Augusto von Dentz 2024-06-28 14:21 ` [PATCH BlueZ v1 2/2] advertising: " Luiz Augusto von Dentz 2024-06-28 16:29 ` [BlueZ,v1,1/2] org.bluez.LEAdvertisement: " bluez.test.bot 0 siblings, 2 replies; 3+ messages in thread From: Luiz Augusto von Dentz @ 2024-06-28 14:21 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 | 8 ++++---- 2 files changed, 18 insertions(+), 18 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..713c9f6a5b97 100644 --- a/doc/org.bluez.LEAdvertisingManager.rst +++ b/doc/org.bluez.LEAdvertisingManager.rst @@ -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] 3+ messages in thread
* [PATCH BlueZ v1 2/2] advertising: Promote experimental properties to stable 2024-06-28 14:21 [PATCH BlueZ v1 1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable Luiz Augusto von Dentz @ 2024-06-28 14:21 ` Luiz Augusto von Dentz 2024-06-28 16:29 ` [BlueZ,v1,1/2] org.bluez.LEAdvertisement: " bluez.test.bot 1 sibling, 0 replies; 3+ messages in thread From: Luiz Augusto von Dentz @ 2024-06-28 14:21 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] 3+ messages in thread
* RE: [BlueZ,v1,1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable 2024-06-28 14:21 [PATCH BlueZ v1 1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable Luiz Augusto von Dentz 2024-06-28 14:21 ` [PATCH BlueZ v1 2/2] advertising: " Luiz Augusto von Dentz @ 2024-06-28 16:29 ` bluez.test.bot 1 sibling, 0 replies; 3+ messages in thread From: bluez.test.bot @ 2024-06-28 16:29 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=866614 ---Test result--- Test Summary: CheckPatch PASS 0.91 seconds GitLint FAIL 0.82 seconds BuildEll PASS 26.98 seconds BluezMake PASS 1724.74 seconds MakeCheck PASS 13.37 seconds MakeDistcheck PASS 180.88 seconds CheckValgrind PASS 251.31 seconds CheckSmatch PASS 357.91 seconds bluezmakeextell PASS 121.22 seconds IncrementalBuild PASS 3065.36 seconds ScanBuild PASS 997.27 seconds Details ############################## Test: GitLint - FAIL Desc: Run gitlint Output: [BlueZ,v1,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,v1,1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable" --- Regards, Linux Bluetooth ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-28 16:29 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-06-28 14:21 [PATCH BlueZ v1 1/2] org.bluez.LEAdvertisement: Promote experimental properties to stable Luiz Augusto von Dentz 2024-06-28 14:21 ` [PATCH BlueZ v1 2/2] advertising: " Luiz Augusto von Dentz 2024-06-28 16:29 ` [BlueZ,v1,1/2] org.bluez.LEAdvertisement: " bluez.test.bot
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.