diff options
author | Zefir Kurtisi <zefir.kurtisi@neratec.com> | 2013-03-22 07:58:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-27 13:37:32 -0400 |
commit | 55f39e67399d3d4cf0c9b2833da797afeafd537b (patch) | |
tree | 857e08edb2245d761501198e42b9f89666fd93b4 /drivers/net/wireless | |
parent | 64513ef449e3beaacb801d41467f47642683e35a (diff) |
ath9k: trivial: change spectral relayfs buffering
The spectral data provided via relay-fs introduces a buffering
latency given by the subbuf_size. To meet the requirements for
delay-sensitive applications (like real-time spectral plotter),
reduce subbuf_size and increase n_subbufs.
Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c index 67a2a4b3b883..e6307b86363a 100644 --- a/drivers/net/wireless/ath/ath9k/debug.c +++ b/drivers/net/wireless/ath/ath9k/debug.c | |||
@@ -2072,7 +2072,7 @@ int ath9k_init_debug(struct ath_hw *ah) | |||
2072 | &fops_modal_eeprom); | 2072 | &fops_modal_eeprom); |
2073 | sc->rfs_chan_spec_scan = relay_open("spectral_scan", | 2073 | sc->rfs_chan_spec_scan = relay_open("spectral_scan", |
2074 | sc->debug.debugfs_phy, | 2074 | sc->debug.debugfs_phy, |
2075 | 262144, 4, &rfs_spec_scan_cb, | 2075 | 1024, 256, &rfs_spec_scan_cb, |
2076 | NULL); | 2076 | NULL); |
2077 | debugfs_create_file("spectral_scan_ctl", S_IRUSR | S_IWUSR, | 2077 | debugfs_create_file("spectral_scan_ctl", S_IRUSR | S_IWUSR, |
2078 | sc->debug.debugfs_phy, sc, | 2078 | sc->debug.debugfs_phy, sc, |