Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/net/wireless/atmel/
Datmel.c1649 struct iw_point *dwrq = &wrqu->essid; in atmel_set_essid() local
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()
1678 struct iw_point *dwrq = &wrqu->essid; in atmel_get_essid() local
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-v6.6/drivers/net/wireless/cisco/
Dairo.c5909 struct iw_point *dwrq = &wrqu->essid; in airo_set_essid() local
5917 if (dwrq->flags == 0) { in airo_set_essid()
5921 unsigned index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in airo_set_essid()
5924 if (dwrq->length > IW_ESSID_MAX_SIZE) in airo_set_essid()
5934 memcpy(SSID_rid.ssids[index].ssid, extra, dwrq->length); in airo_set_essid()
5935 SSID_rid.ssids[index].len = cpu_to_le16(dwrq->length); in airo_set_essid()
5955 struct iw_point *dwrq = &wrqu->essid; in airo_get_essid() local
5969 dwrq->length = le16_to_cpu(status_rid.SSIDlen); in airo_get_essid()
5970 dwrq->flags = 1; /* active */ in airo_get_essid()
6042 struct iw_point *dwrq = &wrqu->data; in airo_set_nick() local
[all …]
/Linux-v6.6/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c922 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()