Lines Matching refs:primary_ndev
1855 struct net_device *primary_ndev = bcmcfg_to_prmry_ndev(cfg); in wl_wlfc_enable() local
1868 err = wldev_ioctl_set(primary_ndev, WLC_UP, &up, sizeof(s32)); in wl_wlfc_enable()
2370 struct net_device *primary_ndev, in wl_cfg80211_add_if() argument
2385 if (!cfg || !primary_ndev || !name) { in wl_cfg80211_add_if()
2440 wl_cfg80211_iface_state_ops(primary_ndev->ieee80211_ptr, WL_IF_CREATE_REQ, in wl_cfg80211_add_if()
2515 wl_cfg80211_iface_state_ops(primary_ndev->ieee80211_ptr, in wl_cfg80211_add_if()
2523 wl_copy_hang_info_if_falure(primary_ndev, HANG_REASON_IFACE_DEL_FAILURE, err); in wl_cfg80211_add_if()
2526 wl_flush_fw_log_buffer(primary_ndev, FW_LOGSET_MASK_ALL); in wl_cfg80211_add_if()
2569 wl_cfg80211_del_if(struct bcm_cfg80211 *cfg, struct net_device *primary_ndev, in wl_cfg80211_del_if() argument
2574 ret = _wl_cfg80211_del_if(cfg, primary_ndev, wdev, ifname); in wl_cfg80211_del_if()
2580 _wl_cfg80211_del_if(struct bcm_cfg80211 *cfg, struct net_device *primary_ndev, in _wl_cfg80211_del_if() argument
2688 wl_cfg80211_iface_state_ops(primary_ndev->ieee80211_ptr, in _wl_cfg80211_del_if()
2710 wl_copy_hang_info_if_falure(primary_ndev, in _wl_cfg80211_del_if()
2714 wl_flush_fw_log_buffer(primary_ndev, FW_LOGSET_MASK_ALL); in _wl_cfg80211_del_if()
3001 struct net_device *primary_ndev = NULL; in bcm_cfg80211_add_ibss_if() local
3012 primary_ndev = bcmcfg_to_prmry_ndev(cfg); in bcm_cfg80211_add_ibss_if()
3023 err = wldev_iovar_setbuf(primary_ndev, "aibss_ifadd", &aibss_if, in bcm_cfg80211_add_ibss_if()
3084 struct net_device *primary_ndev = NULL; in bcm_cfg80211_del_ibss_if() local
3090 primary_ndev = bcmcfg_to_prmry_ndev(cfg); in bcm_cfg80211_del_ibss_if()
3094 err = wldev_iovar_setbuf(primary_ndev, "aibss_ifdel", &cfg->ibss_if_addr, in bcm_cfg80211_del_ibss_if()
3609 struct net_device *primary_ndev; in wl_cfg80211_post_ifcreate() local
3666 primary_ndev = bcmcfg_to_prmry_ndev(cfg); in wl_cfg80211_post_ifcreate()
3667 memcpy(mac_addr, primary_ndev->dev_addr, ETH_ALEN); in wl_cfg80211_post_ifcreate()
3691 primary_ndev = bcmcfg_to_prmry_ndev(cfg); in wl_cfg80211_post_ifcreate()
3693 wl_cfg80211_handle_hang_event(primary_ndev, in wl_cfg80211_post_ifcreate()
3816 struct net_device *primary_ndev; in wl_cfg80211_delete_iface() local
3828 primary_ndev = bcmcfg_to_prmry_ndev(cfg); in wl_cfg80211_delete_iface()
3834 if (iter->ndev && (iter->ndev != primary_ndev)) { in wl_cfg80211_delete_iface()
3979 struct net_device *primary_ndev = NULL; in wl_cfg80211_create_iface() local
4004 primary_ndev = bcmcfg_to_prmry_ndev(cfg); in wl_cfg80211_create_iface()
4009 memcpy(addr, primary_ndev->dev_addr, ETH_ALEN); in wl_cfg80211_create_iface()
4024 if (wl_customer6_legacy_chip_check(cfg, primary_ndev)) { in wl_cfg80211_create_iface()
4031 ret = wl_cfg80211_interface_ops(cfg, primary_ndev, bsscfg_idx, in wl_cfg80211_create_iface()
4037 if ((ret = wl_cfg80211_add_del_bss(cfg, primary_ndev, in wl_cfg80211_create_iface()
4070 new_ndev = wl_cfg80211_post_ifcreate(primary_ndev, in wl_cfg80211_create_iface()
15945 wl_cfg80211_net_attach(struct net_device *primary_ndev) in wl_cfg80211_net_attach() argument
15947 struct bcm_cfg80211 *cfg = wl_get_cfg(primary_ndev); in wl_cfg80211_net_attach()
22439 struct net_device *primary_ndev = NULL; in wl_cfg80211_start_mkeep_alive() local
22440 primary_ndev = bcmcfg_to_prmry_ndev(cfg); in wl_cfg80211_start_mkeep_alive()
22467 res = wldev_iovar_getbuf(primary_ndev, "mkeep_alive", &mkeep_alive_id, in wl_cfg80211_start_mkeep_alive()
22580 res = wldev_ioctl_set(primary_ndev, WLC_SET_VAR, pbuf, buf_len); in wl_cfg80211_start_mkeep_alive()
22599 struct net_device *primary_ndev = NULL; in wl_cfg80211_stop_mkeep_alive() local
22601 primary_ndev = bcmcfg_to_prmry_ndev(cfg); in wl_cfg80211_stop_mkeep_alive()
22621 res = wldev_iovar_getbuf(primary_ndev, "mkeep_alive", &mkeep_alive_id, in wl_cfg80211_stop_mkeep_alive()
22654 res = wldev_iovar_setbuf(primary_ndev, "mkeep_alive", in wl_cfg80211_stop_mkeep_alive()