media-api: Make QoS a single property
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 24 Aug 2023 21:19:40 +0000 (14:19 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000 (19:04 +0530)
This moves QoS related properties to a single dictionary.

doc/media-api.txt

index 3a0ec38e244d63270020b9ba5f2d93c1d3c71721..cbcfac85c27ba734e485b92c993aec730a124b63 100755 (executable)
@@ -816,42 +816,74 @@ Properties        object Device [readonly]
                        Linked transport objects which the transport is
                        associated with.
 
-               byte CIG [ISO only, optional, experimental]
+               dict QoS [readonly, optional, ISO only, experimental]
 
-                       Indicates configured QoS CIG.
                        Only present when QoS is configured.
 
-               byte CIS [ISO only, optional, experimental]
+                       Possible values for Unicast:
 
-                       Indicates configured QoS CIS.
-                       Only present when QoS is configured.
+                       byte CIG
 
-               uint32 Interval [ISO only, optional, experimental]
+                               Indicates configured CIG.
 
-                       Indicates configured QoS interval.
-                       Only present when QoS is configured.
+                       byte CIS
 
-               boolean Framing [ISO only, optional, experimental]
+                               Indicates configured CIS.
 
-                       Indicates configured QoS framing.
-                       Only present when QoS is configured.
+                       uint32 Interval
 
-               byte PHY [ISO only, optional, experimental]
+                               Indicates configured ISO interval.
 
-                       Indicates configured QoS PHY.
-                       Only present when QoS is configured.
+                       boolean Framing
 
-               uint16 SDU [ISO only, optional, experimental]
+                               Indicates configured framing.
 
-                       Indicates configured QoS SDU.
-                       Only present when QoS is configured.
+                       byte PHY
 
-               byte Retransmissions [ISO only, optional, experimental]
+                               Indicates configured PHY.
 
-                       Indicates configured QoS retransmissions.
-                       Only present when QoS is configured.
+                       uint16 SDU
 
-               uint16 Latency [ISO only, optional, experimental]
+                               Indicates configured SDU.
 
-                       Indicates configured QoS latency.
-                       Only present when QoS is configured.
+                       byte Retransmissions
+
+                               Indicates configured retransmissions.
+
+                       uint16 Latency
+
+                               Indicates configured transport latency.
+
+                       Possible values for Broadcast:
+
+                       byte BIG
+
+                               Indicates configured QoS BIG.
+
+                       byte BIS
+
+                               Indicates configured BIS.
+
+                       uint32 SyncInterval
+
+                               Indicates configured broadcast sync interval.
+
+                       uint32 Interval
+
+                               Indicates configured ISO interval.
+
+                       byte PHY
+
+                               Indicates configured PHY.
+
+                       uint16 SDU
+
+                               Indicates configured maximum SDU.
+
+                       byte SyncTimeout
+
+                               Indicates configured broadcast sync timeout.
+
+                       uint16 Latency
+
+                               Indicates configured transport latency.