Searched refs:dwrq (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/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-v6.1/drivers/net/wireless/atmel/ |
D | atmel.c | 1646 struct iw_point *dwrq, in atmel_set_essid() argument 1652 if (dwrq->flags == 0) { in atmel_set_essid() 1655 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in atmel_set_essid() 1660 if (dwrq->length > MAX_SSID_LENGTH) in atmel_set_essid() 1665 memcpy(priv->new_SSID, extra, dwrq->length); in atmel_set_essid() 1666 priv->new_SSID_size = dwrq->length; in atmel_set_essid() 1674 struct iw_point *dwrq, in atmel_get_essid() argument 1682 dwrq->length = priv->new_SSID_size; in atmel_get_essid() 1685 dwrq->length = priv->SSID_size; in atmel_get_essid() 1688 dwrq->flags = !priv->connect_to_any_BSS; /* active */ in atmel_get_essid() [all …]
|
/Linux-v6.1/drivers/net/wireless/cisco/ |
D | airo.c | 5903 struct iw_point *dwrq, in airo_set_essid() argument 5913 if (dwrq->flags == 0) { in airo_set_essid() 5917 unsigned index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in airo_set_essid() 5920 if (dwrq->length > IW_ESSID_MAX_SIZE) in airo_set_essid() 5930 memcpy(SSID_rid.ssids[index].ssid, extra, dwrq->length); in airo_set_essid() 5931 SSID_rid.ssids[index].len = cpu_to_le16(dwrq->length); in airo_set_essid() 5948 struct iw_point *dwrq, in airo_get_essid() argument 5964 dwrq->length = le16_to_cpu(status_rid.SSIDlen); in airo_get_essid() 5965 dwrq->flags = 1; /* active */ in airo_get_essid() 6032 struct iw_point *dwrq, in airo_set_nick() argument [all …]
|
/Linux-v6.1/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 922 struct iw_point *dwrq = (struct iw_point *)awrq; in r871x_wx_set_priv() local 924 len = dwrq->length; in r871x_wx_set_priv() 925 ext = strndup_user(dwrq->pointer, len); in r871x_wx_set_priv() 1002 if (copy_to_user(dwrq->pointer, ext, in r871x_wx_set_priv() 1003 min(dwrq->length, (__u16)(strlen(ext) + 1)))) in r871x_wx_set_priv()
|
/Linux-v6.1/drivers/staging/r8188eu/os_dep/ |
D | ioctl_linux.c | 3546 struct iw_point *dwrq = (struct iw_point *)awrq; in rtw_wx_set_priv() local 3548 if (dwrq->length == 0) in rtw_wx_set_priv() 3551 len = dwrq->length; in rtw_wx_set_priv() 3556 if (copy_from_user(ext, dwrq->pointer, len)) { in rtw_wx_set_priv() 3562 if (dwrq->flags == 0x8766 && len > 8) { in rtw_wx_set_priv()
|