Home | History | Annotate | Download | only in dhdutil

Lines Matching defs:idletime

137 	{ "idletime", dhd_idletime, DHD_GET_VAR, DHD_SET_VAR,
1113 int32 idletime;
1119 idletime = 0;
1121 idletime = DHD_IDLE_IMMEDIATE;
1123 idletime = strtol(argv[1], &endptr, 0);
1129 if ((idletime < 0) && (idletime != DHD_IDLE_IMMEDIATE)) {
1135 strcpy(buf, "idletime");
1137 memcpy(endptr, &idletime, sizeof(uint32));
1145 idletime = *(int32*)buf;
1147 if (idletime == 0) {
1149 } else if (idletime == DHD_IDLE_IMMEDIATE) {
1151 } else if (idletime > 0) {
1152 printf("%d\n", idletime);
1153 } else printf("%d (invalid)\n", idletime);