Commit Graph

409 Commits

Author SHA1 Message Date
Karsten Keil 7b940e57d4 Fix race condition in DATA_B3 CONF handling 2005-05-02 12:29:22 +00:00
Andreas Eversberg 5892e8575e According to Q.932, notify messages are allowed at any state of call.
(Information about "call will be forwarded now" can be received before connect.)
2005-04-30 15:27:05 +00:00
Martin Bachem 53ad00795a support for Sitecom DC-105 2005-04-08 13:39:58 +00:00
Karsten Keil 2929c9e213 Errorcodes are more readable in decimal (Thanks to Matthias Urlich) 2005-04-07 08:59:41 +00:00
Karsten Keil 8101522abc debug wrong conf frames 2005-04-07 08:57:50 +00:00
Martin Bachem 4e09c93764 prevent memory leak 2005-04-06 12:10:46 +00:00
Martin Bachem b49b5d512b support for Cologne Chip HFC-S USB based ISDN TAs 2005-04-04 14:17:15 +00:00
Martin Bachem ad5d7ae143 support for Cologne Chip HFC-S USB based ISDN TAs 2005-04-04 14:01:00 +00:00
Karsten Keil eb05f41960 cleanup, add some comments 2005-03-09 03:09:06 +00:00
Karsten Keil 5e7f03944c fix for changes in driver_register for 2.6.10 and higher versions 2005-03-09 03:04:07 +00:00
Andreas Eversberg 2476232664 Fixed state change at CC_NOTIFY and CC_PROGRESS.
Added CC_NOTIFY | REQUEST and tested it.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/l3_udss1.c
2005-03-03 19:03:03 +00:00
Karsten Keil dc7d9402b8 since the stack build is handled via the mISDNd, the CTRL_READY must be
syncronized with it, so handle it also via mISDNd
2005-02-24 12:48:08 +00:00
Andreas Eversberg 8035c5e67b Now it compiles :)
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2005-01-31 17:24:03 +00:00
Andreas Eversberg c102bdedde HFC-E1 supports now selection of receive clock or much more accurate PLL clock for PCM bus clock.
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
2005-01-30 21:23:25 +00:00
Andreas Eversberg beb0f4faea DSP: removed bug that caused to allocate two timeslots for inter-chip communication rather than one. (now it is possible to make 32 calls on a 32 time slot PCM bus and not only 16)
HFC-E1: wrong write to register caused clock sync to to work correcly. the result was biterrors due to slips in frames. (bad to faxes and modem connects). also uncontrolled reset of the jitter buffers caused corrupt frames and slips (losses).

also: new flag to load E1 cards even if PCM clock is available (yet). it can be used to load a PCM slave before the PCM master is loaded.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
2005-01-29 16:23:24 +00:00
Andreas Eversberg 17f2f8610b Finally PH_ACTIVATE/PH_DEACTIVATE is improved for HFC_E1 (PRI) and LEDS
are supported. RED shows LOS/AIS, GREEN shows ACTIVE state an FIFO activity.
Switches can be used to send LOS and AIS.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
2005-01-27 23:42:30 +00:00
Karsten Keil d2726ff9e2 Handle RESTART collition properly;Thanks to Bodo Pfelzer <Bodo.Pfelzer@web.de> 2005-01-18 16:01:33 +00:00
Andreas Eversberg 62079d9a77 Fixed bug in detecting PCI devices, if multiple cards of different type
are installed.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-12-20 05:24:34 +00:00
Andreas Eversberg fdf3a2952b Finally the fix for the 'Raising Delay' bug. This fix will also available
in the mISDN_for_pbx4linux-fix4 file on isdn.jolly.de.
Losing IRQs cause a raising delay during lifetime of a conference or
crossconnection. You need only to replace the given file. Don't reinstall
the complete mISDN package:
- copy the dsp_cmx.c to the kernel source
- touch dsp_cmx.c (if older than your dsp_cmx.o)
- make modules (you see that dsp_cmx.c will be compiled)
- make modules_install
- stop pbx
- reload mISDN
- start pbx

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.c
2004-12-19 16:17:36 +00:00
Andreas Eversberg 8beec5109d Flushing FIFO after activation of layer 1, to remove corrput data
during activation sequence.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-12-03 12:00:31 +00:00
Andreas Eversberg 9e0fc751ff Fixes:
- udevice works with kernel 2.6.8 and hopefully > 2.6.8
  (required for PBX4Linux & Asterisk channel driver)
- hfc_multi driver (HFC-4S/8S/E1) now works with kernel >= 2.6.8
- hfc_multi crash bug fix while unloading
- hfc_multi now uses correct leds display on HFC-4S boards
  (red blinking or off = layer 1 inactive
   red = layer 1 active
   green / green flashing = traffic on interface)

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
	mISDN/drivers/isdn/hardware/mISDN/udevice.c
2004-11-19 18:47:40 +00:00
Andreas Eversberg 84921213dc minor fixes from Simon
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-11-08 08:08:12 +00:00
Andreas Eversberg 3891628b0b Now HFC multiport driver (HFC-4s/8s/e1) uses IO PCI access. With a kernel
option it still can be set to memory PCI access.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/Kconfig.v2.6
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
2004-09-23 20:17:08 +00:00
Andreas Eversberg cf68d7e299 1. Finally hardware echo (channel looping) works. It is usefull to messure
delay and count biterrors.

2. New vendor IDs are added to the hfc_multi driver (Beronet Cards).

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/dsp.h
	mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_core.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-08-28 12:35:26 +00:00
