Stefan Knoblich 810f0d4eaa [ftmod_misdn] Make misdn_handle_mph_information_ind() cope with hfcsusb-style MPH_INFORMATION_IND messages.
Only two mISDN hardware drivers emit MPH_INFORMATION_IND messages and both use a different payload:

	- hfcsusb (HFC-based USB dongle) sends a set of ph_info + ph_info_ch structures
	  which contain the complete state information of the port
	  (including internal hw-specific state and flags).

	- hfcmulti which sends a single integer, a single L1_SIGNAL_* event.

We now try to guess the type of message from the payload length.

The hfcmulti signals are converted to FreeTDM alarm flags; the hfcsusb
state/flags are defined in kernel internal hw-specific headers and are ignored ATM (todo).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-02-07 18:39:11 +01:00
..
2012-01-12 14:17:23 -06:00
2012-01-11 20:14:17 -05:00
2011-02-03 23:46:19 -06:00
2011-12-06 22:47:22 +08:00
2012-01-05 21:27:03 -06:00
2012-01-24 08:17:17 -06:00
2011-09-16 13:27:38 -05:00
2011-12-16 07:35:05 -05:00
2011-12-15 21:23:19 -05:00
2012-01-19 19:44:08 -06:00
2011-08-02 13:05:45 -05:00
2011-11-07 10:33:38 -06:00
2011-12-15 16:55:10 -05:00
2011-11-03 12:28:18 -04:00