Lines Matching refs:afx_hdl

9456 	struct afx_hdl *afx_instance;
9460 BCM_SET_CONTAINER_OF(afx_instance, work, struct afx_hdl, work);
9463 if (cfg != NULL && cfg->afx_hdl->is_active) {
9464 if (cfg->afx_hdl->is_listen && cfg->afx_hdl->my_listen_chan) {
9465 ret = wl_cfgp2p_discover_listen(cfg, cfg->afx_hdl->my_listen_chan,
9468 ret = wl_cfgp2p_act_frm_search(cfg, cfg->afx_hdl->dev,
9469 cfg->afx_hdl->bssidx, cfg->afx_hdl->peer_listen_chan,
9493 cfg->afx_hdl->is_active = TRUE;
9495 if (cfg->afx_hdl->pending_tx_act_frm) {
9497 action_frame = &(cfg->afx_hdl->pending_tx_act_frm->action_frame);
9505 while ((cfg->afx_hdl->retry < max_retry) &&
9506 (cfg->afx_hdl->peer_chan == WL_INVALID)) {
9507 cfg->afx_hdl->is_listen = FALSE;
9510 cfg->afx_hdl->retry));
9512 schedule_work(&cfg->afx_hdl->work);
9516 if ((cfg->afx_hdl->peer_chan != WL_INVALID) ||
9523 if (cfg->afx_hdl->my_listen_chan) {
9525 cfg->afx_hdl->my_listen_chan));
9527 cfg->afx_hdl->is_listen = TRUE;
9528 schedule_work(&cfg->afx_hdl->work);
9532 if ((cfg->afx_hdl->peer_chan != WL_INVALID) ||
9536 cfg->afx_hdl->retry++;
9541 cfg->afx_hdl->is_active = FALSE;
9546 return (cfg->afx_hdl->peer_chan);
9950 memcpy(cfg->afx_hdl->tx_dst_addr.octet,
9952 sizeof(cfg->afx_hdl->tx_dst_addr.octet));
9955 cfg->afx_hdl->pending_tx_act_frm = af_params;
9966 if ((cfg->afx_hdl->bssidx = wl_get_bssidx_by_wdev(cfg, dev->ieee80211_ptr)) < 0) {
9970 cfg->afx_hdl->dev = dev;
9971 cfg->afx_hdl->retry = 0;
9972 cfg->afx_hdl->peer_chan = WL_INVALID;
9987 wl_clr_drv_status(cfg, SCANNING, cfg->afx_hdl->dev);
10003 if (cfg->afx_hdl->peer_chan != WL_INVALID) {
10004 af_params->channel = cfg->afx_hdl->peer_chan;
10006 cfg->afx_hdl->peer_chan));
10062 cfg->af_sent_channel == cfg->afx_hdl->my_listen_chan) {
10084 cfg->afx_hdl->pending_tx_act_frm = NULL;
10088 cfg->afx_hdl->my_listen_chan));
10091 cfg->afx_hdl->my_listen_chan));
10391 cfg->afx_hdl->peer_listen_chan = af_params->channel;
10392 WL_DBG(("channel from upper layer %d\n", cfg->afx_hdl->peer_listen_chan));
17108 if (cfg->afx_hdl->pending_tx_act_frm == NULL)
17162 if (cfg->afx_hdl != NULL) {
17163 if (cfg->afx_hdl->dev != NULL) {
17164 wl_clr_drv_status(cfg, SCANNING, cfg->afx_hdl->dev);
17165 wl_clr_drv_status(cfg, FINDING_COMMON_CHANNEL, cfg->afx_hdl->dev);
17167 cfg->afx_hdl->peer_chan = WL_INVALID;
17478 &cfg->afx_hdl->pending_tx_act_frm->action_frame,
17612 !memcmp(cfg->afx_hdl->tx_dst_addr.octet, e->addr.octet,
17614 if (cfg->afx_hdl->pending_tx_act_frm &&
17619 cfg->afx_hdl->peer_chan = channel;
17907 cfg->afx_hdl = (void *)MALLOCZ(cfg->osh, sizeof(*cfg->afx_hdl));
17908 if (unlikely(!cfg->afx_hdl)) {
17915 INIT_WORK(&cfg->afx_hdl->work, wl_cfg80211_afx_handler);
17946 if (cfg->afx_hdl) {
17947 cancel_work_sync(&cfg->afx_hdl->work);
17948 MFREE(cfg->osh, cfg->afx_hdl, sizeof(*cfg->afx_hdl));