• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rtl8192e/ieee80211/

Lines Matching defs:wrqu

31 			     union iwreq_data *wrqu, char *b)
34 struct iw_freq *fwrq = & wrqu->freq;
91 union iwreq_data *wrqu, char *b)
93 struct iw_freq *fwrq = & wrqu->freq;
108 union iwreq_data *wrqu, char *extra)
111 wrqu->ap_addr.sa_family = ARPHRD_ETHER;
123 memset(wrqu->ap_addr.sa_data, 0, ETH_ALEN);
125 memcpy(wrqu->ap_addr.sa_data,
181 int ieee80211_wx_get_essid(struct ieee80211_device *ieee, struct iw_request_info *a,union iwreq_data *wrqu,char *b)
205 wrqu->essid.length = len;
207 wrqu->essid.flags = 1;
218 union iwreq_data *wrqu, char *extra)
221 u32 target_rate = wrqu->bitrate.value;
231 union iwreq_data *wrqu, char *extra)
235 wrqu->bitrate.value = tmp_rate * 500000;
243 union iwreq_data *wrqu, char *extra)
245 if (wrqu->rts.disabled || !wrqu->rts.fixed)
249 if (wrqu->rts.value < MIN_RTS_THRESHOLD ||
250 wrqu->rts.value > MAX_RTS_THRESHOLD)
252 ieee->rts = wrqu->rts.value;
259 union iwreq_data *wrqu, char *extra)
261 wrqu->rts.value = ieee->rts;
262 wrqu->rts.fixed = 0; /* no auto select */
263 wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD);
267 union iwreq_data *wrqu, char *b)
274 if (wrqu->mode == ieee->iw_mode)
277 if (wrqu->mode == IW_MODE_MONITOR){
285 ieee->iw_mode = wrqu->mode;
288 ieee->iw_mode = wrqu->mode;
373 union iwreq_data *wrqu, char *b)
397 union iwreq_data *wrqu, char *extra)
409 if (wrqu->essid.length > IW_ESSID_MAX_SIZE){
429 if (wrqu->essid.flags && wrqu->essid.length) {
431 len = ((wrqu->essid.length-1) < IW_ESSID_MAX_SIZE) ? (wrqu->essid.length-1) : IW_ESSID_MAX_SIZE;
451 union iwreq_data *wrqu, char *b)
454 wrqu->mode = ieee->iw_mode;
460 union iwreq_data *wrqu, char *extra)
497 union iwreq_data *wrqu, char *extra)
499 strcpy(wrqu->name, "802.11");
501 strcat(wrqu->name, "b");
503 strcat(wrqu->name, "g");
505 strcat(wrqu->name, "n");
513 union iwreq_data *wrqu, char *extra)
528 if (wrqu->power.disabled){
532 if (wrqu->power.flags & IW_POWER_TIMEOUT) {
533 //ieee->ps_period = wrqu->power.value / 1000;
534 ieee->ps_timeout = wrqu->power.value / 1000;
537 if (wrqu->power.flags & IW_POWER_PERIOD) {
539 //ieee->ps_timeout = wrqu->power.value / 1000;
540 ieee->ps_period = wrqu->power.value / 1000;
544 switch (wrqu->power.flags & IW_POWER_MODE) {
573 union iwreq_data *wrqu, char *extra)
580 wrqu->power.disabled = 1;
584 wrqu->power.disabled = 0;
586 if ((wrqu->power.flags & IW_POWER_TYPE) == IW_POWER_TIMEOUT) {
587 wrqu->power.flags = IW_POWER_TIMEOUT;
588 wrqu->power.value = ieee->ps_timeout * 1000;
592 wrqu->power.flags = IW_POWER_PERIOD;
593 wrqu->power.value = ieee->ps_period * 1000;
598 wrqu->power.flags |= IW_POWER_ALL_R;
600 wrqu->power.flags |= IW_POWER_MULTICAST_R;
602 wrqu->power.flags |= IW_POWER_UNICAST_R;