qcacmn: Redefine channel frequency MACRO as public

Move MACRO definition of TWOG_CHAN_6_IN_MHZ out of
ifdef CONFIG_CHAN_FREQ_API, move to public header file,
then other components can use it.

Change-Id: Ieb4b2b167c664246d39949ad4f8d53eda6b9d7de
CRs-Fixed: 2580207
Tento commit je obsažen v:
Jianmin Zhu
2019-12-05 10:34:35 +08:00
odevzdal nshrivas
rodič fac1d4e171
revize 6aded3fc94
2 změnil soubory, kde provedl 8 přidání a 7 odebrání

Zobrazit soubor

@@ -51,13 +51,6 @@
((freq) <= REG_MAX_24GHZ_CH_FREQ))
#ifdef CONFIG_CHAN_FREQ_API
#define FIVEG_STARTING_FREQ 5000
#define TWOG_STARTING_FREQ 2407
#define TWOG_CHAN_14_IN_MHZ 2484
#define TWOG_CHAN_1_IN_MHZ 2412
#define TWOG_CHAN_5_IN_MHZ 2432
#define TWOG_CHAN_6_IN_MHZ 2437
#define TWOG_CHAN_13_IN_MHZ 2472
#define REG_MIN_5GHZ_CH_FREQ channel_map[MIN_5GHZ_CHANNEL].center_freq
#define REG_MAX_5GHZ_CH_FREQ channel_map[MAX_5GHZ_CHANNEL].center_freq
#endif /* CONFIG_CHAN_FREQ_API */

Zobrazit soubor

@@ -1062,4 +1062,12 @@ struct avoid_freq_ind_data {
struct unsafe_ch_list chan_list;
};
#define FIVEG_STARTING_FREQ 5000
#define TWOG_STARTING_FREQ 2407
#define TWOG_CHAN_14_IN_MHZ 2484
#define TWOG_CHAN_1_IN_MHZ 2412
#define TWOG_CHAN_5_IN_MHZ 2432
#define TWOG_CHAN_6_IN_MHZ 2437
#define TWOG_CHAN_13_IN_MHZ 2472
#endif