Commit Graph

354 Commits

Author SHA1 Message Date
Chrisian Richter c1b1125207 hfcusb compiles again so readded to Makefile 2005-12-16 11:26:16 +00:00
Martin Bachem 12c9aac89a correct NT Timer value 2005-12-16 11:10:51 +00:00
Martin Bachem 23fb3808e3 no FLG_ACTIVE in layer0 TE mode 2005-12-16 11:05:19 +00:00
Martin Bachem 14463646ba - common HW layer channel model for B and D channel
- minor code optimizations
2005-12-15 13:49:37 +00:00
srichter 054549f836 Disable #error for big endian machines, as it should work now 2005-12-11 23:05:00 +00:00
Karsten Keil 32dd9af3eb common channel_t for w6692
handle SHORTSTATUS for isac
2005-12-11 18:27:08 +00:00
srichter ab7fd00493 Forward port patch from #4 to mqueue branch 2005-12-11 17:26:34 +00:00
Chrisian Richter 591674cb3b according to ETSI the T310 should be stopped by a received PROGRESS 2005-12-10 10:34:42 +00:00
Andreas Eversberg bbe04955ef forthcomming new layer ids
Modified Files:
 Tag: mqueue
	mISDN/include/linux/mISDNif.h
2005-12-09 22:44:28 +00:00
Martin Bachem 5ccc714c19 - common HW layer channel model for B and D channel 2005-12-09 16:20:38 +00:00
Chrisian Richter 86d23dc746 hfcs_usb.c doesn't compile anymore, so not compiling it defaulty 2005-12-09 11:37:37 +00:00
Karsten Keil 60ba3b689f minor cleanups and fixes 2005-12-08 23:18:48 +00:00
Karsten Keil 66319c89ef display kernel version 2005-12-08 18:52:00 +00:00
Karsten Keil 0913082112 - common HW layer channel model for B and D channel
* reduce duplicated code
  * not finished and tested for all drivers
2005-12-08 18:32:53 +00:00
Martin Bachem e1b97ac317 - send transparent audio data asap to upper layer to reduce latency 2005-12-08 16:36:37 +00:00
Martin Bachem aad4a831a4 - implemented MGR_SHORTSTATUS messages for NT mode
- send transparent audio data asap to upper layer to reduce latency
2005-12-08 16:35:06 +00:00
Martin Bachem e4442d1014 - directly linked to layer2 (omitting layer1.c)
- implement MGR_SHORTSTATUS messages
2005-12-08 15:54:18 +00:00
Chrisian Richter 9e4f839496 added INSTALL_PREFIX for headers 2005-12-05 09:28:54 +00:00
Andreas Eversberg 0e241668db Complete rework of DSP audio bridging (CMX).
- faster (much faster)
- capable of handling jitter
- capable of handling misordered frames
- new clocking mechanism
- compiles and sucessfully tested

Modified Files:
 Tag: mqueue
	mISDN/drivers/isdn/hardware/mISDN/dsp.h
	mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_core.c
2005-12-04 16:13:30 +00:00
Chrisian Richter 4da89691bc it makes sense to copy the includes with make install 2005-12-04 14:53:44 +00:00
Chrisian Richter ba58127def use local Include dir rather then copying mISDNif.h and isdn_compat.h to the local kernel includes, we need to modify mISDNuser for that 2005-12-04 12:52:14 +00:00
Chrisian Richter c3e596c162 changed KERNELDIR to real current installed sources path 2005-12-02 15:45:05 +00:00
Chrisian Richter 39c27195e1 added Makefile to compile and install the modules standalone 2005-12-02 15:44:18 +00:00
Karsten Keil 526c241c06 remove unused bch->st 2005-11-25 13:32:27 +00:00
Andreas Eversberg e906ebf312 Added some missing L1_RELEASED short messages (state >=7 -> <7)
Modified Files:
 Tag: mqueue
	mISDN/drivers/isdn/hardware/mISDN/layer2.c
2005-11-23 17:14:38 +00:00
Andreas Eversberg 94762d412a Fixed locking problems. CMX not tested with software bridging.
Modified Files:
 Tag: mqueue
	mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_core.c
2005-11-23 17:05:41 +00:00
Andreas Eversberg 052818c38c Removed double locking bug.
Modified Files:
 Tag: mqueue
	mISDN/drivers/isdn/hardware/mISDN/dsp_core.c
