#include <cstdint>#include <linux/types.h>

Go to the source code of this file.
Classes | |
| struct | fft_sample_tlv |
| struct | fft_sample_ht20 |
| struct | fft_sample_ht20_40 |
| struct | fft_sample_ath10k |
Macros | |
| #define | SPECTRAL_HT20_NUM_BINS 56 |
| #define | SPECTRAL_HT20_40_NUM_BINS 128 |
| #define | SPECTRAL_ATH10K_MAX_NUM_BINS 256 |
Typedefs | |
| typedef std::uint8_t | u8 |
| typedef std::int8_t | s8 |
| typedef std::uint16_t | __be16 |
Enumerations | |
| enum | ath_fft_sample_type { ATH_FFT_SAMPLE_HT20 = 1, ATH_FFT_SAMPLE_HT20_40, ATH_FFT_SAMPLE_ATH10K } |
Functions | |
| struct fft_sample_tlv | __attribute__ ((packed)) |
| #define SPECTRAL_ATH10K_MAX_NUM_BINS 256 |
Definition at line 42 of file spectral_common.h.
| #define SPECTRAL_HT20_40_NUM_BINS 128 |
Definition at line 37 of file spectral_common.h.
| #define SPECTRAL_HT20_NUM_BINS 56 |
Definition at line 36 of file spectral_common.h.
| typedef std::uint16_t __be16 |
Definition at line 60 of file spectral_common.h.
| typedef std::int8_t s8 |
Definition at line 59 of file spectral_common.h.
| typedef std::uint8_t u8 |
Definition at line 58 of file spectral_common.h.
| enum ath_fft_sample_type |
| Enumerator | |
|---|---|
| ATH_FFT_SAMPLE_HT20 | |
| ATH_FFT_SAMPLE_HT20_40 | |
| ATH_FFT_SAMPLE_ATH10K | |
Definition at line 52 of file spectral_common.h.
| struct fft_sample_tlv __attribute__ | ( | (packed) | ) |
| u8 avgpwr_db |
Definition at line 73 of file spectral_common.h.
| __be16 base_pwr_db |
Definition at line 68 of file spectral_common.h.
| u8 bitmap_weight |
Definition at line 71 of file spectral_common.h.
| u8 chan_width_mhz |
Definition at line 62 of file spectral_common.h.
| u8 channel_type |
Definition at line 63 of file spectral_common.h.
| u8 data |
Definition at line 75 of file spectral_common.h.
| __be16 freq |
Definition at line 65 of file spectral_common.h.
| __be16 freq1 |
Definition at line 63 of file spectral_common.h.
| __be16 freq2 |
Definition at line 64 of file spectral_common.h.
| __be16 length |
Definition at line 62 of file spectral_common.h.
| u8 lower_bitmap_weight |
Definition at line 80 of file spectral_common.h.
| u8 lower_max_index |
Definition at line 77 of file spectral_common.h.
| __be16 lower_max_magnitude |
Definition at line 74 of file spectral_common.h.
| s8 lower_noise |
Definition at line 71 of file spectral_common.h.
| s8 lower_rssi |
Definition at line 66 of file spectral_common.h.
| u8 max_exp |
Definition at line 63 of file spectral_common.h.
| s8 max_index |
Definition at line 70 of file spectral_common.h.
| __be16 max_magnitude |
Definition at line 69 of file spectral_common.h.
| __be16 noise |
Definition at line 67 of file spectral_common.h.
| u8 relpwr_db |
Definition at line 72 of file spectral_common.h.
| u8 rssi |
Definition at line 66 of file spectral_common.h.
| struct fft_sample_tlv tlv |
Definition at line 61 of file spectral_common.h.
| __be16 total_gain_db |
Definition at line 67 of file spectral_common.h.
| __be64 tsf |
Definition at line 73 of file spectral_common.h.
| u8 type |
Definition at line 61 of file spectral_common.h.
| u8 upper_bitmap_weight |
Definition at line 81 of file spectral_common.h.
| u8 upper_max_index |
Definition at line 78 of file spectral_common.h.
| __be16 upper_max_magnitude |
Definition at line 75 of file spectral_common.h.
| s8 upper_noise |
Definition at line 72 of file spectral_common.h.
| s8 upper_rssi |
Definition at line 67 of file spectral_common.h.