Searched refs:dwrq (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/net/wireless/intersil/prism54/ |
D | isl_ioctl.c | 418 struct iw_point *dwrq, char *extra) in prism54_get_range() argument 428 dwrq->length = sizeof (struct iw_range); in prism54_get_range() 681 struct iw_point *dwrq, char *extra) in prism54_get_scan() argument 692 dwrq->length = 0; in prism54_get_scan() 714 extra + dwrq->length, in prism54_get_scan() 719 if((extra + dwrq->length - current_ev) <= IW_EV_ADDR_LEN) { in prism54_get_scan() 727 dwrq->length = (current_ev - extra); in prism54_get_scan() 728 dwrq->flags = 0; /* todo */ in prism54_get_scan() 735 struct iw_point *dwrq, char *extra) in prism54_set_essid() argument 743 if (dwrq->flags && dwrq->length) { in prism54_set_essid() [all …]
|
/Linux-v5.10/drivers/staging/ks7010/ |
D | ks_wlan_net.c | 240 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-v5.10/drivers/net/wireless/atmel/ |
D | atmel.c | 1647 struct iw_point *dwrq, in atmel_set_essid() argument 1653 if (dwrq->flags == 0) { in atmel_set_essid() 1656 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in atmel_set_essid() 1661 if (dwrq->length > MAX_SSID_LENGTH) in atmel_set_essid() 1666 memcpy(priv->new_SSID, extra, dwrq->length); in atmel_set_essid() 1667 priv->new_SSID_size = dwrq->length; in atmel_set_essid() 1675 struct iw_point *dwrq, in atmel_get_essid() argument 1683 dwrq->length = priv->new_SSID_size; in atmel_get_essid() 1686 dwrq->length = priv->SSID_size; in atmel_get_essid() 1689 dwrq->flags = !priv->connect_to_any_BSS; /* active */ in atmel_get_essid() [all …]
|
/Linux-v5.10/drivers/net/wireless/cisco/ |
D | airo.c | 5884 struct iw_point *dwrq, in airo_set_essid() argument 5894 if (dwrq->flags == 0) { in airo_set_essid() 5898 unsigned index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in airo_set_essid() 5901 if (dwrq->length > IW_ESSID_MAX_SIZE) in airo_set_essid() 5911 memcpy(SSID_rid.ssids[index].ssid, extra, dwrq->length); in airo_set_essid() 5912 SSID_rid.ssids[index].len = cpu_to_le16(dwrq->length); in airo_set_essid() 5929 struct iw_point *dwrq, in airo_get_essid() argument 5945 dwrq->length = le16_to_cpu(status_rid.SSIDlen); in airo_get_essid() 5946 dwrq->flags = 1; /* active */ in airo_get_essid() 6013 struct iw_point *dwrq, in airo_set_nick() argument [all …]
|
/Linux-v5.10/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 924 struct iw_point *dwrq = (struct iw_point *)awrq; in r871x_wx_set_priv() local 926 len = dwrq->length; in r871x_wx_set_priv() 927 ext = memdup_user(dwrq->pointer, len); in r871x_wx_set_priv() 1004 if (copy_to_user(dwrq->pointer, ext, in r871x_wx_set_priv() 1005 min(dwrq->length, (__u16)(strlen(ext) + 1)))) in r871x_wx_set_priv()
|
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 2854 struct iw_point *dwrq = (struct iw_point *)awrq; in rtw_wx_set_priv() local 2856 if (dwrq->length == 0) in rtw_wx_set_priv() 2859 len = dwrq->length; in rtw_wx_set_priv() 2864 if (copy_from_user(ext, dwrq->pointer, len)) { in rtw_wx_set_priv() 2870 if (dwrq->flags == 0x8766 && len > 8) { in rtw_wx_set_priv()
|
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 4327 struct iw_point *dwrq = (struct iw_point *)awrq; in rtw_wx_set_priv() local 4330 if (dwrq->length == 0) in rtw_wx_set_priv() 4333 len = dwrq->length; in rtw_wx_set_priv() 4337 if (copy_from_user(ext, dwrq->pointer, len)) { in rtw_wx_set_priv() 4357 if (dwrq->flags == 0x8766 && len > 8) { in rtw_wx_set_priv()
|