diff options
author | Alex Williams <alex.williams@ni.com> | 2019-07-30 19:45:58 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:35 -0800 |
commit | 9f29b9a556634e41d13fa298f9634b67fdd0a749 (patch) | |
tree | 694a38eb03629aec1ea118f6b3cdf63c6cfd7d0d /tools/dissectors/epan/zpu/zpu_addr_names.h | |
parent | 1c79742231c5cc3609e35bda34c8d9b9e7440f50 (diff) | |
download | uhd-9f29b9a556634e41d13fa298f9634b67fdd0a749.tar.gz uhd-9f29b9a556634e41d13fa298f9634b67fdd0a749.tar.bz2 uhd-9f29b9a556634e41d13fa298f9634b67fdd0a749.zip |
tools: Update dissectors for Wireshark major version 3, new CHDR
Dissectors may now be incompatible with earlier versions.
Fixes ZPU dissector.
Diffstat (limited to 'tools/dissectors/epan/zpu/zpu_addr_names.h')
-rw-r--r-- | tools/dissectors/epan/zpu/zpu_addr_names.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tools/dissectors/epan/zpu/zpu_addr_names.h b/tools/dissectors/epan/zpu/zpu_addr_names.h new file mode 100644 index 000000000..64a1307bc --- /dev/null +++ b/tools/dissectors/epan/zpu/zpu_addr_names.h @@ -0,0 +1,39 @@ +/* + * Dissector for ZPU packets (communication with X300 firmware) + * + * Copyright 2013-2014 Ettus Research LLC + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +/* TODO: autogenerate this file */ + +/* Names of SHMEM registers: */ +static const value_string X300_SHMEM_NAMES[] = { + { 0, "X300_FW_SHMEM_COMPAT_NUM" }, + { 1, "X300_FW_SHMEM_GPSDO_STATUS" }, + { 2, "X300_FW_SHMEM_UART_RX_INDEX" }, + { 3, "X300_FW_SHMEM_UART_TX_INDEX" }, + { 5, "X300_FW_SHMEM_CLAIM_STATUS" }, + { 6, "X300_FW_SHMEM_CLAIM_TIME" }, + { 7, "X300_FW_SHMEM_CLAIM_SRC" }, + { 8, "X300_FW_SHMEM_UART_RX_ADDR" }, + { 9, "X300_FW_SHMEM_UART_TX_ADDR" }, + { 10, "X300_FW_SHMEM_UART_WORDS32" }, + { 11, "X300_FW_SHMEM_ROUTE_MAP_ADDR" }, + { 12, "X300_FW_SHMEM_ROUTE_MAP_LEN" }, + { 0, NULL } +}; + |