Lines Matching defs:an

1465  * address and use the next six bits as an index.
1591 * vap to an existing configuration is of dubious
1830 * here (after the ath_tx_swq() call; and after an ath_stop()
2238 * Disable RXEOL/RXORN - prevent an interrupt
2266 * Enqueue an RX proc to handle whatever
2708 * If we're an EDMA NIC, we don't care about RXEOL.
2915 * of whether we succeeded to get it in an exclusive
3049 * We may be doing a reset in response to an ioctl
3065 * If an interrupt was being processed in ath_intr(),
3364 * XXX it would be nicer if we kept an mbuf queue per
3407 * If it's an EAPOL frame, allocate a MGMT ath_buf.
3505 * so it can reclaim all the mbufs in case of an error;
3534 * signify that the mbuf was freed but there was an error.
3904 struct ath_node *an;
3906 an = malloc(space, M_80211_NODE, M_NOWAIT|M_ZERO);
3907 if (an == NULL) {
3911 ath_rate_node_init(sc, an);
3914 snprintf(an->an_name, sizeof(an->an_name), "%s: node %p",
3915 device_get_nameunit(sc->sc_dev), an);
3916 mtx_init(&an->an_mtx, an->an_name, NULL, MTX_DEF);
3919 ath_tx_tid_init(sc, an);
3921 an->an_node_stats.ns_avgbrssi = ATH_RSSI_DUMMY_MARKER;
3922 an->an_node_stats.ns_avgrssi = ATH_RSSI_DUMMY_MARKER;
3923 an->an_node_stats.ns_avgtxrssi = ATH_RSSI_DUMMY_MARKER;
3925 DPRINTF(sc, ATH_DEBUG_NODE, "%s: %6D: an %p\n", __func__, mac, ":", an);
3926 return &an->an_node;
3935 DPRINTF(sc, ATH_DEBUG_NODE, "%s: %6D: an %p\n", __func__,
3950 DPRINTF(sc, ATH_DEBUG_NODE, "%s: %6D: an %p\n", __func__,
4204 * Return h/w rate index for an IEEE rate (w/o basic rate bit)
4350 struct ath_node *an;
4356 an = ATH_NODE(ni);
4357 ATH_NODE_UNLOCK_ASSERT(an);
4366 ATH_NODE_LOCK(an);
4367 ath_rate_tx_complete(sc, an, rc, ts, frmlen, rc_framelen,
4369 ATH_NODE_UNLOCK(an);
4407 * XXX assume this isn't an aggregate
4522 * Use the last buffer in an aggregate as that
4878 * TX. The logic is that if it was part of an active TX, the previous
4931 * Make sure that we only sync/unload if there's an mbuf.
5268 /* Treat this as an interface reset */
5467 * If this long cal is after an idle period, then
5500 * Note we have to be careful here to not get stuck in an
5519 * work when operating as an AP to improve operation right
5642 * an AP.
5847 * are an attempt to catch these and figure out how/why.
5961 * state change. That way if we hear an AP go quiet
5986 * state change. That way if we hear an AP go quiet
6025 * necessary, for example, when an ibss merge
6036 * If joining an adhoc network defer beacon timer
6039 * starting an ibss/bss so there's no need to delay;
6063 * beacons from an AP in CAC and thus force a
6068 * In that case, we may not receive an actual
6074 * with an AP VAP.
6301 struct ath_node *an = ATH_NODE(ni);
6306 an->an_mcastrix = ath_tx_findrix(sc, tp->mcastrate);
6307 an->an_mgmtrix = ath_tx_findrix(sc, tp->mgmtrate);
6314 an->an_is_powersave);
6316 ATH_NODE_LOCK(an);
6317 ath_rate_newassoc(sc, an, isnew);
6318 ATH_NODE_UNLOCK(an);
6340 an->an_is_powersave);
6343 ath_tx_node_reassoc(sc, an);
6346 if (an->an_is_powersave)
6347 ath_tx_node_wakeup(sc, an);
6713 struct ath_node *an = ATH_NODE(ni);
6728 ath_tx_node_sleep(sc, an);
6730 ath_tx_node_wakeup(sc, an);
6783 struct ath_node *an = ATH_NODE(ni);
6788 an->an_stack_psq = enable;
6816 if (enable && an->an_tim_set == 1) {
6831 an->an_tim_set = 1;
6834 } else if (an->an_swq_depth == 0) {
6842 an->an_tim_set = 0;
6845 } else if (! an->an_is_powersave) {
6855 an->an_tim_set = 0;
6915 struct ath_node *an;
6922 an = ATH_NODE(ni);
6935 if (an->an_is_powersave &&
6936 an->an_tim_set == 0 &&
6937 an->an_swq_depth != 0) {
6943 an->an_tim_set = 1;
6950 if (an->an_swq_depth != 0)
6953 if (an->an_is_powersave &&
6954 an->an_stack_psq == 0 &&
6955 an->an_tim_set == 1 &&
6956 an->an_swq_depth == 0) {
6963 an->an_tim_set = 0;
6984 struct ath_node *an;
7001 * We do have an active node, so let's begin looking into it.
7003 an = ATH_NODE(ni);
7038 if (! an->an_is_powersave) {
7054 an->an_leak_count = 1;
7063 if (an->an_swq_depth == 0) {
7079 struct ath_tid *atid = &an->an_tid[tid];