diff options
Diffstat (limited to 'net/ieee802154/wpan-class.c')
-rw-r--r-- | net/ieee802154/wpan-class.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/ieee802154/wpan-class.c b/net/ieee802154/wpan-class.c index 8d6f6704da84..edd0962d55f9 100644 --- a/net/ieee802154/wpan-class.c +++ b/net/ieee802154/wpan-class.c | |||
@@ -169,6 +169,12 @@ struct wpan_phy *wpan_phy_alloc(size_t priv_size) | |||
169 | phy->current_channel = -1; /* not initialised */ | 169 | phy->current_channel = -1; /* not initialised */ |
170 | phy->current_page = 0; /* for compatibility */ | 170 | phy->current_page = 0; /* for compatibility */ |
171 | 171 | ||
172 | /* defaults per 802.15.4-2011 */ | ||
173 | phy->min_be = 3; | ||
174 | phy->max_be = 5; | ||
175 | phy->csma_retries = 4; | ||
176 | phy->frame_retries = -1; /* for compatibility, actual default is 3 */ | ||
177 | |||
172 | return phy; | 178 | return phy; |
173 | 179 | ||
174 | out: | 180 | out: |