Lines Matching refs:beacon
24 sc->beacon.tx_processed = false; in ath9k_reset_beacon_status()
25 sc->beacon.tx_last = false; in ath9k_reset_beacon_status()
40 ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi); in ath9k_beaconq_config()
60 if (!ath9k_hw_set_txq_props(ah, sc->beacon.beaconq, &qi)) { in ath9k_beaconq_config()
63 ath9k_hw_resettxqueue(ah, sc->beacon.beaconq); in ath9k_beaconq_config()
103 info.qcu = sc->beacon.beaconq; in ath9k_beacon_setup()
120 struct ath_txq *cabq = sc->beacon.cabq; in ath9k_beacon_generate()
145 mgmt_hdr->u.beacon.timestamp = avp->tsf_adjust; in ath9k_beacon_generate()
200 avp->av_bcbuf = list_first_entry(&sc->beacon.bbuf, struct ath_buf, list); in ath9k_beacon_assign_slot()
204 if (sc->beacon.bslot[slot] == NULL) { in ath9k_beacon_assign_slot()
210 sc->beacon.bslot[avp->av_bslot] = vif; in ath9k_beacon_assign_slot()
222 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath9k_beacon_remove_slot()
241 sc->beacon.bslot[avp->av_bslot] = NULL; in ath9k_beacon_remove_slot()
243 list_add_tail(&bf->list, &sc->beacon.bbuf); in ath9k_beacon_remove_slot()
251 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath9k_beacon_choose_slot()
280 struct ath_beacon_config *cur_conf = &avp->chanctx->beacon; in ath9k_set_tsfadjust()
342 if (ath9k_hw_numtxpending(ah, sc->beacon.beaconq) != 0) { in ath9k_beacon_tasklet()
343 sc->beacon.bmisscnt++; in ath9k_beacon_tasklet()
356 if (sc->beacon.bmisscnt < BSTUCK_THRESH * sc->nbcnvifs) { in ath9k_beacon_tasklet()
359 sc->beacon.bmisscnt); in ath9k_beacon_tasklet()
360 ath9k_hw_stop_dma_queue(ah, sc->beacon.beaconq); in ath9k_beacon_tasklet()
361 if (sc->beacon.bmisscnt > 3) in ath9k_beacon_tasklet()
363 } else if (sc->beacon.bmisscnt >= BSTUCK_THRESH) { in ath9k_beacon_tasklet()
365 sc->beacon.bmisscnt = 0; in ath9k_beacon_tasklet()
373 vif = sc->beacon.bslot[slot]; in ath9k_beacon_tasklet()
395 if (sc->beacon.bmisscnt != 0) { in ath9k_beacon_tasklet()
397 sc->beacon.bmisscnt); in ath9k_beacon_tasklet()
398 sc->beacon.bmisscnt = 0; in ath9k_beacon_tasklet()
417 if (sc->beacon.updateslot == UPDATE) { in ath9k_beacon_tasklet()
418 sc->beacon.updateslot = COMMIT; in ath9k_beacon_tasklet()
419 sc->beacon.slotupdate = slot; in ath9k_beacon_tasklet()
420 } else if (sc->beacon.updateslot == COMMIT && in ath9k_beacon_tasklet()
421 sc->beacon.slotupdate == slot) { in ath9k_beacon_tasklet()
422 ah->slottime = sc->beacon.slottime; in ath9k_beacon_tasklet()
424 sc->beacon.updateslot = OK; in ath9k_beacon_tasklet()
434 ath9k_hw_puttxbuf(ah, sc->beacon.beaconq, bf->bf_daddr); in ath9k_beacon_tasklet()
437 ath9k_hw_txstart(ah, sc->beacon.beaconq); in ath9k_beacon_tasklet()
454 sc->beacon.bmisscnt = 0; in ath9k_beacon_init()
552 struct ath_beacon_config *cur_conf = &ctx->beacon; in ath9k_cache_beacon_config()
599 cur_conf = &avp->chanctx->beacon; in ath9k_beacon_config()
669 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath9k_set_beacon()