freebsd-dev/sys/contrib/dev/ath/ath_hal/ar9300
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
..
ar953x.ini add missing initvals. 2015-11-29 18:14:18 +00:00
ar955x.ini
ar9300_aic.c
ar9300_ani.c Fix compilation error on gcc-5.2.0 - it now warns on non-paranthen'ed 2015-08-30 08:46:50 +00:00
ar9300_aphrodite10.ini
ar9300_attach.c Add initial support for the QCA953x SoC (honeybee) wifi. 2015-11-29 05:47:52 +00:00
ar9300_beacon.c Add ath_hal_setbeacontimers() to the AR9300 HAL. 2015-02-15 19:56:31 +00:00
ar9300_devid.h
ar9300_eeprom.c Add initial support for the QCA953x SoC (honeybee) wifi. 2015-11-29 05:47:52 +00:00
ar9300_freebsd_inc.h Add initial support for the QCA953x SoC (honeybee) wifi. 2015-11-29 05:47:52 +00:00
ar9300_freebsd.c ath(4): begin fleshing out a "reset type" extension to force cold/warn resets. 2015-11-09 15:59:42 +00:00
ar9300_freebsd.h ath(4): begin fleshing out a "reset type" extension to force cold/warn resets. 2015-11-09 15:59:42 +00:00
ar9300_gpio.c Quieten a clang warning. 2015-02-14 17:43:54 +00:00
ar9300_interrupts.c store the AR9300 interrupts away when doing interrupt debugging. 2014-07-26 21:32:03 +00:00
ar9300_jupiter10.ini
ar9300_jupiter20.ini
ar9300_keycache.c Update the AR9300 HAL to the latest public available HAL from QCA. 2015-02-14 04:28:51 +00:00
ar9300_mci.c
ar9300_misc.c Add TXOP enforce support to the AR9300 HAL. 2015-08-05 19:32:35 +00:00
ar9300_osprey22_scoemu.ini
ar9300_osprey22.ini Update the AR9300 HAL to the latest public available HAL from QCA. 2015-02-14 04:28:51 +00:00
ar9300_paprd.c
ar9300_phy.c
ar9300_power.c Update the AR9300 HAL to the latest public available HAL from QCA. 2015-02-14 04:28:51 +00:00
ar9300_radar.c Add initial support for the QCA953x SoC (honeybee) wifi. 2015-11-29 05:47:52 +00:00
ar9300_radio.c fix ht/40 configuration for ar9331 (hornet). 2015-11-30 06:26:59 +00:00
ar9300_raw_adc_capture.c
ar9300_recv_ds.c Update the AR9300 HAL to the latest public available HAL from QCA. 2015-02-14 04:28:51 +00:00
ar9300_recv.c Add initial support for the QCA953x SoC (honeybee) wifi. 2015-11-29 05:47:52 +00:00
ar9300_reset.c Add initial support for the QCA953x SoC (honeybee) wifi. 2015-11-29 05:47:52 +00:00
ar9300_rtt.c
ar9300_sim.c
ar9300_sim.h
ar9300_spectral.c
ar9300_stub_funcs.c ath(4): begin fleshing out a "reset type" extension to force cold/warn resets. 2015-11-09 15:59:42 +00:00
ar9300_stub_funcs.h ath(4): begin fleshing out a "reset type" extension to force cold/warn resets. 2015-11-09 15:59:42 +00:00
ar9300_stub.c Quieten the AR9300 HAL probe a bit. 2014-09-20 01:17:02 +00:00
ar9300_stub.h
ar9300_timer.c
ar9300_tx99_tgt.c
ar9300_txbf_cal.c
ar9300_txbf.c
ar9300_txbf.h
ar9300_xmit_ds.c Correct the descriptor length for AR9462/AR9565 and set the final field 2015-01-17 17:37:08 +00:00
ar9300_xmit.c Update the AR9300 HAL to the latest public available HAL from QCA. 2015-02-14 04:28:51 +00:00
ar9300.h Expose the ANI state / statistics using the public ANI function, rather than 2015-04-01 04:56:10 +00:00
ar9300desc.h Correct the descriptor length for AR9462/AR9565 and set the final field 2015-01-17 17:37:08 +00:00
ar9300eep.h
ar9300paprd.h
ar9300phy.h
ar9300radar.h
ar9300reg.h Add initial support for the QCA953x SoC (honeybee) wifi. 2015-11-29 05:47:52 +00:00
ar9300template_ap121.h
ar9300template_aphrodite.h
ar9300template_cus157.h
ar9300template_generic.h
ar9300template_hb112.h
ar9300template_hb116.h
ar9300template_osprey_k31.h
ar9300template_wasp_2.h
ar9300template_wasp_k31.h
ar9300template_xb112.h
ar9300template_xb113.h
ar9330_11.ini
ar9330_12.ini
ar9340.ini Update the AR9300 HAL to the latest public available HAL from QCA. 2015-02-14 04:28:51 +00:00
ar9462_2p0_initvals.h [ath_hal] add AR9461 (jupiter) 2.1 support. 2015-11-29 05:34:00 +00:00
ar9462_2p1_initvals.h u32 -> uint32_t. 2015-11-29 05:42:18 +00:00
ar9485_1_1.ini
ar9485.ini
ar9580.ini Update the AR9300 HAL to the latest public available HAL from QCA. 2015-02-14 04:28:51 +00:00
eeprom.diff
osprey_reg_map_macro.h
osprey_reg_map.h
poseidon_reg_map_macro.h
scorpion_reg_map_macro.h
scorpion_reg_map.h
sources
wasp_reg_map.h