File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ int8_t ws_common_regulatory_domain_config(protocol_interface_info_entry_t *cur)
182
182
set_request .value_size = sizeof (phy_rf_channel_configuration_s );
183
183
cur -> mac_api -> mlme_req (cur -> mac_api , MLME_SET , & set_request );
184
184
// Set Ack wait duration
185
- uint16_t ack_wait_symbols = WS_ACK_WAIT_SYMBOLS ;
185
+ uint16_t ack_wait_symbols = WS_ACK_WAIT_SYMBOLS + ( WS_TACK_MAX_MS * ( rf_configs . datarate / 1000 )) ;
186
186
set_request .attr = macAckWaitDuration ;
187
187
set_request .value_pointer = & ack_wait_symbols ;
188
188
set_request .value_size = sizeof (ack_wait_symbols );
Original file line number Diff line number Diff line change @@ -220,6 +220,11 @@ typedef struct ws_bs_ie {
220
220
*/
221
221
#define WS_ACK_WAIT_SYMBOLS 800
222
222
223
+ /*
224
+ * Tack max time in milliseconds.
225
+ */
226
+ #define WS_TACK_MAX_MS 5
227
+
223
228
/* Default FHSS timing information
224
229
*
225
230
*/
You can’t perform that action at this time.
0 commit comments