aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-btavdtp.c
diff options
context:
space:
mode:
authorMichal Labedzki <michal.labedzki@tieto.com>2015-08-25 14:01:43 +0200
committerMichael Mann <mmann78@netscape.net>2015-09-14 12:17:20 +0000
commit9ff68f3ab58de3e0e1f631265b44fa45ff0074a6 (patch)
treed03a50e5dfdbdff1abea8a65bd6d679a76269c33 /epan/dissectors/packet-btavdtp.c
parentac158c14d6542932b30b9960d2f92f669a9a3998 (diff)
Bluetooth: AVDTP: Add missing error codes
Add error codes from AVDTP, GAVDTP and A2DP 1.3.1. Change-Id: Ida7c8041bafcd954d9939c165808347f16c542a8 Reviewed-on: https://code.wireshark.org/review/10523 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-btavdtp.c')
-rw-r--r--epan/dissectors/packet-btavdtp.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/epan/dissectors/packet-btavdtp.c b/epan/dissectors/packet-btavdtp.c
index 04a8bd4937..91a81cc626 100644
--- a/epan/dissectors/packet-btavdtp.c
+++ b/epan/dissectors/packet-btavdtp.c
@@ -444,6 +444,43 @@ static const value_string error_code_vals[] = {
{ 0x29, "Unsupported Configuration" },
/* ACP to INT, Procedure Error Codes */
{ 0x31, "Bad State" },
+ /* GAVDTP */
+ { 0x80, "The Service Category Stated is Invalid" },
+ { 0x81, "Lack of Resource New Stream Context" },
+ /* A2DP */
+ { 0xC1, "Invalid Codec Type" },
+ { 0xC2, "Not Supported Codec Type" },
+ { 0xC3, "Invalid Sampling Frequency" },
+ { 0xC4, "Not Supported Sampling Frequency" },
+ { 0xC5, "Invalid Channel Mode" },
+ { 0xC6, "Not Supported Channel Mode" },
+ { 0xC7, "Invalid Subbands" },
+ { 0xC8, "Not Supported Subbands" },
+ { 0xC9, "Invalid Allocation Method" },
+ { 0xCA, "Not Supported Allocation Method" },
+ { 0xCB, "Invalid Minimum Bitpool Value" },
+ { 0xCC, "Not Supported Minimum Bitpool Value" },
+ { 0xCD, "Invalid Maximum Bitpool Value" },
+ { 0xCE, "Not Supported Maximum Bitpool Value" },
+ { 0xCF, "Invalid Layer" },
+ { 0xD0, "Not Supported Layer" },
+ { 0xD1, "Not Supported CRC" },
+ { 0xD2, "Not Supported MPF" },
+ { 0xD3, "Not Supported VBR" },
+ { 0xD4, "Invalid Bit Rate" },
+ { 0xD5, "Not Supported Bit Rate" },
+ { 0xD6, "Invalid Object Type" },
+ { 0xD7, "Not Supported Object Type" },
+ { 0xD8, "Invalid Channels" },
+ { 0xD9, "Not Supported Channels" },
+ { 0xDA, "Invalid Version" },
+ { 0xDB, "Not Supported Version" },
+ { 0xDC, "Not Supported Maximum SUL" },
+ { 0xDD, "Invalid Block Length" },
+ { 0xE0, "Invalid Content Protection Type" },
+ { 0xE1, "Invalid Content Protection Format" },
+ { 0xE2, "Invalid Coded Parameter" },
+ { 0xE3, "Not Supported Codec Parameter" },
{ 0, NULL }
};