aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/spectral.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/spectral.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/spectral.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/spectral.c b/drivers/net/wireless/ath/ath10k/spectral.c
index d22addf6118b..8dcd424aa502 100644
--- a/drivers/net/wireless/ath/ath10k/spectral.c
+++ b/drivers/net/wireless/ath/ath10k/spectral.c
@@ -519,9 +519,12 @@ int ath10k_spectral_vif_stop(struct ath10k_vif *arvif)
519 519
520int ath10k_spectral_create(struct ath10k *ar) 520int ath10k_spectral_create(struct ath10k *ar)
521{ 521{
522 /* The buffer size covers whole channels in dual bands up to 128 bins.
523 * Scan with bigger than 128 bins needs to be run on single band each.
524 */
522 ar->spectral.rfs_chan_spec_scan = relay_open("spectral_scan", 525 ar->spectral.rfs_chan_spec_scan = relay_open("spectral_scan",
523 ar->debug.debugfs_phy, 526 ar->debug.debugfs_phy,
524 1024, 256, 527 1140, 2500,
525 &rfs_spec_scan_cb, NULL); 528 &rfs_spec_scan_cb, NULL);
526 debugfs_create_file("spectral_scan_ctl", 529 debugfs_create_file("spectral_scan_ctl",
527 S_IRUSR | S_IWUSR, 530 S_IRUSR | S_IWUSR,