Lines Matching refs:in

7  * Redistribution and use in source and binary forms, with or without
13 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
46 * It's also required for any AH_DEBUG checks in here, eg the
96 #include <netinet/in.h>
143 * for stations in power save and at some point you really want
147 * the U/L bit and tracking addresses in a byte; it would be
285 * If this is called during a point in time where
331 * If the nic is in network sleep or full-sleep,
349 * destination has PWRMGT=1 in the 802.11 header. The NIC also
350 * needs to know to set PWRMGT=1 in self-generated frames.
382 * This doesn't update the target power mode in the driver;
543 * Returns 0, macaddr in macaddr if successful; -1 otherwise.
831 * XXX maybe belongs in struct ath_ratectrl?
885 * Although some NICs may have this configured in the
951 * in one cache slot automatically enable use.
959 * in software by the net80211 layer.
975 * as in use. If we knew TKIP was not to be used we
1037 * LNA div processing in the HAL and instead use the hard
1064 * in the txbuf list before allowing data frames (raw or
1075 * see most fail to transmit in the given beacon interval.
1092 * hopefully be another 64 frames in the software queue
1173 "[HT] enabling short-GI in 20MHz mode\n");
1342 * There's one vendor bitmap entry in the RX radiotap
1458 ath_hal_detach(sc->sc_ah); /* NB: sets chip in full sleep */
1466 * subsequent vap's we set the U/L bit (bit 1) in the MAC
1607 "wds not supported in sta mode\n");
1842 * to it in the buffer for the beacon frame.
1920 * NB: don't worry about putting the chip in low power
1952 * in h/w.
2031 /* Let DFS at it in case it's a DFS channel */
2034 /* Let spectral at in case spectral is enabled */
2038 * Let bluetooth coexistence at in case it's needed for this channel
2096 "%s: in reset, ignoring: status=0x%x\n",
2226 * Schedule the rx taskq in case there's no
2275 * is in the RX queue.
2296 * Grab all the currently set bits in the HAL txq bitmap
2456 * This handles three common beacon miss cases in STA powersave mode -
2522 /* Force a beacon resync, in case they've drifted */
2531 * Handle a TSF out of range interrupt in STA mode.
2534 * do a full reset just in case it is indeed deaf and
2555 /* Force a beacon resync, in case they've drifted */
2567 * with the MIC work done in software.
2622 * The basic interface to setting the hardware in a good
2650 /* Let DFS at it in case it's a DFS channel */
2653 /* Let spectral at in case spectral is enabled */
2657 * Let bluetooth coexistence at in case it's needed for this channel
2672 * state cached in the driver.
2692 * in the frame output path; there's nothing to do
2717 * Writing a new descriptor in will simply restart
2739 * If we're in STA mode (and maybe IBSS?) then register for
2923 * of whether we succeeded to get it in an exclusive
2980 * no further TX/RX/reset runs in parallel with this.
2991 * Now, ensure that any in progress TX/RX completes before we
3000 * not, stop the PCU and handle what's in the RX queue.
3033 /* Let DFS at it in case it's a DFS channel */
3036 /* Let spectral at in case spectral is enabled */
3040 * Let bluetooth coexistence at in case it's needed for this channel
3057 * We may be doing a reset in response to an ioctl
3073 * If an interrupt was being processed in ath_intr(),
3078 * in the rest or channel change path.
3080 * Grab the TX reference in case we need to transmit.
3127 /* Handle any frames in the TX queue */
3237 * in use by the hardware.
3393 * space free in order for buffer cloning and raw
3473 * fragments are being transmitted in one hit, rather than
3482 * Calculate the "next fragment" length field in ath_buf
3483 * in order to let the transmit path know enough about
3494 * However, the first buffer isn't in the frag
3513 * so it can reclaim all the mbufs in case of an error;
3550 * Check here if the node is in power save state.
3604 * uses that originate in the driver.
3748 /* honor short/long slot time only in 11g */
3879 * flag doesn't have to be set in ath_getbuf_locked().
3946 /* Cleanup ath_tid, free unused bufs, unlink bufs in TXQ */
4034 * up in which case the top half of the kernel may backup
4069 * queues in which case it will return a reference to a
4072 * the set of h/w queues being used to optimize work in the
4138 * used in the previous queue setup?
4213 * using the current rates in sc_rixmap.
4528 * still re-read the link field in the descriptor.
4530 * Use the last buffer in an aggregate as that
4619 /* XXX why is lastrx updated in tx code? */
4885 * This _must_ only be called when the buffer is involved in a completed
4887 * buffer on the list is now not involved in a halted TX DMA queue, waiting
4894 * be much nicer if buffers in the processq() methods would instead be
4896 * exactly what hardware queue they came from in the first place.
4973 * Is it the last buffer in this set?
5058 * Since we're now doing magic in the completion
5211 * _last_ buffer/descriptor in the list.
5212 * If there's nothing in the list, set it
5346 /* Let DFS at it in case it's a DFS channel */
5349 /* Let spectral at in case spectral is enabled */
5353 * Let bluetooth coexistence at in case it's needed for this
5438 /* Skip trying to do this if we're in reset */
5493 * Calibrate noise floor data again in case of change.
5508 * Note we have to be careful here to not get stuck in an
5510 * failed the first NF cal - that /can/ fail sometimes in
5623 * mode. (Eg, 40MHz frames in 20MHz mode.) Since TX and RX can and
5624 * does occur in parallel, we need to make certain we've blocked
5648 * This is called by the beacon parsing routine in the receive
5661 * to keep in mind what we will see when the next beacon
5664 * each TBTT - so if we just program it in upon each beacon received,
5705 /* Note: this belongs in net80211, parsed out and everything */
5710 * If they're the same then don't program in anything.
5726 * Don't program in garbage values.
5759 * is equal to 1, and program it in.
5766 le16dec(&q->duration), /* already in TU */
5794 * beacon timers. Note that since we only hear beacons in
5795 * sta/ibss mode this has no effect in other operating modes.
5805 * Walk the vap list and check if there any vap's in RUN state.
5862 * If the NIC is in anything other than SLEEP state,
5961 * it on RX of beacons in passive mode (and only clear it
5986 * it on RX of beacons in passive mode (and only clear it
6024 * For channels that are in CAC, we may have disabled
6071 * beacons from an AP in CAC and thus force a
6149 * (in case we didn't go through SCAN state).
6166 * If there are no vaps left in RUN state then
6210 * We stay awake if syncbeacon > 0 in case
6227 * This should be revisited in a future commit, even if it's
6235 * If we're in scan mode then startpcureceive() is
6237 * but once we attempt to reassociate we program in the previous
6285 * the more expensive lookup in software. Note
6337 * Now, we may have frames in the hardware queue for this node.
6338 * So if we are reassociating and there are frames in the queue,
6702 * XXX was found in the primary or extension
6761 * software queue in question is also cleared.
6769 * overlapping TXes will appear complete with a TX completion in
6778 * The same race exists in the net80211 power save queue handling
6820 * in another thread. TX completion will occur always in
6855 * disable regardless; the node isn't in powersave now
6868 * psq disable, node is currently in powersave, node
6902 * re-check afterwards to ensure nothing has changed in the
6914 * point in churning the TIM bit as the last frames in the software
6985 * because there's traffic in the net80211 psq, or a NULL frame to
7020 * + Check the software queue and if there's something in it,
7033 * direct dispatching to the hardware in this path (and
7048 "%s: %6D: not in powersave?\n",
7058 * We're in powersave.
7065 * Now, if there's no frames in the node, just punt to
7113 * XXX nothing in the TIDs at this point? Eek.