xpp: support loading Octasic EC firmware
Echo Cancellation firmware is loaded by xpp/stribank_hexload (Using the oct612x code). * astribank_hexload: options -O/-o/-A for handling the Octasic echo cancellation firmware. * astribank_tool: report that. * xpp_fxloader: Run astribank_hexload, if needed. * dahdi_perl: The EC module is an extra XPD, but not a "telephony device" and hence not a span. Deal with that. * waitfor_xpds: may need to wait a bit longer for firmware loading. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@10032 17933a7a-c749-41c5-a318-cba88f637d49
This commit is contained in:
@@ -327,6 +327,14 @@ sub new($$$$$) {
|
||||
# static xpd related helper functions
|
||||
#------------------------------------
|
||||
|
||||
# Returns only the telephony XPD's from a list
|
||||
# of one or more XPD's.
|
||||
# I.e: Filters-out ECHO cancelers
|
||||
sub telephony_devs {
|
||||
my @devs = grep { $_->channels } @_;
|
||||
return @devs;
|
||||
}
|
||||
|
||||
sub format_rank($$) {
|
||||
my ($rank, $prio) = @_;
|
||||
my $width = 2;
|
||||
|
||||
Reference in New Issue
Block a user