Lines Matching defs:an

1073  * address and use the next six bits as an index.
1200 * vap to an existing configuration is of dubious
1432 * here (after the ath_tx_swq() call; and after an ath_stop_locked()
1802 * Disable RXEOL/RXORN - prevent an interrupt
1829 * Enqueue an RX proc, to handled whatever
2305 * of whether we succeeded to get it in an exclusive
2435 * We may be doing a reset in response to an ioctl
2451 * If an interrupt was being processed in ath_intr(),
2492 * This may have been set during an ath_start() call which
2756 * XXX it would be nicer if we kept an mbuf queue per
2803 * If it's an EAPOL frame, allocate a MGMT ath_buf.
2907 * so it can reclaim all the mbufs in case of an error;
3378 bf->bf_lastds = bf->bf_desc; /* Just an initial value */
3444 bf->bf_lastds = NULL; /* Just an initial value */
3577 struct ath_node *an;
3579 an = malloc(space, M_80211_NODE, M_NOWAIT|M_ZERO);
3580 if (an == NULL) {
3584 ath_rate_node_init(sc, an);
3587 snprintf(an->an_name, sizeof(an->an_name), "%s: node %p",
3588 device_get_nameunit(sc->sc_dev), an);
3589 mtx_init(&an->an_mtx, an->an_name, NULL, MTX_DEF);
3592 ath_tx_tid_init(sc, an);
3594 DPRINTF(sc, ATH_DEBUG_NODE, "%s: %6D: an %p\n", __func__, mac, ":", an);
3595 return &an->an_node;
3604 DPRINTF(sc, ATH_DEBUG_NODE, "%s: %6D: an %p\n", __func__,
3619 DPRINTF(sc, ATH_DEBUG_NODE, "%s: %6D: an %p\n", __func__,
3877 * Return h/w rate index for an IEEE rate (w/o basic rate bit)
4016 struct ath_node *an;
4022 an = ATH_NODE(ni);
4023 ATH_NODE_UNLOCK_ASSERT(an);
4026 ATH_NODE_LOCK(an);
4027 ath_rate_tx_complete(sc, an, rc, ts, frmlen, nframes, nbad);
4028 ATH_NODE_UNLOCK(an);
4044 struct ath_node *an = NULL;
4051 an = ATH_NODE(ni);
4068 * XXX assume this isn't an aggregate
4180 * Use the last buffer in an aggregate as that
4515 * TX. The logic is that if it was part of an active TX, the previous
4568 * Make sure that we only sync/unload if there's an mbuf.
4910 /* Treat this as an interface reset */
5091 * If this long cal is after an idle period, then
5129 * work when operating as an AP to improve operation right
5307 * are an attempt to catch these and figure out how/why.
5391 * necessary, for example, when an ibss merge
5402 * If joining an adhoc network defer beacon timer
5405 * starting an ibss/bss so there's no need to delay;
5429 * beacons from an AP in CAC and thus force a
5434 * In that case, we may not receive an actual
5561 struct ath_node *an = ATH_NODE(ni);
5566 an->an_mcastrix = ath_tx_findrix(sc, tp->mcastrate);
5567 an->an_mgmtrix = ath_tx_findrix(sc, tp->mgmtrate);
5569 ath_rate_newassoc(sc, an, isnew);
5591 an->an_is_powersave);
5594 ath_tx_node_reassoc(sc, an);
5597 if (an->an_is_powersave)
5598 ath_tx_node_wakeup(sc, an);
5843 struct ath_node *an;
5856 an = ATH_NODE(ni);
5857 ATH_NODE_LOCK(an);
5860 error = ath_rate_fetch_node_stats(sc, an, rs);
5865 ATH_NODE_UNLOCK(an);
6107 struct ath_node *an = ATH_NODE(ni);
6122 ath_tx_node_sleep(sc, an);
6124 ath_tx_node_wakeup(sc, an);
6177 struct ath_node *an = ATH_NODE(ni);
6182 an->an_stack_psq = enable;
6210 if (enable && an->an_tim_set == 1) {
6225 an->an_tim_set = 1;
6228 } else if (an->an_swq_depth == 0) {
6236 an->an_tim_set = 0;
6239 } else if (! an->an_is_powersave) {
6249 an->an_tim_set = 0;
6309 struct ath_node *an;
6316 an = ATH_NODE(ni);
6329 if (an->an_is_powersave &&
6330 an->an_tim_set == 0 &&
6331 an->an_swq_depth != 0) {
6337 an->an_tim_set = 1;
6344 if (&an->an_swq_depth != 0)
6347 if (an->an_is_powersave &&
6348 an->an_stack_psq == 0 &&
6349 an->an_tim_set == 1 &&
6350 an->an_swq_depth == 0) {
6357 an->an_tim_set = 0;
6378 struct ath_node *an;
6395 * We do have an active node, so let's begin looking into it.
6397 an = ATH_NODE(ni);
6432 if (! an->an_is_powersave) {
6448 an->an_leak_count = 1;
6457 if (an->an_swq_depth == 0) {
6473 struct ath_tid *atid = &an->an_tid[tid];