diff mbox series

[v1] Audio Profile version upgrade.

Message ID 20250212090553.3775-1-quic_rbujala@quicinc.com (mailing list archive)
State Accepted
Commit f0e9ecb9f4fe3a7bdb011dc155cf6ad657a289ee
Headers show
Series [v1] Audio Profile version upgrade. | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/BuildEll success Build ELL PASS
tedd_an/BluezMake success Bluez Make PASS
tedd_an/MakeCheck success Bluez Make Check PASS
tedd_an/MakeDistcheck success Make Distcheck PASS
tedd_an/CheckValgrind success Check Valgrind PASS
tedd_an/CheckSmatch success CheckSparse PASS
tedd_an/bluezmakeextell success Make External ELL PASS
tedd_an/ScanBuild success Scan Build PASS

Commit Message

Raghavender Reddy Bujala Feb. 12, 2025, 9:05 a.m. UTC
Most of the existing profile versions are withdrawn
to make PTS successfull, need to upgrade the version
for audio profiles and there are no mandatory feature
changes between these versions are seen.

Version changes
A2DP from 1.3 to 1.4
HFP from 1.7 to 1.8
AVRCP TG from 1.5 to 1.6
AVCTP from 1.3 to 1.4

Signed-off-by: Raghavender Reddy Bujala <quic_rbujala@quicinc.com>
---
 profiles/audio/a2dp.c  | 2 +-
 profiles/audio/avrcp.c | 6 +++---
 src/profile.c          | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

Comments

bluez.test.bot@gmail.com Feb. 12, 2025, 4:40 p.m. UTC | #1
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=933151

---Test result---

Test Summary:
CheckPatch                    PENDING   0.27 seconds
GitLint                       PENDING   0.20 seconds
BuildEll                      PASS      21.89 seconds
BluezMake                     PASS      1821.59 seconds
MakeCheck                     PASS      13.96 seconds
MakeDistcheck                 PASS      167.55 seconds
CheckValgrind                 PASS      223.88 seconds
CheckSmatch                   PASS      295.11 seconds
bluezmakeextell               PASS      102.27 seconds
IncrementalBuild              PENDING   0.31 seconds
ScanBuild                     PASS      916.20 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:



---
Regards,
Linux Bluetooth
patchwork-bot+bluetooth@kernel.org Feb. 12, 2025, 9:40 p.m. UTC | #2
Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Wed, 12 Feb 2025 14:35:53 +0530 you wrote:
> Most of the existing profile versions are withdrawn
> to make PTS successfull, need to upgrade the version
> for audio profiles and there are no mandatory feature
> changes between these versions are seen.
> 
> Version changes
> A2DP from 1.3 to 1.4
> HFP from 1.7 to 1.8
> AVRCP TG from 1.5 to 1.6
> AVCTP from 1.3 to 1.4
> 
> [...]

Here is the summary with links:
  - [v1] Audio Profile version upgrade.
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=f0e9ecb9f4fe

You are awesome, thank you!
diff mbox series

Patch

diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index c97bd6e89..961a6e89d 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -1595,7 +1595,7 @@  static sdp_record_t *a2dp_record(uint8_t type)
 	sdp_record_t *record;
 	sdp_data_t *psm, *version, *features;
 	uint16_t lp = AVDTP_UUID;
-	uint16_t a2dp_ver = 0x0103, avdtp_ver = 0x0103, feat = 0x000f;
+	uint16_t a2dp_ver = 0x0104, avdtp_ver = 0x0103, feat = 0x000f;
 
 	record = sdp_record_alloc();
 	if (!record)
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 9fe8f55e5..86b59a379 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -138,7 +138,7 @@ 
 
 #define AVRCP_BROWSING_TIMEOUT		1
 #define AVRCP_CT_VERSION		0x0106
-#define AVRCP_TG_VERSION		0x0105
+#define AVRCP_TG_VERSION		0x0106
 
 #define AVRCP_SCOPE_MEDIA_PLAYER_LIST			0x00
 #define AVRCP_SCOPE_MEDIA_PLAYER_VFS			0x01
@@ -414,7 +414,7 @@  static sdp_record_t *avrcp_ct_record(bool browsing)
 	sdp_record_t *record;
 	sdp_data_t *psm[2], *version, *features;
 	uint16_t lp = AVCTP_CONTROL_PSM;
-	uint16_t avctp_ver = 0x0103;
+	uint16_t avctp_ver = 0x0104;
 	uint16_t feat = ( AVRCP_FEATURE_CATEGORY_1 |
 					AVRCP_FEATURE_CATEGORY_2 |
 					AVRCP_FEATURE_CATEGORY_3 |
@@ -493,7 +493,7 @@  static sdp_record_t *avrcp_tg_record(bool browsing)
 	sdp_record_t *record;
 	sdp_data_t *psm_control, *version, *features;
 	uint16_t lp = AVCTP_CONTROL_PSM;
-	uint16_t avctp_ver = 0x0103;
+	uint16_t avctp_ver = 0x0104;
 	uint16_t feat = ( AVRCP_FEATURE_CATEGORY_1 |
 					AVRCP_FEATURE_CATEGORY_2 |
 					AVRCP_FEATURE_CATEGORY_3 |
diff --git a/src/profile.c b/src/profile.c
index 70ac058f4..cb74bd819 100644
--- a/src/profile.c
+++ b/src/profile.c
@@ -2075,7 +2075,7 @@  static struct default_settings {
 		.authorize	= true,
 		.auto_connect	= true,
 		.get_record	= get_hfp_hf_record,
-		.version	= 0x0107,
+		.version	= 0x0108,
 	}, {
 		.uuid		= HSP_HS_UUID,
 		.name		= "Headset unit",
@@ -2095,7 +2095,7 @@  static struct default_settings {
 		.authorize	= true,
 		.auto_connect	= true,
 		.get_record	= get_hfp_ag_record,
-		.version	= 0x0107,
+		.version	= 0x0108,
 		/* HFP 1.7.2: By default features bitfield is 0b001001 */
 		.features	= 0x09,
 	}, {