Lines Matching refs:dwrq
4802 struct iw_point *dwrq, argument
4813 if(dwrq->flags == 0) {
4817 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1;
4820 if(dwrq->length > IW_ESSID_MAX_SIZE+1) {
4831 memcpy(SSID_rid.ssids[index].ssid, extra, dwrq->length);
4832 SSID_rid.ssids[index].len = dwrq->length - 1;
4849 struct iw_point *dwrq, argument
4866 dwrq->length = status_rid.SSIDlen + 1;
4867 dwrq->flags = 1; /* active */
4934 struct iw_point *dwrq, argument
4940 if(dwrq->length > 16 + 1) {
4945 memcpy(local->config.nodeName, extra, dwrq->length);
4957 struct iw_point *dwrq, argument
4965 dwrq->length = strlen(extra) + 1;
5246 struct iw_point *dwrq, argument
5266 if (dwrq->length > 0) {
5268 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1;
5271 if (dwrq->length > MAX_KEY_SIZE) {
5278 if (dwrq->length > MIN_KEY_SIZE)
5281 if (dwrq->length > 0)
5287 if(!(dwrq->flags & IW_ENCODE_NOKEY)) {
5291 memcpy(key.key, extra, dwrq->length);
5305 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1;
5310 if(!dwrq->flags & IW_ENCODE_MODE) {
5315 if(dwrq->flags & IW_ENCODE_DISABLED)
5317 if(dwrq->flags & IW_ENCODE_RESTRICTED)
5319 if(dwrq->flags & IW_ENCODE_OPEN)
5322 if(dwrq->flags & IW_ENCODE_MODE)
5333 struct iw_point *dwrq, argument
5337 int index = (dwrq->flags & IW_ENCODE_INDEX) - 1;
5349 dwrq->flags = IW_ENCODE_OPEN;
5352 dwrq->flags = IW_ENCODE_RESTRICTED;
5356 dwrq->flags = IW_ENCODE_DISABLED;
5360 dwrq->flags |= IW_ENCODE_NOKEY;
5366 dwrq->flags |= index + 1;
5368 dwrq->length = get_wep_key(local, index);
5369 if (dwrq->length > 16) {
5370 dwrq->length=0;
5505 struct iw_point *dwrq, argument
5516 dwrq->length = sizeof(struct iw_range);
5741 struct iw_point *dwrq, argument
5789 dwrq->flags = 1; /* Should be define'd */
5793 dwrq->length = i;
5934 struct iw_point *dwrq, argument
5981 dwrq->length = (current_ev - extra);
5982 dwrq->flags = 0; /* todo */
5996 struct iw_point *dwrq, argument
6006 if (dwrq->length > 0) {
6010 for (i = 0; i < dwrq->length; i++)
6016 local->spy_number = dwrq->length;
6027 struct iw_point *dwrq, argument
6034 dwrq->length = local->spy_number;