opnsense-src/sys/dev/ath/ath_hal
Adrian Chadd ff066b54ec 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 PicoStation M2HP presents reg domain 0x2a which is not found in atheros or linux 2014-02-23 18:07:17 +00:00
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.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
ah_debug.h HAL additions to enable MCI Bluetooth coexistence in the AR9300 HAL. 2013-04-05 07:41:47 +00:00
ah_decode.h Add two new debug mark entries for chip power configuration. 2014-08-09 09:13:10 +00:00
ah_desc.h Document the AR9285/AR9485 LNA configuration information that's 2013-06-05 00:39:20 +00:00
ah_devid.h * Add device string for QCA955x (scorpion); 2015-11-28 00:27:16 +00:00
ah_diagcodes.h Add some more diagnostic codes. 2012-08-24 00:17:39 +00:00
ah_eeprom.h Bring over some new EEPROM regulatory domain flags. 2012-08-24 01:14:00 +00:00
ah_eeprom_9287.c Move this magic check to only occur if no eeprom data is given. 2012-08-26 04:26:49 +00:00
ah_eeprom_9287.h Make sure the extended regdomain word is initialised. 2011-06-28 00:01:55 +00:00
ah_eeprom_v1.c Fix the eeprom set API method to return HAL_STATUS. 2011-05-14 15:12:02 +00:00
ah_eeprom_v1.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah_eeprom_v3.c Fix the eeprom set API method to return HAL_STATUS. 2011-05-14 15:12:02 +00:00
ah_eeprom_v3.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah_eeprom_v4k.c "Upgrade" the AR9285 code to support PCI/ART EEPROM on flash. 2012-04-20 21:56:13 +00:00
ah_eeprom_v4k.h Bring over a pdadc calibration fix from ath9k - unused power detector 2011-04-22 10:57:46 +00:00
ah_eeprom_v14.c Introduce the FRAC_5G EEPROM parameter. 2011-07-30 13:45:12 +00:00
ah_eeprom_v14.h Introduce the FRAC_5G EEPROM parameter. 2011-07-30 13:45:12 +00:00
ah_internal.h fix ht/40 configuration for ar9331 (hornet). 2015-11-30 06:26:59 +00:00
ah_regdomain.c PicoStation M2HP presents reg domain 0x2a which is not found in atheros or linux 2014-02-23 18:07:17 +00:00
ah_regdomain.h Migrate the regulatory database definitions into separate header files 2011-03-10 03:13:56 +00:00
ah_soc.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00