Lines Matching refs:cfg
76 s32 dhd_cfg80211_init(struct bcm_cfg80211 *cfg) in dhd_cfg80211_init() argument
82 s32 dhd_cfg80211_deinit(struct bcm_cfg80211 *cfg) in dhd_cfg80211_deinit() argument
88 s32 dhd_cfg80211_down(struct bcm_cfg80211 *cfg) in dhd_cfg80211_down() argument
99 ndev = bcmcfg_to_prmry_ndev(cfg); in dhd_cfg80211_down()
105 s32 dhd_cfg80211_set_p2p_info(struct bcm_cfg80211 *cfg, int val) in dhd_cfg80211_set_p2p_info() argument
107 dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub); in dhd_cfg80211_set_p2p_info()
114 s32 dhd_cfg80211_clean_p2p_info(struct bcm_cfg80211 *cfg) in dhd_cfg80211_clean_p2p_info() argument
116 dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub); in dhd_cfg80211_clean_p2p_info()
124 wl_cfg80211_update_iflist_info(struct bcm_cfg80211 *cfg, struct net_device *ndev, in wl_cfg80211_update_iflist_info() argument
127 return dhd_update_iflist_info(cfg->pub, ndev, ifidx, addr, bssidx, name, if_state); in wl_cfg80211_update_iflist_info()
130 struct net_device* wl_cfg80211_allocate_if(struct bcm_cfg80211 *cfg, int ifidx, const char *name, in wl_cfg80211_allocate_if() argument
133 return dhd_allocate_if(cfg->pub, ifidx, name, mac, bssidx, FALSE, dngl_name); in wl_cfg80211_allocate_if()
136 int wl_cfg80211_register_if(struct bcm_cfg80211 *cfg, in wl_cfg80211_register_if() argument
139 return dhd_register_if(cfg->pub, ifidx, rtnl_lock_reqd); in wl_cfg80211_register_if()
142 int wl_cfg80211_remove_if(struct bcm_cfg80211 *cfg, in wl_cfg80211_remove_if() argument
146 dhdpcie_runtime_bus_wake(cfg->pub, CAN_SLEEP(), __builtin_return_address(0)); in wl_cfg80211_remove_if()
148 return dhd_remove_if(cfg->pub, ifidx, rtnl_lock_reqd); in wl_cfg80211_remove_if()
153 struct bcm_cfg80211 *cfg = wl_get_cfg(net); in wl_cfg80211_cleanup_if() local
155 dhdpcie_runtime_bus_wake(cfg->pub, CAN_SLEEP(), __builtin_return_address(0)); in wl_cfg80211_cleanup_if()
157 BCM_REFERENCE(cfg); in wl_cfg80211_cleanup_if()
164 struct bcm_cfg80211 *cfg; in dhd_cfg80211_netdev_free() local
167 cfg = wl_get_cfg(ndev); in dhd_cfg80211_netdev_free()
169 MFREE(cfg->osh, ndev->ieee80211_ptr, sizeof(struct wireless_dev)); in dhd_cfg80211_netdev_free()
339 struct bcm_cfg80211 *cfg = wl_get_cfg(ndev); in wl_dongle_offload() local
340 dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub); in wl_dongle_offload()
500 s32 dhd_config_dongle(struct bcm_cfg80211 *cfg) in dhd_config_dongle() argument
515 ndev = bcmcfg_to_prmry_ndev(cfg); in dhd_config_dongle()
516 dhd = (dhd_pub_t *)(cfg->pub); in dhd_config_dongle()
543 err = wl_dongle_roam(ndev, (cfg->roam_on ? 0 : 1), 3); in dhd_config_dongle()
560 int dhd_cfgvendor_priv_string_handler(struct bcm_cfg80211 *cfg, struct wireless_dev *wdev, in dhd_cfgvendor_priv_string_handler() argument
571 dhd = cfg->pub; in dhd_cfgvendor_priv_string_handler()
574 ndev = wdev_to_wlc_ndev(wdev, cfg); in dhd_cfgvendor_priv_string_handler()