freebsd-skq/sys/dev/ath/ath_hal
adrian 7be92c60b6 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.
2015-11-30 06:26:59 +00:00
..
ah_regdomain
ar5210 ath(4): begin fleshing out a "reset type" extension to force cold/warn resets. 2015-11-09 15:59:42 +00:00
ar5211 ath(4): begin fleshing out a "reset type" extension to force cold/warn resets. 2015-11-09 15:59:42 +00:00
ar5212 Fix kernel build, broken in r290612 2015-11-09 20:22:59 +00:00
ar5312 ath(4): begin fleshing out a "reset type" extension to force cold/warn resets. 2015-11-09 15:59:42 +00:00
ar5416 Fix kernel build, broken in r290612 2015-11-09 20:22:59 +00:00
ar9001 Add initial support for the AR9485 CUS198 / CUS230 variants. 2014-09-30 03:19:29 +00:00
ar9002 Add initial support for the AR9485 CUS198 / CUS230 variants. 2014-09-30 03:19:29 +00:00
ar9003 [ath_hal] use the correct revision information for QCA953x. 2015-11-28 06:50:09 +00:00
ah_debug.h
ah_decode.h Add two new debug mark entries for chip power configuration. 2014-08-09 09:13:10 +00:00
ah_desc.h
ah_devid.h * Add device string for QCA955x (scorpion); 2015-11-28 00:27:16 +00:00
ah_diagcodes.h
ah_eeprom_9287.c
ah_eeprom_9287.h
ah_eeprom_v1.c
ah_eeprom_v1.h
ah_eeprom_v3.c
ah_eeprom_v3.h
ah_eeprom_v4k.c
ah_eeprom_v4k.h
ah_eeprom_v14.c
ah_eeprom_v14.h
ah_eeprom.h
ah_internal.h fix ht/40 configuration for ar9331 (hornet). 2015-11-30 06:26:59 +00:00
ah_regdomain.c
ah_regdomain.h
ah_soc.h
ah.c fix ht/40 configuration for ar9331 (hornet). 2015-11-30 06:26:59 +00:00
ah.h ath(4): begin fleshing out a "reset type" extension to force cold/warn resets. 2015-11-09 15:59:42 +00:00