| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If the data we extract from a frame is larger than the supplied frame itself,
ignore the frame.
Also fixed a potential memory leak.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Changed the acquisition logic to correctly acquire the entity if it is
unacquired.
Fix so that if the entity is not acquired or locked, commands to set entity
values are allowed.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
AVDECC can overwrite the stream class specified by the original settings.
This causes the Talker/Listener and Endpoint to use the stream class specified
by the AVDECC controller, and AVDECC to report the current stream class being
used.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Added code to fill in the response to a GET_STREAM_INFO request.
Information for stream_id, stream_dest_mac, and stream_vlan_id are saved with
the StreamIO descriptor for easy access.
Don't display an error if openavbAVDECCGetRequestedState() or
openavbAVDECCGetStreamingState() are called before the Talker/Listener has
started.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Added structures to hold the fields used for SET_STREAM_INFO and
GET_STREAM_INFO commands.
Added support to convert from binary data to structures and back again.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The openavbAVDECCListenerIsStreaming() and openavbAVDECCTalkerIsStreaming()
functions have been replaced with openavbAVDECCGetRequestedState() and
openavbAVDECCGetStreamingState(), which allows for more flexibility.
Changed the value of OPENAVB_AVDECC_MSG_STOPPED_UNEXPECTEDLY so that
OPENAVB_AVDECC_MSG_RUNNING or greater values will indicate that the client is
active. The version number was updated to reflect this change.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When CONNECT_TX_RESPONSE or CONNECT_RX_RESPONSE is sent with STATUS_SUCCESS,
save the flags used in the response. These flags will be useful for
supporting GET_STREAM_INFO in the future.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
For the commands SET_STREAM_FORMAT, SET_SAMPLING_RATE, and SET_CLOCK_SOURCE,
instead of just updating the descriptors, added a TODO noting that the
supplied value needs to be verified and the Talker/Listener needs to be
notified of the change. For now, STATUS_NOT_SUPPORTED is returned in those
situations.
|
| | |\ \ \
| | | | | |
| | | | | | |
Whitespace and Spelling Fixes
|
| | | | | | |
|
| | | | | | |
|
| | | |/ / |
|
| | |\ \ \
| | | | | |
| | | | | | |
Feature avtp pipeline avdecc
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Changed memset and memcpy references to pDescriptor->fast_connect_talker_entity_id to use sizeof(), rather than "8".
|
| | | |\ \ \
| | | | | | |
| | | | | | | |
Feature avtp pipeline avdecc
|
| | | | |\ \ \
| | | | | |/ /
| | | | | | |
| | | | | | | |
ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into feature-avtp-pipeline-avdecc
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
If the Listener determines that the Talker it was connected to has stopped, it
waits 5 seconds before attempting a fast connect to the Talker. This is to
deal with cases where the Talker would still advertise itself and/or respond
to CONNECT_TX_COMMANDs while in the process of shutting down.
Stop the fast connect retry if the saved state information is deleted.
Also, fix to avoid divide-by-0 error seen occasionally when registering the
stream at a bad time.
|
| | | | | | | |
|
| | |\ \ \ \ \
| | | |/ / / /
| | | | | | | |
Feature avtp pipeline avdecc
|
| | | |\ \ \ \
| | | | |/ / /
| | | | | | | |
Feature avtp pipeline avdecc
|
| | | | |\ \ \
| | | | | |/ /
| | | | | | |
| | | | | | | |
ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into feature-avtp-pipeline-avdecc
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Added more details to the description comments for openavbListAdd() and
openavbListNew().
Clarified that several functions will return NULL rather than FALSE.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Addressed compile warning that class_a_bytes_per_sec and class_b_bytes_per_sec
are not used if AVB_FEATURE_IGB==0.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Rather than trying to process each AECP message as the AEM command is
received, the messages are queued, and processed in the order they are
received. This simplifies the multithreading synchronization logic, and
doesn't rely on the network support to queue a large number of frames is
several messages are sent in a row.
|
| | | |\ \ \ \
| | | | |/ / /
| | | | | | | |
Feature avtp pipeline avdecc
|
| | | | |\ \ \
| | | | | |/ /
| | | | | | |
| | | | | | | |
ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into feature-avtp-pipeline-avdecc
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
A running Listener is only stopped if the AVDECC-supplied stream information
differs from the information it is currently using. This change reduces the
time needed to respond to AVDECC connect commands for Listeners already in a
listening state.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
If the Talker stops while the Listener is streaming from it, and fast connect
is enabled, have the Listener listen for the Talker to reappear, and use fast
connect to reconnect to it.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Message of "Invalid stream dest_addr" occurs in legitimate situations, so
changed so it is not logged as an error.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Made the state logging more consistent between the Talker/Listener and AVDECC
app. Minor code reformatting.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
If the AVDECC Talker support does not yet have the destination address or
stream ID from the Endpoint, it waits until it has that information before
responding to a CONNECT_TX_COMMAND.
Also changed the code to avoid showing an error message while in this state.
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixed an issue where the Listener would not fill in the GET_RX_STATE_RESPONSE
information when responding to a GET_RX_STATE_COMMAND.
Also rearranged the copying ordering to match that of the packet contents (to
make the code easier to verify).
|
| | | |\ \ \ \
| | | | |/ / /
| | | | | | | |
Feature avtp pipeline avdecc
|
| | | | |\ \ \
| | | | | |/ /
| | | | | | |
| | | | | | | |
ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into feature-avtp-pipeline-avdecc
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
If the initial fast connect attempt has timed out, watch for ENTITY_AVAILABLE
discovery PDUs to indicate that the Talker is now available. Reattempt the
fast connect to the Talker once an appropriate PDU is detected.
Keeps track of the fast connect status in the
openavb_aem_descriptor_stream_io_t descriptor, for easy access.
Renamed openavbAvdeccSaveStateInfo() to openavbAvdeccGetSaveStateInfo() to
make the purpose more clear.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Functions moved from openavb_avdecc_save_state.c to openavb_avdecc_read_ini.c
to match the location of the header definitions.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Added CONNECT_RX_COMMAND and CONNECT_TX_RESPONSE to TODO to make intent more
clear.
Also fixed two spelling errors in comments.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
If the ACMP CONNECT_TX_COMMAND timeout occurs during Fast Connect, retry the
connection after waiting two CONNECT_TX_COMMAND timeout periods.
Fixes to Listener timeout logic for ACMP transmissions.
Applied Listener timeout fixes to the Controller logic.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Saves additional information (flags and talker_unique_id) needed to support
fast connect.
SAVED_STATE flag set during the initial connection.
Fast Connect is attempted if there is saved state for the Listener when it
connects to the AVDECC app.
Second timeout to Talker on Fast Connect (as defined in IEEE 1722.1-2013
Clause 8.2.2.1.1) still needs to be implemented.
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
When the AVTP Pipeline with AVDECC support is told by the controller to run as
a Listener, the connection information is saved to avdecc_save.ini. The saved
state information is deleted when the connection is closed by the AVDECC
controller. This will allow for future fast connect support that can used the
saved state when AVDECC is initialized.
|
| | | |\ \ \ \
| | | | |/ / /
| | | | | | | |
MAAP addresses reused, shaper daemon shutdown fix
|
| | | | |\ \ \
| | | |/ / / /
| | | | | _ /
| | | | | / |
ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into feature-avtp-pipeline-avdecc
|
| | | | |\ \
| | | |_|/ /
| | |/| | |
| | | | | | |
avb_endpoint
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
If the shaper daemon receives a Ctrl-C signal, it shuts down as if the user
called the quit ("-q") command, rather than just aborting. This allows for
cleanup of the current configuration to occur.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Added initial support to save useful information to the endpoint_save.ini file
for re-use the next time the application is run. By design, the ini file is
only updated as needed.
Currently saving the assigned MAAP address so that the same address can be
requested again.
|