summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
61dbade)
range->max_pmt = 65535 * 1000;
range->txpower_capa = IW_TXPOW_MWATT;
range->max_pmt = 65535 * 1000;
range->txpower_capa = IW_TXPOW_MWATT;
memcpy(extra,ssid.SSID,ssid.SSID_len + 1);
break;
}
memcpy(extra,ssid.SSID,ssid.SSID_len + 1);
break;
}
+ case SIOCSIWESSID:
+ {
+ wlc_ssid_t ssid;
+ memset(&ssid, 0, sizeof(ssid));
+ ssid.SSID_len = strlen(extra);
+ if (ssid.SSID_len > WLC_ESSID_MAX_SIZE)
+ ssid.SSID_len = WLC_ESSID_MAX_SIZE;
+ memcpy(ssid.SSID, extra, ssid.SSID_len);
+ wl_ioctl(dev, WLC_SET_SSID, &ssid, sizeof(ssid));
+ break;
+ }
case SIOCGIWRTS:
{
wl_ioctl(dev,WLC_GET_RTS,&(wrqu->rts.value),sizeof(int));
case SIOCGIWRTS:
{
wl_ioctl(dev,WLC_GET_RTS,&(wrqu->rts.value),sizeof(int));
err = wlcompat_ioctl_getiwrange(dev, extra);
break;
}
err = wlcompat_ioctl_getiwrange(dev, extra);
break;
}
+ default:
+ {
+ err = -EINVAL;
+ break;
+ }
NULL, /* SIOCGIWAPLIST */
NULL, /* -- hole -- */
NULL, /* -- hole -- */
NULL, /* SIOCGIWAPLIST */
NULL, /* -- hole -- */
NULL, /* -- hole -- */
- NULL, /* SIOCSIWESSID */
+ wlcompat_ioctl, /* SIOCSIWESSID */
wlcompat_ioctl, /* SIOCGIWESSID */
NULL, /* SIOCSIWNICKN */
NULL, /* SIOCGIWNICKN */
wlcompat_ioctl, /* SIOCGIWESSID */
NULL, /* SIOCSIWNICKN */
NULL, /* SIOCGIWNICKN */