#include <bcmtypes.h>
#include <bcmatmapi.h>
#include <bcmnet.h>
+#include <board.h>
#define BRCM_IFLASTCHANGE_SUPPORT
FILE* fs = NULL;
char path[100];
int status = -1;
+ int fd;
sprintf(path,"/proc/var/fyi/wan/%s/wanup",devName);
fclose(fs);
status = 0;
}
+
+ if( (fd = open( "/dev/brcmboard", O_RDWR )) != -1 ) {
+ ioctl( fd, BOARD_IOCTL_WAKEUP_MONITOR_TASK, NULL);
+ close(fd);
+ }
+
return status;
}
#endif /* BUILD_SNMP_SET */