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

Lines Matching refs:wrq

1623 	struct iwreq *wrq = (struct iwreq *) rq;
1634 rc = iwctl_giwname(dev, NULL, (char *)&(wrq->u.name), NULL);
1643 rc = iwctl_giwnwid(dev, NULL, &(wrq->u.nwid), NULL);
1651 rc = iwctl_siwfreq(dev, NULL, &(wrq->u.freq), NULL);
1656 rc = iwctl_giwfreq(dev, NULL, &(wrq->u.freq), NULL);
1664 if (wrq->u.essid.length > IW_ESSID_MAX_SIZE) {
1668 if (copy_from_user(essid, wrq->u.essid.pointer,
1669 wrq->u.essid.length)) {
1674 &(wrq->u.essid), essid);
1684 if (wrq->u.essid.pointer)
1686 &(wrq->u.essid), essid);
1687 if (copy_to_user(wrq->u.essid.pointer,
1689 wrq->u.essid.length) )
1696 rc = iwctl_siwap(dev, NULL, &(wrq->u.ap_addr), NULL);
1702 rc = iwctl_giwap(dev, NULL, &(wrq->u.ap_addr), NULL);
1720 rc = iwctl_siwrate(dev, NULL, &(wrq->u.bitrate), NULL);
1726 rc = iwctl_giwrate(dev, NULL, &(wrq->u.bitrate), NULL);
1732 rc = iwctl_siwrts(dev, NULL, &(wrq->u.rts), NULL);
1738 rc = iwctl_giwrts(dev, NULL, &(wrq->u.rts), NULL);
1744 rc = iwctl_siwfrag(dev, NULL, &(wrq->u.frag), NULL);
1750 rc = iwctl_giwfrag(dev, NULL, &(wrq->u.frag), NULL);
1755 rc = iwctl_siwmode(dev, NULL, &(wrq->u.mode), NULL);
1760 rc = iwctl_giwmode(dev, NULL, &(wrq->u.mode), NULL);
1768 if (wrq->u.encoding.pointer) {
1771 if (wrq->u.encoding.length > WLAN_WEP232_KEYLEN) {
1777 wrq->u.encoding.pointer,
1778 wrq->u.encoding.length)) {
1782 } else if (wrq->u.encoding.length != 0) {
1786 rc = iwctl_siwencode(dev, NULL, &(wrq->u.encoding), abyKey);
1800 rc = iwctl_giwencode(dev, NULL, &(wrq->u.encoding), abyKey);
1802 if (wrq->u.encoding.pointer) {
1803 if (copy_to_user(wrq->u.encoding.pointer,
1805 wrq->u.encoding.length))
1824 rc = iwctl_siwretry(dev, NULL, &(wrq->u.retry), NULL);
1829 rc = iwctl_giwretry(dev, NULL, &(wrq->u.retry), NULL);
1838 rc = iwctl_giwrange(dev, NULL, &(wrq->u.data), (char *) &range);
1839 if (copy_to_user(wrq->u.data.pointer, &range, sizeof(struct iw_range)))
1847 rc = iwctl_giwpower(dev, NULL, &(wrq->u.power), NULL);
1853 rc = iwctl_siwpower(dev, NULL, &(wrq->u.power), NULL);
1859 rc = iwctl_giwsens(dev, NULL, &(wrq->u.sens), NULL);
1871 if (wrq->u.data.pointer) {
1872 rc = iwctl_giwaplist(dev, NULL, &(wrq->u.data), buffer);
1874 if (copy_to_user(wrq->u.data.pointer,
1876 (wrq->u.data.length * (sizeof(struct sockaddr) + sizeof(struct iw_quality)))
1906 if(wrq->u.data.pointer) {
1907 wrq->u.data.length = sizeof(iwctl_private_args) / sizeof( iwctl_private_args[0]);
1909 if(copy_to_user(wrq->u.data.pointer,
1922 rc = iwctl_siwauth(dev, NULL, &(wrq->u.param), NULL);
1927 rc = iwctl_giwauth(dev, NULL, &(wrq->u.param), NULL);
1932 rc = iwctl_siwgenie(dev, NULL, &(wrq->u.data), wrq->u.data.pointer);
1937 rc = iwctl_giwgenie(dev, NULL, &(wrq->u.data), wrq->u.data.pointer);
1944 if(wrq->u.encoding.pointer){
1946 if(wrq->u.encoding.length > (sizeof(struct iw_encode_ext)+ MAX_KEY_LEN)){
1950 if(copy_from_user(extra, wrq->u.encoding.pointer,wrq->u.encoding.length)){
1954 }else if(wrq->u.encoding.length != 0){
1958 rc = iwctl_siwencodeext(dev, NULL, &(wrq->u.encoding), extra);
1964 rc = iwctl_giwencodeext(dev, NULL, &(wrq->u.encoding), NULL);
1969 rc = iwctl_siwmlme(dev, NULL, &(wrq->u.data), wrq->u.data.pointer);
2019 rc = vt6656_hostap_ioctl(pDevice, &wrq->u.data);
2031 rc = wpa_ioctl(pDevice, &wrq->u.data);