Lines Matching refs:ifreq
74 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd);
88 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd);
449 wl_p2p_if_t ifreq; in wl_cfgp2p_ifadd() local
453 ifreq.type = if_type; in wl_cfgp2p_ifadd()
454 ifreq.chspec = chspec; in wl_cfgp2p_ifadd()
455 memcpy(ifreq.addr.octet, mac->octet, sizeof(ifreq.addr.octet)); in wl_cfgp2p_ifadd()
458 MAC2STRDBG(ifreq.addr.octet), in wl_cfgp2p_ifadd()
462 err = wldev_iovar_setbuf(ndev, "p2p_ifadd", &ifreq, sizeof(ifreq), in wl_cfgp2p_ifadd()
524 wl_p2p_if_t ifreq; in wl_cfgp2p_ifchange() local
529 ifreq.type = if_type; in wl_cfgp2p_ifchange()
530 ifreq.chspec = chspec; in wl_cfgp2p_ifchange()
531 memcpy(ifreq.addr.octet, mac->octet, sizeof(ifreq.addr.octet)); in wl_cfgp2p_ifchange()
534 " chanspec 0x%04x\n", MAC2STRDBG(ifreq.addr.octet), in wl_cfgp2p_ifchange()
537 ifreq.chspec)); in wl_cfgp2p_ifchange()
539 err = wldev_iovar_setbuf(netdev, "p2p_ifupd", &ifreq, sizeof(ifreq), in wl_cfgp2p_ifchange()
2494 static int wl_cfgp2p_do_ioctl(struct net_device *net, struct ifreq *ifr, int cmd) in wl_cfgp2p_do_ioctl()