aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Bachem <m.bachem@gmx.de>2008-11-04 08:11:22 -0500
committerKarsten Keil <kkeil@suse.de>2009-01-09 16:44:29 -0500
commit3f75e84a6a697c5cffb78ee15e79498a35473e05 (patch)
treef0c8a3e5a700c6e9507d917b65ce10498e9bbd6e
parentc6a2e587e5b28177eabfc2db4d5abd25b87604f2 (diff)
mISDN: Add layer1 prim MPH_INFORMATION_REQ
MPH_INFORMATION provides full D- and B-Channel status overview - new layer1 primitive: MPF_INFORMATON_REQ - layer1 replies with MPH_INFORMATION_IND containing - dch->[state,Flags,nrbchan] - bch[]->[protocol,Flags] - hardware driver should send MPH_INFORMATION_IND on all ph state changes and BChannel state changes to MISDN_ID_ANY Signed-off-by: Martin Bachem <m.bachem@gmx.de> Signed-off-by: Karsten Keil <kkeil@suse.de>
-rw-r--r--include/linux/mISDNif.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/mISDNif.h b/include/linux/mISDNif.h
index d4229aebf648..557477ac3d5b 100644
--- a/include/linux/mISDNif.h
+++ b/include/linux/mISDNif.h
@@ -289,6 +289,23 @@ struct mISDN_devrename {
289 char name[MISDN_MAX_IDLEN]; /* new name */ 289 char name[MISDN_MAX_IDLEN]; /* new name */
290}; 290};
291 291
292/* MPH_INFORMATION_REQ payload */
293struct ph_info_ch {
294 __u32 protocol;
295 __u64 Flags;
296};
297
298struct ph_info_dch {
299 struct ph_info_ch ch;
300 __u16 state;
301 __u16 num_bch;
302};
303
304struct ph_info {
305 struct ph_info_dch dch;
306 struct ph_info_ch bch[];
307};
308
292/* timer device ioctl */ 309/* timer device ioctl */
293#define IMADDTIMER _IOR('I', 64, int) 310#define IMADDTIMER _IOR('I', 64, int)
294#define IMDELTIMER _IOR('I', 65, int) 311#define IMDELTIMER _IOR('I', 65, int)