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:
@@ -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 */
|
||||
|
@@ -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
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele