spectral.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) | spectral.h (42e01cb9cb109fb0bb4743f6c54d6aa67ac39b61) |
---|---|
1/* 2 * Copyright (c) 2013 Qualcomm Atheros, Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 30 unchanged lines hidden (view full) --- 39 * is performed manually. 40 */ 41enum ath10k_spectral_mode { 42 SPECTRAL_DISABLED = 0, 43 SPECTRAL_BACKGROUND, 44 SPECTRAL_MANUAL, 45}; 46 | 1/* 2 * Copyright (c) 2013 Qualcomm Atheros, Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 30 unchanged lines hidden (view full) --- 39 * is performed manually. 40 */ 41enum ath10k_spectral_mode { 42 SPECTRAL_DISABLED = 0, 43 SPECTRAL_BACKGROUND, 44 SPECTRAL_MANUAL, 45}; 46 |
47#ifdef CONFIG_ATH10K_DEBUGFS | 47#ifdef CONFIG_ATH10K_SPECTRAL |
48 49int ath10k_spectral_process_fft(struct ath10k *ar, 50 struct wmi_phyerr_ev_arg *phyerr, 51 const struct phyerr_fft_report *fftr, 52 size_t bin_len, u64 tsf); 53int ath10k_spectral_start(struct ath10k *ar); 54int ath10k_spectral_vif_stop(struct ath10k_vif *arvif); 55int ath10k_spectral_create(struct ath10k *ar); --- 24 unchanged lines hidden (view full) --- 80{ 81 return 0; 82} 83 84static inline void ath10k_spectral_destroy(struct ath10k *ar) 85{ 86} 87 | 48 49int ath10k_spectral_process_fft(struct ath10k *ar, 50 struct wmi_phyerr_ev_arg *phyerr, 51 const struct phyerr_fft_report *fftr, 52 size_t bin_len, u64 tsf); 53int ath10k_spectral_start(struct ath10k *ar); 54int ath10k_spectral_vif_stop(struct ath10k_vif *arvif); 55int ath10k_spectral_create(struct ath10k *ar); --- 24 unchanged lines hidden (view full) --- 80{ 81 return 0; 82} 83 84static inline void ath10k_spectral_destroy(struct ath10k *ar) 85{ 86} 87 |
88#endif /* CONFIG_ATH10K_DEBUGFS */ | 88#endif /* CONFIG_ATH10K_SPECTRAL */ |
89 90#endif /* SPECTRAL_H */ | 89 90#endif /* SPECTRAL_H */ |