• 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/vt6655/

Lines Matching refs:wrq

3106 	struct iwreq *wrq = (struct iwreq *) rq;
3120 rc = iwctl_giwname(dev, NULL, (char *)&(wrq->u.name), NULL);
3125 rc = iwctl_giwnwid(dev, NULL, &(wrq->u.nwid), NULL);
3133 rc = iwctl_siwfreq(dev, NULL, &(wrq->u.freq), NULL);
3138 rc = iwctl_giwfreq(dev, NULL, &(wrq->u.freq), NULL);
3146 if (wrq->u.essid.length > IW_ESSID_MAX_SIZE) {
3150 if (copy_from_user(essid, wrq->u.essid.pointer,
3151 wrq->u.essid.length)) {
3156 &(wrq->u.essid), essid);
3166 if (wrq->u.essid.pointer)
3168 &(wrq->u.essid), essid);
3169 if (copy_to_user(wrq->u.essid.pointer,
3171 wrq->u.essid.length) )
3178 rc = iwctl_siwap(dev, NULL, &(wrq->u.ap_addr), NULL);
3184 rc = iwctl_giwap(dev, NULL, &(wrq->u.ap_addr), NULL);
3202 rc = iwctl_siwrate(dev, NULL, &(wrq->u.bitrate), NULL);
3208 rc = iwctl_giwrate(dev, NULL, &(wrq->u.bitrate), NULL);
3214 rc = iwctl_siwrts(dev, NULL, &(wrq->u.rts), NULL);
3220 rc = iwctl_giwrts(dev, NULL, &(wrq->u.rts), NULL);
3226 rc = iwctl_siwfrag(dev, NULL, &(wrq->u.frag), NULL);
3232 rc = iwctl_giwfrag(dev, NULL, &(wrq->u.frag), NULL);
3237 rc = iwctl_siwmode(dev, NULL, &(wrq->u.mode), NULL);
3242 rc = iwctl_giwmode(dev, NULL, &(wrq->u.mode), NULL);
3250 if (wrq->u.encoding.pointer) {
3253 if (wrq->u.encoding.length > WLAN_WEP232_KEYLEN) {
3259 wrq->u.encoding.pointer,
3260 wrq->u.encoding.length)) {
3264 } else if (wrq->u.encoding.length != 0) {
3268 rc = iwctl_siwencode(dev, NULL, &(wrq->u.encoding), abyKey);
3282 rc = iwctl_giwencode(dev, NULL, &(wrq->u.encoding), abyKey);
3284 if (wrq->u.encoding.pointer) {
3285 if (copy_to_user(wrq->u.encoding.pointer,
3287 wrq->u.encoding.length))
3306 rc = iwctl_siwretry(dev, NULL, &(wrq->u.retry), NULL);
3311 rc = iwctl_giwretry(dev, NULL, &(wrq->u.retry), NULL);
3320 rc = iwctl_giwrange(dev, NULL, &(wrq->u.data), (char *) &range);
3321 if (copy_to_user(wrq->u.data.pointer, &range, sizeof(struct iw_range)))
3329 rc = iwctl_giwpower(dev, NULL, &(wrq->u.power), NULL);
3335 rc = iwctl_siwpower(dev, NULL, &(wrq->u.power), NULL);
3341 rc = iwctl_giwsens(dev, NULL, &(wrq->u.sens), NULL);
3353 if (wrq->u.data.pointer) {
3354 rc = iwctl_giwaplist(dev, NULL, &(wrq->u.data), buffer);
3356 if (copy_to_user(wrq->u.data.pointer,
3358 (wrq->u.data.length * (sizeof(struct sockaddr) + sizeof(struct iw_quality)))
3388 if(wrq->u.data.pointer) {
3389 wrq->u.data.length = sizeof(iwctl_private_args) / sizeof( iwctl_private_args[0]);
3391 if(copy_to_user(wrq->u.data.pointer,
3404 rc = iwctl_siwauth(dev, NULL, &(wrq->u.param), NULL);
3409 rc = iwctl_giwauth(dev, NULL, &(wrq->u.param), NULL);
3414 rc = iwctl_siwgenie(dev, NULL, &(wrq->u.data), wrq->u.data.pointer);
3419 rc = iwctl_giwgenie(dev, NULL, &(wrq->u.data), wrq->u.data.pointer);
3426 if(wrq->u.encoding.pointer){
3428 if(wrq->u.encoding.length > (sizeof(struct iw_encode_ext)+ MAX_KEY_LEN)){
3432 if(copy_from_user(extra, wrq->u.encoding.pointer,wrq->u.encoding.length)){
3436 }else if(wrq->u.encoding.length != 0){
3440 rc = iwctl_siwencodeext(dev, NULL, &(wrq->u.encoding), extra);
3446 rc = iwctl_giwencodeext(dev, NULL, &(wrq->u.encoding), NULL);
3451 rc = iwctl_siwmlme(dev, NULL, &(wrq->u.data), wrq->u.data.pointer);
3495 rc = vt6655_hostap_ioctl(pDevice, &wrq->u.data);
3500 rc = wpa_ioctl(pDevice, &wrq->u.data);