Home
last modified time | relevance | path

Searched refs:dwrq (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/net/wireless/intersil/prism54/
Disl_ioctl.c419 struct iw_point *dwrq, char *extra) in prism54_get_range() argument
429 dwrq->length = sizeof (struct iw_range); in prism54_get_range()
682 struct iw_point *dwrq, char *extra) in prism54_get_scan() argument
693 dwrq->length = 0; in prism54_get_scan()
715 extra + dwrq->length, in prism54_get_scan()
720 if((extra + dwrq->length - current_ev) <= IW_EV_ADDR_LEN) { in prism54_get_scan()
728 dwrq->length = (current_ev - extra); in prism54_get_scan()
729 dwrq->flags = 0; /* todo */ in prism54_get_scan()
736 struct iw_point *dwrq, char *extra) in prism54_set_essid() argument
744 if (dwrq->flags && dwrq->length) { in prism54_set_essid()
[all …]
/Linux-v4.19/drivers/staging/ks7010/
Dks_wlan_net.c240 union iwreq_data *dwrq, char *extra) in ks_wlan_set_essid() argument
250 if (!dwrq->essid.flags) { in ks_wlan_set_essid()
255 len = dwrq->essid.length; in ks_wlan_set_essid()
279 union iwreq_data *dwrq, char *extra) in ks_wlan_get_essid() argument
297 dwrq->essid.length = priv->reg.ssid.size; in ks_wlan_get_essid()
298 dwrq->essid.flags = 1; /* active */ in ks_wlan_get_essid()
300 dwrq->essid.length = 0; in ks_wlan_get_essid()
301 dwrq->essid.flags = 0; /* ANY */ in ks_wlan_get_essid()
357 union iwreq_data *dwrq, char *extra) in ks_wlan_set_nick() argument
366 if (dwrq->data.length > 16 + 1) in ks_wlan_set_nick()
[all …]
/Linux-v4.19/drivers/net/wireless/atmel/
Datmel.c1648 struct iw_point *dwrq, in atmel_set_essid() argument
1654 if (dwrq->flags == 0) { in atmel_set_essid()
1657 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in atmel_set_essid()
1662 if (dwrq->length > MAX_SSID_LENGTH) in atmel_set_essid()
1667 memcpy(priv->new_SSID, extra, dwrq->length); in atmel_set_essid()
1668 priv->new_SSID_size = dwrq->length; in atmel_set_essid()
1676 struct iw_point *dwrq, in atmel_get_essid() argument
1684 dwrq->length = priv->new_SSID_size; in atmel_get_essid()
1687 dwrq->length = priv->SSID_size; in atmel_get_essid()
1690 dwrq->flags = !priv->connect_to_any_BSS; /* active */ in atmel_get_essid()
[all …]
/Linux-v4.19/drivers/net/wireless/cisco/
Dairo.c5845 struct iw_point *dwrq, in airo_set_essid() argument
5855 if (dwrq->flags == 0) { in airo_set_essid()
5859 unsigned index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in airo_set_essid()
5862 if (dwrq->length > IW_ESSID_MAX_SIZE) in airo_set_essid()
5872 memcpy(SSID_rid.ssids[index].ssid, extra, dwrq->length); in airo_set_essid()
5873 SSID_rid.ssids[index].len = cpu_to_le16(dwrq->length); in airo_set_essid()
5890 struct iw_point *dwrq, in airo_get_essid() argument
5906 dwrq->length = le16_to_cpu(status_rid.SSIDlen); in airo_get_essid()
5907 dwrq->flags = 1; /* active */ in airo_get_essid()
5974 struct iw_point *dwrq, in airo_set_nick() argument
[all …]
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c927 struct iw_point *dwrq = (struct iw_point *)awrq; in r871x_wx_set_priv() local
929 len = dwrq->length; in r871x_wx_set_priv()
930 ext = memdup_user(dwrq->pointer, len); in r871x_wx_set_priv()
1007 if (copy_to_user(dwrq->pointer, ext, in r871x_wx_set_priv()
1008 min(dwrq->length, (__u16)(strlen(ext) + 1)))) in r871x_wx_set_priv()
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c2903 struct iw_point *dwrq = (struct iw_point *)awrq; in rtw_wx_set_priv() local
2905 if (dwrq->length == 0) in rtw_wx_set_priv()
2908 len = dwrq->length; in rtw_wx_set_priv()
2913 if (copy_from_user(ext, dwrq->pointer, len)) { in rtw_wx_set_priv()
2919 if (dwrq->flags == 0x8766 && len > 8) { in rtw_wx_set_priv()
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c4377 struct iw_point *dwrq = (struct iw_point*)awrq; in rtw_wx_set_priv() local
4380 if (dwrq->length == 0) in rtw_wx_set_priv()
4383 len = dwrq->length; in rtw_wx_set_priv()
4387 if (copy_from_user(ext, dwrq->pointer, len)) { in rtw_wx_set_priv()
4407 if (dwrq->flags == 0x8766 && len > 8) { in rtw_wx_set_priv()