Lines Matching refs:ifreq
76 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd);
90 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd);
455 wl_p2p_if_t ifreq; in wl_cfgp2p_ifadd() local
459 ifreq.type = if_type; in wl_cfgp2p_ifadd()
460 ifreq.chspec = chspec; in wl_cfgp2p_ifadd()
461 memcpy(ifreq.addr.octet, mac->octet, sizeof(ifreq.addr.octet)); in wl_cfgp2p_ifadd()
464 MAC2STRDBG(ifreq.addr.octet), in wl_cfgp2p_ifadd()
468 err = wldev_iovar_setbuf(ndev, "p2p_ifadd", &ifreq, sizeof(ifreq), in wl_cfgp2p_ifadd()
545 wl_p2p_if_t ifreq; in wl_cfgp2p_ifchange() local
550 ifreq.type = if_type; in wl_cfgp2p_ifchange()
551 ifreq.chspec = chspec; in wl_cfgp2p_ifchange()
552 memcpy(ifreq.addr.octet, mac->octet, sizeof(ifreq.addr.octet)); in wl_cfgp2p_ifchange()
555 " chanspec 0x%04x\n", MAC2STRDBG(ifreq.addr.octet), in wl_cfgp2p_ifchange()
558 ifreq.chspec)); in wl_cfgp2p_ifchange()
560 err = wldev_iovar_setbuf(netdev, "p2p_ifupd", &ifreq, sizeof(ifreq), in wl_cfgp2p_ifchange()
2450 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd)