Lines Matching refs:wrqu
1028 union iwreq_data *wrqu, char *extra) in ray_get_name() argument
1030 strcpy(wrqu->name, "IEEE 802.11-FH"); in ray_get_name()
1039 union iwreq_data *wrqu, char *extra) in ray_set_freq() argument
1049 if ((wrqu->freq.m > USA_HOP_MOD) || (wrqu->freq.e > 0)) in ray_set_freq()
1052 local->sparm.b5.a_hop_pattern = wrqu->freq.m; in ray_set_freq()
1062 union iwreq_data *wrqu, char *extra) in ray_get_freq() argument
1066 wrqu->freq.m = local->sparm.b5.a_hop_pattern; in ray_get_freq()
1067 wrqu->freq.e = 0; in ray_get_freq()
1076 union iwreq_data *wrqu, char *extra) in ray_set_essid() argument
1085 if (wrqu->essid.flags == 0) in ray_set_essid()
1090 if (wrqu->essid.length > IW_ESSID_MAX_SIZE) in ray_set_essid()
1095 memcpy(local->sparm.b5.a_current_ess_id, extra, wrqu->essid.length); in ray_set_essid()
1105 union iwreq_data *wrqu, char *extra) in ray_get_essid() argument
1116 wrqu->essid.length = strlen(tmp); in ray_get_essid()
1117 wrqu->essid.flags = 1; /* active */ in ray_get_essid()
1127 union iwreq_data *wrqu, char *extra) in ray_get_wap() argument
1131 memcpy(wrqu->ap_addr.sa_data, local->bss_id, ETH_ALEN); in ray_get_wap()
1132 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in ray_get_wap()
1142 union iwreq_data *wrqu, char *extra) in ray_set_rate() argument
1151 if ((wrqu->bitrate.value != 1000000) && (wrqu->bitrate.value != 2000000)) in ray_set_rate()
1156 (wrqu->bitrate.value == 2000000)) in ray_set_rate()
1159 local->net_default_tx_rate = wrqu->bitrate.value / 500000; in ray_set_rate()
1169 union iwreq_data *wrqu, char *extra) in ray_get_rate() argument
1174 wrqu->bitrate.value = 2000000; /* Hum... */ in ray_get_rate()
1176 wrqu->bitrate.value = local->net_default_tx_rate * 500000; in ray_get_rate()
1177 wrqu->bitrate.fixed = 0; /* We are in auto mode */ in ray_get_rate()
1187 union iwreq_data *wrqu, char *extra) in ray_set_rts() argument
1190 int rthr = wrqu->rts.value; in ray_set_rts()
1197 if (wrqu->rts.disabled) in ray_set_rts()
1214 union iwreq_data *wrqu, char *extra) in ray_get_rts() argument
1218 wrqu->rts.value = (local->sparm.b5.a_rts_threshold[0] << 8) in ray_get_rts()
1220 wrqu->rts.disabled = (wrqu->rts.value == 32767); in ray_get_rts()
1221 wrqu->rts.fixed = 1; in ray_get_rts()
1231 union iwreq_data *wrqu, char *extra) in ray_set_frag() argument
1234 int fthr = wrqu->frag.value; in ray_set_frag()
1241 if (wrqu->frag.disabled) in ray_set_frag()
1258 union iwreq_data *wrqu, char *extra) in ray_get_frag() argument
1262 wrqu->frag.value = (local->sparm.b5.a_frag_threshold[0] << 8) in ray_get_frag()
1264 wrqu->frag.disabled = (wrqu->frag.value == 32767); in ray_get_frag()
1265 wrqu->frag.fixed = 1; in ray_get_frag()
1275 union iwreq_data *wrqu, char *extra) in ray_set_mode() argument
1285 switch (wrqu->mode) { in ray_set_mode()
1304 union iwreq_data *wrqu, char *extra) in ray_get_mode() argument
1309 wrqu->mode = IW_MODE_INFRA; in ray_get_mode()
1311 wrqu->mode = IW_MODE_ADHOC; in ray_get_mode()
1321 union iwreq_data *wrqu, char *extra) in ray_get_range() argument
1328 wrqu->data.length = sizeof(struct iw_range); in ray_get_range()
1352 union iwreq_data *wrqu, char *extra) in ray_set_framing() argument
1364 union iwreq_data *wrqu, char *extra) in ray_get_framing() argument
1376 union iwreq_data *wrqu, char *extra) in ray_get_country() argument
1388 union iwreq_data *wrqu, char *extra) in ray_commit() argument