Home | History | Annotate | Download | only in dhdutil

Lines Matching refs:wl

2  * Linux port of dhd command line utility, hacked from wl utility.
150 /* By default try to execute wl commands */
155 * execute wl commands.
178 * the initial set of wl commands for wifi transport (e.g slow_timer, fast_timer etc)
180 int wl_ioctl(void *wl, int cmd, void *buf, int len, bool set)
182 return dhd_ioctl(wl, cmd, buf, len, set); /* Call actual wl_ioctl here: Shubhro */
185 /* Search if dhd adapter or wl adapter is present
186 * This is called by dhd_find to check if it supports wl or dhd
187 * The reason for checking wl adapter is that we can still send remote dhd commands over
225 * So we make use of wl pipes to execute this.
273 /* Verify the wl adapter found.
274 * This is called by dhd_find to check if it supports wl
275 * The reason for checking wl adapter is that we can still send remote dhd commands over
279 wl_check(void *wl)
284 if (!dhd_check (wl))
288 * If dhd_check() fails then go for a regular wl driver verification
290 if ((ret = wl_get(wl, WLC_GET_MAGIC, &val, sizeof(int))) < 0)
294 if ((ret = wl_get(wl, WLC_GET_VERSION, &val, sizeof(int))) < 0)
302 /* Search and verify the request type of adapter (wl or dhd)
341 * or send a dhd command over wl transport
344 ioctl_queryinformation_fe(void *wl, int cmd, void* input_buf, int *input_len)
347 return dhd_ioctl(wl, cmd, input_buf, *input_len, FALSE);
351 return rwl_queryinformation_fe(wl, cmd, input_buf,
360 * or send a dhd command over wl transport
363 ioctl_setinformation_fe(void *wl, int cmd, void* buf, int *len)
366 return dhd_ioctl(wl, cmd, buf, *len, TRUE);
370 return rwl_setinformation_fe(wl, cmd, buf, (unsigned long*)len, 0, RDHD_SET_IOCTL);
382 wl_get(void *wl, int cmd, void *buf, int len)
387 error = (int)ioctl_queryinformation_fe(wl, WL_OID_BASE + cmd, buf, &len);
389 error = (int)ioctl_queryinformation_fe(wl, cmd, buf, &len);
404 wl_set(void *wl, int cmd, void *buf, int len)
410 error = (int)ioctl_setinformation_fe(wl, WL_OID_BASE + cmd, buf, &len);
412 error = (int)ioctl_setinformation_fe(wl, cmd, buf, &len);
508 dhd_find(&ifr, "wl");
512 fprintf(stderr, "%s: wl driver adapter not found\n", av0);
555 * (shell cmd, wl cmd) .The code is mostly from wlu_linux.c. This code can be
645 rwl_shell_createproc(void *wl)
647 UNUSED_PARAMETER(wl);