Lines Matching refs:afx_hdl
8745 struct afx_hdl *afx_instance; in wl_cfg80211_afx_handler()
8749 BCM_SET_CONTAINER_OF(afx_instance, work, struct afx_hdl, work); in wl_cfg80211_afx_handler()
8752 if (cfg != NULL && cfg->afx_hdl->is_active) { in wl_cfg80211_afx_handler()
8753 if (cfg->afx_hdl->is_listen && cfg->afx_hdl->my_listen_chan) { in wl_cfg80211_afx_handler()
8754 ret = wl_cfgp2p_discover_listen(cfg, cfg->afx_hdl->my_listen_chan, in wl_cfg80211_afx_handler()
8757 ret = wl_cfgp2p_act_frm_search(cfg, cfg->afx_hdl->dev, in wl_cfg80211_afx_handler()
8758 cfg->afx_hdl->bssidx, cfg->afx_hdl->peer_listen_chan, in wl_cfg80211_afx_handler()
8782 cfg->afx_hdl->is_active = TRUE; in wl_cfg80211_af_searching_channel()
8784 if (cfg->afx_hdl->pending_tx_act_frm) { in wl_cfg80211_af_searching_channel()
8786 action_frame = &(cfg->afx_hdl->pending_tx_act_frm->action_frame); in wl_cfg80211_af_searching_channel()
8794 while ((cfg->afx_hdl->retry < max_retry) && in wl_cfg80211_af_searching_channel()
8795 (cfg->afx_hdl->peer_chan == WL_INVALID)) { in wl_cfg80211_af_searching_channel()
8796 cfg->afx_hdl->is_listen = FALSE; in wl_cfg80211_af_searching_channel()
8799 cfg->afx_hdl->retry)); in wl_cfg80211_af_searching_channel()
8801 schedule_work(&cfg->afx_hdl->work); in wl_cfg80211_af_searching_channel()
8805 if ((cfg->afx_hdl->peer_chan != WL_INVALID) || in wl_cfg80211_af_searching_channel()
8812 if (cfg->afx_hdl->my_listen_chan) { in wl_cfg80211_af_searching_channel()
8814 cfg->afx_hdl->my_listen_chan)); in wl_cfg80211_af_searching_channel()
8816 cfg->afx_hdl->is_listen = TRUE; in wl_cfg80211_af_searching_channel()
8817 schedule_work(&cfg->afx_hdl->work); in wl_cfg80211_af_searching_channel()
8821 if ((cfg->afx_hdl->peer_chan != WL_INVALID) || in wl_cfg80211_af_searching_channel()
8825 cfg->afx_hdl->retry++; in wl_cfg80211_af_searching_channel()
8830 cfg->afx_hdl->is_active = FALSE; in wl_cfg80211_af_searching_channel()
8835 return (cfg->afx_hdl->peer_chan); in wl_cfg80211_af_searching_channel()
9221 memcpy(cfg->afx_hdl->tx_dst_addr.octet, in wl_cfg80211_send_action_frame()
9223 sizeof(cfg->afx_hdl->tx_dst_addr.octet)); in wl_cfg80211_send_action_frame()
9226 cfg->afx_hdl->pending_tx_act_frm = af_params; in wl_cfg80211_send_action_frame()
9237 if ((cfg->afx_hdl->bssidx = wl_get_bssidx_by_wdev(cfg, dev->ieee80211_ptr)) < 0) { in wl_cfg80211_send_action_frame()
9241 cfg->afx_hdl->dev = dev; in wl_cfg80211_send_action_frame()
9242 cfg->afx_hdl->retry = 0; in wl_cfg80211_send_action_frame()
9243 cfg->afx_hdl->peer_chan = WL_INVALID; in wl_cfg80211_send_action_frame()
9258 wl_clr_drv_status(cfg, SCANNING, cfg->afx_hdl->dev); in wl_cfg80211_send_action_frame()
9274 if (cfg->afx_hdl->peer_chan != WL_INVALID) { in wl_cfg80211_send_action_frame()
9275 af_params->channel = cfg->afx_hdl->peer_chan; in wl_cfg80211_send_action_frame()
9277 cfg->afx_hdl->peer_chan)); in wl_cfg80211_send_action_frame()
9333 cfg->af_sent_channel == cfg->afx_hdl->my_listen_chan) { in wl_cfg80211_send_action_frame()
9355 cfg->afx_hdl->pending_tx_act_frm = NULL; in wl_cfg80211_send_action_frame()
9359 cfg->afx_hdl->my_listen_chan)); in wl_cfg80211_send_action_frame()
9362 cfg->afx_hdl->my_listen_chan)); in wl_cfg80211_send_action_frame()
9587 cfg->afx_hdl->peer_listen_chan = af_params->channel; in wl_cfg80211_mgmt_tx()
9588 WL_DBG(("channel from upper layer %d\n", cfg->afx_hdl->peer_listen_chan)); in wl_cfg80211_mgmt_tx()
14206 if (cfg->afx_hdl->pending_tx_act_frm == NULL) in wl_gon_req_collision()
14258 if (cfg->afx_hdl != NULL) { in wl_stop_wait_next_action_frame()
14259 if (cfg->afx_hdl->dev != NULL) { in wl_stop_wait_next_action_frame()
14260 wl_clr_drv_status(cfg, SCANNING, cfg->afx_hdl->dev); in wl_stop_wait_next_action_frame()
14261 wl_clr_drv_status(cfg, FINDING_COMMON_CHANNEL, cfg->afx_hdl->dev); in wl_stop_wait_next_action_frame()
14263 cfg->afx_hdl->peer_chan = WL_INVALID; in wl_stop_wait_next_action_frame()
14583 &cfg->afx_hdl->pending_tx_act_frm->action_frame, in wl_notify_rx_mgmt_frame()
14688 !memcmp(cfg->afx_hdl->tx_dst_addr.octet, e->addr.octet, in wl_notify_rx_mgmt_frame()
14690 if (cfg->afx_hdl->pending_tx_act_frm && in wl_notify_rx_mgmt_frame()
14695 cfg->afx_hdl->peer_chan = channel; in wl_notify_rx_mgmt_frame()
15048 cfg->afx_hdl = (void *)MALLOCZ(cfg->osh, sizeof(*cfg->afx_hdl)); in wl_init_priv_mem()
15049 if (unlikely(!cfg->afx_hdl)) { in wl_init_priv_mem()
15056 INIT_WORK(&cfg->afx_hdl->work, wl_cfg80211_afx_handler); in wl_init_priv_mem()
15093 if (cfg->afx_hdl) { in wl_deinit_priv_mem()
15095 cancel_work_sync(&cfg->afx_hdl->work); in wl_deinit_priv_mem()
15097 MFREE(cfg->osh, cfg->afx_hdl, sizeof(*cfg->afx_hdl)); in wl_deinit_priv_mem()