a8083b9c0b
One of the fun issues with scanning has been how the existing ANI values were programmed into the hardware when channels were changed. If you're on a really crappy channel and ANI has made you deaf then when you scan you continue to be deaf on all channels. This code passes in a flag to startpcureceive which in AR5416 and later is also used to enable ANI. This allows it to know if it's a normal operation or a scan operation. This fixes my situation at home where a temporary spot of a device going deaf due to interference starts scanning and .. can't hear anything until I restart. Now, this isn't the full fix - ideally: (a) all the ANI config and per-channel information would be migrated to the shared HAL stuff and enabled for all of the NICs; (b) when a station reassociates and some other error conditions (like missed beacons, NF calibration failures, etc) a knob to reset ANI parameters would likely help recovery. But hey, I'm committing bits of code again! woo! Tested: * AR9344 (2G), STA operation |
||
---|---|---|
.. | ||
ar953x.ini | ||
ar955x.ini | ||
ar9300_aic.c | ||
ar9300_ani.c | ||
ar9300_aphrodite10.ini | ||
ar9300_attach.c | ||
ar9300_beacon.c | ||
ar9300_devid.h | ||
ar9300_eeprom.c | ||
ar9300_freebsd_inc.h | ||
ar9300_freebsd.c | ||
ar9300_freebsd.h | ||
ar9300_gpio.c | ||
ar9300_interrupts.c | ||
ar9300_jupiter10.ini | ||
ar9300_jupiter20.ini | ||
ar9300_keycache.c | ||
ar9300_mci.c | ||
ar9300_misc.c | ||
ar9300_osprey22_scoemu.ini | ||
ar9300_osprey22.ini | ||
ar9300_paprd.c | ||
ar9300_phy.c | ||
ar9300_power.c | ||
ar9300_radar.c | ||
ar9300_radio.c | ||
ar9300_raw_adc_capture.c | ||
ar9300_recv_ds.c | ||
ar9300_recv.c | ||
ar9300_reset.c | ||
ar9300_rtt.c | ||
ar9300_sim.c | ||
ar9300_sim.h | ||
ar9300_spectral.c | ||
ar9300_stub_funcs.c | ||
ar9300_stub_funcs.h | ||
ar9300_stub.c | ||
ar9300_stub.h | ||
ar9300_timer.c | ||
ar9300_tx99_tgt.c | ||
ar9300_txbf_cal.c | ||
ar9300_txbf.c | ||
ar9300_txbf.h | ||
ar9300_xmit_ds.c | ||
ar9300_xmit.c | ||
ar9300.h | ||
ar9300desc.h | ||
ar9300eep.h | ||
ar9300paprd.h | ||
ar9300phy.h | ||
ar9300radar.h | ||
ar9300reg.h | ||
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 | ||
ar9462_2p0_initvals.h | ||
ar9462_2p1_initvals.h | ||
ar9485_1_1.ini | ||
ar9485.ini | ||
ar9580.ini | ||
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 |