History log of /freebsd-current/sys/dev/ath/ath_hal/ar5211/ar5211_power.c
Revision Date Author Comments
# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 6e778a7e 08-Dec-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

SPDX: license IDs for some ISC-related files.


# ce3f9a89 29-Apr-2014 Adrian Chadd <adrian@FreeBSD.org>

* Only update ah_powerMode if we're setting the chip sleep state.
Some code will appear soon that is actually setting the chip powerstate
separate from the self-generated frames power state.
* Allow the AR5416 family chips to actually have the power state changed
from the self generated state change.

Tested (STA mode):

* AR5210
* AR5211
* AR5412
* AR5413
* AR5416
* AR9285


# db236795 24-Apr-2014 Adrian Chadd <adrian@FreeBSD.org>

Fix the AR5211 power mode tracking stuff.

Tested:

* AR5211, STA mode


# 8a67b42a 10-Mar-2014 Adrian Chadd <adrian@FreeBSD.org>

Migrate the chip power mode status to public ath_hal, rather than the
private per-chip HAL.

This allows the ah_osdep.[ch] code to check whether the power state is
valid for doing chip programming.

It should be a no-op for normal driver work but it does require a
clean kernel/module rebuild, as the size of HAL structures have changed.

Now, this doesn't track whether the hardware is ACTUALLY awake,
as NETWORK_SLEEP wakes the chip up for a short period when traffic
is received. This doesn't actually set the power mode to AWAKE, so
we have to be careful about how we touch things.

But it's enough to start down the path of implementing station mode
chipset power savings, as a large part of the silliness is making
sure the chip is awake during periodic calibration / ANI and
random places where transmit may be occuring. I'd rather not a repeat
of debugging power save on ath9k, where races with calibration
and transmit path stuff took a couple years to shake out.

Tested:

* AR5416, STA mode


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# dc605140 10-Jun-2010 Rui Paulo <rpaulo@FreeBSD.org>

MFC r204644:
Replace Id keyword with FreeBSD keyword and set the svn props correctly.
No functional change.

Approved by: re (bz)


# 3e9c5955 03-Mar-2010 Rui Paulo <rpaulo@FreeBSD.org>

Replace Id keyword with FreeBSD keyword and set the svn props correctly.
No functional change.