wrqu 367 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c union iwreq_data *wrqu, char *extra) wrqu 374 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (wrqu->data.length == sizeof(struct iw_scan_req) && wrqu 375 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c wrqu->data.flags & IW_SCAN_THIS_ESSID) { wrqu 696 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c union iwreq_data *wrqu, char *extra) wrqu 701 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c char *stop = ev + wrqu->data.length; wrqu 739 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c wrqu->data.length = ev - extra; wrqu 740 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c wrqu->data.flags = 0; wrqu 743 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c pr_debug("%s: -> %d %d\n", __func__, ret, wrqu->data.length); wrqu 1368 drivers/net/wireless/atmel/atmel.c union iwreq_data wrqu; wrqu 1370 drivers/net/wireless/atmel/atmel.c wrqu.data.length = 0; wrqu 1371 drivers/net/wireless/atmel/atmel.c wrqu.data.flags = 0; wrqu 1372 drivers/net/wireless/atmel/atmel.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 1373 drivers/net/wireless/atmel/atmel.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 1374 drivers/net/wireless/atmel/atmel.c wireless_send_event(priv->dev, SIOCGIWAP, &wrqu, NULL); wrqu 1830 drivers/net/wireless/atmel/atmel.c union iwreq_data *wrqu, wrqu 1834 drivers/net/wireless/atmel/atmel.c struct iw_point *encoding = &wrqu->encoding; wrqu 1890 drivers/net/wireless/atmel/atmel.c union iwreq_data *wrqu, wrqu 1894 drivers/net/wireless/atmel/atmel.c struct iw_point *encoding = &wrqu->encoding; wrqu 1933 drivers/net/wireless/atmel/atmel.c union iwreq_data *wrqu, char *extra) wrqu 1936 drivers/net/wireless/atmel/atmel.c struct iw_param *param = &wrqu->param; wrqu 1978 drivers/net/wireless/atmel/atmel.c union iwreq_data *wrqu, char *extra) wrqu 1981 drivers/net/wireless/atmel/atmel.c struct iw_param *param = &wrqu->param; wrqu 3125 drivers/net/wireless/atmel/atmel.c union iwreq_data wrqu; wrqu 3159 drivers/net/wireless/atmel/atmel.c wrqu.data.length = 0; wrqu 3160 drivers/net/wireless/atmel/atmel.c wrqu.data.flags = 0; wrqu 3161 drivers/net/wireless/atmel/atmel.c memcpy(wrqu.ap_addr.sa_data, priv->CurrentBSSID, ETH_ALEN); wrqu 3162 drivers/net/wireless/atmel/atmel.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 3163 drivers/net/wireless/atmel/atmel.c wireless_send_event(priv->dev, SIOCGIWAP, &wrqu, NULL); wrqu 3490 drivers/net/wireless/atmel/atmel.c union iwreq_data wrqu; wrqu 3527 drivers/net/wireless/atmel/atmel.c wrqu.data.length = 0; wrqu 3528 drivers/net/wireless/atmel/atmel.c wrqu.data.flags = 0; wrqu 3529 drivers/net/wireless/atmel/atmel.c wireless_send_event(priv->dev, SIOCGIWSCAN, &wrqu, NULL); wrqu 3543 drivers/net/wireless/atmel/atmel.c wrqu.data.length = 0; wrqu 3544 drivers/net/wireless/atmel/atmel.c wrqu.data.flags = 0; wrqu 3545 drivers/net/wireless/atmel/atmel.c wireless_send_event(priv->dev, SIOCGIWSCAN, &wrqu, NULL); wrqu 4023 drivers/net/wireless/atmel/atmel.c union iwreq_data wrqu; wrqu 4025 drivers/net/wireless/atmel/atmel.c wrqu.data.length = 0; wrqu 4026 drivers/net/wireless/atmel/atmel.c wrqu.data.flags = 0; wrqu 4027 drivers/net/wireless/atmel/atmel.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 4028 drivers/net/wireless/atmel/atmel.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 4029 drivers/net/wireless/atmel/atmel.c wireless_send_event(priv->dev, SIOCGIWAP, &wrqu, NULL); wrqu 2072 drivers/net/wireless/cisco/airo.c union iwreq_data wrqu; wrqu 2088 drivers/net/wireless/cisco/airo.c memcpy(wrqu.addr.sa_data, junk + 0x12, ETH_ALEN); wrqu 2089 drivers/net/wireless/cisco/airo.c wrqu.addr.sa_family = ARPHRD_ETHER; wrqu 2092 drivers/net/wireless/cisco/airo.c wireless_send_event(ai->dev, IWEVTXDROP, &wrqu, NULL); wrqu 2983 drivers/net/wireless/cisco/airo.c union iwreq_data wrqu; wrqu 2989 drivers/net/wireless/cisco/airo.c wrqu.data.length = 0; wrqu 2990 drivers/net/wireless/cisco/airo.c wrqu.data.flags = 0; wrqu 2991 drivers/net/wireless/cisco/airo.c memcpy(wrqu.ap_addr.sa_data, status_rid.bssid[0], ETH_ALEN); wrqu 2992 drivers/net/wireless/cisco/airo.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 2995 drivers/net/wireless/cisco/airo.c wireless_send_event(dev, SIOCGIWAP, &wrqu, NULL); wrqu 2999 drivers/net/wireless/cisco/airo.c union iwreq_data wrqu; wrqu 3057 drivers/net/wireless/cisco/airo.c wrqu.data.length = 0; wrqu 3058 drivers/net/wireless/cisco/airo.c wrqu.data.flags = 0; wrqu 3059 drivers/net/wireless/cisco/airo.c wireless_send_event(ai->dev, SIOCGIWSCAN, &wrqu, NULL); wrqu 3245 drivers/net/wireless/cisco/airo.c union iwreq_data wrqu; wrqu 3279 drivers/net/wireless/cisco/airo.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 3280 drivers/net/wireless/cisco/airo.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 3281 drivers/net/wireless/cisco/airo.c wireless_send_event(ai->dev, SIOCGIWAP, &wrqu, NULL); wrqu 6464 drivers/net/wireless/cisco/airo.c union iwreq_data *wrqu, wrqu 6468 drivers/net/wireless/cisco/airo.c struct iw_point *encoding = &wrqu->encoding; wrqu 6570 drivers/net/wireless/cisco/airo.c union iwreq_data *wrqu, wrqu 6574 drivers/net/wireless/cisco/airo.c struct iw_point *encoding = &wrqu->encoding; wrqu 6638 drivers/net/wireless/cisco/airo.c union iwreq_data *wrqu, char *extra) wrqu 6641 drivers/net/wireless/cisco/airo.c struct iw_param *param = &wrqu->param; wrqu 6707 drivers/net/wireless/cisco/airo.c union iwreq_data *wrqu, char *extra) wrqu 6710 drivers/net/wireless/cisco/airo.c struct iw_param *param = &wrqu->param; wrqu 1839 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data wrqu = { wrqu 1882 drivers/net/wireless/intel/ipw2x00/ipw2100.c wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); wrqu 1951 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data wrqu = { wrqu 1976 drivers/net/wireless/intel/ipw2x00/ipw2100.c wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); wrqu 2169 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data wrqu; wrqu 2171 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu.data.length = 0; wrqu 2172 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu.data.flags = 0; wrqu 2173 drivers/net/wireless/intel/ipw2x00/ipw2100.c wireless_send_event(priv->net_dev, SIOCGIWSCAN, &wrqu, NULL); wrqu 6606 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 6614 drivers/net/wireless/intel/ipw2x00/ipw2100.c strcpy(wrqu->name, "unassociated"); wrqu 6616 drivers/net/wireless/intel/ipw2x00/ipw2100.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11b"); wrqu 6618 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("Name: %s\n", wrqu->name); wrqu 6624 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 6627 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct iw_freq *fwrq = &wrqu->freq; wrqu 6670 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 6678 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->freq.e = 0; wrqu 6684 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->freq.m = priv->channel; wrqu 6686 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->freq.m = 0; wrqu 6695 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 6700 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("SET Mode -> %d\n", wrqu->mode); wrqu 6702 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->mode == priv->ieee->iw_mode) wrqu 6711 drivers/net/wireless/intel/ipw2x00/ipw2100.c switch (wrqu->mode) { wrqu 6734 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 6742 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->mode = priv->ieee->iw_mode; wrqu 6743 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("GET Mode -> %d\n", wrqu->mode); wrqu 6769 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 6780 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->data.length = sizeof(*range); wrqu 6894 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 6900 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->ap_addr.sa_family != ARPHRD_ETHER) wrqu 6909 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (is_broadcast_ether_addr(wrqu->ap_addr.sa_data) || wrqu 6910 drivers/net/wireless/intel/ipw2x00/ipw2100.c is_zero_ether_addr(wrqu->ap_addr.sa_data)) { wrqu 6919 drivers/net/wireless/intel/ipw2x00/ipw2100.c memcpy(priv->mandatory_bssid_mac, wrqu->ap_addr.sa_data, ETH_ALEN); wrqu 6921 drivers/net/wireless/intel/ipw2x00/ipw2100.c err = ipw2100_set_mandatory_bssid(priv, wrqu->ap_addr.sa_data, 0); wrqu 6923 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("SET BSSID -> %pM\n", wrqu->ap_addr.sa_data); wrqu 6932 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 6943 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->ap_addr.sa_family = ARPHRD_ETHER; wrqu 6944 drivers/net/wireless/intel/ipw2x00/ipw2100.c memcpy(wrqu->ap_addr.sa_data, priv->bssid, ETH_ALEN); wrqu 6946 drivers/net/wireless/intel/ipw2x00/ipw2100.c eth_zero_addr(wrqu->ap_addr.sa_data); wrqu 6948 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("Getting WAP BSSID: %pM\n", wrqu->ap_addr.sa_data); wrqu 6954 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 6967 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->essid.flags && wrqu->essid.length) { wrqu 6968 drivers/net/wireless/intel/ipw2x00/ipw2100.c length = wrqu->essid.length; wrqu 7003 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7017 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->essid.length = priv->essid_len; wrqu 7018 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->essid.flags = 1; /* active */ wrqu 7021 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->essid.length = 0; wrqu 7022 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->essid.flags = 0; /* active */ wrqu 7030 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7038 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->data.length > IW_ESSID_MAX_SIZE) wrqu 7041 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->data.length = min_t(size_t, wrqu->data.length, sizeof(priv->nick)); wrqu 7043 drivers/net/wireless/intel/ipw2x00/ipw2100.c memcpy(priv->nick, extra, wrqu->data.length); wrqu 7052 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7060 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->data.length = strlen(priv->nick); wrqu 7061 drivers/net/wireless/intel/ipw2x00/ipw2100.c memcpy(extra, priv->nick, wrqu->data.length); wrqu 7062 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->data.flags = 1; /* active */ wrqu 7071 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7074 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 target_rate = wrqu->bitrate.value; wrqu 7087 drivers/net/wireless/intel/ipw2x00/ipw2100.c (!wrqu->bitrate.fixed && target_rate > 1000000)) wrqu 7090 drivers/net/wireless/intel/ipw2x00/ipw2100.c (!wrqu->bitrate.fixed && target_rate > 2000000)) wrqu 7093 drivers/net/wireless/intel/ipw2x00/ipw2100.c (!wrqu->bitrate.fixed && target_rate > 5500000)) wrqu 7096 drivers/net/wireless/intel/ipw2x00/ipw2100.c (!wrqu->bitrate.fixed && target_rate > 11000000)) wrqu 7111 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7121 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->bitrate.value = 0; wrqu 7139 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->bitrate.value = 1000000; wrqu 7142 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->bitrate.value = 2000000; wrqu 7145 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->bitrate.value = 5500000; wrqu 7148 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->bitrate.value = 11000000; wrqu 7151 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->bitrate.value = 0; wrqu 7154 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("GET Rate -> %d\n", wrqu->bitrate.value); wrqu 7163 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7169 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->rts.fixed == 0) wrqu 7178 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->rts.disabled) wrqu 7181 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->rts.value < 1 || wrqu->rts.value > 2304) { wrqu 7185 drivers/net/wireless/intel/ipw2x00/ipw2100.c value = wrqu->rts.value; wrqu 7198 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7206 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->rts.value = priv->rts_threshold & ~RTS_DISABLED; wrqu 7207 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->rts.fixed = 1; /* no auto select */ wrqu 7210 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->rts.disabled = (priv->rts_threshold & RTS_DISABLED) ? 1 : 0; wrqu 7212 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("GET RTS Threshold -> 0x%08X\n", wrqu->rts.value); wrqu 7219 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7224 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (ipw_radio_kill_sw(priv, wrqu->txpower.disabled)) wrqu 7230 drivers/net/wireless/intel/ipw2x00/ipw2100.c if ((wrqu->txpower.flags & IW_TXPOW_TYPE) != IW_TXPOW_DBM) wrqu 7233 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->txpower.fixed == 0) wrqu 7236 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->txpower.value < IPW_TX_POWER_MIN_DBM || wrqu 7237 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.value > IPW_TX_POWER_MAX_DBM) wrqu 7240 drivers/net/wireless/intel/ipw2x00/ipw2100.c value = wrqu->txpower.value; wrqu 7260 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7268 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.disabled = (priv->status & STATUS_RF_KILL_MASK) ? 1 : 0; wrqu 7271 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.fixed = 0; wrqu 7272 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.value = IPW_TX_POWER_MAX_DBM; wrqu 7274 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.fixed = 1; wrqu 7275 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.value = priv->tx_power; wrqu 7278 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.flags = IW_TXPOW_DBM; wrqu 7280 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("GET TX Power -> %d\n", wrqu->txpower.value); wrqu 7287 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7295 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (!wrqu->frag.fixed) wrqu 7298 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->frag.disabled) { wrqu 7302 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->frag.value < MIN_FRAG_THRESHOLD || wrqu 7303 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->frag.value > MAX_FRAG_THRESHOLD) wrqu 7306 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->ieee->fts = wrqu->frag.value & ~0x1; wrqu 7317 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7324 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->frag.value = priv->frag_threshold & ~FRAG_DISABLED; wrqu 7325 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->frag.fixed = 0; /* no auto select */ wrqu 7326 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->frag.disabled = (priv->frag_threshold & FRAG_DISABLED) ? 1 : 0; wrqu 7328 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("GET Frag Threshold -> %d\n", wrqu->frag.value); wrqu 7335 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7340 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->retry.flags & IW_RETRY_LIFETIME || wrqu->retry.disabled) wrqu 7343 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (!(wrqu->retry.flags & IW_RETRY_LIMIT)) wrqu 7352 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->retry.flags & IW_RETRY_SHORT) { wrqu 7353 drivers/net/wireless/intel/ipw2x00/ipw2100.c err = ipw2100_set_short_retry(priv, wrqu->retry.value); wrqu 7355 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->retry.value); wrqu 7359 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->retry.flags & IW_RETRY_LONG) { wrqu 7360 drivers/net/wireless/intel/ipw2x00/ipw2100.c err = ipw2100_set_long_retry(priv, wrqu->retry.value); wrqu 7362 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->retry.value); wrqu 7366 drivers/net/wireless/intel/ipw2x00/ipw2100.c err = ipw2100_set_short_retry(priv, wrqu->retry.value); wrqu 7368 drivers/net/wireless/intel/ipw2x00/ipw2100.c err = ipw2100_set_long_retry(priv, wrqu->retry.value); wrqu 7370 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("SET Both Retry Limits -> %d\n", wrqu->retry.value); wrqu 7379 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7387 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->retry.disabled = 0; /* can't be disabled */ wrqu 7389 drivers/net/wireless/intel/ipw2x00/ipw2100.c if ((wrqu->retry.flags & IW_RETRY_TYPE) == IW_RETRY_LIFETIME) wrqu 7392 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->retry.flags & IW_RETRY_LONG) { wrqu 7393 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_LONG; wrqu 7394 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->retry.value = priv->long_retry_limit; wrqu 7396 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->retry.flags = wrqu 7401 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->retry.value = priv->short_retry_limit; wrqu 7404 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("GET Retry -> %d\n", wrqu->retry.value); wrqu 7411 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7439 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7446 drivers/net/wireless/intel/ipw2x00/ipw2100.c return libipw_wx_get_scan(priv->ieee, info, wrqu, extra); wrqu 7454 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *key) wrqu 7461 drivers/net/wireless/intel/ipw2x00/ipw2100.c return libipw_wx_set_encode(priv->ieee, info, wrqu, key); wrqu 7466 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *key) wrqu 7473 drivers/net/wireless/intel/ipw2x00/ipw2100.c return libipw_wx_get_encode(priv->ieee, info, wrqu, key); wrqu 7478 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7489 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->power.disabled) { wrqu 7496 drivers/net/wireless/intel/ipw2x00/ipw2100.c switch (wrqu->power.flags & IW_POWER_MODE) { wrqu 7503 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->power.flags); wrqu 7523 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7532 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->power.disabled = 1; wrqu 7534 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->power.disabled = 0; wrqu 7535 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->power.flags = 0; wrqu 7550 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7560 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->data.length > MAX_WPA_IE_LEN || wrqu 7561 drivers/net/wireless/intel/ipw2x00/ipw2100.c (wrqu->data.length && extra == NULL)) wrqu 7564 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->data.length) { wrqu 7565 drivers/net/wireless/intel/ipw2x00/ipw2100.c buf = kmemdup(extra, wrqu->data.length, GFP_KERNEL); wrqu 7571 drivers/net/wireless/intel/ipw2x00/ipw2100.c ieee->wpa_ie_len = wrqu->data.length; wrqu 7586 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7592 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->data.length = 0; wrqu 7596 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->data.length < ieee->wpa_ie_len) wrqu 7599 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->data.length = ieee->wpa_ie_len; wrqu 7608 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7612 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct iw_param *param = &wrqu->param; wrqu 7701 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7706 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct iw_param *param = &wrqu->param; wrqu 7761 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7764 drivers/net/wireless/intel/ipw2x00/ipw2100.c return libipw_wx_set_encodeext(priv->ieee, info, wrqu, extra); wrqu 7770 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7773 drivers/net/wireless/intel/ipw2x00/ipw2100.c return libipw_wx_get_encodeext(priv->ieee, info, wrqu, extra); wrqu 7779 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7807 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7838 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7850 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7874 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7907 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->data.length = strlen(extra) + 1; wrqu 7914 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7943 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7952 drivers/net/wireless/intel/ipw2x00/ipw2100.c snprintf(wrqu->name, IFNAMSIZ, "long (1)"); wrqu 7954 drivers/net/wireless/intel/ipw2x00/ipw2100.c snprintf(wrqu->name, IFNAMSIZ, "auto (0)"); wrqu 7962 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7990 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data *wrqu, char *extra) wrqu 7999 drivers/net/wireless/intel/ipw2x00/ipw2100.c snprintf(wrqu->name, IFNAMSIZ, "CRC checked (1)"); wrqu 8001 drivers/net/wireless/intel/ipw2x00/ipw2100.c snprintf(wrqu->name, IFNAMSIZ, "CRC ignored (0)"); wrqu 8266 drivers/net/wireless/intel/ipw2x00/ipw2100.c union iwreq_data wrqu; wrqu 8278 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 8285 drivers/net/wireless/intel/ipw2x00/ipw2100.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 8289 drivers/net/wireless/intel/ipw2x00/ipw2100.c memcpy(wrqu.ap_addr.sa_data, priv->bssid, ETH_ALEN); wrqu 8310 drivers/net/wireless/intel/ipw2x00/ipw2100.c wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); wrqu 1939 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data wrqu; wrqu 1940 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 1942 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(wrqu.ap_addr.sa_data, priv->bssid, ETH_ALEN); wrqu 1944 drivers/net/wireless/intel/ipw2x00/ipw2200.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 1945 drivers/net/wireless/intel/ipw2x00/ipw2200.c wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); wrqu 4446 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data wrqu; wrqu 4451 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu.data.length = 0; wrqu 4452 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu.data.flags = 0; wrqu 4453 drivers/net/wireless/intel/ipw2x00/ipw2200.c wireless_send_event(priv->net_dev, SIOCGIWSCAN, &wrqu, NULL); wrqu 6514 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 6521 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->data.length > MAX_WPA_IE_LEN || wrqu 6522 drivers/net/wireless/intel/ipw2x00/ipw2200.c (wrqu->data.length && extra == NULL)) wrqu 6525 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->data.length) { wrqu 6526 drivers/net/wireless/intel/ipw2x00/ipw2200.c buf = kmemdup(extra, wrqu->data.length, GFP_KERNEL); wrqu 6534 drivers/net/wireless/intel/ipw2x00/ipw2200.c ieee->wpa_ie_len = wrqu->data.length; wrqu 6549 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 6556 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->data.length = 0; wrqu 6560 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->data.length < ieee->wpa_ie_len) { wrqu 6565 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->data.length = ieee->wpa_ie_len; wrqu 6592 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 6596 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct iw_param *param = &wrqu->param; wrqu 6692 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 6697 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct iw_param *param = &wrqu->param; wrqu 6749 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 6773 drivers/net/wireless/intel/ipw2x00/ipw2200.c return libipw_wx_set_encodeext(priv->ieee, info, wrqu, extra); wrqu 6779 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 6782 drivers/net/wireless/intel/ipw2x00/ipw2200.c return libipw_wx_get_encodeext(priv->ieee, info, wrqu, extra); wrqu 6788 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 8647 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 8651 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct iw_freq *fwrq = &wrqu->freq; wrqu 8696 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 8700 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->freq.e = 0; wrqu 8711 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->freq.e = 1; wrqu 8715 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->freq.m = priv->ieee->geo.a[i].freq * 100000; wrqu 8719 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->freq.m = priv->ieee->geo.bg[i].freq * 100000; wrqu 8726 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->freq.m = 0; wrqu 8735 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 8740 drivers/net/wireless/intel/ipw2x00/ipw2200.c IPW_DEBUG_WX("Set MODE: %d\n", wrqu->mode); wrqu 8742 drivers/net/wireless/intel/ipw2x00/ipw2200.c switch (wrqu->mode) { wrqu 8750 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->mode = IW_MODE_INFRA; wrqu 8755 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->mode == priv->ieee->iw_mode) wrqu 8766 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->mode == IW_MODE_MONITOR) wrqu 8778 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->ieee->iw_mode = wrqu->mode; wrqu 8787 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 8791 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->mode = priv->ieee->iw_mode; wrqu 8792 drivers/net/wireless/intel/ipw2x00/ipw2200.c IPW_DEBUG_WX("Get MODE -> %d\n", wrqu->mode); wrqu 8816 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 8823 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->data.length = sizeof(*range); wrqu 8910 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 8914 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->ap_addr.sa_family != ARPHRD_ETHER) wrqu 8917 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (is_broadcast_ether_addr(wrqu->ap_addr.sa_data) || wrqu 8918 drivers/net/wireless/intel/ipw2x00/ipw2200.c is_zero_ether_addr(wrqu->ap_addr.sa_data)) { wrqu 8930 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (ether_addr_equal(priv->bssid, wrqu->ap_addr.sa_data)) { wrqu 8937 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->ap_addr.sa_data); wrqu 8939 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(priv->bssid, wrqu->ap_addr.sa_data, ETH_ALEN); wrqu 8952 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 8961 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->ap_addr.sa_family = ARPHRD_ETHER; wrqu 8962 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(wrqu->ap_addr.sa_data, priv->bssid, ETH_ALEN); wrqu 8964 drivers/net/wireless/intel/ipw2x00/ipw2200.c eth_zero_addr(wrqu->ap_addr.sa_data); wrqu 8967 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->ap_addr.sa_data); wrqu 8974 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 8981 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!wrqu->essid.flags) wrqu 8991 drivers/net/wireless/intel/ipw2x00/ipw2200.c length = min((int)wrqu->essid.length, IW_ESSID_MAX_SIZE); wrqu 9018 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9030 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->essid.length = priv->essid_len; wrqu 9031 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->essid.flags = 1; /* active */ wrqu 9034 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->essid.length = 0; wrqu 9035 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->essid.flags = 0; /* active */ wrqu 9043 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9048 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->data.length > IW_ESSID_MAX_SIZE) wrqu 9051 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->data.length = min_t(size_t, wrqu->data.length, sizeof(priv->nick)); wrqu 9053 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(priv->nick, extra, wrqu->data.length); wrqu 9062 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9067 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->data.length = strlen(priv->nick); wrqu 9068 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(extra, priv->nick, wrqu->data.length); wrqu 9069 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->data.flags = 1; /* active */ wrqu 9076 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9081 drivers/net/wireless/intel/ipw2x00/ipw2200.c IPW_DEBUG_WX("Setting roaming threshold to %d\n", wrqu->sens.value); wrqu 9082 drivers/net/wireless/intel/ipw2x00/ipw2200.c IPW_DEBUG_WX("Setting disassociate threshold to %d\n", 3*wrqu->sens.value); wrqu 9085 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->sens.fixed == 0) wrqu 9091 drivers/net/wireless/intel/ipw2x00/ipw2200.c if ((wrqu->sens.value > IPW_MB_ROAMING_THRESHOLD_MAX) || wrqu 9092 drivers/net/wireless/intel/ipw2x00/ipw2200.c (wrqu->sens.value < IPW_MB_ROAMING_THRESHOLD_MIN)) { wrqu 9097 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->roaming_threshold = wrqu->sens.value; wrqu 9098 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->disassociate_threshold = 3*wrqu->sens.value; wrqu 9106 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9110 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->sens.fixed = 1; wrqu 9111 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->sens.value = priv->roaming_threshold; wrqu 9115 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.disabled ? "OFF" : "ON", wrqu->power.value); wrqu 9122 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9126 drivers/net/wireless/intel/ipw2x00/ipw2200.c u32 target_rate = wrqu->bitrate.value; wrqu 9141 drivers/net/wireless/intel/ipw2x00/ipw2200.c fixed = wrqu->bitrate.fixed; wrqu 9235 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9239 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->bitrate.value = priv->last_rate; wrqu 9240 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->bitrate.fixed = (priv->config & CFG_FIXED_RATE) ? 1 : 0; wrqu 9242 drivers/net/wireless/intel/ipw2x00/ipw2200.c IPW_DEBUG_WX("GET Rate -> %d\n", wrqu->bitrate.value); wrqu 9248 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9252 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->rts.disabled || !wrqu->rts.fixed) wrqu 9255 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->rts.value < MIN_RTS_THRESHOLD || wrqu 9256 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->rts.value > MAX_RTS_THRESHOLD) { wrqu 9260 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->rts_threshold = wrqu->rts.value; wrqu 9271 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9275 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->rts.value = priv->rts_threshold; wrqu 9276 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->rts.fixed = 0; /* no auto select */ wrqu 9277 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD); wrqu 9279 drivers/net/wireless/intel/ipw2x00/ipw2200.c IPW_DEBUG_WX("GET RTS Threshold -> %d\n", wrqu->rts.value); wrqu 9285 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9291 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (ipw_radio_kill_sw(priv, wrqu->power.disabled)) { wrqu 9296 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!wrqu->power.fixed) wrqu 9297 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.value = IPW_TX_POWER_DEFAULT; wrqu 9299 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->power.flags != IW_TXPOW_DBM) { wrqu 9304 drivers/net/wireless/intel/ipw2x00/ipw2200.c if ((wrqu->power.value > IPW_TX_POWER_MAX) || wrqu 9305 drivers/net/wireless/intel/ipw2x00/ipw2200.c (wrqu->power.value < IPW_TX_POWER_MIN)) { wrqu 9310 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->tx_power = wrqu->power.value; wrqu 9319 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9323 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.value = priv->tx_power; wrqu 9324 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.fixed = 1; wrqu 9325 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.flags = IW_TXPOW_DBM; wrqu 9326 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.disabled = (priv->status & STATUS_RF_KILL_MASK) ? 1 : 0; wrqu 9330 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.disabled ? "OFF" : "ON", wrqu->power.value); wrqu 9337 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9341 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->frag.disabled || !wrqu->frag.fixed) wrqu 9344 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->frag.value < MIN_FRAG_THRESHOLD || wrqu 9345 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->frag.value > MAX_FRAG_THRESHOLD) { wrqu 9350 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->ieee->fts = wrqu->frag.value & ~0x1; wrqu 9353 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_send_frag_threshold(priv, wrqu->frag.value); wrqu 9355 drivers/net/wireless/intel/ipw2x00/ipw2200.c IPW_DEBUG_WX("SET Frag Threshold -> %d\n", wrqu->frag.value); wrqu 9361 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9365 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->frag.value = priv->ieee->fts; wrqu 9366 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->frag.fixed = 0; /* no auto select */ wrqu 9367 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->frag.disabled = (wrqu->frag.value == DEFAULT_FTS); wrqu 9369 drivers/net/wireless/intel/ipw2x00/ipw2200.c IPW_DEBUG_WX("GET Frag Threshold -> %d\n", wrqu->frag.value); wrqu 9376 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9380 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->retry.flags & IW_RETRY_LIFETIME || wrqu->retry.disabled) wrqu 9383 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!(wrqu->retry.flags & IW_RETRY_LIMIT)) wrqu 9386 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->retry.value < 0 || wrqu->retry.value >= 255) wrqu 9390 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->retry.flags & IW_RETRY_SHORT) wrqu 9391 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->short_retry_limit = (u8) wrqu->retry.value; wrqu 9392 drivers/net/wireless/intel/ipw2x00/ipw2200.c else if (wrqu->retry.flags & IW_RETRY_LONG) wrqu 9393 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->long_retry_limit = (u8) wrqu->retry.value; wrqu 9395 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->short_retry_limit = (u8) wrqu->retry.value; wrqu 9396 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->long_retry_limit = (u8) wrqu->retry.value; wrqu 9409 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9414 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->retry.disabled = 0; wrqu 9416 drivers/net/wireless/intel/ipw2x00/ipw2200.c if ((wrqu->retry.flags & IW_RETRY_TYPE) == IW_RETRY_LIFETIME) { wrqu 9421 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->retry.flags & IW_RETRY_LONG) { wrqu 9422 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_LONG; wrqu 9423 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->retry.value = priv->long_retry_limit; wrqu 9424 drivers/net/wireless/intel/ipw2x00/ipw2200.c } else if (wrqu->retry.flags & IW_RETRY_SHORT) { wrqu 9425 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_SHORT; wrqu 9426 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->retry.value = priv->short_retry_limit; wrqu 9428 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->retry.flags = IW_RETRY_LIMIT; wrqu 9429 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->retry.value = priv->short_retry_limit; wrqu 9433 drivers/net/wireless/intel/ipw2x00/ipw2200.c IPW_DEBUG_WX("GET retry -> %d\n", wrqu->retry.value); wrqu 9440 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9450 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->data.length == sizeof(struct iw_scan_req)) { wrqu 9451 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->data.flags & IW_SCAN_THIS_ESSID) { wrqu 9476 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9479 drivers/net/wireless/intel/ipw2x00/ipw2200.c return libipw_wx_get_scan(priv->ieee, info, wrqu, extra); wrqu 9484 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *key) wrqu 9491 drivers/net/wireless/intel/ipw2x00/ipw2200.c ret = libipw_wx_set_encode(priv->ieee, info, wrqu, key); wrqu 9506 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *key) wrqu 9509 drivers/net/wireless/intel/ipw2x00/ipw2200.c return libipw_wx_get_encode(priv->ieee, info, wrqu, key); wrqu 9514 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9519 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->power.disabled) { wrqu 9532 drivers/net/wireless/intel/ipw2x00/ipw2200.c switch (wrqu->power.flags & IW_POWER_MODE) { wrqu 9539 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.flags); wrqu 9565 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9570 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.disabled = 1; wrqu 9572 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.disabled = 0; wrqu 9582 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9608 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9633 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->data.length = p - extra + 1; wrqu 9640 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9705 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9739 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->data.length = strlen(extra) + 1; wrqu 9747 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9780 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9785 drivers/net/wireless/intel/ipw2x00/ipw2200.c snprintf(wrqu->name, IFNAMSIZ, "long (1)"); wrqu 9787 drivers/net/wireless/intel/ipw2x00/ipw2200.c snprintf(wrqu->name, IFNAMSIZ, "auto (0)"); wrqu 9795 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9829 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 9839 drivers/net/wireless/intel/ipw2x00/ipw2200.c union iwreq_data *wrqu, char *extra) wrqu 979 drivers/net/wireless/intel/ipw2x00/libipw.h union iwreq_data *wrqu, char *key); wrqu 981 drivers/net/wireless/intel/ipw2x00/libipw.h struct iw_request_info *info, union iwreq_data *wrqu, wrqu 984 drivers/net/wireless/intel/ipw2x00/libipw.h struct iw_request_info *info, union iwreq_data *wrqu, wrqu 988 drivers/net/wireless/intel/ipw2x00/libipw.h union iwreq_data *wrqu, char *extra); wrqu 991 drivers/net/wireless/intel/ipw2x00/libipw.h union iwreq_data *wrqu, char *extra); wrqu 252 drivers/net/wireless/intel/ipw2x00/libipw_wx.c union iwreq_data *wrqu, char *extra) wrqu 259 drivers/net/wireless/intel/ipw2x00/libipw_wx.c char *stop = ev + wrqu->data.length; wrqu 288 drivers/net/wireless/intel/ipw2x00/libipw_wx.c wrqu->data.length = ev - extra; wrqu 289 drivers/net/wireless/intel/ipw2x00/libipw_wx.c wrqu->data.flags = 0; wrqu 298 drivers/net/wireless/intel/ipw2x00/libipw_wx.c union iwreq_data *wrqu, char *keybuf) wrqu 300 drivers/net/wireless/intel/ipw2x00/libipw_wx.c struct iw_point *erq = &(wrqu->encoding); wrqu 464 drivers/net/wireless/intel/ipw2x00/libipw_wx.c union iwreq_data *wrqu, char *keybuf) wrqu 466 drivers/net/wireless/intel/ipw2x00/libipw_wx.c struct iw_point *erq = &(wrqu->encoding); wrqu 504 drivers/net/wireless/intel/ipw2x00/libipw_wx.c union iwreq_data *wrqu, char *extra) wrqu 507 drivers/net/wireless/intel/ipw2x00/libipw_wx.c struct iw_point *encoding = &wrqu->encoding; wrqu 665 drivers/net/wireless/intel/ipw2x00/libipw_wx.c union iwreq_data *wrqu, char *extra) wrqu 667 drivers/net/wireless/intel/ipw2x00/libipw_wx.c struct iw_point *encoding = &wrqu->encoding; wrqu 154 drivers/net/wireless/intersil/hostap/hostap_ap.c union iwreq_data wrqu; wrqu 155 drivers/net/wireless/intersil/hostap/hostap_ap.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 156 drivers/net/wireless/intersil/hostap/hostap_ap.c memcpy(wrqu.addr.sa_data, sta->addr, ETH_ALEN); wrqu 157 drivers/net/wireless/intersil/hostap/hostap_ap.c wrqu.addr.sa_family = ARPHRD_ETHER; wrqu 158 drivers/net/wireless/intersil/hostap/hostap_ap.c wireless_send_event(dev, IWEVREGISTERED, &wrqu, NULL); wrqu 165 drivers/net/wireless/intersil/hostap/hostap_ap.c union iwreq_data wrqu; wrqu 166 drivers/net/wireless/intersil/hostap/hostap_ap.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 167 drivers/net/wireless/intersil/hostap/hostap_ap.c memcpy(wrqu.addr.sa_data, sta->addr, ETH_ALEN); wrqu 168 drivers/net/wireless/intersil/hostap/hostap_ap.c wrqu.addr.sa_family = ARPHRD_ETHER; wrqu 169 drivers/net/wireless/intersil/hostap/hostap_ap.c wireless_send_event(dev, IWEVEXPIRED, &wrqu, NULL); wrqu 2339 drivers/net/wireless/intersil/hostap/hostap_hw.c union iwreq_data wrqu; wrqu 2342 drivers/net/wireless/intersil/hostap/hostap_hw.c memcpy(wrqu.addr.sa_data, txdesc.addr1, ETH_ALEN); wrqu 2343 drivers/net/wireless/intersil/hostap/hostap_hw.c wrqu.addr.sa_family = ARPHRD_ETHER; wrqu 2344 drivers/net/wireless/intersil/hostap/hostap_hw.c wireless_send_event(dev, IWEVTXDROP, &wrqu, NULL); wrqu 3349 drivers/net/wireless/intersil/hostap/hostap_hw.c union iwreq_data wrqu; wrqu 3356 drivers/net/wireless/intersil/hostap/hostap_hw.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 3357 drivers/net/wireless/intersil/hostap/hostap_hw.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 3358 drivers/net/wireless/intersil/hostap/hostap_hw.c wireless_send_event(local->dev, SIOCGIWAP, &wrqu, NULL); wrqu 238 drivers/net/wireless/intersil/hostap/hostap_info.c union iwreq_data wrqu; wrqu 242 drivers/net/wireless/intersil/hostap/hostap_info.c wrqu.data.length = 0; wrqu 243 drivers/net/wireless/intersil/hostap/hostap_info.c wrqu.data.flags = 0; wrqu 244 drivers/net/wireless/intersil/hostap/hostap_info.c wireless_send_event(local->dev, SIOCGIWSCAN, &wrqu, NULL); wrqu 420 drivers/net/wireless/intersil/hostap/hostap_info.c union iwreq_data wrqu; wrqu 443 drivers/net/wireless/intersil/hostap/hostap_info.c memcpy(wrqu.ap_addr.sa_data, local->bssid, ETH_ALEN); wrqu 447 drivers/net/wireless/intersil/hostap/hostap_info.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 449 drivers/net/wireless/intersil/hostap/hostap_info.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 458 drivers/net/wireless/intersil/hostap/hostap_info.c wireless_send_event(local->dev, SIOCGIWAP, &wrqu, NULL); wrqu 2318 drivers/net/wireless/intersil/hostap/hostap_ioctl.c void *wrqu, char *extra) wrqu 2669 drivers/net/wireless/intersil/hostap/hostap_ioctl.c void *wrqu, char *extra) wrqu 2856 drivers/net/wireless/intersil/hostap/hostap_ioctl.c void *wrqu, char *extra) wrqu 2877 drivers/net/wireless/intersil/hostap/hostap_ioctl.c void *wrqu, char *extra) wrqu 1062 drivers/net/wireless/intersil/hostap/hostap_main.c union iwreq_data wrqu; wrqu 1073 drivers/net/wireless/intersil/hostap/hostap_main.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 1074 drivers/net/wireless/intersil/hostap/hostap_main.c wireless_send_event(local->dev, SIOCGIWAP, &wrqu, NULL); wrqu 630 drivers/net/wireless/intersil/orinoco/main.c union iwreq_data wrqu; wrqu 640 drivers/net/wireless/intersil/orinoco/main.c memcpy(wrqu.addr.sa_data, hdr.addr1, ETH_ALEN); wrqu 641 drivers/net/wireless/intersil/orinoco/main.c wrqu.addr.sa_family = ARPHRD_ETHER; wrqu 644 drivers/net/wireless/intersil/orinoco/main.c wireless_send_event(dev, IWEVTXDROP, &wrqu, NULL); wrqu 990 drivers/net/wireless/intersil/orinoco/main.c union iwreq_data wrqu; wrqu 1011 drivers/net/wireless/intersil/orinoco/main.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 1012 drivers/net/wireless/intersil/orinoco/main.c wrqu.data.length = sizeof(wxmic); wrqu 1013 drivers/net/wireless/intersil/orinoco/main.c wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, wrqu 1221 drivers/net/wireless/intersil/orinoco/main.c union iwreq_data wrqu; wrqu 1225 drivers/net/wireless/intersil/orinoco/main.c ETH_ALEN, NULL, wrqu.ap_addr.sa_data); wrqu 1229 drivers/net/wireless/intersil/orinoco/main.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 1232 drivers/net/wireless/intersil/orinoco/main.c wireless_send_event(dev, SIOCGIWAP, &wrqu, NULL); wrqu 1239 drivers/net/wireless/intersil/orinoco/main.c union iwreq_data wrqu; wrqu 1255 drivers/net/wireless/intersil/orinoco/main.c wrqu.data.length = ie[1] + 2; wrqu 1256 drivers/net/wireless/intersil/orinoco/main.c if (wrqu.data.length > rem) wrqu 1257 drivers/net/wireless/intersil/orinoco/main.c wrqu.data.length = rem; wrqu 1259 drivers/net/wireless/intersil/orinoco/main.c if (wrqu.data.length) wrqu 1261 drivers/net/wireless/intersil/orinoco/main.c wireless_send_event(dev, IWEVASSOCREQIE, &wrqu, ie); wrqu 1269 drivers/net/wireless/intersil/orinoco/main.c union iwreq_data wrqu; wrqu 1286 drivers/net/wireless/intersil/orinoco/main.c wrqu.data.length = ie[1] + 2; wrqu 1287 drivers/net/wireless/intersil/orinoco/main.c if (wrqu.data.length > rem) wrqu 1288 drivers/net/wireless/intersil/orinoco/main.c wrqu.data.length = rem; wrqu 1290 drivers/net/wireless/intersil/orinoco/main.c if (wrqu.data.length) wrqu 1292 drivers/net/wireless/intersil/orinoco/main.c wireless_send_event(dev, IWEVASSOCRESPIE, &wrqu, ie); wrqu 721 drivers/net/wireless/intersil/orinoco/wext.c union iwreq_data *wrqu, wrqu 725 drivers/net/wireless/intersil/orinoco/wext.c struct iw_point *encoding = &wrqu->encoding; wrqu 815 drivers/net/wireless/intersil/orinoco/wext.c union iwreq_data *wrqu, wrqu 819 drivers/net/wireless/intersil/orinoco/wext.c struct iw_point *encoding = &wrqu->encoding; wrqu 873 drivers/net/wireless/intersil/orinoco/wext.c union iwreq_data *wrqu, char *extra) wrqu 877 drivers/net/wireless/intersil/orinoco/wext.c struct iw_param *param = &wrqu->param; wrqu 959 drivers/net/wireless/intersil/orinoco/wext.c union iwreq_data *wrqu, char *extra) wrqu 962 drivers/net/wireless/intersil/orinoco/wext.c struct iw_param *param = &wrqu->param; wrqu 999 drivers/net/wireless/intersil/orinoco/wext.c union iwreq_data *wrqu, char *extra) wrqu 1006 drivers/net/wireless/intersil/orinoco/wext.c if ((wrqu->data.length > IEEE80211_MAX_DATA_LEN) || wrqu 1007 drivers/net/wireless/intersil/orinoco/wext.c (wrqu->data.length && (extra == NULL))) wrqu 1010 drivers/net/wireless/intersil/orinoco/wext.c if (wrqu->data.length) { wrqu 1011 drivers/net/wireless/intersil/orinoco/wext.c buf = kmemdup(extra, wrqu->data.length, GFP_KERNEL); wrqu 1024 drivers/net/wireless/intersil/orinoco/wext.c priv->wpa_ie_len = wrqu->data.length; wrqu 1040 drivers/net/wireless/intersil/orinoco/wext.c union iwreq_data *wrqu, char *extra) wrqu 1050 drivers/net/wireless/intersil/orinoco/wext.c wrqu->data.length = 0; wrqu 1054 drivers/net/wireless/intersil/orinoco/wext.c if (wrqu->data.length < priv->wpa_ie_len) { wrqu 1059 drivers/net/wireless/intersil/orinoco/wext.c wrqu->data.length = priv->wpa_ie_len; wrqu 1069 drivers/net/wireless/intersil/orinoco/wext.c union iwreq_data *wrqu, char *extra) wrqu 1100 drivers/net/wireless/intersil/orinoco/wext.c void *wrqu, wrqu 1124 drivers/net/wireless/intersil/orinoco/wext.c void *wrqu, wrqu 1146 drivers/net/wireless/intersil/orinoco/wext.c void *wrqu, wrqu 1158 drivers/net/wireless/intersil/orinoco/wext.c void *wrqu, wrqu 1204 drivers/net/wireless/intersil/orinoco/wext.c void *wrqu, wrqu 1216 drivers/net/wireless/intersil/orinoco/wext.c void *wrqu, wrqu 1248 drivers/net/wireless/intersil/orinoco/wext.c void *wrqu, wrqu 1306 drivers/net/wireless/intersil/orinoco/wext.c void *wrqu, wrqu 1322 drivers/net/wireless/intersil/prism54/isl_ioctl.c union iwreq_data *wrqu, char *extra) wrqu 1325 drivers/net/wireless/intersil/prism54/isl_ioctl.c struct iw_param *param = &wrqu->param; wrqu 1449 drivers/net/wireless/intersil/prism54/isl_ioctl.c union iwreq_data *wrqu, char *extra) wrqu 1452 drivers/net/wireless/intersil/prism54/isl_ioctl.c struct iw_param *param = &wrqu->param; wrqu 1539 drivers/net/wireless/intersil/prism54/isl_ioctl.c union iwreq_data *wrqu, wrqu 1543 drivers/net/wireless/intersil/prism54/isl_ioctl.c struct iw_point *encoding = &wrqu->encoding; wrqu 1648 drivers/net/wireless/intersil/prism54/isl_ioctl.c union iwreq_data *wrqu, wrqu 1652 drivers/net/wireless/intersil/prism54/isl_ioctl.c struct iw_point *encoding = &wrqu->encoding; wrqu 1693 drivers/net/wireless/intersil/prism54/isl_ioctl.c wrqu->encoding.flags |= IW_ENCODE_RESTRICTED; wrqu 1697 drivers/net/wireless/intersil/prism54/isl_ioctl.c wrqu->encoding.flags |= IW_ENCODE_OPEN; wrqu 1709 drivers/net/wireless/intersil/prism54/isl_ioctl.c wrqu->encoding.flags |= IW_ENCODE_DISABLED; wrqu 1733 drivers/net/wireless/intersil/prism54/isl_ioctl.c wrqu->encoding.flags |= IW_ENCODE_ENABLED; wrqu 2048 drivers/net/wireless/intersil/prism54/isl_ioctl.c union iwreq_data wrqu; wrqu 2054 drivers/net/wireless/intersil/prism54/isl_ioctl.c wrqu.data.pointer = memptr; wrqu 2055 drivers/net/wireless/intersil/prism54/isl_ioctl.c wrqu.data.length = 0; wrqu 2056 drivers/net/wireless/intersil/prism54/isl_ioctl.c format_event(priv, memptr, str, mlme, &wrqu.data.length, wrqu 2058 drivers/net/wireless/intersil/prism54/isl_ioctl.c wireless_send_event(priv->ndev, IWEVCUSTOM, &wrqu, memptr); wrqu 2065 drivers/net/wireless/intersil/prism54/isl_ioctl.c union iwreq_data wrqu; wrqu 2073 drivers/net/wireless/intersil/prism54/isl_ioctl.c wrqu.data.pointer = memptr; wrqu 2074 drivers/net/wireless/intersil/prism54/isl_ioctl.c wrqu.data.length = n; wrqu 2076 drivers/net/wireless/intersil/prism54/isl_ioctl.c wireless_send_event(priv->ndev, IWEVCUSTOM, &wrqu, memptr); wrqu 1015 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1017 drivers/net/wireless/ray_cs.c strcpy(wrqu->name, "IEEE 802.11-FH"); wrqu 1026 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1036 drivers/net/wireless/ray_cs.c if ((wrqu->freq.m > USA_HOP_MOD) || (wrqu->freq.e > 0)) wrqu 1039 drivers/net/wireless/ray_cs.c local->sparm.b5.a_hop_pattern = wrqu->freq.m; wrqu 1049 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1053 drivers/net/wireless/ray_cs.c wrqu->freq.m = local->sparm.b5.a_hop_pattern; wrqu 1054 drivers/net/wireless/ray_cs.c wrqu->freq.e = 0; wrqu 1063 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1072 drivers/net/wireless/ray_cs.c if (wrqu->essid.flags == 0) wrqu 1077 drivers/net/wireless/ray_cs.c if (wrqu->essid.length > IW_ESSID_MAX_SIZE) wrqu 1082 drivers/net/wireless/ray_cs.c memcpy(local->sparm.b5.a_current_ess_id, extra, wrqu->essid.length); wrqu 1092 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1103 drivers/net/wireless/ray_cs.c wrqu->essid.length = strlen(tmp); wrqu 1104 drivers/net/wireless/ray_cs.c wrqu->essid.flags = 1; /* active */ wrqu 1114 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1118 drivers/net/wireless/ray_cs.c memcpy(wrqu->ap_addr.sa_data, local->bss_id, ETH_ALEN); wrqu 1119 drivers/net/wireless/ray_cs.c wrqu->ap_addr.sa_family = ARPHRD_ETHER; wrqu 1129 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1138 drivers/net/wireless/ray_cs.c if ((wrqu->bitrate.value != 1000000) && (wrqu->bitrate.value != 2000000)) wrqu 1143 drivers/net/wireless/ray_cs.c (wrqu->bitrate.value == 2000000)) wrqu 1146 drivers/net/wireless/ray_cs.c local->net_default_tx_rate = wrqu->bitrate.value / 500000; wrqu 1156 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1161 drivers/net/wireless/ray_cs.c wrqu->bitrate.value = 2000000; /* Hum... */ wrqu 1163 drivers/net/wireless/ray_cs.c wrqu->bitrate.value = local->net_default_tx_rate * 500000; wrqu 1164 drivers/net/wireless/ray_cs.c wrqu->bitrate.fixed = 0; /* We are in auto mode */ wrqu 1174 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1177 drivers/net/wireless/ray_cs.c int rthr = wrqu->rts.value; wrqu 1184 drivers/net/wireless/ray_cs.c if (wrqu->rts.disabled) wrqu 1201 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1205 drivers/net/wireless/ray_cs.c wrqu->rts.value = (local->sparm.b5.a_rts_threshold[0] << 8) wrqu 1207 drivers/net/wireless/ray_cs.c wrqu->rts.disabled = (wrqu->rts.value == 32767); wrqu 1208 drivers/net/wireless/ray_cs.c wrqu->rts.fixed = 1; wrqu 1218 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1221 drivers/net/wireless/ray_cs.c int fthr = wrqu->frag.value; wrqu 1228 drivers/net/wireless/ray_cs.c if (wrqu->frag.disabled) wrqu 1245 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1249 drivers/net/wireless/ray_cs.c wrqu->frag.value = (local->sparm.b5.a_frag_threshold[0] << 8) wrqu 1251 drivers/net/wireless/ray_cs.c wrqu->frag.disabled = (wrqu->frag.value == 32767); wrqu 1252 drivers/net/wireless/ray_cs.c wrqu->frag.fixed = 1; wrqu 1262 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1272 drivers/net/wireless/ray_cs.c switch (wrqu->mode) { wrqu 1291 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1296 drivers/net/wireless/ray_cs.c wrqu->mode = IW_MODE_INFRA; wrqu 1298 drivers/net/wireless/ray_cs.c wrqu->mode = IW_MODE_ADHOC; wrqu 1308 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1315 drivers/net/wireless/ray_cs.c wrqu->data.length = sizeof(struct iw_range); wrqu 1339 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1351 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1363 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1375 drivers/net/wireless/ray_cs.c union iwreq_data *wrqu, char *extra) wrqu 1440 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1442 drivers/net/wireless/wl3501_cs.c strlcpy(wrqu->name, "IEEE 802.11-DS", sizeof(wrqu->name)); wrqu 1447 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1450 drivers/net/wireless/wl3501_cs.c int channel = wrqu->freq.m; wrqu 1461 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1465 drivers/net/wireless/wl3501_cs.c wrqu->freq.m = 100000 * wrqu 1467 drivers/net/wireless/wl3501_cs.c wrqu->freq.e = 1; wrqu 1472 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1476 drivers/net/wireless/wl3501_cs.c if (wrqu->mode == IW_MODE_INFRA || wrqu 1477 drivers/net/wireless/wl3501_cs.c wrqu->mode == IW_MODE_ADHOC || wrqu 1478 drivers/net/wireless/wl3501_cs.c wrqu->mode == IW_MODE_AUTO) { wrqu 1481 drivers/net/wireless/wl3501_cs.c this->net_type = wrqu->mode; wrqu 1488 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1492 drivers/net/wireless/wl3501_cs.c wrqu->mode = this->net_type; wrqu 1497 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1501 drivers/net/wireless/wl3501_cs.c wrqu->sens.value = this->rssi; wrqu 1502 drivers/net/wireless/wl3501_cs.c wrqu->sens.disabled = !wrqu->sens.value; wrqu 1503 drivers/net/wireless/wl3501_cs.c wrqu->sens.fixed = 1; wrqu 1509 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1514 drivers/net/wireless/wl3501_cs.c wrqu->data.length = sizeof(*range); wrqu 1528 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1534 drivers/net/wireless/wl3501_cs.c if (wrqu->ap_addr.sa_family != ARPHRD_ETHER) wrqu 1536 drivers/net/wireless/wl3501_cs.c if (is_broadcast_ether_addr(wrqu->ap_addr.sa_data)) { wrqu 1539 drivers/net/wireless/wl3501_cs.c memcpy(this->bssid, wrqu->ap_addr.sa_data, ETH_ALEN); wrqu 1547 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1551 drivers/net/wireless/wl3501_cs.c wrqu->ap_addr.sa_family = ARPHRD_ETHER; wrqu 1552 drivers/net/wireless/wl3501_cs.c memcpy(wrqu->ap_addr.sa_data, this->bssid, ETH_ALEN); wrqu 1557 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1566 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1609 drivers/net/wireless/wl3501_cs.c wrqu->data.length = (current_ev - extra); wrqu 1610 drivers/net/wireless/wl3501_cs.c wrqu->data.flags = 0; /* FIXME: set properly these flags */ wrqu 1616 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1620 drivers/net/wireless/wl3501_cs.c if (wrqu->data.flags) { wrqu 1623 drivers/net/wireless/wl3501_cs.c extra, wrqu->data.length); wrqu 1633 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1639 drivers/net/wireless/wl3501_cs.c wrqu->essid.flags = 1; wrqu 1640 drivers/net/wireless/wl3501_cs.c wrqu->essid.length = this->essid.el.len; wrqu 1647 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1651 drivers/net/wireless/wl3501_cs.c if (wrqu->data.length > sizeof(this->nick)) wrqu 1653 drivers/net/wireless/wl3501_cs.c strlcpy(this->nick, extra, wrqu->data.length); wrqu 1658 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1663 drivers/net/wireless/wl3501_cs.c wrqu->data.length = strlen(extra); wrqu 1668 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1675 drivers/net/wireless/wl3501_cs.c wrqu->bitrate.value = 2000000; wrqu 1676 drivers/net/wireless/wl3501_cs.c wrqu->bitrate.fixed = 1; wrqu 1682 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1689 drivers/net/wireless/wl3501_cs.c wrqu->rts.value = threshold; wrqu 1690 drivers/net/wireless/wl3501_cs.c wrqu->rts.disabled = threshold >= 2347; wrqu 1691 drivers/net/wireless/wl3501_cs.c wrqu->rts.fixed = 1; wrqu 1698 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1705 drivers/net/wireless/wl3501_cs.c wrqu->frag.value = threshold; wrqu 1706 drivers/net/wireless/wl3501_cs.c wrqu->frag.disabled = threshold >= 2346; wrqu 1707 drivers/net/wireless/wl3501_cs.c wrqu->frag.fixed = 1; wrqu 1714 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1722 drivers/net/wireless/wl3501_cs.c wrqu->txpower.value = txpow; wrqu 1723 drivers/net/wireless/wl3501_cs.c wrqu->txpower.disabled = 0; wrqu 1728 drivers/net/wireless/wl3501_cs.c wrqu->txpower.fixed = 0; wrqu 1729 drivers/net/wireless/wl3501_cs.c wrqu->txpower.flags = IW_TXPOW_MWATT; wrqu 1736 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1745 drivers/net/wireless/wl3501_cs.c if (wrqu->retry.flags & IW_RETRY_LONG) { wrqu 1746 drivers/net/wireless/wl3501_cs.c wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_LONG; wrqu 1753 drivers/net/wireless/wl3501_cs.c wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_SHORT; wrqu 1755 drivers/net/wireless/wl3501_cs.c wrqu->retry.value = retry; wrqu 1756 drivers/net/wireless/wl3501_cs.c wrqu->retry.disabled = 0; wrqu 1763 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1773 drivers/net/wireless/wl3501_cs.c wrqu->encoding.flags = IW_ENCODE_DISABLED; wrqu 1780 drivers/net/wireless/wl3501_cs.c wrqu->encoding.flags = restricted ? IW_ENCODE_RESTRICTED : wrqu 1790 drivers/net/wireless/wl3501_cs.c tocopy = min_t(u16, len_keys, wrqu->encoding.length); wrqu 1792 drivers/net/wireless/wl3501_cs.c wrqu->encoding.length = tocopy; wrqu 1800 drivers/net/wireless/wl3501_cs.c union iwreq_data *wrqu, char *extra) wrqu 1809 drivers/net/wireless/wl3501_cs.c wrqu->power.disabled = !pwr_state; wrqu 1810 drivers/net/wireless/wl3501_cs.c wrqu->power.flags = IW_POWER_ON; wrqu 258 drivers/net/wireless/zydas/zd1201.c union iwreq_data wrqu; wrqu 271 drivers/net/wireless/zydas/zd1201.c memcpy(wrqu.addr.sa_data, data+10, ETH_ALEN); wrqu 272 drivers/net/wireless/zydas/zd1201.c wrqu.addr.sa_family = ARPHRD_ETHER; wrqu 275 drivers/net/wireless/zydas/zd1201.c wireless_send_event(zd->dev, event, &wrqu, NULL); wrqu 280 drivers/net/wireless/zydas/zd1201.c union iwreq_data wrqu; wrqu 282 drivers/net/wireless/zydas/zd1201.c memcpy(wrqu.addr.sa_data, data+8, ETH_ALEN); wrqu 283 drivers/net/wireless/zydas/zd1201.c wrqu.addr.sa_family = ARPHRD_ETHER; wrqu 288 drivers/net/wireless/zydas/zd1201.c wireless_send_event(zd->dev, IWEVEXPIRED, &wrqu, NULL); wrqu 105 drivers/staging/ks7010/ks_hostif.c union iwreq_data wrqu; wrqu 153 drivers/staging/ks7010/ks_hostif.c wrqu.data.length = 0; wrqu 154 drivers/staging/ks7010/ks_hostif.c wrqu.data.flags = 0; wrqu 155 drivers/staging/ks7010/ks_hostif.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 157 drivers/staging/ks7010/ks_hostif.c ether_addr_copy(wrqu.ap_addr.sa_data, priv->current_ap.bssid); wrqu 160 drivers/staging/ks7010/ks_hostif.c wrqu.ap_addr.sa_data); wrqu 161 drivers/staging/ks7010/ks_hostif.c wireless_send_event(netdev, SIOCGIWAP, &wrqu, NULL); wrqu 345 drivers/staging/ks7010/ks_hostif.c union iwreq_data wrqu; wrqu 406 drivers/staging/ks7010/ks_hostif.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 407 drivers/staging/ks7010/ks_hostif.c wrqu.data.length = strlen(buf); wrqu 408 drivers/staging/ks7010/ks_hostif.c wireless_send_event(priv->net_dev, IWEVCUSTOM, &wrqu, wrqu 707 drivers/staging/ks7010/ks_hostif.c union iwreq_data wrqu; wrqu 709 drivers/staging/ks7010/ks_hostif.c wrqu.data.length = 0; wrqu 710 drivers/staging/ks7010/ks_hostif.c wrqu.data.flags = 0; wrqu 711 drivers/staging/ks7010/ks_hostif.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 713 drivers/staging/ks7010/ks_hostif.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 714 drivers/staging/ks7010/ks_hostif.c wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); wrqu 874 drivers/staging/ks7010/ks_hostif.c union iwreq_data wrqu; wrqu 886 drivers/staging/ks7010/ks_hostif.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 888 drivers/staging/ks7010/ks_hostif.c wrqu.data.length += sizeof(associnfo_leader0) - 1; wrqu 893 drivers/staging/ks7010/ks_hostif.c wrqu.data.length += (le16_to_cpu(assoc_req->req_ies_size)) * 2; wrqu 896 drivers/staging/ks7010/ks_hostif.c wrqu.data.length += sizeof(associnfo_leader1) - 1; wrqu 902 drivers/staging/ks7010/ks_hostif.c wrqu.data.length += (le16_to_cpu(assoc_resp->resp_ies_size)) * 2; wrqu 905 drivers/staging/ks7010/ks_hostif.c wrqu.data.length += 1; wrqu 907 drivers/staging/ks7010/ks_hostif.c wireless_send_event(priv->net_dev, IWEVCUSTOM, &wrqu, buf); wrqu 915 drivers/staging/ks7010/ks_hostif.c union iwreq_data wrqu; wrqu 924 drivers/staging/ks7010/ks_hostif.c wrqu.data.length = 0; wrqu 925 drivers/staging/ks7010/ks_hostif.c wrqu.data.flags = 0; wrqu 926 drivers/staging/ks7010/ks_hostif.c wireless_send_event(dev, SIOCGIWSCAN, &wrqu, NULL); wrqu 1119 drivers/staging/ks7010/ks_wlan_net.c union iwreq_data *wrqu, char *extra) wrqu 1129 drivers/staging/ks7010/ks_wlan_net.c if (wrqu->data.length == sizeof(struct iw_scan_req) && wrqu 1130 drivers/staging/ks7010/ks_wlan_net.c wrqu->data.flags & IW_SCAN_THIS_ESSID) { wrqu 57 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data wrqu; wrqu 59 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memset(&wrqu, 0, sizeof(union iwreq_data)); wrqu 60 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wireless_send_event(padapter->pnetdev, SIOCGIWSCAN, &wrqu, NULL); wrqu 65 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data wrqu; wrqu 68 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memset(&wrqu, 0, sizeof(union iwreq_data)); wrqu 70 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 72 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); wrqu 75 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); wrqu 80 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data wrqu; wrqu 82 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memset(&wrqu, 0, sizeof(union iwreq_data)); wrqu 84 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 85 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 88 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); wrqu 625 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 647 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11bn"); wrqu 649 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11b"); wrqu 652 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11bgn"); wrqu 654 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11bg"); wrqu 658 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11an"); wrqu 660 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11a"); wrqu 663 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11gn"); wrqu 665 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11g"); wrqu 669 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "unassociated"); wrqu 676 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 684 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 692 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->freq.m = rtw_ch2freq(pcur_bss->Configuration.DSConfig) * 100000; wrqu 693 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->freq.e = 1; wrqu 694 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->freq.i = pcur_bss->Configuration.DSConfig; wrqu 696 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->freq.m = rtw_ch2freq(padapter->mlmeextpriv.cur_channel) * 100000; wrqu 697 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->freq.e = 1; wrqu 698 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->freq.i = padapter->mlmeextpriv.cur_channel; wrqu 705 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *b) wrqu 721 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c switch (wrqu->mode) { wrqu 740 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c RT_TRACE(_module_rtl871x_ioctl_os_c, _drv_err_, ("\n Mode: %s is not supported\n", iw_operation_mode[wrqu->mode])); wrqu 753 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *b) wrqu 761 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->mode = IW_MODE_INFRA; wrqu 764 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->mode = IW_MODE_ADHOC; wrqu 766 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->mode = IW_MODE_MASTER; wrqu 768 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->mode = IW_MODE_AUTO; wrqu 775 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 842 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 844 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->sens.value = 0; wrqu 845 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->sens.fixed = 0; /* no auto select */ wrqu 846 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->sens.disabled = 1; wrqu 852 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 863 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->data.length = sizeof(*range); wrqu 1018 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1024 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->ap_addr.sa_family = ARPHRD_ETHER; wrqu 1026 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c eth_zero_addr(wrqu->ap_addr.sa_data); wrqu 1033 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(wrqu->ap_addr.sa_data, pcur_bss->MacAddress, ETH_ALEN); wrqu 1035 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c eth_zero_addr(wrqu->ap_addr.sa_data); wrqu 1041 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1073 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1123 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (wrqu->data.length == sizeof(struct iw_scan_req)) { wrqu 1126 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (wrqu->data.flags & IW_SCAN_THIS_ESSID) { wrqu 1144 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (wrqu->data.length >= WEXT_CSCAN_HEADER_SIZE && wrqu 1146 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c int len = wrqu->data.length - WEXT_CSCAN_HEADER_SIZE; wrqu 1203 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1211 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c char *stop = ev + wrqu->data.length; wrqu 1258 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->data.length = ev-extra; wrqu 1259 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->data.flags = 0; wrqu 1272 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1297 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (wrqu->essid.length > IW_ESSID_MAX_SIZE) { wrqu 1309 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (wrqu->essid.flags && wrqu->essid.length) { wrqu 1310 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c len = min_t(uint, wrqu->essid.length, IW_ESSID_MAX_SIZE); wrqu 1312 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (wrqu->essid.length != 33) wrqu 1313 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("ssid =%s, len =%d\n", extra, wrqu->essid.length); wrqu 1373 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1390 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->essid.length = len; wrqu 1391 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->essid.flags = 1; wrqu 1398 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1402 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c u32 target_rate = wrqu->bitrate.value; wrqu 1403 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c u32 fixed = wrqu->bitrate.fixed; wrqu 1477 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1486 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->bitrate.fixed = 0; /* no auto select */ wrqu 1487 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->bitrate.value = max_rate * 100000; wrqu 1494 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1498 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (wrqu->rts.disabled) { wrqu 1501 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (wrqu->rts.value < 0 || wrqu 1502 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->rts.value > 2347) wrqu 1505 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->registrypriv.rts_thresh = wrqu->rts.value; wrqu 1515 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1521 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->rts.value = padapter->registrypriv.rts_thresh; wrqu 1522 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->rts.fixed = 0; /* no auto select */ wrqu 1530 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1534 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (wrqu->frag.disabled) { wrqu 1537 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (wrqu->frag.value < MIN_FRAG_THRESHOLD || wrqu 1538 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->frag.value > MAX_FRAG_THRESHOLD) wrqu 1541 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->xmitpriv.frag_len = wrqu->frag.value & ~0x1; wrqu 1551 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1557 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->frag.value = padapter->xmitpriv.frag_len; wrqu 1558 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->frag.fixed = 0; /* no auto select */ wrqu 1565 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1567 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->retry.value = 7; wrqu 1568 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->retry.fixed = 0; /* no auto select */ wrqu 1569 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->retry.disabled = 1; wrqu 1576 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *keybuf) wrqu 1583 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct iw_point *erq = &(wrqu->encoding); wrqu 1690 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *keybuf) wrqu 1694 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct iw_point *erq = &(wrqu->encoding); wrqu 1755 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1757 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->power.value = 0; wrqu 1758 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->power.fixed = 0; /* no auto select */ wrqu 1759 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->power.disabled = 1; wrqu 1766 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1770 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c return rtw_set_wpa_ie(padapter, extra, wrqu->data.length); wrqu 1775 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1778 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct iw_param *param = (struct iw_param *)&(wrqu->param); wrqu 1858 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1863 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct iw_point *pencoding = &wrqu->encoding; wrqu 1928 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1931 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->data.length = 14; wrqu 1932 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->data.flags = 1; wrqu 1941 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *b) wrqu 88 drivers/staging/rtl8188eu/os_dep/mlme_linux.c union iwreq_data wrqu; wrqu 107 drivers/staging/rtl8188eu/os_dep/mlme_linux.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 108 drivers/staging/rtl8188eu/os_dep/mlme_linux.c wrqu.data.length = min_t(__u16, p - buff, IW_CUSTOM_MAX); wrqu 109 drivers/staging/rtl8188eu/os_dep/mlme_linux.c wireless_send_event(adapter->pnetdev, IWEVCUSTOM, &wrqu, buff); wrqu 131 drivers/staging/rtl8188eu/os_dep/mlme_linux.c union iwreq_data wrqu; wrqu 143 drivers/staging/rtl8188eu/os_dep/mlme_linux.c wrqu.addr.sa_family = ARPHRD_ETHER; wrqu 145 drivers/staging/rtl8188eu/os_dep/mlme_linux.c memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); wrqu 149 drivers/staging/rtl8188eu/os_dep/mlme_linux.c wireless_send_event(padapter->pnetdev, IWEVREGISTERED, &wrqu, NULL); wrqu 154 drivers/staging/rtl8188eu/os_dep/mlme_linux.c union iwreq_data wrqu; wrqu 166 drivers/staging/rtl8188eu/os_dep/mlme_linux.c wrqu.addr.sa_family = ARPHRD_ETHER; wrqu 168 drivers/staging/rtl8188eu/os_dep/mlme_linux.c memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); wrqu 172 drivers/staging/rtl8188eu/os_dep/mlme_linux.c wireless_send_event(padapter->pnetdev, IWEVEXPIRED, &wrqu, NULL); wrqu 30 drivers/staging/rtl8188eu/os_dep/recv_linux.c union iwreq_data wrqu; wrqu 58 drivers/staging/rtl8188eu/os_dep/recv_linux.c memset(&wrqu, 0x00, sizeof(wrqu)); wrqu 59 drivers/staging/rtl8188eu/os_dep/recv_linux.c wrqu.data.length = sizeof(ev); wrqu 61 drivers/staging/rtl8188eu/os_dep/recv_linux.c &wrqu, (char *)&ev); wrqu 23 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *b) wrqu 27 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c return rtllib_wx_get_freq(priv->rtllib, a, wrqu, b); wrqu 32 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *b) wrqu 36 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c return rtllib_wx_get_mode(priv->rtllib, a, wrqu, b); wrqu 41 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 45 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c return rtllib_wx_get_rate(priv->rtllib, info, wrqu, extra); wrqu 50 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 60 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_set_rate(priv->rtllib, info, wrqu, extra); wrqu 69 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 79 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_set_rts(priv->rtllib, info, wrqu, extra); wrqu 88 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 92 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c return rtllib_wx_get_rts(priv->rtllib, info, wrqu, extra); wrqu 97 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 109 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_set_power(priv->rtllib, info, wrqu, extra); wrqu 118 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 122 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c return rtllib_wx_get_power(priv->rtllib, info, wrqu, extra); wrqu 127 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 137 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_set_rawtx(priv->rtllib, info, wrqu, extra); wrqu 146 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 161 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 191 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, wrqu 210 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 226 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 245 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *b) wrqu 257 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (wrqu->mode == IW_MODE_ADHOC || wrqu->mode == IW_MODE_MONITOR || wrqu 277 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_set_mode(priv->rtllib, a, wrqu, b); wrqu 307 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 314 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->data.length = sizeof(*range); wrqu 378 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *b) wrqu 405 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (wrqu->data.flags & IW_SCAN_THIS_ESSID) { wrqu 458 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_set_scan(priv->rtllib, a, wrqu, b); wrqu 467 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *b) wrqu 480 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_get_scan(priv->rtllib, a, wrqu, b); wrqu 489 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *b) wrqu 501 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_set_essid(priv->rtllib, a, wrqu, b); wrqu 510 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *b) wrqu 517 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_get_essid(priv->rtllib, a, wrqu, b); wrqu 526 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 530 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (wrqu->data.length > IW_ESSID_MAX_SIZE) wrqu 533 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->data.length = min_t(size_t, wrqu->data.length, wrqu 536 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c memcpy(priv->nick, extra, wrqu->data.length); wrqu 543 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 548 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->data.length = strlen(priv->nick); wrqu 549 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c memcpy(extra, priv->nick, wrqu->data.length); wrqu 550 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->data.flags = 1; /* active */ wrqu 557 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *b) wrqu 567 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_set_freq(priv->rtllib, a, wrqu, b); wrqu 575 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 579 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c return rtllib_wx_get_name(priv->rtllib, info, wrqu, extra); wrqu 584 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 591 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (wrqu->frag.disabled) wrqu 594 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (wrqu->frag.value < MIN_FRAG_THRESHOLD || wrqu 595 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->frag.value > MAX_FRAG_THRESHOLD) wrqu 598 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c priv->rtllib->fts = wrqu->frag.value & ~0x1; wrqu 606 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 610 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->frag.value = priv->rtllib->fts; wrqu 611 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->frag.fixed = 0; /* no auto select */ wrqu 612 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->frag.disabled = (wrqu->frag.value == DEFAULT_FRAG_THRESHOLD); wrqu 638 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 642 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c return rtllib_wx_get_wap(priv->rtllib, info, wrqu, extra); wrqu 647 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *key) wrqu 651 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c return rtllib_wx_get_encode(priv->rtllib, info, wrqu, key); wrqu 656 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *key) wrqu 684 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_set_encode(priv->rtllib, info, wrqu, key); wrqu 687 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (wrqu->encoding.flags & IW_ENCODE_DISABLED) { wrqu 694 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (wrqu->encoding.length != 0) { wrqu 697 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (i == 1 && (4 * i + 1) == wrqu->encoding.length) wrqu 699 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (i == 3 && (4 * i + 1) == wrqu->encoding.length) wrqu 706 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c switch (wrqu->encoding.flags & IW_ENCODE_INDEX) { wrqu 725 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (wrqu->encoding.length == 0x5) { wrqu 730 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c else if (wrqu->encoding.length == 0xd) { wrqu 750 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *p) wrqu 767 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 777 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (wrqu->retry.flags & IW_RETRY_LIFETIME || wrqu 778 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->retry.disabled) { wrqu 782 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (!(wrqu->retry.flags & IW_RETRY_LIMIT)) { wrqu 787 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (wrqu->retry.value > R8192_MAX_RETRY) { wrqu 791 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (wrqu->retry.flags & IW_RETRY_MAX) wrqu 792 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c priv->retry_rts = wrqu->retry.value; wrqu 794 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c priv->retry_data = wrqu->retry.value; wrqu 805 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 809 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->retry.disabled = 0; /* can't be disabled */ wrqu 811 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if ((wrqu->retry.flags & IW_RETRY_TYPE) == wrqu 815 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (wrqu->retry.flags & IW_RETRY_MAX) { wrqu 816 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_MAX; wrqu 817 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->retry.value = priv->retry_rts; wrqu 819 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_MIN; wrqu 820 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->retry.value = priv->retry_data; wrqu 827 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 833 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->sens.value = priv->sens; wrqu 839 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 853 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (priv->rf_set_sens(dev, wrqu->sens.value) == 0) wrqu 854 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c priv->sens = wrqu->sens.value; wrqu 866 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 882 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_set_encode_ext(ieee, info, wrqu, extra); wrqu 888 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c struct iw_point *encoding = &wrqu->encoding; wrqu 963 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 973 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_set_mlme(priv->rtllib, info, wrqu, extra); wrqu 1020 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 1031 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c if (copy_from_user(info_buf, wrqu->data.pointer, sizeof(info_buf))) wrqu 1060 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c union iwreq_data *wrqu, char *extra) wrqu 1070 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c wrqu->data.length = strlen(extra) + 1; wrqu 1954 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *key); wrqu 1957 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *key); wrqu 1960 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *key); wrqu 1963 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *extra); wrqu 1969 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *extra); wrqu 2022 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *ext); wrqu 2028 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *b); wrqu 2031 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *extra); wrqu 2034 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *extra); wrqu 2037 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *b); wrqu 2040 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *b); wrqu 2043 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *extra); wrqu 2046 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *b); wrqu 2049 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *b); wrqu 2052 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *b); wrqu 2057 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *extra); wrqu 2060 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *extra); wrqu 2064 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *extra); wrqu 2068 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *extra); wrqu 2071 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *extra); wrqu 2074 drivers/staging/rtl8192e/rtllib.h union iwreq_data *wrqu, char *extra); wrqu 589 drivers/staging/rtl8192e/rtllib_crypt_tkip.c union iwreq_data wrqu; wrqu 601 drivers/staging/rtl8192e/rtllib_crypt_tkip.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 602 drivers/staging/rtl8192e/rtllib_crypt_tkip.c wrqu.data.length = sizeof(ev); wrqu 603 drivers/staging/rtl8192e/rtllib_crypt_tkip.c wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, (char *) &ev); wrqu 506 drivers/staging/rtl8192e/rtllib_softmac.c union iwreq_data wrqu; wrqu 570 drivers/staging/rtl8192e/rtllib_softmac.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 571 drivers/staging/rtl8192e/rtllib_softmac.c wireless_send_event(ieee->dev, SIOCGIWSCAN, &wrqu, NULL); wrqu 3240 drivers/staging/rtl8192e/rtllib_softmac.c union iwreq_data wrqu; wrqu 3245 drivers/staging/rtl8192e/rtllib_softmac.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 3247 drivers/staging/rtl8192e/rtllib_softmac.c memcpy(wrqu.ap_addr.sa_data, ieee->current_network.bssid, wrqu 3253 drivers/staging/rtl8192e/rtllib_softmac.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 3255 drivers/staging/rtl8192e/rtllib_softmac.c wireless_send_event(ieee->dev, SIOCGIWAP, &wrqu, NULL); wrqu 30 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *b) wrqu 33 drivers/staging/rtl8192e/rtllib_softmac_wx.c struct iw_freq *fwrq = &wrqu->freq; wrqu 89 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *b) wrqu 91 drivers/staging/rtl8192e/rtllib_softmac_wx.c struct iw_freq *fwrq = &wrqu->freq; wrqu 104 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 108 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->ap_addr.sa_family = ARPHRD_ETHER; wrqu 120 drivers/staging/rtl8192e/rtllib_softmac_wx.c eth_zero_addr(wrqu->ap_addr.sa_data); wrqu 122 drivers/staging/rtl8192e/rtllib_softmac_wx.c memcpy(wrqu->ap_addr.sa_data, wrqu 191 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *b) wrqu 215 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->essid.length = len; wrqu 217 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->essid.flags = 1; wrqu 229 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 232 drivers/staging/rtl8192e/rtllib_softmac_wx.c u32 target_rate = wrqu->bitrate.value; wrqu 241 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 247 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->bitrate.value = tmp_rate * 500000; wrqu 256 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 258 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (wrqu->rts.disabled || !wrqu->rts.fixed) wrqu 261 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (wrqu->rts.value < MIN_RTS_THRESHOLD || wrqu 262 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->rts.value > MAX_RTS_THRESHOLD) wrqu 264 drivers/staging/rtl8192e/rtllib_softmac_wx.c ieee->rts = wrqu->rts.value; wrqu 272 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 274 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->rts.value = ieee->rts; wrqu 275 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->rts.fixed = 0; /* no auto select */ wrqu 276 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD); wrqu 282 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *b) wrqu 288 drivers/staging/rtl8192e/rtllib_softmac_wx.c switch (wrqu->mode) { wrqu 294 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->mode = IW_MODE_INFRA; wrqu 301 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (wrqu->mode == ieee->iw_mode) wrqu 304 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (wrqu->mode == IW_MODE_MONITOR) { wrqu 314 drivers/staging/rtl8192e/rtllib_softmac_wx.c ieee->iw_mode = wrqu->mode; wrqu 317 drivers/staging/rtl8192e/rtllib_softmac_wx.c ieee->iw_mode = wrqu->mode; wrqu 417 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *b) wrqu 442 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 454 drivers/staging/rtl8192e/rtllib_softmac_wx.c len = min_t(__u16, wrqu->essid.length, IW_ESSID_MAX_SIZE); wrqu 477 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (wrqu->essid.flags && wrqu->essid.length) { wrqu 498 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *b) wrqu 500 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->mode = ieee->iw_mode; wrqu 507 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 544 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 546 drivers/staging/rtl8192e/rtllib_softmac_wx.c strcpy(wrqu->name, "802.11"); wrqu 549 drivers/staging/rtl8192e/rtllib_softmac_wx.c strcat(wrqu->name, "b"); wrqu 551 drivers/staging/rtl8192e/rtllib_softmac_wx.c strcat(wrqu->name, "g"); wrqu 553 drivers/staging/rtl8192e/rtllib_softmac_wx.c strcat(wrqu->name, "n"); wrqu 562 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 577 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (wrqu->power.disabled) { wrqu 582 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (wrqu->power.flags & IW_POWER_TIMEOUT) { wrqu 583 drivers/staging/rtl8192e/rtllib_softmac_wx.c ieee->ps_timeout = wrqu->power.value / 1000; wrqu 588 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (wrqu->power.flags & IW_POWER_PERIOD) wrqu 589 drivers/staging/rtl8192e/rtllib_softmac_wx.c ieee->ps_period = wrqu->power.value / 1000; wrqu 591 drivers/staging/rtl8192e/rtllib_softmac_wx.c switch (wrqu->power.flags & IW_POWER_MODE) { wrqu 620 drivers/staging/rtl8192e/rtllib_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 625 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.disabled = 1; wrqu 629 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.disabled = 0; wrqu 631 drivers/staging/rtl8192e/rtllib_softmac_wx.c if ((wrqu->power.flags & IW_POWER_TYPE) == IW_POWER_TIMEOUT) { wrqu 632 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.flags = IW_POWER_TIMEOUT; wrqu 633 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.value = ieee->ps_timeout * 1000; wrqu 635 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.flags = IW_POWER_PERIOD; wrqu 636 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.value = ieee->ps_period * 1000; wrqu 641 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.flags |= IW_POWER_ALL_R; wrqu 643 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.flags |= IW_POWER_MULTICAST_R; wrqu 645 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.flags |= IW_POWER_UNICAST_R; wrqu 242 drivers/staging/rtl8192e/rtllib_wx.c union iwreq_data *wrqu, char *extra) wrqu 248 drivers/staging/rtl8192e/rtllib_wx.c char *stop = ev + wrqu->data.length; wrqu 278 drivers/staging/rtl8192e/rtllib_wx.c wrqu->data.length = ev - extra; wrqu 279 drivers/staging/rtl8192e/rtllib_wx.c wrqu->data.flags = 0; wrqu 289 drivers/staging/rtl8192e/rtllib_wx.c union iwreq_data *wrqu, char *keybuf) wrqu 291 drivers/staging/rtl8192e/rtllib_wx.c struct iw_point *erq = &(wrqu->encoding); wrqu 466 drivers/staging/rtl8192e/rtllib_wx.c union iwreq_data *wrqu, char *keybuf) wrqu 468 drivers/staging/rtl8192e/rtllib_wx.c struct iw_point *erq = &(wrqu->encoding); wrqu 511 drivers/staging/rtl8192e/rtllib_wx.c union iwreq_data *wrqu, char *extra) wrqu 515 drivers/staging/rtl8192e/rtllib_wx.c struct iw_point *encoding = &wrqu->encoding; wrqu 669 drivers/staging/rtl8192e/rtllib_wx.c union iwreq_data *wrqu, char *extra) wrqu 2195 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *key); wrqu 2198 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *key); wrqu 2201 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *key); wrqu 2204 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *extra); wrqu 2207 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *extra); wrqu 2213 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *extra); wrqu 2276 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *ext); wrqu 2285 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *b); wrqu 2289 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *extra); wrqu 2293 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *extra); wrqu 2297 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *b); wrqu 2301 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *b); wrqu 2305 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *extra); wrqu 2309 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *b); wrqu 2313 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *b); wrqu 2317 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *b); wrqu 2329 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *extra); wrqu 2333 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *extra); wrqu 2337 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *extra); wrqu 2341 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *extra); wrqu 2345 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *extra); wrqu 2349 drivers/staging/rtl8192u/ieee80211/ieee80211.h union iwreq_data *wrqu, char *extra); wrqu 588 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c union iwreq_data wrqu; wrqu 600 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 601 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c wrqu.data.length = sizeof(ev); wrqu 602 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, (char *)&ev); wrqu 3034 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c union iwreq_data wrqu; wrqu 3036 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 3038 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c memcpy(wrqu.ap_addr.sa_data, ieee->current_network.bssid, ETH_ALEN); wrqu 3040 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 3041 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c wireless_send_event(ieee->dev, SIOCGIWAP, &wrqu, NULL); wrqu 31 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *b) wrqu 34 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c struct iw_freq *fwrq = &wrqu->freq; wrqu 88 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *b) wrqu 90 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c struct iw_freq *fwrq = &wrqu->freq; wrqu 106 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 110 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->ap_addr.sa_family = ARPHRD_ETHER; wrqu 122 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c eth_zero_addr(wrqu->ap_addr.sa_data); wrqu 124 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c memcpy(wrqu->ap_addr.sa_data, wrqu 180 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c int ieee80211_wx_get_essid(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) wrqu 204 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->essid.length = len; wrqu 206 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->essid.flags = 1; wrqu 218 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 221 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c u32 target_rate = wrqu->bitrate.value; wrqu 231 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 237 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->bitrate.value = tmp_rate * 500000; wrqu 245 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 247 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (wrqu->rts.disabled || !wrqu->rts.fixed) { wrqu 250 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (wrqu->rts.value < MIN_RTS_THRESHOLD || wrqu 251 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->rts.value > MAX_RTS_THRESHOLD) wrqu 253 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c ieee->rts = wrqu->rts.value; wrqu 261 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 263 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->rts.value = ieee->rts; wrqu 264 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->rts.fixed = 0; /* no auto select */ wrqu 265 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD); wrqu 271 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *b) wrqu 278 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (wrqu->mode == ieee->iw_mode) wrqu 281 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (wrqu->mode == IW_MODE_MONITOR) wrqu 287 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c ieee->iw_mode = wrqu->mode; wrqu 290 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c ieee->iw_mode = wrqu->mode; wrqu 360 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *b) wrqu 385 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 397 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (wrqu->essid.length > IW_ESSID_MAX_SIZE) { wrqu 416 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (wrqu->essid.flags && wrqu->essid.length) { wrqu 418 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c len = ((wrqu->essid.length - 1) < IW_ESSID_MAX_SIZE) ? (wrqu->essid.length - 1) : IW_ESSID_MAX_SIZE; wrqu 438 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *b) wrqu 441 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->mode = ieee->iw_mode; wrqu 448 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 485 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 487 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c strlcpy(wrqu->name, "802.11", IFNAMSIZ); wrqu 489 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c strlcat(wrqu->name, "b", IFNAMSIZ); wrqu 491 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c strlcat(wrqu->name, "/g", IFNAMSIZ); wrqu 493 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c strlcat(wrqu->name, "g", IFNAMSIZ); wrqu 497 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c strlcat(wrqu->name, "/n", IFNAMSIZ); wrqu 501 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c strlcat(wrqu->name, " linked", IFNAMSIZ); wrqu 503 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c strlcat(wrqu->name, " link..", IFNAMSIZ); wrqu 512 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 518 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (wrqu->power.disabled) { wrqu 522 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (wrqu->power.flags & IW_POWER_TIMEOUT) { wrqu 524 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c ieee->ps_timeout = wrqu->power.value / 1000; wrqu 527 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (wrqu->power.flags & IW_POWER_PERIOD) { wrqu 530 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c ieee->ps_period = wrqu->power.value / 1000; wrqu 534 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c switch (wrqu->power.flags & IW_POWER_MODE) { wrqu 564 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c union iwreq_data *wrqu, char *extra) wrqu 569 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.disabled = 1; wrqu 573 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.disabled = 0; wrqu 575 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if ((wrqu->power.flags & IW_POWER_TYPE) == IW_POWER_TIMEOUT) { wrqu 576 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.flags = IW_POWER_TIMEOUT; wrqu 577 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.value = ieee->ps_timeout * 1000; wrqu 581 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.flags = IW_POWER_PERIOD; wrqu 582 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.value = ieee->ps_period * 1000; wrqu 587 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.flags |= IW_POWER_ALL_R; wrqu 589 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.flags |= IW_POWER_MULTICAST_R; wrqu 591 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.flags |= IW_POWER_UNICAST_R; wrqu 228 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c union iwreq_data *wrqu, char *extra) wrqu 235 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c char *stop = ev + wrqu->data.length;//IW_SCAN_MAX_DATA; wrqu 264 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c wrqu->data.length = ev - extra; wrqu 265 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c wrqu->data.flags = 0; wrqu 275 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c union iwreq_data *wrqu, char *keybuf) wrqu 277 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c struct iw_point *erq = &(wrqu->encoding); wrqu 448 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c union iwreq_data *wrqu, char *keybuf) wrqu 450 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c struct iw_point *erq = &(wrqu->encoding); wrqu 491 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c union iwreq_data *wrqu, char *extra) wrqu 495 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c struct iw_point *encoding = &wrqu->encoding; wrqu 657 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c union iwreq_data *wrqu, char *extra) wrqu 659 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c struct iw_point *encoding = &wrqu->encoding; wrqu 712 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c union iwreq_data *wrqu, char *extra) wrqu 39 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *b) wrqu 43 drivers/staging/rtl8192u/r8192U_wx.c return ieee80211_wx_get_freq(priv->ieee80211, a, wrqu, b); wrqu 47 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *b) wrqu 51 drivers/staging/rtl8192u/r8192U_wx.c return ieee80211_wx_get_mode(priv->ieee80211, a, wrqu, b); wrqu 56 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 60 drivers/staging/rtl8192u/r8192U_wx.c return ieee80211_wx_get_rate(priv->ieee80211, info, wrqu, extra); wrqu 65 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 72 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_set_rate(priv->ieee80211, info, wrqu, extra); wrqu 81 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 88 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_set_rts(priv->ieee80211, info, wrqu, extra); wrqu 97 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 101 drivers/staging/rtl8192u/r8192U_wx.c return ieee80211_wx_get_rts(priv->ieee80211, info, wrqu, extra); wrqu 106 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 113 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_set_power(priv->ieee80211, info, wrqu, extra); wrqu 122 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 126 drivers/staging/rtl8192u/r8192U_wx.c return ieee80211_wx_get_power(priv->ieee80211, info, wrqu, extra); wrqu 131 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 146 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 153 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_set_rawtx(priv->ieee80211, info, wrqu, extra); wrqu 163 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 185 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *b) wrqu 192 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_set_mode(priv->ieee80211, a, wrqu, b); wrqu 223 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 231 drivers/staging/rtl8192u/r8192U_wx.c wrqu->data.length = sizeof(*range); wrqu 321 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *b) wrqu 332 drivers/staging/rtl8192u/r8192U_wx.c if (wrqu->data.flags & IW_SCAN_THIS_ESSID) { wrqu 347 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_set_scan(priv->ieee80211, a, wrqu, b); wrqu 355 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *b) wrqu 366 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_get_scan(priv->ieee80211, a, wrqu, b); wrqu 375 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *b) wrqu 382 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_set_essid(priv->ieee80211, a, wrqu, b); wrqu 391 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *b) wrqu 398 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_get_essid(priv->ieee80211, a, wrqu, b); wrqu 406 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *b) wrqu 413 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_set_freq(priv->ieee80211, a, wrqu, b); wrqu 421 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 425 drivers/staging/rtl8192u/r8192U_wx.c return ieee80211_wx_get_name(priv->ieee80211, info, wrqu, extra); wrqu 430 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 434 drivers/staging/rtl8192u/r8192U_wx.c if (wrqu->frag.disabled) wrqu 437 drivers/staging/rtl8192u/r8192U_wx.c if (wrqu->frag.value < MIN_FRAG_THRESHOLD || wrqu 438 drivers/staging/rtl8192u/r8192U_wx.c wrqu->frag.value > MAX_FRAG_THRESHOLD) wrqu 441 drivers/staging/rtl8192u/r8192U_wx.c priv->ieee80211->fts = wrqu->frag.value & ~0x1; wrqu 450 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 454 drivers/staging/rtl8192u/r8192U_wx.c wrqu->frag.value = priv->ieee80211->fts; wrqu 455 drivers/staging/rtl8192u/r8192U_wx.c wrqu->frag.fixed = 0; /* no auto select */ wrqu 456 drivers/staging/rtl8192u/r8192U_wx.c wrqu->frag.disabled = (wrqu->frag.value == DEFAULT_FRAG_THRESHOLD); wrqu 483 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 487 drivers/staging/rtl8192u/r8192U_wx.c return ieee80211_wx_get_wap(priv->ieee80211, info, wrqu, extra); wrqu 492 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *key) wrqu 496 drivers/staging/rtl8192u/r8192U_wx.c return ieee80211_wx_get_encode(priv->ieee80211, info, wrqu, key); wrqu 501 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *key) wrqu 521 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_set_encode(priv->ieee80211, info, wrqu, key); wrqu 528 drivers/staging/rtl8192u/r8192U_wx.c if (wrqu->encoding.length != 0) { wrqu 532 drivers/staging/rtl8192u/r8192U_wx.c if (i == 1 && (4*i+1) == wrqu->encoding.length) wrqu 534 drivers/staging/rtl8192u/r8192U_wx.c if (i == 3 && (4*i+1) == wrqu->encoding.length) wrqu 544 drivers/staging/rtl8192u/r8192U_wx.c switch (wrqu->encoding.flags & IW_ENCODE_INDEX) { wrqu 564 drivers/staging/rtl8192u/r8192U_wx.c if (wrqu->encoding.length == 0x5) { wrqu 578 drivers/staging/rtl8192u/r8192U_wx.c else if (wrqu->encoding.length == 0xd) { wrqu 601 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *p) wrqu 617 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 624 drivers/staging/rtl8192u/r8192U_wx.c if (wrqu->retry.flags & IW_RETRY_LIFETIME || wrqu 625 drivers/staging/rtl8192u/r8192U_wx.c wrqu->retry.disabled){ wrqu 629 drivers/staging/rtl8192u/r8192U_wx.c if (!(wrqu->retry.flags & IW_RETRY_LIMIT)) { wrqu 634 drivers/staging/rtl8192u/r8192U_wx.c if (wrqu->retry.value > R8180_MAX_RETRY) { wrqu 638 drivers/staging/rtl8192u/r8192U_wx.c if (wrqu->retry.flags & IW_RETRY_MAX) { wrqu 639 drivers/staging/rtl8192u/r8192U_wx.c priv->retry_rts = wrqu->retry.value; wrqu 640 drivers/staging/rtl8192u/r8192U_wx.c DMESG("Setting retry for RTS/CTS data to %d", wrqu->retry.value); wrqu 643 drivers/staging/rtl8192u/r8192U_wx.c priv->retry_data = wrqu->retry.value; wrqu 644 drivers/staging/rtl8192u/r8192U_wx.c DMESG("Setting retry for non RTS/CTS data to %d", wrqu->retry.value); wrqu 662 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 667 drivers/staging/rtl8192u/r8192U_wx.c wrqu->retry.disabled = 0; /* can't be disabled */ wrqu 669 drivers/staging/rtl8192u/r8192U_wx.c if ((wrqu->retry.flags & IW_RETRY_TYPE) == wrqu 673 drivers/staging/rtl8192u/r8192U_wx.c if (wrqu->retry.flags & IW_RETRY_MAX) { wrqu 674 drivers/staging/rtl8192u/r8192U_wx.c wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_MAX; wrqu 675 drivers/staging/rtl8192u/r8192U_wx.c wrqu->retry.value = priv->retry_rts; wrqu 677 drivers/staging/rtl8192u/r8192U_wx.c wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_MIN; wrqu 678 drivers/staging/rtl8192u/r8192U_wx.c wrqu->retry.value = priv->retry_data; wrqu 686 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 692 drivers/staging/rtl8192u/r8192U_wx.c wrqu->sens.value = priv->sens; wrqu 698 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 709 drivers/staging/rtl8192u/r8192U_wx.c if (priv->rf_set_sens(dev, wrqu->sens.value) == 0) wrqu 710 drivers/staging/rtl8192u/r8192U_wx.c priv->sens = wrqu->sens.value; wrqu 723 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 731 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_set_encode_ext(priv->ieee80211, info, wrqu, extra); wrqu 738 drivers/staging/rtl8192u/r8192U_wx.c struct iw_point *encoding = &wrqu->encoding; wrqu 812 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *extra) wrqu 819 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_set_mlme(priv->ieee80211, info, wrqu, extra); wrqu 841 drivers/staging/rtl8192u/r8192U_wx.c union iwreq_data *wrqu, char *b) wrqu 139 drivers/staging/rtl8712/mlme_linux.c union iwreq_data wrqu; wrqu 153 drivers/staging/rtl8712/mlme_linux.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 154 drivers/staging/rtl8712/mlme_linux.c wrqu.data.length = p - buff; wrqu 155 drivers/staging/rtl8712/mlme_linux.c wrqu.data.length = (wrqu.data.length < IW_CUSTOM_MAX) ? wrqu 156 drivers/staging/rtl8712/mlme_linux.c wrqu.data.length : IW_CUSTOM_MAX; wrqu 157 drivers/staging/rtl8712/mlme_linux.c wireless_send_event(adapter->pnetdev, IWEVCUSTOM, &wrqu, buff); wrqu 75 drivers/staging/rtl8712/recv_linux.c union iwreq_data wrqu; wrqu 86 drivers/staging/rtl8712/recv_linux.c memset(&wrqu, 0x00, sizeof(wrqu)); wrqu 87 drivers/staging/rtl8712/recv_linux.c wrqu.data.length = sizeof(ev); wrqu 88 drivers/staging/rtl8712/recv_linux.c wireless_send_event(adapter->pnetdev, IWEVMICHAELMICFAILURE, &wrqu, wrqu 60 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data wrqu; wrqu 63 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 64 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, wrqu 66 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); wrqu 71 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data wrqu; wrqu 73 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 74 drivers/staging/rtl8712/rtl871x_ioctl_linux.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 75 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); wrqu 603 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 623 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, wrqu 626 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, wrqu 630 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, wrqu 633 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, wrqu 637 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, wrqu 640 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, wrqu 644 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "unassociated"); wrqu 660 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 663 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_freq *fwrq = &wrqu->freq; wrqu 696 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 705 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->freq.m = ieee80211_wlan_frequencies[ wrqu 707 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->freq.e = 1; wrqu 708 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->freq.i = pcur_bss->Configuration.DSConfig; wrqu 715 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *b) wrqu 720 drivers/staging/rtl8712/rtl871x_ioctl_linux.c switch (wrqu->mode) { wrqu 746 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *b) wrqu 752 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->mode = IW_MODE_INFRA; wrqu 755 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->mode = IW_MODE_ADHOC; wrqu 757 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->mode = IW_MODE_MASTER; wrqu 759 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->mode = IW_MODE_AUTO; wrqu 765 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 851 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 853 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->sens.value = 0; wrqu 854 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->sens.fixed = 0; /* no auto select */ wrqu 855 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->sens.disabled = 1; wrqu 861 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 867 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->data.length = sizeof(*range); wrqu 918 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra); wrqu 1083 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1089 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->ap_addr.sa_family = ARPHRD_ETHER; wrqu 1092 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ether_addr_copy(wrqu->ap_addr.sa_data, pcur_bss->MacAddress); wrqu 1094 drivers/staging/rtl8712/rtl871x_ioctl_linux.c eth_zero_addr(wrqu->ap_addr.sa_data); wrqu 1100 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1133 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1151 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (wrqu->data.length == sizeof(struct iw_scan_req)) { wrqu 1154 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (wrqu->data.flags & IW_SCAN_THIS_ESSID) { wrqu 1184 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1193 drivers/staging/rtl8712/rtl871x_ioctl_linux.c char *stop = ev + wrqu->data.length; wrqu 1220 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->data.length = ev - extra; wrqu 1221 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->data.flags = 0; wrqu 1239 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1255 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (wrqu->essid.length > IW_ESSID_MAX_SIZE) wrqu 1258 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (wrqu->essid.flags && wrqu->essid.length) { wrqu 1259 drivers/staging/rtl8712/rtl871x_ioctl_linux.c len = (wrqu->essid.length < IW_ESSID_MAX_SIZE) ? wrqu 1260 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->essid.length : IW_ESSID_MAX_SIZE; wrqu 1302 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1311 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->essid.length = len; wrqu 1313 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->essid.flags = 1; wrqu 1322 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1325 drivers/staging/rtl8712/rtl871x_ioctl_linux.c u32 target_rate = wrqu->bitrate.value; wrqu 1326 drivers/staging/rtl8712/rtl871x_ioctl_linux.c u32 fixed = wrqu->bitrate.fixed; wrqu 1393 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1427 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->bitrate.fixed = 0; /* no auto select */ wrqu 1428 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->bitrate.value = rate * 500000; wrqu 1442 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->bitrate.value = max_rate * 500000; wrqu 1448 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1452 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->rts.value = padapter->registrypriv.rts_thresh; wrqu 1453 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->rts.fixed = 0; /* no auto select */ wrqu 1459 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1463 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (wrqu->frag.disabled) { wrqu 1466 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (wrqu->frag.value < MIN_FRAG_THRESHOLD || wrqu 1467 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->frag.value > MAX_FRAG_THRESHOLD) wrqu 1469 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->xmitpriv.frag_len = wrqu->frag.value & ~0x1; wrqu 1476 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1480 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->frag.value = padapter->xmitpriv.frag_len; wrqu 1481 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->frag.fixed = 0; /* no auto select */ wrqu 1487 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1489 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->retry.value = 7; wrqu 1490 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->retry.fixed = 0; /* no auto select */ wrqu 1491 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->retry.disabled = 1; wrqu 1497 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *keybuf) wrqu 1503 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_point *erq = &(wrqu->encoding); wrqu 1594 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *keybuf) wrqu 1598 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_point *erq = &(wrqu->encoding); wrqu 1657 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1659 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->power.value = 0; wrqu 1660 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->power.fixed = 0; /* no auto select */ wrqu 1661 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->power.disabled = 1; wrqu 1667 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1671 drivers/staging/rtl8712/rtl871x_ioctl_linux.c return r871x_set_wpa_ie(padapter, extra, wrqu->data.length); wrqu 1676 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1679 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_param *param = (struct iw_param *)&(wrqu->param); wrqu 1759 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1761 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_point *pencoding = &wrqu->encoding; wrqu 1810 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1813 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->data.length = 8; wrqu 1814 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->data.flags = 1; wrqu 1822 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *keybuf) wrqu 1828 drivers/staging/rtl8712/rtl871x_ioctl_linux.c get_user(addr, (u32 __user *)wrqu->data.pointer); wrqu 1830 drivers/staging/rtl8712/rtl871x_ioctl_linux.c put_user(data32, (u32 __user *)wrqu->data.pointer); wrqu 1831 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->data.length = (data32 & 0xffff0000) >> 16; wrqu 1832 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->data.flags = data32 & 0xffff; wrqu 1833 drivers/staging/rtl8712/rtl871x_ioctl_linux.c get_user(addr, (u32 __user *)wrqu->data.pointer); wrqu 1839 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *keybuf) wrqu 1845 drivers/staging/rtl8712/rtl871x_ioctl_linux.c get_user(addr, (u32 __user *)wrqu->data.pointer); wrqu 1846 drivers/staging/rtl8712/rtl871x_ioctl_linux.c data32 = ((u32)wrqu->data.length << 16) | (u32)wrqu->data.flags; wrqu 1853 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *b) wrqu 1860 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1867 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1870 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_point *p = &wrqu->data; wrqu 1943 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1948 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_point *pdata = &wrqu->data; wrqu 2016 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2019 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_point *pdata = &wrqu->data; wrqu 2030 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2034 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_point *pdata = &wrqu->data; wrqu 2051 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2054 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_point *pdata = &wrqu->data; wrqu 42 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data wrqu; wrqu 44 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memset(&wrqu, 0, sizeof(union iwreq_data)); wrqu 52 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data wrqu; wrqu 58 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memset(&wrqu, 0, sizeof(union iwreq_data)); wrqu 60 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 63 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(wrqu.ap_addr.sa_data, pnetwork->MacAddress, ETH_ALEN); wrqu 65 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); wrqu 72 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data wrqu; wrqu 74 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memset(&wrqu, 0, sizeof(union iwreq_data)); wrqu 76 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 77 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c eth_zero_addr(wrqu.ap_addr.sa_data); wrqu 760 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 782 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11bn"); wrqu 784 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11b"); wrqu 787 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11bgn"); wrqu 789 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11bg"); wrqu 793 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11AC"); wrqu 795 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11an"); wrqu 797 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11a"); wrqu 800 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11gn"); wrqu 802 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "IEEE 802.11g"); wrqu 808 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(wrqu->name, IFNAMSIZ, "unassociated"); wrqu 815 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 824 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 832 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->freq.m = rtw_ch2freq(pcur_bss->Configuration.DSConfig) * 100000; wrqu 833 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->freq.e = 1; wrqu 834 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->freq.i = pcur_bss->Configuration.DSConfig; wrqu 837 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->freq.m = rtw_ch2freq(padapter->mlmeextpriv.cur_channel) * 100000; wrqu 838 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->freq.e = 1; wrqu 839 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->freq.i = padapter->mlmeextpriv.cur_channel; wrqu 846 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *b) wrqu 862 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c switch (wrqu->mode) { wrqu 883 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c RT_TRACE(_module_rtl871x_ioctl_os_c, _drv_err_, ("\n Mode: %s is not supported \n", iw_operation_mode[wrqu->mode])); wrqu 912 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *b) wrqu 920 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->mode = IW_MODE_INFRA; wrqu 923 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->mode = IW_MODE_ADHOC; wrqu 925 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->mode = IW_MODE_MASTER; wrqu 927 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->mode = IW_MODE_AUTO; wrqu 935 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1011 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1014 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->sens.value = 0; wrqu 1015 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->sens.fixed = 0; /* no auto select */ wrqu 1016 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->sens.disabled = 1; wrqu 1023 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1034 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->data.length = sizeof(*range); wrqu 1200 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1207 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->ap_addr.sa_family = ARPHRD_ETHER; wrqu 1209 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c eth_zero_addr(wrqu->ap_addr.sa_data); wrqu 1216 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(wrqu->ap_addr.sa_data, pcur_bss->MacAddress, ETH_ALEN); wrqu 1218 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c eth_zero_addr(wrqu->ap_addr.sa_data); wrqu 1226 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1260 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1310 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (wrqu->data.length == sizeof(struct iw_scan_req)) { wrqu 1313 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (wrqu->data.flags & IW_SCAN_THIS_ESSID) { wrqu 1331 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (wrqu->data.length >= WEXT_CSCAN_HEADER_SIZE wrqu 1333 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c int len = wrqu->data.length -WEXT_CSCAN_HEADER_SIZE; wrqu 1416 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1424 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c char *stop = ev + wrqu->data.length; wrqu 1475 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->data.length = ev-extra; wrqu 1476 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->data.flags = 0; wrqu 1495 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1526 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (wrqu->essid.length > IW_ESSID_MAX_SIZE) { wrqu 1538 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (wrqu->essid.flags && wrqu->essid.length) { wrqu 1539 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c len = (wrqu->essid.length < IW_ESSID_MAX_SIZE) ? wrqu->essid.length : IW_ESSID_MAX_SIZE; wrqu 1541 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (wrqu->essid.length != 33) wrqu 1542 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("ssid =%s, len =%d\n", extra, wrqu->essid.length); wrqu 1617 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1630 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->essid.length = len; wrqu 1634 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->essid.flags = 1; wrqu 1646 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1651 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u32 target_rate = wrqu->bitrate.value; wrqu 1652 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u32 fixed = wrqu->bitrate.fixed; wrqu 1730 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1739 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->bitrate.fixed = 0; /* no auto select */ wrqu 1740 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->bitrate.value = max_rate * 100000; wrqu 1747 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1751 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (wrqu->rts.disabled) wrqu 1754 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (wrqu->rts.value < 0 || wrqu 1755 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->rts.value > 2347) wrqu 1758 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->registrypriv.rts_thresh = wrqu->rts.value; wrqu 1768 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1774 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->rts.value = padapter->registrypriv.rts_thresh; wrqu 1775 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->rts.fixed = 0; /* no auto select */ wrqu 1783 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1787 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (wrqu->frag.disabled) wrqu 1790 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (wrqu->frag.value < MIN_FRAG_THRESHOLD || wrqu 1791 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->frag.value > MAX_FRAG_THRESHOLD) wrqu 1794 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->xmitpriv.frag_len = wrqu->frag.value & ~0x1; wrqu 1805 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1811 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->frag.value = padapter->xmitpriv.frag_len; wrqu 1812 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->frag.fixed = 0; /* no auto select */ wrqu 1820 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 1825 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->retry.value = 7; wrqu 1826 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->retry.fixed = 0; /* no auto select */ wrqu 1827 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->retry.disabled = 1; wrqu 1835 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *keybuf) wrqu 1842 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct iw_point *erq = &(wrqu->encoding); wrqu 1953 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *keybuf) wrqu 1957 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct iw_point *erq = &(wrqu->encoding); wrqu 2024 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2028 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->power.value = 0; wrqu 2029 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->power.fixed = 0; /* no auto select */ wrqu 2030 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->power.disabled = 1; wrqu 2037 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2041 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c return rtw_set_wpa_ie(padapter, extra, wrqu->data.length); wrqu 2046 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2049 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct iw_param *param = (struct iw_param *)&(wrqu->param); wrqu 2129 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2134 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct iw_point *pencoding = &wrqu->encoding; wrqu 2211 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2218 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->data.length = 14; wrqu 2219 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->data.flags = 1; wrqu 2227 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2241 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c p = &wrqu->data; wrqu 2287 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2324 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2345 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2361 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *b) wrqu 2367 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *b) wrqu 2380 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2383 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u8 channel_plan_req = (u8)(*((int *)wrqu)); wrqu 2395 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *b) wrqu 2402 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *buf) wrqu 2409 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2423 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2429 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2437 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2449 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct iw_point *pdata = &wrqu->data; wrqu 2534 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2539 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c int *pdata = (int *)wrqu; wrqu 2563 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2568 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct iw_point *pdata = &wrqu->data; wrqu 2591 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2600 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2609 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2618 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2634 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (wrqu->data.length > IFNAMSIZ) wrqu 2637 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (copy_from_user(new_ifname, wrqu->data.pointer, IFNAMSIZ)) wrqu 2667 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 2681 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c pdata = (u32 *)&wrqu->data; wrqu 4440 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 4479 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 4488 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 4501 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c union iwreq_data *wrqu, char *extra) wrqu 4511 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c len = wrqu->data.length; wrqu 4519 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (copy_from_user(pbuf, wrqu->data.pointer, len)) { wrqu 4573 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->data.length = strlen(extra) + 1; wrqu 145 drivers/staging/rtl8723bs/os_dep/mlme_linux.c union iwreq_data wrqu; wrqu 172 drivers/staging/rtl8723bs/os_dep/mlme_linux.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 174 drivers/staging/rtl8723bs/os_dep/mlme_linux.c wrqu.data.length = p - buff; wrqu 176 drivers/staging/rtl8723bs/os_dep/mlme_linux.c wrqu.data.length = (wrqu.data.length < IW_CUSTOM_MAX) ? wrqu.data.length : IW_CUSTOM_MAX; wrqu 174 drivers/staging/rtl8723bs/os_dep/recv_linux.c union iwreq_data wrqu; wrqu 213 drivers/staging/rtl8723bs/os_dep/recv_linux.c memset(&wrqu, 0x00, sizeof(wrqu)); wrqu 214 drivers/staging/rtl8723bs/os_dep/recv_linux.c wrqu.data.length = sizeof(ev); wrqu 29 include/net/cfg80211-wext.h union iwreq_data *wrqu, char *extra); wrqu 316 include/net/iw_handler.h union iwreq_data *wrqu, char *extra); wrqu 442 include/net/iw_handler.h union iwreq_data *wrqu, const char *extra); wrqu 455 include/net/iw_handler.h union iwreq_data *wrqu, char *extra); wrqu 458 include/net/iw_handler.h union iwreq_data *wrqu, char *extra); wrqu 461 include/net/iw_handler.h union iwreq_data *wrqu, char *extra); wrqu 464 include/net/iw_handler.h union iwreq_data *wrqu, char *extra); wrqu 53 include/net/wext.h union iwreq_data * wrqu, wrqu 24 net/wireless/ibss.c union iwreq_data wrqu; wrqu 53 net/wireless/ibss.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 54 net/wireless/ibss.c memcpy(wrqu.ap_addr.sa_data, bssid, ETH_ALEN); wrqu 55 net/wireless/ibss.c wireless_send_event(dev, SIOCGIWAP, &wrqu, NULL); wrqu 567 net/wireless/lib80211_crypt_tkip.c union iwreq_data wrqu; wrqu 579 net/wireless/lib80211_crypt_tkip.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 580 net/wireless/lib80211_crypt_tkip.c wrqu.data.length = sizeof(ev); wrqu 581 net/wireless/lib80211_crypt_tkip.c wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, (char *)&ev); wrqu 200 net/wireless/mlme.c union iwreq_data wrqu; wrqu 208 net/wireless/mlme.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 209 net/wireless/mlme.c wrqu.data.length = strlen(buf); wrqu 210 net/wireless/mlme.c wireless_send_event(dev, IWEVCUSTOM, &wrqu, buf); wrqu 458 net/wireless/scan.c union iwreq_data wrqu; wrqu 495 net/wireless/scan.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 497 net/wireless/scan.c wireless_send_event(wdev->netdev, SIOCGIWSCAN, &wrqu, NULL); wrqu 2117 net/wireless/scan.c union iwreq_data *wrqu, char *extra) wrqu 2129 net/wireless/scan.c if (wrqu->data.length == sizeof(struct iw_scan_req)) wrqu 2216 net/wireless/scan.c if (wrqu->data.flags & IW_SCAN_THIS_ESSID) { wrqu 686 net/wireless/sme.c union iwreq_data wrqu; wrqu 703 net/wireless/sme.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 704 net/wireless/sme.c wrqu.data.length = cr->req_ie_len; wrqu 705 net/wireless/sme.c wireless_send_event(dev, IWEVASSOCREQIE, &wrqu, wrqu 710 net/wireless/sme.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 711 net/wireless/sme.c wrqu.data.length = cr->resp_ie_len; wrqu 712 net/wireless/sme.c wireless_send_event(dev, IWEVASSOCRESPIE, &wrqu, wrqu 716 net/wireless/sme.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 717 net/wireless/sme.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 719 net/wireless/sme.c memcpy(wrqu.ap_addr.sa_data, cr->bssid, ETH_ALEN); wrqu 723 net/wireless/sme.c wireless_send_event(dev, SIOCGIWAP, &wrqu, NULL); wrqu 903 net/wireless/sme.c union iwreq_data wrqu; wrqu 929 net/wireless/sme.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 930 net/wireless/sme.c wrqu.data.length = info->req_ie_len; wrqu 932 net/wireless/sme.c &wrqu, info->req_ie); wrqu 936 net/wireless/sme.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 937 net/wireless/sme.c wrqu.data.length = info->resp_ie_len; wrqu 939 net/wireless/sme.c &wrqu, info->resp_ie); wrqu 942 net/wireless/sme.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 943 net/wireless/sme.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 944 net/wireless/sme.c memcpy(wrqu.ap_addr.sa_data, info->bss->bssid, ETH_ALEN); wrqu 947 net/wireless/sme.c wireless_send_event(wdev->netdev, SIOCGIWAP, &wrqu, NULL); wrqu 1082 net/wireless/sme.c union iwreq_data wrqu; wrqu 1121 net/wireless/sme.c memset(&wrqu, 0, sizeof(wrqu)); wrqu 1122 net/wireless/sme.c wrqu.ap_addr.sa_family = ARPHRD_ETHER; wrqu 1123 net/wireless/sme.c wireless_send_event(dev, SIOCGIWAP, &wrqu, NULL); wrqu 453 net/wireless/wext-core.c union iwreq_data * wrqu, wrqu 511 net/wireless/wext-core.c if (wrqu->data.length > descr->max_tokens) { wrqu 513 net/wireless/wext-core.c cmd, wrqu->data.length); wrqu 516 net/wireless/wext-core.c if (wrqu->data.length < descr->min_tokens) { wrqu 518 net/wireless/wext-core.c cmd, wrqu->data.length); wrqu 523 net/wireless/wext-core.c extra_len = wrqu->data.length * descr->token_size; wrqu 578 net/wireless/wext-core.c memcpy(&event->u, ((char *) wrqu) + wrqu_off, hdr_len - IW_EV_LCP_LEN); wrqu 613 net/wireless/wext-core.c compat_wrqu.length = wrqu->data.length; wrqu 614 net/wireless/wext-core.c compat_wrqu.flags = wrqu->data.flags; wrqu 623 net/wireless/wext-core.c memcpy(&compat_event->pointer, wrqu, wrqu 663 net/wireless/wext-core.c union iwreq_data * wrqu, wrqu 673 net/wireless/wext-core.c wrqu->data.length = sizeof(struct iw_statistics); wrqu 676 net/wireless/wext-core.c if (wrqu->data.flags != 0) wrqu 18 net/wireless/wext-priv.c union iwreq_data * wrqu, wrqu 27 net/wireless/wext-priv.c if (wrqu->data.length < dev->wireless_handlers->num_private_args) { wrqu 31 net/wireless/wext-priv.c wrqu->data.length = dev->wireless_handlers->num_private_args; wrqu 36 net/wireless/wext-priv.c wrqu->data.length = dev->wireless_handlers->num_private_args; wrqu 40 net/wireless/wext-priv.c sizeof(struct iw_priv_args) * wrqu->data.length); wrqu 28 net/wireless/wext-spy.c union iwreq_data * wrqu, wrqu 52 net/wireless/wext-spy.c if (wrqu->data.length > 0) { wrqu 56 net/wireless/wext-spy.c for (i = 0; i < wrqu->data.length; i++) wrqu 68 net/wireless/wext-spy.c spydata->spy_number = wrqu->data.length; wrqu 76 net/wireless/wext-spy.c union iwreq_data * wrqu, wrqu 87 net/wireless/wext-spy.c wrqu->data.length = spydata->spy_number; wrqu 112 net/wireless/wext-spy.c union iwreq_data * wrqu, wrqu 139 net/wireless/wext-spy.c union iwreq_data * wrqu, wrqu 166 net/wireless/wext-spy.c union iwreq_data wrqu; wrqu 170 net/wireless/wext-spy.c wrqu.data.length = 1; wrqu 171 net/wireless/wext-spy.c wrqu.data.flags = 0; wrqu 182 net/wireless/wext-spy.c wireless_send_event(dev, SIOCGIWTHRSPY, &wrqu, (char *) &threshold);