Lines Matching refs:ctx_pan
517 struct iwl_rxon_context *ctx_bss, *ctx_pan; in iwlagn_set_pan_params() local
529 ctx_pan = &priv->contexts[IWL_RXON_CTX_PAN]; in iwlagn_set_pan_params()
537 if (!ctx_pan->is_active) in iwlagn_set_pan_params()
548 if (ctx_bss->vif && ctx_pan->vif) { in iwlagn_set_pan_params()
549 int bcnint = ctx_pan->beacon_int; in iwlagn_set_pan_params()
550 int dtim = ctx_pan->vif->bss_conf.dtim_period ?: 1; in iwlagn_set_pan_params()
555 if (ctx_pan->vif->type == NL80211_IFTYPE_AP && in iwlagn_set_pan_params()
560 ctx_bss->beacon_int, ctx_pan->beacon_int); in iwlagn_set_pan_params()
574 } else if (!ctx_pan->vif->bss_conf.idle && in iwlagn_set_pan_params()
575 !ctx_pan->vif->bss_conf.assoc) { in iwlagn_set_pan_params()
579 } else if (ctx_pan->vif) { in iwlagn_set_pan_params()
581 slot1 = max_t(int, 1, ctx_pan->vif->bss_conf.dtim_period) * in iwlagn_set_pan_params()
582 ctx_pan->beacon_int; in iwlagn_set_pan_params()