summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | Check AECP frame lengthBrant Thomsen2017-07-192-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the data we extract from a frame is larger than the supplied frame itself, ignore the frame. Also fixed a potential memory leak.
| | | * | AVDECC Acquisition FixesBrant Thomsen2017-07-191-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * | Stream class specified by AVDECCBrant Thomsen2017-07-1911-17/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * | Removed trailing whitespaceBrant Thomsen2017-07-198-80/+80
| | | | |
| | | * | GET_STREAM_INFO ImplementationBrant Thomsen2017-07-195-2/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 field support for SET_STREAM_INFO and GET_STREAM_INFOBrant Thomsen2017-07-182-2/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * | Functions changed to return the current state, rather than IsStreamingBrant Thomsen2017-07-185-64/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * | CONNECT_TX_RESPONSE and CONNECT_RX_RESPONSE flags savedBrant Thomsen2017-07-183-15/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * | STATUS_NOT_SUPPORTED returned for unsupported commandsBrant Thomsen2017-07-181-10/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | Merge pull request #665 from bdthomsen/whitespace_onlyandrew-elder2017-08-0317-176/+176
| | |\ \ \ | | | | | | | | | | | | Whitespace and Spelling Fixes
| | | * | | Spelling and whitespace fixesBrant Thomsen2017-08-025-62/+62
| | | | | |
| | | * | | White space changes onlyBrant Thomsen2017-07-274-34/+34
| | | | | |
| | | * | | Removed trailing whitespaceBrant Thomsen2017-07-278-80/+80
| | | |/ /
| | * | | Merge pull request #663 from AVnu/feature-avtp-pipeline-avdeccandrew-elder2017-08-028-8/+25
| | |\ \ \ | | | | | | | | | | | | Feature avtp pipeline avdecc
| | | * | | Used sizeof() rather than fixed memory sizesBrant Thomsen2017-08-022-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Changed memset and memcpy references to pDescriptor->fast_connect_talker_entity_id to use sizeof(), rather than "8".
| | | * | | Merge pull request #662 from bdthomsen/feature-avtp-pipeline-avdeccBrant Thomsen2017-07-218-6/+23
| | | |\ \ \ | | | | | | | | | | | | | | Feature avtp pipeline avdecc
| | | | * \ \ Merge branch 'avb_endpoint' of ↵Brant Thomsen2017-07-198-6/+23
| | | | |\ \ \ | | | | | |/ / | | | | | | | | | | | | | | ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into feature-avtp-pipeline-avdecc
| | | | | * | Fix if Talker disappears and reappearsBrant Thomsen2017-07-174-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | | * | Spelling and white space fixes.Brant Thomsen2017-07-174-4/+4
| | | | | | |
| | * | | | | Merge pull request #655 from AVnu/feature-avtp-pipeline-avdeccandrew-elder2017-07-21352-1737/+29272
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | Feature avtp pipeline avdecc
| | | * | | | Merge pull request #654 from bdthomsen/feature-avtp-pipeline-avdeccBrant Thomsen2017-07-145-98/+200
| | | |\ \ \ \ | | | | |/ / / | | | | | | | Feature avtp pipeline avdecc
| | | | * | | Merge branch 'avb_endpoint' of ↵Brant Thomsen2017-07-145-98/+200
| | | | |\ \ \ | | | | | |/ / | | | | | | | | | | | | | | ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into feature-avtp-pipeline-avdecc
| | | | | * | openavb_list comment cleanupBrant Thomsen2017-07-141-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added more details to the description comments for openavbListAdd() and openavbListNew(). Clarified that several functions will return NULL rather than FALSE.
| | | | | * | Fixed compile warningBrant Thomsen2017-07-141-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addressed compile warning that class_a_bytes_per_sec and class_b_bytes_per_sec are not used if AVB_FEATURE_IGB==0.
| | | | | * | Received AECP messages are queuedBrant Thomsen2017-07-143-85/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * | | | Merge pull request #653 from bdthomsen/feature-avtp-pipeline-avdeccandrew-elder2017-07-148-54/+152
| | | |\ \ \ \ | | | | |/ / / | | | | | | | Feature avtp pipeline avdecc
| | | | * | | Merge branch 'avb_endpoint' of ↵Brant Thomsen2017-07-148-54/+152
| | | | |\ \ \ | | | | | |/ / | | | | | | | | | | | | | | ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into feature-avtp-pipeline-avdecc
| | | | | * | Change to not unnecessarily stop a ListenerBrant Thomsen2017-07-122-17/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | | * | Use fast connect if Talker disappearsBrant Thomsen2017-07-123-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | | * | Removed error messageBrant Thomsen2017-07-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Message of "Invalid stream dest_addr" occurs in legitimate situations, so changed so it is not logged as an error.
| | | | | * | Logging/Formatting changesBrant Thomsen2017-07-122-15/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made the state logging more consistent between the Talker/Listener and AVDECC app. Minor code reformatting.
| | | | | * | Talker doesn't send CONNECT_TX_RESPONSE until has connection infoBrant Thomsen2017-07-114-12/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | | * | Increment the sequence_id for fast connect supportBrant Thomsen2017-07-111-0/+2
| | | | | | |
| | | | | * | Fixed blank Listener GET_RX_STATE_RESPONSEBrant Thomsen2017-07-112-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| | | * | | | Merge pull request #651 from bdthomsen/feature-avtp-pipeline-avdeccBrant Thomsen2017-07-1018-30/+906
| | | |\ \ \ \ | | | | |/ / / | | | | | | | Feature avtp pipeline avdecc
| | | | * | | Merge branch 'avb_endpoint' of ↵Brant Thomsen2017-07-1018-30/+906
| | | | |\ \ \ | | | | | |/ / | | | | | | | | | | | | | | ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into feature-avtp-pipeline-avdecc
| | | | | * | Version number changed to 0.1.2 (Development)Brant Thomsen2017-07-101-1/+1
| | | | | | |
| | | | | * | Fast connect retried if Talker is discoveredBrant Thomsen2017-07-078-25/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | | * | Moved functionsBrant Thomsen2017-07-072-135/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Functions moved from openavb_avdecc_save_state.c to openavb_avdecc_read_ini.c to match the location of the header definitions.
| | | | | * | Made a comment more clearBrant Thomsen2017-07-073-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added CONNECT_RX_COMMAND and CONNECT_TX_RESPONSE to TODO to make intent more clear. Also fixed two spelling errors in comments.
| | | | | * | Added Fast Connect CONNECT_TX_COMMAND retry supportBrant Thomsen2017-07-062-18/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | | * | Initial Fast Connect SupportBrant Thomsen2017-07-066-19/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | | * | Spelling fixBrant Thomsen2017-07-051-3/+3
| | | | | | |
| | | | | * | Added ACMP saved state supportBrant Thomsen2017-07-0310-4/+552
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * | | | Merge pull request #647 from bdthomsen/feature-avtp-pipeline-avdeccBrant Thomsen2017-06-3013-95/+276
| | | |\ \ \ \ | | | | |/ / / | | | | | | | MAAP addresses reused, shaper daemon shutdown fix
| | | | * | | Merge branch 'avb_endpoint' of ↵Brant Thomsen2017-06-3013-95/+276
| | | | |\ \ \ | | | |/ / / / | | | | | _ / | | | | | / ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into feature-avtp-pipeline-avdecc
| | | | * | Merge branch 'open-avb-next' of https://github.com/AVnu/Open-AVB into ↵Brant Thomsen2017-06-304-70/+63
| | | | |\ \ | | | |_|/ / | | |/| | | | | | | | | avb_endpoint
| | | | * | Added signal handling to Shaper DaemonBrant Thomsen2017-06-211-3/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | * | White space fixBrant Thomsen2017-06-211-1/+1
| | | | | |
| | | | * | AVTP Pipeline Save Settings SupportBrant Thomsen2017-06-217-20/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.