File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ extern "C" {
78
78
#define CHANNEL_SPACING_400 0x01 // 400 khz
79
79
#define CHANNEL_SPACING_600 0x02 // 600 khz
80
80
#define CHANNEL_SPACING_100 0x03 // 100 khz
81
+ #define CHANNEL_SPACING_250 0x04 // 250 khz
81
82
82
83
/**
83
84
* Initialize Wi-SUN stack.
Original file line number Diff line number Diff line change @@ -101,15 +101,15 @@ int8_t ws_common_regulatory_domain_config(protocol_interface_info_entry_t *cur)
101
101
if (cur -> ws_info -> hopping_schdule .operating_class == 1 ) {
102
102
cur -> ws_info -> hopping_schdule .ch0_freq = 9206 ;
103
103
cur -> ws_info -> hopping_schdule .channel_spacing = CHANNEL_SPACING_200 ;
104
- cur -> ws_info -> hopping_schdule .number_of_channels = 129 ;
104
+ cur -> ws_info -> hopping_schdule .number_of_channels = 38 ;
105
105
} else if (cur -> ws_info -> hopping_schdule .operating_class == 2 ) {
106
106
cur -> ws_info -> hopping_schdule .ch0_freq = 9209 ;
107
107
cur -> ws_info -> hopping_schdule .channel_spacing = CHANNEL_SPACING_400 ;
108
- cur -> ws_info -> hopping_schdule .number_of_channels = 64 ;
108
+ cur -> ws_info -> hopping_schdule .number_of_channels = 18 ;
109
109
} else if (cur -> ws_info -> hopping_schdule .operating_class == 3 ) {
110
110
cur -> ws_info -> hopping_schdule .ch0_freq = 9208 ;
111
111
cur -> ws_info -> hopping_schdule .channel_spacing = CHANNEL_SPACING_600 ;
112
- cur -> ws_info -> hopping_schdule .number_of_channels = 42 ;
112
+ cur -> ws_info -> hopping_schdule .number_of_channels = 12 ;
113
113
} else {
114
114
return -1 ;
115
115
}
You can’t perform that action at this time.
0 commit comments