History log of /openbsd/sys/dev/ic/athnvar.h (Results 1 – 25 of 42)
Revision Date Author Comments
# d2dd70ac 15-Apr-2021 stsp <stsp@openbsd.org>

Switch athn(4) 802.11n Tx rate adaptation from MiRA to RA.

Tests:
AR5418: Uwe Werler
AR9280: kn, jmatthew, Lauri Tirkkonen, Scott Bennett, Mikolaj Kucharski
AR9285: kevlo, trondd, myself

ok deraadt@


# 51a6fb14 11-Oct-2020 mpi <mpi@openbsd.org>

Stop exporting `wt_hwqueue' now that drivers don't advertise it.

Pointed by and ok jsg@


# eb1adcec 09-Oct-2020 mpi <mpi@openbsd.org>

Kill unused IEEE80211_RADIOTAP_HWQUEUE.

Its value is conflicting with an effort to standardize TX flags fields of
the radiotap header from Mathy Vanhoef.

This flag used to indicate the presence of

Kill unused IEEE80211_RADIOTAP_HWQUEUE.

Its value is conflicting with an effort to standardize TX flags fields of
the radiotap header from Mathy Vanhoef.

This flag used to indicate the presence of a specific hardware queue used
by WME but is unchecked.

ok sthen@, kn@

show more ...


# 9d1f2812 01-Feb-2019 stsp <stsp@openbsd.org>

Complete athn(4) noisefloor calibration code and enable it.
Update default/min/max noisefloor values to those used by Linux ath9k.
Tested by jmc, juanfra, kn, and myself, on 9280 and 9271 devices.


# cc6e2d0b 31-Jan-2019 stsp <stsp@openbsd.org>

Enable IQ/ADC calibration in the athn(4) driver.
Code for this was already present, it was just not being called yet.
Tested on AR9280 and AR9271 by jmc@, kevlo@, jmatthew@, juanfra@, and myself.


# 7363c99e 12-Jan-2017 stsp <stsp@openbsd.org>

Finish initial 11n support for athn(4).

The heavy lifting was done by damien@ years ago. I didn't even have
to figure out what the hardware expects, the code was already there.

This driver now supp

Finish initial 11n support for athn(4).

The heavy lifting was done by damien@ years ago. I didn't even have
to figure out what the hardware expects, the code was already there.

This driver now supports MCS 0-15 in client and hostap mode.
No Tx aggregation and no 40 MHz channels yet.

tested by vgross@, bmercer@, tb@, jmc@, Vadim Vygonets, Peter Kay
ok bmercer@ tb@ phessler@

show more ...


# 5e32cd22 05-Jan-2016 stsp <stsp@openbsd.org>

Remove the IEEE80211_NO_HT macro. Reduces ifdef spaghetti, enables 11n mode
in bsd.rd, and might uncover some bugs. Suggested by tedu@ and deraadt@.
ok sthen@ jasper@ deraadt@


# 37ecb596 06-Dec-2013 deraadt <deraadt@openbsd.org>

Add a DVACT_WAKEUP op to the *_activate() API. This is called after the
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op

Add a DVACT_WAKEUP op to the *_activate() API. This is called after the
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people

show more ...


# 17ac1014 21-Oct-2013 stsp <stsp@openbsd.org>

Fix values of AR9003 Rx queue software indexes. Both indexes were zero,
which is obviously not intended given how they are used in the ar9003 code.
No currently working athn(4) devices are affected b

Fix values of AR9003 Rx queue software indexes. Both indexes were zero,
which is obviously not intended given how they are used in the ar9003 code.
No currently working athn(4) devices are affected by this change.

show more ...


# c8971d2a 20-Oct-2012 stsp <stsp@openbsd.org>

Init values for the AR9485 were for version 1.0 of this chip, which according
to Atheros Linux developers was never sold. So update initvals to what Linux
is using for the 1.1 generation. Because the

Init values for the AR9485 were for version 1.0 of this chip, which according
to Atheros Linux developers was never sold. So update initvals to what Linux
is using for the 1.1 generation. Because the serdes values are written to
different registers on the AR9485 this involves tweaking the serdes init code
for all athn(4) chip families. This commit doesn't make AR9485 devices work
yet but is a step in the right direction.

Tested by krw, kettenis, and Andrew Ngo. ok kettenis@

show more ...


# 5dde5fe4 25-Aug-2012 kettenis <kettenis@openbsd.org>

Add support for power saving in Host AP mode.

ok stsp@, deraadt@


# 328b15b2 10-Jun-2012 kettenis <kettenis@openbsd.org>

Allow a variable number of words for the Serializer/Deserializer programming.
Probably not enought to make the AR9380 chips to work, but at least the kernel
shouldn't crash anymore when we see one.

Allow a variable number of words for the Serializer/Deserializer programming.
Probably not enought to make the AR9380 chips to work, but at least the kernel
shouldn't crash anymore when we see one.

ok stsp@

show more ...


# 5632af28 08-Jan-2011 damien <damien@openbsd.org>

fix LEDs handling.
do not read back the LED GPIO pin since it is configured in output
only mode.
makes the link LED blink on the WiFiStation EXT when scanning (the
LEDs indicating the signal strength

fix LEDs handling.
do not read back the LED GPIO pin since it is configured in output
only mode.
makes the link LED blink on the WiFiStation EXT when scanning (the
LEDs indicating the signal strength are not working yet).

show more ...


# 13236e8d 06-Jan-2011 damien <damien@openbsd.org>

"athn* at uhub? port ?"
this adds preliminary support for the Atheros AR9271 chipset and
probably the AR9280+AR7010 and AR9287+AR7010 too though those were
not tested.
scanning still takes a very lon

"athn* at uhub? port ?"
this adds preliminary support for the Atheros AR9271 chipset and
probably the AR9280+AR7010 and AR9287+AR7010 too though those were
not tested.
scanning still takes a very long time (~1 sec per channel) but
otherwise, operation in STA mode seems stable.
will implement fast channel change soon.

committed over the Ubiquiti WifiStation EXT (AR9271) on i386 with WPA.
requires firmware (see man page for details)

ok deraadt@ (who checked the .h files)

show more ...


# 3a686414 01-Jan-2011 damien <damien@openbsd.org>

add code to read OTPROM on the AR9485


# 44176b8e 31-Dec-2010 damien <damien@openbsd.org>

limit the number of Tx chains used on some 3-stream AR9380 chips
for MCS0~15 to not exceed the PCIe power requirements.


# c0a11cf8 31-Dec-2010 damien <damien@openbsd.org>

Make the athn(4) back-end more bus agnostic by moving read and write
operations to callbacks in the PCI and CardBus front-ends.
This will allow support of other buses like USB.
Assume the following m

Make the athn(4) back-end more bus agnostic by moving read and write
operations to callbacks in the PCI and CardBus front-ends.
This will allow support of other buses like USB.
Assume the following memory model:
- writes are ordered but may be buffered and require explicit flush
- a read always flushes all buffered writes

show more ...


# e7e15635 10-Nov-2010 damien <damien@openbsd.org>

Several updates for the Osprey (AR9380):
- Add the different ROM templates for the different chips
- Fix AR_PHY_65NM_CH0_TOP_XPABIASLVL definition
- Apply attenuation settings from the ROM


# 6432ce43 18-Oct-2010 damien <damien@openbsd.org>

Stop compiling with ATHN_DEBUG defined by default.


# ffd25815 03-Sep-2010 damien <damien@openbsd.org>

fix initialization value of analog register AR_AN_TOP2 on some high
power AR9220 adapters.
this should fix at least Ubiquiti SR71-12 and Winstron DMNA92 adapters.

problem reported by Giuseppe Scalzi

fix initialization value of analog register AR_AN_TOP2 on some high
power AR9220 adapters.
this should fix at least Ubiquiti SR71-12 and Winstron DMNA92 adapters.

problem reported by Giuseppe Scalzi and Alex Dervish
fix tested by Giuseppe Scalzi with a Winstron DMNA92

show more ...


# 4116fd83 12-Aug-2010 damien <damien@openbsd.org>

Enable periodic (every 4 minutes) power amplifier calibration
on AR9285 and AR9287.


# b46f6896 12-Aug-2010 damien <damien@openbsd.org>

For chips in open-loop power control mode, periodically (every 30 secs)
compensate Tx gain for temperature changes.


# 95d74b5f 21-Jul-2010 kettenis <kettenis@openbsd.org>

Add suspend/unsuspend logic.

ok damien@, deraadt@


# 471b2f7f 15-Jul-2010 damien <damien@openbsd.org>

According to Linux ath9k, the AR9280 1.0 was never sold.
Since this is the only chip revision that requires split TKIP MIC keys,
remove code that deal with that.


# 49841013 22-Jun-2010 damien <damien@openbsd.org>

cleanup/fix PA predistortion code.


12