History log of /freebsd-current/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radio.c
Revision Date Author Comments
# 2451d4dd 30-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Fix the build

ichan is only used if AH_DEBUG_ALQ if defined

Pointyhat to: adrian


# ff066b54 29-Nov-2015 Adrian Chadd <adrian@FreeBSD.org>

fix ht/40 configuration for ar9331 (hornet).

The synth programming here requires the real centre frequency,
which for HT20 channels is the normal channel, but HT40 is
/not/ the primary channel. Everything else was using 'freq',
which is the correct centre frequency, but the hornet config
was using 'ichan' to do the lookup which was also the primary
channel.

So, modify the HAL call that does the mapping to take a frequency
in MHz and return the channel number.

Tested:

* Carambola 2, AR9331, tested both HT/20 and HT/40 operation.


# 27e2ad46 28-Nov-2015 Adrian Chadd <adrian@FreeBSD.org>

Add initial support for the QCA953x SoC (honeybee) wifi.

This is a 2x2 2GHz 802.11n part. It works enough at the moment to
bring up, scan and associate. I haven't started using this as
a day to day AP.

The specifics:

* add honeybee initvals
* add in changes; a mix from the QCA HAL and ath9k;
* fix a bug in AR_SREV_AR9580_10_OR_LATER(), which is only used
for one capability check and we don't even implement it - so it's
a big no-op.

Shady things:

* ath9k has the "platform data" define the 25/40MHz clock.
This HAL .. doesn't. Honeybee gets hard-coded to 25MHz which
it likely shouldn't be. I'll have to go and identify/fix those.

Tested:

* Qualcomm Atheros AP143 reference design board.

Obtained from: Qualcomm Atheros; Linux ath9k


# 86048712 25-Jun-2013 Adrian Chadd <adrian@FreeBSD.org>

Re-enable the channel set code for the AR933x.

This required a HAL change to map the 2GHz frequency back to an IEEE
channel number in order to fetch some value(s) to program in.


# 0efc4494 02-May-2013 Adrian Chadd <adrian@FreeBSD.org>

Fix this code to compile without warnings - AH_DEBUG was pulling in
ichan, but OS_MARK was not using it. It only uses it when
AH_DEBUG_ALQ is also defined.


# e113789b 27-Apr-2013 Adrian Chadd <adrian@FreeBSD.org>

Bring over my FreeBSD modifications for the AR9300 HAL to make it
work in FreeBSD.

This is still heavily a work in progress but I'd rather it start
shipping in -HEAD sooner rather than later.

This doesn't (yet) link it into the build system either for a static
kernel or as a module; that will come later (after many, many make universe
tests.)