mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
drivers/modem/alt1250: Add LTE_CMDID_RESTARTAPI command
ALT1250 driver sends an event named LTE_CMDID_RESTARTAPI to ALT1250 daemon when state is PM_NOARMAL in the function of prepare registered by pm_register.
This commit is contained in:
@@ -58,10 +58,11 @@
|
||||
#define ALT1250_IOC_SETEVTBUFF _MODEMIOC(3)
|
||||
#define ALT1250_IOC_EXCHGCONTAINER _MODEMIOC(4)
|
||||
|
||||
#define ALT1250_EVTBIT_RESET (1ULL << 63)
|
||||
#define ALT1250_EVTBIT_REPLY (1ULL << 62)
|
||||
#define ALT1250_EVTBIT_STOPAPI (1ULL << 61)
|
||||
#define ALT1250_EVTBIT_SUSPEND (1ULL << 60)
|
||||
#define ALT1250_EVTBIT_RESET (1ULL << 63)
|
||||
#define ALT1250_EVTBIT_REPLY (1ULL << 62)
|
||||
#define ALT1250_EVTBIT_STOPAPI (1ULL << 61)
|
||||
#define ALT1250_EVTBIT_SUSPEND (1ULL << 60)
|
||||
#define ALT1250_EVTBIT_RESTARTAPI (1ULL << 59)
|
||||
|
||||
/* Number of sockets */
|
||||
|
||||
|
||||
@@ -158,6 +158,7 @@
|
||||
#define LTE_CMDID_SETCTXCB _CMDGRP_NOMDM(0x40)
|
||||
#define LTE_CMDID_COUNTWLOCK _CMDGRP_POWER(0x41)
|
||||
#define LTE_CMDID_REPEVT_DUMMY _CMDGRP_EVENT(0x42)
|
||||
#define LTE_CMDID_RESTARTAPI _CMDGRP_NORMAL(0x43)
|
||||
|
||||
#define LTE_CMDID_ACCEPT _CMDGRP_NORMAL(0x50)
|
||||
#define LTE_CMDID_BIND _CMDGRP_NORMAL(0x51)
|
||||
|
||||
Reference in New Issue
Block a user