• Home
  • Raw
  • Download

Lines Matching refs:wrqu

1444 			   union iwreq_data *wrqu, char *extra)  in wl3501_get_name()  argument
1446 strlcpy(wrqu->name, "IEEE 802.11-DS", sizeof(wrqu->name)); in wl3501_get_name()
1451 union iwreq_data *wrqu, char *extra) in wl3501_set_freq() argument
1454 int channel = wrqu->freq.m; in wl3501_set_freq()
1465 union iwreq_data *wrqu, char *extra) in wl3501_get_freq() argument
1469 wrqu->freq.m = 100000 * in wl3501_get_freq()
1471 wrqu->freq.e = 1; in wl3501_get_freq()
1476 union iwreq_data *wrqu, char *extra) in wl3501_set_mode() argument
1480 if (wrqu->mode == IW_MODE_INFRA || in wl3501_set_mode()
1481 wrqu->mode == IW_MODE_ADHOC || in wl3501_set_mode()
1482 wrqu->mode == IW_MODE_AUTO) { in wl3501_set_mode()
1485 this->net_type = wrqu->mode; in wl3501_set_mode()
1492 union iwreq_data *wrqu, char *extra) in wl3501_get_mode() argument
1496 wrqu->mode = this->net_type; in wl3501_get_mode()
1501 union iwreq_data *wrqu, char *extra) in wl3501_get_sens() argument
1505 wrqu->sens.value = this->rssi; in wl3501_get_sens()
1506 wrqu->sens.disabled = !wrqu->sens.value; in wl3501_get_sens()
1507 wrqu->sens.fixed = 1; in wl3501_get_sens()
1513 union iwreq_data *wrqu, char *extra) in wl3501_get_range() argument
1518 wrqu->data.length = sizeof(*range); in wl3501_get_range()
1532 union iwreq_data *wrqu, char *extra) in wl3501_set_wap() argument
1538 if (wrqu->ap_addr.sa_family != ARPHRD_ETHER) in wl3501_set_wap()
1540 if (is_broadcast_ether_addr(wrqu->ap_addr.sa_data)) { in wl3501_set_wap()
1543 memcpy(this->bssid, wrqu->ap_addr.sa_data, ETH_ALEN); in wl3501_set_wap()
1551 union iwreq_data *wrqu, char *extra) in wl3501_get_wap() argument
1555 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in wl3501_get_wap()
1556 memcpy(wrqu->ap_addr.sa_data, this->bssid, ETH_ALEN); in wl3501_get_wap()
1561 union iwreq_data *wrqu, char *extra) in wl3501_set_scan() argument
1570 union iwreq_data *wrqu, char *extra) in wl3501_get_scan() argument
1613 wrqu->data.length = (current_ev - extra); in wl3501_get_scan()
1614 wrqu->data.flags = 0; /* FIXME: set properly these flags */ in wl3501_get_scan()
1620 union iwreq_data *wrqu, char *extra) in wl3501_set_essid() argument
1624 if (wrqu->data.flags) { in wl3501_set_essid()
1627 extra, wrqu->data.length); in wl3501_set_essid()
1637 union iwreq_data *wrqu, char *extra) in wl3501_get_essid() argument
1643 wrqu->essid.flags = 1; in wl3501_get_essid()
1644 wrqu->essid.length = this->essid.el.len; in wl3501_get_essid()
1651 union iwreq_data *wrqu, char *extra) in wl3501_set_nick() argument
1655 if (wrqu->data.length > sizeof(this->nick)) in wl3501_set_nick()
1657 strlcpy(this->nick, extra, wrqu->data.length); in wl3501_set_nick()
1662 union iwreq_data *wrqu, char *extra) in wl3501_get_nick() argument
1667 wrqu->data.length = strlen(extra); in wl3501_get_nick()
1672 union iwreq_data *wrqu, char *extra) in wl3501_get_rate() argument
1679 wrqu->bitrate.value = 2000000; in wl3501_get_rate()
1680 wrqu->bitrate.fixed = 1; in wl3501_get_rate()
1686 union iwreq_data *wrqu, char *extra) in wl3501_get_rts_threshold() argument
1693 wrqu->rts.value = threshold; in wl3501_get_rts_threshold()
1694 wrqu->rts.disabled = threshold >= 2347; in wl3501_get_rts_threshold()
1695 wrqu->rts.fixed = 1; in wl3501_get_rts_threshold()
1702 union iwreq_data *wrqu, char *extra) in wl3501_get_frag_threshold() argument
1709 wrqu->frag.value = threshold; in wl3501_get_frag_threshold()
1710 wrqu->frag.disabled = threshold >= 2346; in wl3501_get_frag_threshold()
1711 wrqu->frag.fixed = 1; in wl3501_get_frag_threshold()
1718 union iwreq_data *wrqu, char *extra) in wl3501_get_txpow() argument
1726 wrqu->txpower.value = txpow; in wl3501_get_txpow()
1727 wrqu->txpower.disabled = 0; in wl3501_get_txpow()
1732 wrqu->txpower.fixed = 0; in wl3501_get_txpow()
1733 wrqu->txpower.flags = IW_TXPOW_MWATT; in wl3501_get_txpow()
1740 union iwreq_data *wrqu, char *extra) in wl3501_get_retry() argument
1749 if (wrqu->retry.flags & IW_RETRY_LONG) { in wl3501_get_retry()
1750 wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_LONG; in wl3501_get_retry()
1757 wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_SHORT; in wl3501_get_retry()
1759 wrqu->retry.value = retry; in wl3501_get_retry()
1760 wrqu->retry.disabled = 0; in wl3501_get_retry()
1767 union iwreq_data *wrqu, char *extra) in wl3501_get_encode() argument
1777 wrqu->encoding.flags = IW_ENCODE_DISABLED; in wl3501_get_encode()
1784 wrqu->encoding.flags = restricted ? IW_ENCODE_RESTRICTED : in wl3501_get_encode()
1794 tocopy = min_t(u16, len_keys, wrqu->encoding.length); in wl3501_get_encode()
1796 wrqu->encoding.length = tocopy; in wl3501_get_encode()
1804 union iwreq_data *wrqu, char *extra) in wl3501_get_power() argument
1813 wrqu->power.disabled = !pwr_state; in wl3501_get_power()
1814 wrqu->power.flags = IW_POWER_ON; in wl3501_get_power()