@@ -38,15 +38,15 @@ static int8_t rf_driver_id = (-1);
38
38
static bool data_request_pending_flag = false;
39
39
40
40
/** XXX: dummy values copied from Atmel RF driver */
41
- static const phy_rf_channel_configuration_s phy_2_4ghz = {2405000000 , 5000000 , 250000 , 16 , M_OQPSK };
42
- static const phy_rf_channel_configuration_s phy_subghz = {868300000 , 2000000 , 250000 , 11 , M_OQPSK };
43
-
44
- static const phy_rf_channel_configuration_s phy_subghz_8_ch = {868300000 , 2000000 , 250000 , 8 , M_OQPSK };
45
- static const phy_rf_channel_configuration_s phy_subghz_11_ch = {868300000 , 2000000 , 250000 , 11 , M_OQPSK };
46
- static const phy_rf_channel_configuration_s phy_subghz_16_ch = {868300000 , 2000000 , 250000 , 16 , M_OQPSK };
47
- static const phy_rf_channel_configuration_s phy_2_4ghz_14_ch = {2405000000 , 1000000 , 250000 , 14 , M_OQPSK };
48
- static const phy_rf_channel_configuration_s phy_2_4ghz_5_ch = {2405000000 , 1000000 , 250000 , 5 , M_OQPSK }; //For FHSS testing only
49
- static const phy_rf_channel_configuration_s phy_2_4ghz_256_ch = {2405000000 , 1000000 , 250000 , 256 , M_OQPSK }; //For FHSS testing only
41
+ static const phy_rf_channel_configuration_s phy_2_4ghz = {. channel_0_center_frequency = 2405000000 , . channel_spacing = 5000000 , . datarate = 250000 , . number_of_channels = 16 , . modulation = M_OQPSK };
42
+ static const phy_rf_channel_configuration_s phy_subghz = {. channel_0_center_frequency = 868300000 , . channel_spacing = 2000000 , . datarate = 250000 , . number_of_channels = 11 , . modulation = M_OQPSK };
43
+
44
+ static const phy_rf_channel_configuration_s phy_subghz_8_ch = {. channel_0_center_frequency = 868300000 , . channel_spacing = 2000000 , . datarate = 250000 , . number_of_channels = 8 , . modulation = M_OQPSK };
45
+ static const phy_rf_channel_configuration_s phy_subghz_11_ch = {. channel_0_center_frequency = 868300000 , . channel_spacing = 2000000 , . datarate = 250000 , . number_of_channels = 11 , . modulation = M_OQPSK };
46
+ static const phy_rf_channel_configuration_s phy_subghz_16_ch = {. channel_0_center_frequency = 868300000 , . channel_spacing = 2000000 , . datarate = 250000 , . number_of_channels = 16 , . modulation = M_OQPSK };
47
+ static const phy_rf_channel_configuration_s phy_2_4ghz_14_ch = {. channel_0_center_frequency = 2405000000 , . channel_spacing = 1000000 , . datarate = 250000 , . number_of_channels = 14 , . modulation = M_OQPSK };
48
+ static const phy_rf_channel_configuration_s phy_2_4ghz_5_ch = {. channel_0_center_frequency = 2405000000 , . channel_spacing = 1000000 , . datarate = 250000 , . number_of_channels = 5 , . modulation = M_OQPSK }; //For FHSS testing only
49
+ static const phy_rf_channel_configuration_s phy_2_4ghz_256_ch = {. channel_0_center_frequency = 2405000000 , . channel_spacing = 1000000 , . datarate = 250000 , . number_of_channels = 256 , . modulation = M_OQPSK }; //For FHSS testing only
50
50
51
51
static phy_device_channel_page_s phy_channel_pages [] = {
52
52
{CHANNEL_PAGE_0 , & phy_2_4ghz }, // this will be modified to contain 11 or 16 channels, depending on radio type
0 commit comments