Andreas Eversberg 6a9dfe9e94 Bugfix of unregistering, that cause the crash when unloading the module.
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-08-01 14:55:41 +00:00
Karsten Keil 4e154aecee fix mISDN_headext 2004-07-08 00:58:20 +00:00
Karsten Keil 3d9f29d093 use mISDN_head_t also for user mode 2004-07-08 00:49:49 +00:00
Karsten Keil b7b532ca9d locking the dbg lists 2004-07-07 20:41:50 +00:00
Andreas Eversberg c5b8933b5b Fixed module unload bug. This occurred especially since kernel 2.6.6.
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-07-06 20:45:57 +00:00
Andreas Eversberg 13a54f711d Cleanup of dsp_tones.c.
Fixes and minor changes of hfc 4s/8s/e1 driver.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/dsp_tones.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
2004-07-04 10:31:09 +00:00
Karsten Keil 62c911e0cd remove /dev/mISDN ringbuffers; use queues instead 2004-06-30 15:13:20 +00:00
Karsten Keil 918caa4018 use the common kernel list.h implementation for the lists in mISDN 2004-06-17 12:31:14 +00:00
Andreas Eversberg 818a365de2 Modified Files:
mISDN/drivers/isdn/hardware/mISDN/l3_udss1.c
Removed bug that caused crashed when receiving facility frame with
dummy call ref. These messages are only generated by some switches
(not EWSD).
2004-05-31 14:02:51 +00:00
Karsten Keil 1a7843297d add some CONFIG_PNP conditionals, so the driver also load on none ISAPNP
configs (Thanks to Ingo Krabbe/Joerg Dorchain for discover this)
2004-05-28 23:00:20 +00:00
Andreas Eversberg ebbb33b3de Fixed problem of hfc-4s/8s/e1 driver in conjunction with capi. Added delay
of 100ms until sending MGR_CTRLREADY from driver.
KKeil: Please review it and tell me why it is required to wait.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-04-05 19:39:21 +00:00
Andreas Eversberg cc28674787 Now it compiles without error...
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/layer3.c
2004-03-28 17:52:36 +00:00
Andreas Eversberg ea898aa233 Now audio hardware support with automatic driver feature detection is
testet and works stable.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/dsp.h
	mISDN/drivers/isdn/hardware/mISDN/dsp_audio.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_blowfish.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_core.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_dtmf.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_tones.c
	mISDN/drivers/isdn/hardware/mISDN/Kconfig.v2.6
	mISDN/include/linux/mISDNif.h

E1 (PRI) interface now works stable including own layer 1 support.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h

Layer 3 now handles PRI interfaces correctly.
 - each layer-3 instance with local callref counter
 - correct restart procedure (stays in state 0)
 - new feature flag for long callref (ISDN_PID_L3_CRLEN2)
 - MINOR FIX: when parsing the information elements, the second element
   found doesn't overwrite the first element anymore.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/l3_udss1.c
	mISDN/drivers/isdn/hardware/mISDN/layer3.c
	mISDN/drivers/isdn/hardware/mISDN/layer3.h
	mISDN/include/linux/mISDNif.h
2004-03-28 17:13:08 +00:00
Andreas Eversberg 342ebbf58f Added missing file "dsp_blowfish.c"
Added Files:
	dsp_blowfish.c
2004-02-16 23:10:26 +00:00
Karsten Keil 412a999cf3 move reset behind IRQ request 2004-02-16 10:09:53 +00:00
Andreas Eversberg 23ae60a595 PCM connect/disconect bugfix.
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
2004-02-16 08:18:25 +00:00
Andreas Eversberg f4d01aaa70 Removed obsolete "//jolly patch" comments.
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/l3_udss1.c
2004-02-15 23:02:41 +00:00
Andreas Eversberg d32e9d4184 Bugfixes when unloading the hfcmulti module.
Some better debugging.
Minor source changes.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-02-14 20:09:28 +00:00
Andreas Eversberg e8fae00343 Update of HFC multiport driver and dsp module. Ported to current api names.
Many fixes, hardware support for dtmf, conferences, crossconnects.
Blowfish crypt support for audio data (dsp).
Changes to Kconfig, Makefile and Rules.mISDN. Minor changes to mISDNif.h.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/Kconfig.v2.6
	mISDN/drivers/isdn/hardware/mISDN/Makefile
	mISDN/drivers/isdn/hardware/mISDN/Makefile.v2.4
	mISDN/drivers/isdn/hardware/mISDN/Makefile.v2.6
	mISDN/drivers/isdn/hardware/mISDN/Rules.mISDN.v2.4
	mISDN/drivers/isdn/hardware/mISDN/dsp.h
	mISDN/drivers/isdn/hardware/mISDN/dsp_audio.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_core.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_dtmf.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_tones.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
	mISDN/include/linux/mISDNif.h
2004-02-14 17:43:15 +00:00
Karsten Keil c86cad1c3c first version of L2/L3 faxservice for CAPI ALPHA !!!
- need Sedlbauer Speedfax+
- Sendonly at the moment
- only SFF, 1-D MH
- Error handling not complete
- lot of debug messages
2004-02-05 21:21:18 +00:00
Karsten Keil 16ff314d9b fix ISAPNP declarations for 2.4 2004-01-31 00:04:36 +00:00
Karsten Keil f947bb1dda - CAPI BxConfiguration was not handled
- add CAPI protocol IDs
2004-01-30 23:46:39 +00:00
Karsten Keil 4520efea23 - fix transparent audio mode
- new PCI and PnP code
2004-01-29 00:54:41 +00:00
Karsten Keil dc3f532e70 - handle HASPROTOCOL
- cleanup not handled messages
2004-01-29 00:53:13 +00:00
Karsten Keil 29755c5e2a missing items for hfc_multi 2004-01-28 11:34:46 +00:00
Karsten Keil 534b91544a new items for hfc_multi driver 2004-01-28 10:06:40 +00:00