Home
last modified time | relevance | path

Searched refs:ifr (Results 1 – 4 of 4) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu_linux.c101 struct ifreq *ifr = (struct ifreq *)dhd; in __dhd_driver_io() local
104 dhd_nli.ifidx = if_nametoindex(ifr->ifr_name); in __dhd_driver_io()
106 fprintf(stderr, "invalid device %s\n", ifr->ifr_name); in __dhd_driver_io()
120 struct ifreq *ifr = (struct ifreq *)dhd; in __dhd_driver_io() local
125 ifr->ifr_data = (caddr_t)ioc; in __dhd_driver_io()
131 ret = ioctl(s, SIOCDEVPRIVATE, ifr); in __dhd_driver_io()
195 struct ifreq ifr; in dhd_get_dev_type() local
207 ifr.ifr_data = (caddr_t)&info; in dhd_get_dev_type()
208 strncpy(ifr.ifr_name, name, IFNAMSIZ); in dhd_get_dev_type()
209 if ((ret = ioctl(s, SIOCETHTOOL, &ifr)) < 0) { in dhd_get_dev_type()
[all …]
Ddhdu_common.h83 static int process_args(struct ifreq* ifr, char **argv);
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c65 struct ifreq ifr; in wpa_driver_nl80211_driver_cmd() local
83 memset(&ifr, 0, sizeof(ifr)); in wpa_driver_nl80211_driver_cmd()
86 os_strlcpy(ifr.ifr_name, bss->ifname, IFNAMSIZ); in wpa_driver_nl80211_driver_cmd()
91 ifr.ifr_data = &priv_cmd; in wpa_driver_nl80211_driver_cmd()
93 if ((ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr)) < 0) { in wpa_driver_nl80211_driver_cmd()
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c69 struct ifreq ifr; in wpa_driver_nl80211_driver_cmd() local
105 memset(&ifr, 0, sizeof(ifr)); in wpa_driver_nl80211_driver_cmd()
107 os_strlcpy(ifr.ifr_name, bss->ifname, IFNAMSIZ); in wpa_driver_nl80211_driver_cmd()
116 ifr.ifr_data = &priv_cmd; in wpa_driver_nl80211_driver_cmd()
118 if ((ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr)) < 0) { in wpa_driver_nl80211_driver_cmd()