Lines Matching refs:chanctx
117 ctx = &sc->chanctx[i];
329 int idx = ctx - &sc->chanctx[0];
331 return &sc->chanctx[!idx];
356 /* Adjust the TSF time of the AP chanctx to keep its beacons
357 * at half beacon interval offset relative to the STA chanctx.
385 "Setup chanctx timer with timeout: %d (%d) ms\n",
405 * chanctx, stay on the STA channel for one extra beacon period,
529 if (avp->chanctx != sc->cur_chan) {
548 "Set next context, move chanctx state to WAIT_FOR_BEACON\n");
555 "Move chanctx state from WAIT_FOR_TIMER to WAIT_FOR_BEACON\n");
655 "Move chanctx state to WAIT_FOR_TIMER\n");
669 "Move chanctx state to SWITCH\n");
702 avp->chanctx != sc->cur_chan)
706 "Move chanctx state from FORCE_ACTIVE to IDLE\n");
717 /* If this is a station chanctx, stay active for a half
724 "Move chanctx state to WAIT_FOR_TIMER (event SWITCH)\n");
876 return &sc->chanctx[0];
1178 "Defer switch, set chanctx state to WAIT_FOR_BEACON\n");
1257 "Stopping current chanctx: %d\n",
1568 if (!avp || avp->chanctx != sc->cur_chan)