Lines Matching refs:dwrq

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
6019 if (dwrq->length > 16) { in airo_set_nick()
6024 memcpy(local->config.nodeName, extra, dwrq->length); in airo_set_nick()
6036 struct iw_point *dwrq, in airo_get_nick() argument
6044 dwrq->length = strlen(extra); in airo_get_nick()
6332 struct iw_point *dwrq, in airo_set_encode() argument
6336 int perm = (dwrq->flags & IW_ENCODE_TEMP ? 0 : 1); in airo_set_encode()
6351 if (dwrq->length > 0) { in airo_set_encode()
6353 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in airo_set_encode()
6357 if (dwrq->length > MAX_KEY_SIZE) { in airo_set_encode()
6370 if (dwrq->length > MIN_KEY_SIZE) in airo_set_encode()
6375 if (!(dwrq->flags & IW_ENCODE_NOKEY)) { in airo_set_encode()
6379 memcpy(key.key, extra, dwrq->length); in airo_set_encode()
6397 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in airo_set_encode()
6408 if (!(dwrq->flags & IW_ENCODE_MODE)) in airo_set_encode()
6413 if (dwrq->flags & IW_ENCODE_DISABLED) in airo_set_encode()
6415 if (dwrq->flags & IW_ENCODE_RESTRICTED) in airo_set_encode()
6417 if (dwrq->flags & IW_ENCODE_OPEN) in airo_set_encode()
6431 struct iw_point *dwrq, in airo_get_encode() argument
6435 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; in airo_get_encode()
6447 dwrq->flags = IW_ENCODE_OPEN; in airo_get_encode()
6450 dwrq->flags = IW_ENCODE_RESTRICTED; in airo_get_encode()
6454 dwrq->flags = IW_ENCODE_DISABLED; in airo_get_encode()
6458 dwrq->flags |= IW_ENCODE_NOKEY; in airo_get_encode()
6467 dwrq->flags |= index + 1; in airo_get_encode()
6472 dwrq->length = 0; in airo_get_encode()
6474 dwrq->length = wep_key_len; in airo_get_encode()
6475 memcpy(extra, buf, dwrq->length); in airo_get_encode()
6904 struct iw_point *dwrq, in airo_get_range() argument
6915 dwrq->length = sizeof(struct iw_range); in airo_get_range()
7157 struct iw_point *dwrq, in airo_get_aplist() argument
7219 dwrq->flags = 1; /* Should be define'd */ in airo_get_aplist()
7223 dwrq->length = i; in airo_get_aplist()
7235 struct iw_point *dwrq, in airo_set_scan() argument
7466 struct iw_point *dwrq, in airo_get_scan() argument
7484 extra + dwrq->length, in airo_get_scan()
7488 if ((extra + dwrq->length - current_ev) <= IW_EV_ADDR_LEN) { in airo_get_scan()
7496 dwrq->length = (current_ev - extra); in airo_get_scan()
7497 dwrq->flags = 0; /* todo */ in airo_get_scan()