diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2015-12-30 19:43:28 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2016-01-05 17:35:14 -0800 |
commit | f164e23fa079a971417c0e611bc631e3bc4790fd (patch) | |
tree | 640a6e0fc580a30a56d019b68d26cba16503f8ac /firmware/usrp3/include | |
parent | aea284abb908575c388484c0b1a46c5100b09718 (diff) | |
download | uhd-f164e23fa079a971417c0e611bc631e3bc4790fd.tar.gz uhd-f164e23fa079a971417c0e611bc631e3bc4790fd.tar.bz2 uhd-f164e23fa079a971417c0e611bc631e3bc4790fd.zip |
n230: Output interface ID in echo request
Diffstat (limited to 'firmware/usrp3/include')
-rw-r--r-- | firmware/usrp3/include/fw_comm_protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/usrp3/include/fw_comm_protocol.h b/firmware/usrp3/include/fw_comm_protocol.h index 5f0fc0768..14adb33a9 100644 --- a/firmware/usrp3/include/fw_comm_protocol.h +++ b/firmware/usrp3/include/fw_comm_protocol.h @@ -54,6 +54,8 @@ extern "C" { #define FW_COMM_GENERATE_ID(prod) ((((uint32_t) FW_COMM_PROTOCOL_SIGNATURE) << 0) | \ (((uint32_t) prod) << 16) | \ (((uint32_t) FW_COMM_PROTOCOL_VERSION) << 24)) + +#define FW_COMM_GET_PROTOCOL_SIG(id) ((uint16_t)(id & 0xFFFF)) #define FW_COMM_GET_PRODUCT_ID(id) ((uint8_t)(id >> 16)) #define FW_COMM_GET_PROTOCOL_VER(id) ((uint8_t)(id >> 24)) @@ -90,6 +92,7 @@ bool process_fw_comm_protocol_pkt( const fw_comm_pkt_t* request, fw_comm_pkt_t* response, uint8_t product_id, + uint32_t iface_id, poke32_func poke_callback, peek32_func peek_callback ); |