Commit Graph

384 Commits

Author SHA1 Message Date
Nadi Sarrar 18df072e60 fixed typo 2006-08-25 11:50:41 +00:00
Martin Bachem c9d11dda5f rx skb mem range check 2006-08-15 09:38:07 +00:00
Chrisian Richter 01e13c7883 kzalloc is very new, only since 2.6.14 2006-08-10 15:00:03 +00:00
Karsten Keil 3606a753cd fix protocol parameter handling (bug 0000067) 2006-08-07 23:35:59 +00:00
Daniel Potts 7fa0d32c3e Pointer next_skb test fix.
Take lock on initialization in an attempt to fix SMP race.
2006-08-07 11:53:02 +00:00
Karsten Keil b2629bc4b7 fix for overflow in copy_pid 2006-08-04 17:08:31 +00:00
Karsten Keil 71aa0d3dc1 some addons from root@netsentry.superset.co.za
1)added a new card to hfc_multi seems to be junghans ...
2)added hotplug support for hfcsusb by exporting it to the modules list to
be picked up by hotplug works realy nicely
3)dont compile in devfs bits for new kernel (2.6.18 does not have any devfs)
2006-08-01 11:25:10 +00:00
Chrisian Richter cb7fbf931b added new Subdevice ID for new 2E1 beroNet card with watchdog for relais for the tranparent switched mode. 2006-07-31 12:55:31 +00:00
Chrisian Richter 9d468d79be moved misdn-init from /etc/init.d to /usr/sbin, added checks for bc / modprobe / ... in misdn-init 2006-07-28 12:12:55 +00:00
Chrisian Richter 6fa421dc88 T310 can be between 30-120 seconds. we use 120 seconds now. 2006-07-20 08:14:18 +00:00
Chrisian Richter a217cc8071 reworked the echocancel_chunk function, it works now exactly as under zaptel and cancels the echo much better now. 2006-07-18 14:44:51 +00:00
Chrisian Richter 7c9d3427c2 removed unused variable 2006-07-14 15:53:53 +00:00
Chrisian Richter 50bfd90684 readded the class_create_file stuff, that didn't harm anything but created compiler warnings 2006-07-14 15:48:17 +00:00
Chrisian Richter ab4597fde4 splitted the release_port function in a release_port and release_ports_hw functions, the ports_hw function disables all the hw related stuff and the release_port function removes lists and deregisters channels and stuff like that. Both functions are now only called in the unload module routine. On higher Kernelversions the release_port function is not called because it creates kernel oopses. ifdefed some sysfs_create_files. 2006-07-14 15:30:22 +00:00
Chrisian Richter 1c93a4f475 for kernels >2.6.10 we need to release the port in the RELEASE message, this is not everytime true, but it doesn't harm anything to do it.. only the leaving mSDNstackd processes. This really needs rework 2006-07-13 09:11:32 +00:00
Chrisian Richter fed7fcf52d remove printks 2006-07-13 07:22:27 +00:00
Chrisian Richter 86beb33815 default threshold of 100 is more accurate, also we unload the card modules after we've unloaded the layers 2006-07-12 15:57:24 +00:00
Chrisian Richter 25f37a1d92 made the dtmftreshold value changeable by modul parameter. This might help reducing wrong identified dtmftones. 2006-07-04 13:38:45 +00:00
Chrisian Richter 4d82d4de70 added the instance id for the l2mgr Log, so we can distinguish the Port which might be faulty 2006-07-03 12:44:37 +00:00
Chrisian Richter f15296da42 added poll option for the hfcsusb driver, also we pass the poll option for this driver and for the dsp modul now from the misdn-init script. This fixes the no-sound issue with the hfcsub cards. Many Thanks for James Harper who gave us this patch. In the future we might add some sort of autoconfiguration of the packetsizes. 2006-07-03 11:48:02 +00:00
Chrisian Richter 3ead35f330 we can have much more the 4ports in the hfcmulti 2006-07-03 10:04:04 +00:00
Karsten Keil 5036dcc9bc fix debug declaration 2006-06-29 10:40:23 +00:00
Karsten Keil 63a0047915 add some compatibility stuff 2006-06-29 09:11:29 +00:00
Karsten Keil 06b2b6d540 cleanup compatibility stuff 2006-06-29 09:11:08 +00:00
Karsten Keil 5d3fa852e7 fix warning about MODULE_PARM_T 2006-06-29 08:52:39 +00:00
Daniel Potts 5e56ba89ae add revision string to NETJet verbose 2006-06-29 01:50:07 +00:00
Daniel Potts 419a1afba1 NETJet config option 2006-06-29 01:49:17 +00:00
Karsten Keil 98c9e63081 some compatibility code for kernel version < 2.6.8 2006-06-28 18:03:53 +00:00
Daniel Potts e862e5aac1 Added driver for Traverse Tech. NETJet card 2006-06-28 14:06:03 +00:00
Karsten Keil 07a8ef6ac4 fix a double free/access after free problem.
Thanks to James Harper <james.harper@bendigoit.com.au> for tracking down.
2006-06-27 13:24:07 +00:00
Chrisian Richter c2def45158 for now we release only all the ports when the module is unloaded. It doesn't make really a lot of sense to release single ports on the hfcmulti cards. The better way would be to relase the ports from the queue instead. But the queue knows only about single stacks .. I propose to add a MODULE_REGISTER and MODULE_RELEASE to the mqueue, this one cleans up all the necessary stuff and we only send a MODULE_RELEASE from within the module_unload function. For now this fix should work in most cases. 2006-06-27 09:55:17 +00:00
Chrisian Richter b5f2e62aa8 we should also generate tones when we have no conference 2006-06-26 17:25:14 +00:00
Chrisian Richter a7034bc3fc when we do not ever want a CMX, we do not need the jitterbufferring, since the userspace handles this. So we check now if we really have a conf_id, else we just transceive the buffers, with the addition of gainctrl dtmf detection and echocancellation (this removes a lot of NEXT_FRAME exists) 2006-06-21 13:25:46 +00:00
Chrisian Richter 90439f3b95 added support for distros where bc is not in the default path 2006-06-20 07:42:54 +00:00
Chrisian Richter 2a7a305767 fixed the leds for the BN2S cards 2006-06-19 07:45:53 +00:00
Chrisian Richter ba1f784186 added a define for aggressive echo suppresssion 2006-06-09 08:41:26 +00:00
Chrisian Richter ba46ac67a7 readded CONFIG_MISDN_DSP 2006-06-01 16:38:25 +00:00
Chrisian Richter 958a2e6ae1 * added winsize 7 for E1
* added real_bc to the l3 process for correct CC_RESTART handling in E1
* reworked the MT_RESTART_ACKNOWLEDGE to support EXTCID
* Major of mISDNif.h is now 4 (comprehension req)
* Makefile checks now for the Major of mISDNif.h to report backwards
  incompatibility

