Skip to content

Commit

Permalink
mISDN: Add layer1 prim MPH_INFORMATION_REQ
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin Bachem authored and Karsten Keil committed Jan 9, 2009
1 parent c6a2e58 commit 3f75e84
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions include/linux/mISDNif.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,23 @@ struct mISDN_devrename {
char name[MISDN_MAX_IDLEN]; /* new name */
};

/* MPH_INFORMATION_REQ payload */
struct ph_info_ch {
__u32 protocol;
__u64 Flags;
};

struct ph_info_dch {
struct ph_info_ch ch;
__u16 state;
__u16 num_bch;
};

struct ph_info {
struct ph_info_dch dch;
struct ph_info_ch bch[];
};

/* timer device ioctl */
#define IMADDTIMER _IOR('I', 64, int)
#define IMDELTIMER _IOR('I', 65, int)
Expand Down

0 comments on commit 3f75e84

Please sign in to comment.