Lines Matching refs:wowl

4048 	memcpy(cfg->wowl.nd->ssid.ssid, netinfo->SSID, netinfo->SSID_len);  in brcmf_wowl_nd_results()
4049 cfg->wowl.nd->ssid.ssid_len = netinfo->SSID_len; in brcmf_wowl_nd_results()
4050 cfg->wowl.nd->n_channels = 1; in brcmf_wowl_nd_results()
4051 cfg->wowl.nd->channels[0] = in brcmf_wowl_nd_results()
4055 cfg->wowl.nd_info->n_matches = 1; in brcmf_wowl_nd_results()
4056 cfg->wowl.nd_info->matches[0] = cfg->wowl.nd; in brcmf_wowl_nd_results()
4059 cfg->wowl.nd_data_completed = true; in brcmf_wowl_nd_results()
4060 wake_up(&cfg->wowl.nd_data_wait); in brcmf_wowl_nd_results()
4118 timeout = wait_event_timeout(cfg->wowl.nd_data_wait, in brcmf_report_wowl_wakeind()
4119 cfg->wowl.nd_data_completed, in brcmf_report_wowl_wakeind()
4124 wakeup_data.net_detect = cfg->wowl.nd_info; in brcmf_report_wowl_wakeind()
4152 if (cfg->wowl.active) { in brcmf_cfg80211_resume()
4159 cfg->wowl.pre_pmmode); in brcmf_cfg80211_resume()
4160 cfg->wowl.active = false; in brcmf_cfg80211_resume()
4161 if (cfg->wowl.nd_enabled) { in brcmf_cfg80211_resume()
4166 cfg->wowl.nd_enabled = false; in brcmf_cfg80211_resume()
4174 struct cfg80211_wowlan *wowl) in brcmf_configure_wowl() argument
4184 brcmf_fil_cmd_int_get(ifp, BRCMF_C_GET_PM, &cfg->wowl.pre_pmmode); in brcmf_configure_wowl()
4188 if (wowl->disconnect) in brcmf_configure_wowl()
4190 if (wowl->magic_pkt) in brcmf_configure_wowl()
4192 if ((wowl->patterns) && (wowl->n_patterns)) { in brcmf_configure_wowl()
4194 for (i = 0; i < wowl->n_patterns; i++) { in brcmf_configure_wowl()
4196 (u8 *)wowl->patterns[i].pattern, in brcmf_configure_wowl()
4197 wowl->patterns[i].pattern_len, in brcmf_configure_wowl()
4198 (u8 *)wowl->patterns[i].mask, in brcmf_configure_wowl()
4199 wowl->patterns[i].pkt_offset); in brcmf_configure_wowl()
4202 if (wowl->nd_config) { in brcmf_configure_wowl()
4204 wowl->nd_config); in brcmf_configure_wowl()
4207 cfg->wowl.nd_data_completed = false; in brcmf_configure_wowl()
4208 cfg->wowl.nd_enabled = true; in brcmf_configure_wowl()
4214 if (wowl->gtk_rekey_failure) in brcmf_configure_wowl()
4225 cfg->wowl.active = true; in brcmf_configure_wowl()
4247 struct cfg80211_wowlan *wowl) in brcmf_cfg80211_suspend() argument
4270 if (wowl == NULL) { in brcmf_cfg80211_suspend()
4291 brcmf_configure_wowl(cfg, ifp, wowl); in brcmf_cfg80211_suspend()
6763 kfree(cfg->wowl.nd); in brcmf_deinit_priv_mem()
6764 cfg->wowl.nd = NULL; in brcmf_deinit_priv_mem()
6765 kfree(cfg->wowl.nd_info); in brcmf_deinit_priv_mem()
6766 cfg->wowl.nd_info = NULL; in brcmf_deinit_priv_mem()
6779 cfg->wowl.nd = kzalloc(sizeof(*cfg->wowl.nd) + sizeof(u32), GFP_KERNEL); in brcmf_init_priv_mem()
6780 if (!cfg->wowl.nd) in brcmf_init_priv_mem()
6782 cfg->wowl.nd_info = kzalloc(sizeof(*cfg->wowl.nd_info) + in brcmf_init_priv_mem()
6785 if (!cfg->wowl.nd_info) in brcmf_init_priv_mem()
7549 struct wiphy_wowlan_support *wowl; in brcmf_wiphy_wowl_params() local
7551 wowl = kmemdup(&brcmf_wowlan_support, sizeof(brcmf_wowlan_support), in brcmf_wiphy_wowl_params()
7553 if (!wowl) { in brcmf_wiphy_wowl_params()
7561 wowl->flags |= WIPHY_WOWLAN_NET_DETECT; in brcmf_wiphy_wowl_params()
7562 wowl->max_nd_match_sets = BRCMF_PNO_MAX_PFN_COUNT; in brcmf_wiphy_wowl_params()
7563 init_waitqueue_head(&cfg->wowl.nd_data_wait); in brcmf_wiphy_wowl_params()
7567 wowl->flags |= WIPHY_WOWLAN_SUPPORTS_GTK_REKEY; in brcmf_wiphy_wowl_params()
7568 wowl->flags |= WIPHY_WOWLAN_GTK_REKEY_FAILURE; in brcmf_wiphy_wowl_params()
7571 wiphy->wowlan = wowl; in brcmf_wiphy_wowl_params()