Lines Matching refs:bs
553 HAL_BEACON_STATE bs; in ath_beacon_config() local
556 bzero(&bs, sizeof (bs)); in ath_beacon_config()
557 bs.bs_intval = in->in_intval; in ath_beacon_config()
558 bs.bs_nexttbtt = nexttbtt; in ath_beacon_config()
559 bs.bs_dtimperiod = bs.bs_intval; in ath_beacon_config()
560 bs.bs_nextdtim = nexttbtt; in ath_beacon_config()
567 bs.bs_bmissthreshold = ic->ic_bmissthreshold; in ath_beacon_config()
568 if (bs.bs_bmissthreshold > 10) in ath_beacon_config()
569 bs.bs_bmissthreshold = 10; in ath_beacon_config()
570 else if (bs.bs_bmissthreshold < 1) in ath_beacon_config()
571 bs.bs_bmissthreshold = 1; in ath_beacon_config()
579 bs.bs_sleepduration = in ath_beacon_config()
580 roundup((100 * 1000) / 1024, bs.bs_intval); in ath_beacon_config()
581 if (bs.bs_sleepduration > bs.bs_dtimperiod) in ath_beacon_config()
582 bs.bs_sleepduration = in ath_beacon_config()
583 roundup(bs.bs_sleepduration, bs.bs_dtimperiod); in ath_beacon_config()
589 bs.bs_intval, in ath_beacon_config()
590 bs.bs_nexttbtt, in ath_beacon_config()
591 bs.bs_dtimperiod, in ath_beacon_config()
592 bs.bs_nextdtim, in ath_beacon_config()
593 bs.bs_bmissthreshold, in ath_beacon_config()
594 bs.bs_sleepduration)); in ath_beacon_config()
602 ATH_HAL_BEACONTIMERS(ah, &bs); in ath_beacon_config()