Lines Matching refs:ctx_pan
512 struct iwl_rxon_context *ctx_bss, *ctx_pan; in iwlagn_set_pan_params() local
524 ctx_pan = &priv->contexts[IWL_RXON_CTX_PAN]; in iwlagn_set_pan_params()
532 if (!ctx_pan->is_active) in iwlagn_set_pan_params()
543 if (ctx_bss->vif && ctx_pan->vif) { in iwlagn_set_pan_params()
544 int bcnint = ctx_pan->beacon_int; in iwlagn_set_pan_params()
545 int dtim = ctx_pan->vif->bss_conf.dtim_period ?: 1; in iwlagn_set_pan_params()
550 if (ctx_pan->vif->type == NL80211_IFTYPE_AP && in iwlagn_set_pan_params()
555 ctx_bss->beacon_int, ctx_pan->beacon_int); in iwlagn_set_pan_params()
569 } else if (!ctx_pan->vif->cfg.idle && in iwlagn_set_pan_params()
570 !ctx_pan->vif->cfg.assoc) { in iwlagn_set_pan_params()
574 } else if (ctx_pan->vif) { in iwlagn_set_pan_params()
576 slot1 = max_t(int, 1, ctx_pan->vif->bss_conf.dtim_period) * in iwlagn_set_pan_params()
577 ctx_pan->beacon_int; in iwlagn_set_pan_params()