mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
mISDN: Implement MISDN_CTRL_RX_OFF for more drivers
MISDN_CTRL_RX_OFF is a meachanism to discard RX data in the driver if the data is not needed by the application. It can be used when playing mesages, but not recording or with unidirectional protocols. Signed-off-by: Karsten Keil <kkeil@linux-pingi.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6d1ee48fd0
commit
c27b46e7f1
10 changed files with 67 additions and 13 deletions
|
|
@ -73,6 +73,8 @@
|
|||
#define FLG_LL_CONN 25
|
||||
#define FLG_DTMFSEND 26
|
||||
#define FLG_TX_EMPTY 27
|
||||
/* stop sending received data upstream */
|
||||
#define FLG_RX_OFF 28
|
||||
/* workq events */
|
||||
#define FLG_RECVQUEUE 30
|
||||
#define FLG_PHCHANGE 31
|
||||
|
|
@ -173,6 +175,7 @@ struct bchannel {
|
|||
int err_crc;
|
||||
int err_tx;
|
||||
int err_rx;
|
||||
int dropcnt;
|
||||
};
|
||||
|
||||
extern int mISDN_initdchannel(struct dchannel *, int, void *);
|
||||
|
|
|
|||
Loading…
Reference in a new issue