Lines Matching defs:dwrq
5919 struct iw_point *dwrq,
5929 if (dwrq->flags == 0) {
5933 unsigned index = (dwrq->flags & IW_ENCODE_INDEX) - 1;
5936 if (dwrq->length > IW_ESSID_MAX_SIZE)
5946 memcpy(SSID_rid.ssids[index].ssid, extra, dwrq->length);
5947 SSID_rid.ssids[index].len = cpu_to_le16(dwrq->length);
5964 struct iw_point *dwrq,
5972 /* Note : if dwrq->flags != 0, we should
5980 dwrq->length = le16_to_cpu(status_rid.SSIDlen);
5981 dwrq->flags = 1; /* active */
6050 struct iw_point *dwrq,
6056 if(dwrq->length > 16) {
6061 memcpy(local->config.nodeName, extra, dwrq->length);
6073 struct iw_point *dwrq,
6081 dwrq->length = strlen(extra);
6369 struct iw_point *dwrq,
6373 int perm = (dwrq->flags & IW_ENCODE_TEMP ? 0 : 1);
6388 if (dwrq->length > 0) {
6390 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1;
6394 if (dwrq->length > MAX_KEY_SIZE) {
6407 if (dwrq->length > MIN_KEY_SIZE)
6412 if(!(dwrq->flags & IW_ENCODE_NOKEY)) {
6416 memcpy(key.key, extra, dwrq->length);
6435 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1;
6446 if (!(dwrq->flags & IW_ENCODE_MODE))
6451 if(dwrq->flags & IW_ENCODE_DISABLED)
6453 if(dwrq->flags & IW_ENCODE_RESTRICTED)
6455 if(dwrq->flags & IW_ENCODE_OPEN)
6469 struct iw_point *dwrq,
6473 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1;
6485 dwrq->flags = IW_ENCODE_OPEN;
6488 dwrq->flags = IW_ENCODE_RESTRICTED;
6492 dwrq->flags = IW_ENCODE_DISABLED;
6496 dwrq->flags |= IW_ENCODE_NOKEY;
6505 dwrq->flags |= index + 1;
6510 dwrq->length = 0;
6512 dwrq->length = wep_key_len;
6513 memcpy(extra, buf, dwrq->length);
6938 struct iw_point *dwrq,
6949 dwrq->length = sizeof(struct iw_range);
7189 struct iw_point *dwrq,
7251 dwrq->flags = 1; /* Should be define'd */
7255 dwrq->length = i;
7267 struct iw_point *dwrq,
7489 struct iw_point *dwrq,
7507 extra + dwrq->length,
7511 if((extra + dwrq->length - current_ev) <= IW_EV_ADDR_LEN) {
7519 dwrq->length = (current_ev - extra);
7520 dwrq->flags = 0; /* todo */