Skip to content

AVRCP browsing fixes

Simon Mikuda linux-bluetooth 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 1 replyIn review
  2. v310 patches 1 replySuperseded
  3. v28 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches1 replySuperseded

Changes in v4 from the cover letter

- Patches 6 and 9: shorter subjects, their titles were over CI's gitlint limit.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10avrcp: Fix not checking browsing PDU parameter lengthprofiles/audio/avrcp.c+11 -01 reply
2/10avrcp: Fix listing media players up to item 0xffffffffprofiles/audio/avrcp.c+1 -10 replies
3/10avrcp: Fix byte order of ADDRESSED_PLAYER_CHANGED notificationprofiles/audio/avrcp.c+2 -20 replies
4/10avrcp: Fix byte order of TRACK_CHANGED identifierprofiles/audio/avrcp.c+2 -20 replies
5/10avrcp: Fix not browsing a player addressed before it was listedprofiles/audio/avrcp.c+15 -90 replies
6/10player: Fix crash on Search in a folder whose name has a spaceprofiles/audio/player.c+17 -30 replies
7/10player: Fix missing Name of listed Now Playing itemsprofiles/audio/player.c+22 -10 replies
8/10avrcp: Fix NumberOfItems set from a reply for another folderprofiles/audio/avrcp.c profiles/audio/player.c profiles/audio/player.h +1 more+62 -190 replies
9/10unit/test-media-player: Add test for stale NumberOfItems replyunit/test-media-player.c+31 -00 replies
10/10player: Fix Now Playing NumberOfItems when its content changesprofiles/audio/player.c+16 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH BlueZ v4 00/10] AVRCP browsing fixes

These fix AVRCP browsing, mostly in the controller role: the browsing PDU length is not checked, the player list stops short of item 0xffffffff, two notifications go out in the wrong byte order, a player addressed before it was listed is never browsed, Search in a folder whose name has a space crashes bluetoothd, and listed Now Playing items lose their Name and NumberOfItems. Each patch has its steps to reproduce.

Changes in v4:
- Patches 6 and 9: shorter subjects, their titles were over CI's gitlint limit.

Simon Mikuda (10):
avrcp: Fix not checking browsing PDU parameter length
avrcp: Fix listing media players up to item 0xffffffff
avrcp: Fix byte order of ADDRESSED_PLAYER_CHANGED notification
avrcp: Fix byte order of TRACK_CHANGED identifier
avrcp: Fix not browsing a player addressed before it was listed
player: Fix crash on Search in a folder whose name has a space
player: Fix missing Name of listed Now Playing items
avrcp: Fix NumberOfItems set from a reply for another folder unit/test-media-player: Add test for stale NumberOfItems reply
player: Fix Now Playing NumberOfItems when its content changes

 profiles/audio/avrcp.c   | 110 +++++++++++++++++++++++++++++----------
 profiles/audio/player.c  |  65 ++++++++++++++++++++---
 profiles/audio/player.h  |   1 +
 unit/test-media-player.c |  40 ++++++++++++--
 4 files changed, 179 insertions(+), 37 deletions(-)

base-commit: 1608f836188610aabeff5a3164169ebe0360e443

Signature · 1 line
2.43.0