WE ARE NOW FULLY L2/L3 COMPLIANT FOR S2M AND S0 !!!
2006-06-01 11:02:10 +00:00
Chrisian Richter 74399516a9 made l3_udss1.c compile without the fill1 element again 2006-05-31 02:25:52 +00:00
Chrisian Richter cf9dc7a520 added check for interface change of mISDNif.h 2006-05-31 02:18:55 +00:00
Karsten Keil 6a0e5e53be realign L3 struct on 32 bit bounds 2006-05-30 14:35:25 +00:00
Chrisian Richter df8ef49812 added mISDNif.h to make it compile again 2006-05-30 09:37:16 +00:00
Chrisian Richter 6f9233157a fixed some ETSI violations regarding L2 and L3. We now are fully L2 and L3 compliant (with chan_misdn-0.3.1-rc8) 2006-05-29 16:46:10 +00:00
Chrisian Richter 8e7b38b15f added Hanlding of MDL_ERROR|REQ from tei manager to pass L2 test for TE PTMP and PTPls 2006-05-29 09:25:36 +00:00
Chrisian Richter 318b7a7912 not sending something to the card when we're sure that we're bridged in hardware. This fixes a Kernel Oops which occurs together with the profiling option in the kernel somehow. 2006-05-28 14:13:52 +00:00
Chrisian Richter fabc822d5f #ifdefed the sysfs_create_* and sysfs_remove_* functions, we might add a CONFIG_MISDN_SYSFS to reenable it. 2006-05-23 12:06:48 +00:00
Chrisian Richter 08f6fd24ca added a litle queue for conference ids in the dsp. It creates the conference when the hardware is ready for sure.. before it was more luck if we had a hardware or software conference. Also added modules.d support for gentoo 2006-05-23 08:10:59 +00:00
Chrisian Richter 37c4b05c1c #if should better be #ifdef to avoid warning when not defined 2006-05-18 13:35:46 +00:00
Chrisian Richter 83db9f7a92 removed all sysfs_remove_* functions, since they still oops on different machines.. the class_unregister seems to remove the sysfs entries anyway 2006-05-18 13:33:28 +00:00
Chrisian Richter 37527f5a1e we detect the cards now in the order like we find it in the pci space, thats what hfcmulti also does, so we have less confusion about order with multiple different cards 2006-05-16 13:02:05 +00:00