2005-11-23 10:38:51 +00:00
Chrisian Richter 3a185417f1 fixed bug #27 nasty Kernel Oops with freeze when using mISDN_dsp with SMP, needed to remove the spin_lock/spin_unlock functions in the receive and transmit part (dsp_from_up and dsp_from_down) just like in l3_udss1. Seems to work for me after a few tests 2005-11-18 16:01:03 +00:00
Chrisian Richter 01d5d96214 if c_skb == NULL we get a Kernel Oops when freeing it. This removes some nasty kernel oopses, and makes it possible to unload hfcmulti again. 2005-11-17 18:05:24 +00:00
Karsten Keil c2ba762cc6 - for mqueue we don't need locks in datapath anymore 2005-11-17 12:25:17 +00:00
Karsten Keil 1939d96c3e - implement MGR_SHORTSTATUS for L1 TE
- fix some issues with MGR_SHORTSTATUS
- broadcast enhancements
  * if a layer returns a error for a broadcast the skb is still OK and so we
    do not need a new copy
  * all layer which do not handle a broadcast should return
    -EOPNOTSUPP
  * a layer which handle a broadcast, but do not consume the skb should
    return -EAGAIN and of course not free the skb (no example yet)
2005-11-17 09:40:39 +00:00
Chrisian Richter d298512a5a Possible Kernel Oops fixed: when Echo Cancel Disable Tone detected, send by a modem for example, we had a segfault here. 2005-11-16 18:49:38 +00:00
Martin Bachem b567a02093 - fixed unterminated device list 2005-11-15 10:09:32 +00:00
Martin Bachem 0fb681d79b avoid reading fifo fill state more than needed 2005-11-11 12:57:16 +00:00
Martin Bachem 04974882dc make sure chip register register access is atomic 2005-11-10 14:14:34 +00:00
Karsten Keil 0d53a2acb4 - 64bit cleanup 2005-11-10 00:44:30 +00:00
Martin Bachem c4a730317a added support for Cologne Chip AG's XHFC Evaluation card 2005-11-09 18:09:38 +00:00
Martin Bachem 1b126dbf2c decrease NT T1 counter 2005-11-09 17:53:35 +00:00
Martin Bachem ec80024786 fixed using wrong locks 2005-11-09 17:23:10 +00:00
Karsten Keil 08c5463d36 - fix some GCC4 complaints
* not longer allowed to overwrite external variables with static in the
    same scope - remove unnecessary card_cnt declare
  * inline bodies must be here before called
2005-11-09 17:12:57 +00:00
Karsten Keil f5a08ff371 - add remaining sysfs device links
- remove locks for request/free IRQ calls, make shure the HW irqs are
  disabled here
2005-11-09 16:54:53 +00:00
Martin Bachem a6debe87e6 added support for Cologne Chip AG's 'HFC-S mini' Evaluation card 2005-11-09 15:57:12 +00:00
Karsten Keil 98043b2034 - some cleanup to reduce indent level 2005-11-07 21:57:53 +00:00
Karsten Keil 9f59a14b76 - implement broadcast STATUS messages (Peter Sprenger) 2005-11-07 14:56:53 +00:00
Karsten Keil b645e6ca3d - compatibility code update
* should be OK for 2.6.8 - 2.6.14 now
2005-11-07 14:55:30 +00:00
Karsten Keil 653d44dc82 - replace old locking code (now it follows standard kernel way) 2005-11-07 14:53:57 +00:00
Karsten Keil 8698d511b8 - fix compiler warning; declaration inside code are not allowed in C90 2005-10-30 14:11:27 +00:00
Andreas Eversberg 143679e28d Made DSP running.
Also added echo cancelation (not tested yet).

Modified Files:
 Tag: mqueue
	mISDN/drivers/isdn/hardware/mISDN/Kconfig.v2.6
	mISDN/drivers/isdn/hardware/mISDN/Makefile.v2.6
	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/hfc_multi.c
	mISDN/include/linux/mISDNif.h
Added Files:
 Tag: mqueue
	mISDN/drivers/isdn/hardware/mISDN/dsp_arith.h
	mISDN/drivers/isdn/hardware/mISDN/dsp_biquad.h
	mISDN/drivers/isdn/hardware/mISDN/dsp_cancel.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_ecdis.h
	mISDN/drivers/isdn/hardware/mISDN/dsp_mec2.h
	mISDN/drivers/isdn/hardware/mISDN/dsp_mec2_const.h
2005-10-30 12:35:34 +00:00
Karsten Keil ff3e27b2bc trim CONFIRM skbs 2005-10-27 19:27:22 +00:00
Karsten Keil 9f4e63a6c0 - move remaining HW drivers to mISDN
- fix possible race ->next_skb usage
- helper for sending bchannel DATA INDICATION and CONFIRM
2005-10-27 19:23:39 +00:00