Lines Matching defs:dhd

2  * Linux port of dhd command line utility, hacked from wl utility.
98 static int __dhd_driver_io(void *dhd, dhd_ioctl_t *ioc)
101 struct ifreq *ifr = (struct ifreq *)dhd;
118 static int __dhd_driver_io(void *dhd, dhd_ioctl_t *ioc)
120 struct ifreq *ifr = (struct ifreq *)dhd;
145 dhd_ioctl(void *dhd, int cmd, void *buf, int len, bool set)
154 /* For local dhd commands execute dhd. For wifi transport we still
171 ret = __dhd_driver_io(dhd, &ioc);
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
224 * directly. However now we need to execute the dhd commands remotely.
231 dhd_get(void *dhd, int cmd, void *buf, int len)
233 return wl_get(dhd, cmd, buf, len);
244 dhd_set(void *dhd, int cmd, void *buf, int len)
266 return wl_set(dhd, cmd, buf, len);
275 * The reason for checking wl adapter is that we can still send remote dhd commands over
302 /* Search and verify the request type of adapter (wl or dhd)
303 * This is called by main before executing local dhd commands
304 * or sending remote dhd commands over wifi transport
340 /* This function is called by wl_get to execute either local dhd command
341 * or send a dhd command over wl transport
359 /* This function is called by wl_set to execute either local dhd command
360 * or send a dhd command over wl transport
437 * The code is mostly from wlu_linux.c. This function takes care of executing remote dhd commands
438 * along with the local dhd commands now.
533 /* Process for local dhd */
598 dhd_find(ifr, "dhd");