diff options
| -rw-r--r-- | include/net/llc_c_st.h | 2 | ||||
| -rw-r--r-- | net/llc/llc_c_st.c | 470 | ||||
| -rw-r--r-- | net/llc/llc_conn.c | 2 |
3 files changed, 237 insertions, 237 deletions
diff --git a/include/net/llc_c_st.h b/include/net/llc_c_st.h index 0e79cfba4b3b..60e2ebb1d9b1 100644 --- a/include/net/llc_c_st.h +++ b/include/net/llc_c_st.h | |||
| @@ -36,7 +36,7 @@ struct llc_conn_state_trans { | |||
| 36 | llc_conn_ev_t ev; | 36 | llc_conn_ev_t ev; |
| 37 | u8 next_state; | 37 | u8 next_state; |
| 38 | llc_conn_ev_qfyr_t *ev_qualifiers; | 38 | llc_conn_ev_qfyr_t *ev_qualifiers; |
| 39 | llc_conn_action_t *ev_actions; | 39 | const llc_conn_action_t *ev_actions; |
| 40 | }; | 40 | }; |
| 41 | 41 | ||
| 42 | struct llc_conn_state { | 42 | struct llc_conn_state { |
diff --git a/net/llc/llc_c_st.c b/net/llc/llc_c_st.c index 818a9428823b..3ae257dd9d49 100644 --- a/net/llc/llc_c_st.c +++ b/net/llc/llc_c_st.c | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | * LLC_CONN_STATE_AWAIT_REJ states | 33 | * LLC_CONN_STATE_AWAIT_REJ states |
| 34 | */ | 34 | */ |
| 35 | /* State transitions for LLC_CONN_EV_DISC_REQ event */ | 35 | /* State transitions for LLC_CONN_EV_DISC_REQ event */ |
| 36 | static llc_conn_action_t llc_common_actions_1[] = { | 36 | static const llc_conn_action_t llc_common_actions_1[] = { |
| 37 | [0] = llc_conn_ac_send_disc_cmd_p_set_x, | 37 | [0] = llc_conn_ac_send_disc_cmd_p_set_x, |
| 38 | [1] = llc_conn_ac_start_ack_timer, | 38 | [1] = llc_conn_ac_start_ack_timer, |
| 39 | [2] = llc_conn_ac_stop_other_timers, | 39 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -50,7 +50,7 @@ static struct llc_conn_state_trans llc_common_state_trans_1 = { | |||
| 50 | }; | 50 | }; |
| 51 | 51 | ||
| 52 | /* State transitions for LLC_CONN_EV_RESET_REQ event */ | 52 | /* State transitions for LLC_CONN_EV_RESET_REQ event */ |
| 53 | static llc_conn_action_t llc_common_actions_2[] = { | 53 | static const llc_conn_action_t llc_common_actions_2[] = { |
| 54 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, | 54 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, |
| 55 | [1] = llc_conn_ac_start_ack_timer, | 55 | [1] = llc_conn_ac_start_ack_timer, |
| 56 | [2] = llc_conn_ac_stop_other_timers, | 56 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -67,7 +67,7 @@ static struct llc_conn_state_trans llc_common_state_trans_2 = { | |||
| 67 | }; | 67 | }; |
| 68 | 68 | ||
| 69 | /* State transitions for LLC_CONN_EV_RX_SABME_CMD_Pbit_SET_X event */ | 69 | /* State transitions for LLC_CONN_EV_RX_SABME_CMD_Pbit_SET_X event */ |
| 70 | static llc_conn_action_t llc_common_actions_3[] = { | 70 | static const llc_conn_action_t llc_common_actions_3[] = { |
| 71 | [0] = llc_conn_ac_stop_all_timers, | 71 | [0] = llc_conn_ac_stop_all_timers, |
| 72 | [1] = llc_conn_ac_set_vs_0, | 72 | [1] = llc_conn_ac_set_vs_0, |
| 73 | [2] = llc_conn_ac_set_vr_0, | 73 | [2] = llc_conn_ac_set_vr_0, |
| @@ -87,7 +87,7 @@ static struct llc_conn_state_trans llc_common_state_trans_3 = { | |||
| 87 | }; | 87 | }; |
| 88 | 88 | ||
| 89 | /* State transitions for LLC_CONN_EV_RX_DISC_CMD_Pbit_SET_X event */ | 89 | /* State transitions for LLC_CONN_EV_RX_DISC_CMD_Pbit_SET_X event */ |
| 90 | static llc_conn_action_t llc_common_actions_4[] = { | 90 | static const llc_conn_action_t llc_common_actions_4[] = { |
| 91 | [0] = llc_conn_ac_stop_all_timers, | 91 | [0] = llc_conn_ac_stop_all_timers, |
| 92 | [1] = llc_conn_ac_send_ua_rsp_f_set_p, | 92 | [1] = llc_conn_ac_send_ua_rsp_f_set_p, |
| 93 | [2] = llc_conn_ac_disc_ind, | 93 | [2] = llc_conn_ac_disc_ind, |
| @@ -103,7 +103,7 @@ static struct llc_conn_state_trans llc_common_state_trans_4 = { | |||
| 103 | }; | 103 | }; |
| 104 | 104 | ||
| 105 | /* State transitions for LLC_CONN_EV_RX_FRMR_RSP_Fbit_SET_X event */ | 105 | /* State transitions for LLC_CONN_EV_RX_FRMR_RSP_Fbit_SET_X event */ |
| 106 | static llc_conn_action_t llc_common_actions_5[] = { | 106 | static const llc_conn_action_t llc_common_actions_5[] = { |
| 107 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, | 107 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, |
| 108 | [1] = llc_conn_ac_start_ack_timer, | 108 | [1] = llc_conn_ac_start_ack_timer, |
| 109 | [2] = llc_conn_ac_stop_other_timers, | 109 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -122,7 +122,7 @@ static struct llc_conn_state_trans llc_common_state_trans_5 = { | |||
| 122 | }; | 122 | }; |
| 123 | 123 | ||
| 124 | /* State transitions for LLC_CONN_EV_RX_DM_RSP_Fbit_SET_X event */ | 124 | /* State transitions for LLC_CONN_EV_RX_DM_RSP_Fbit_SET_X event */ |
| 125 | static llc_conn_action_t llc_common_actions_6[] = { | 125 | static const llc_conn_action_t llc_common_actions_6[] = { |
| 126 | [0] = llc_conn_ac_disc_ind, | 126 | [0] = llc_conn_ac_disc_ind, |
| 127 | [1] = llc_conn_ac_stop_all_timers, | 127 | [1] = llc_conn_ac_stop_all_timers, |
| 128 | [2] = llc_conn_disc, | 128 | [2] = llc_conn_disc, |
| @@ -137,7 +137,7 @@ static struct llc_conn_state_trans llc_common_state_trans_6 = { | |||
| 137 | }; | 137 | }; |
| 138 | 138 | ||
| 139 | /* State transitions for LLC_CONN_EV_RX_ZZZ_CMD_Pbit_SET_X_INVAL_Nr event */ | 139 | /* State transitions for LLC_CONN_EV_RX_ZZZ_CMD_Pbit_SET_X_INVAL_Nr event */ |
| 140 | static llc_conn_action_t llc_common_actions_7a[] = { | 140 | static const llc_conn_action_t llc_common_actions_7a[] = { |
| 141 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, | 141 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, |
| 142 | [1] = llc_conn_ac_start_ack_timer, | 142 | [1] = llc_conn_ac_start_ack_timer, |
| 143 | [2] = llc_conn_ac_stop_other_timers, | 143 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -153,7 +153,7 @@ static struct llc_conn_state_trans llc_common_state_trans_7a = { | |||
| 153 | }; | 153 | }; |
| 154 | 154 | ||
| 155 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_X_INVAL_Ns event */ | 155 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_X_INVAL_Ns event */ |
| 156 | static llc_conn_action_t llc_common_actions_7b[] = { | 156 | static const llc_conn_action_t llc_common_actions_7b[] = { |
| 157 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, | 157 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, |
| 158 | [1] = llc_conn_ac_start_ack_timer, | 158 | [1] = llc_conn_ac_start_ack_timer, |
| 159 | [2] = llc_conn_ac_stop_other_timers, | 159 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -169,7 +169,7 @@ static struct llc_conn_state_trans llc_common_state_trans_7b = { | |||
| 169 | }; | 169 | }; |
| 170 | 170 | ||
| 171 | /* State transitions for LLC_CONN_EV_RX_ZZZ_RSP_Fbit_SET_X_INVAL_Nr event */ | 171 | /* State transitions for LLC_CONN_EV_RX_ZZZ_RSP_Fbit_SET_X_INVAL_Nr event */ |
| 172 | static llc_conn_action_t llc_common_actions_8a[] = { | 172 | static const llc_conn_action_t llc_common_actions_8a[] = { |
| 173 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, | 173 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, |
| 174 | [1] = llc_conn_ac_start_ack_timer, | 174 | [1] = llc_conn_ac_start_ack_timer, |
| 175 | [2] = llc_conn_ac_stop_other_timers, | 175 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -185,7 +185,7 @@ static struct llc_conn_state_trans llc_common_state_trans_8a = { | |||
| 185 | }; | 185 | }; |
| 186 | 186 | ||
| 187 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_X_INVAL_Ns event */ | 187 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_X_INVAL_Ns event */ |
| 188 | static llc_conn_action_t llc_common_actions_8b[] = { | 188 | static const llc_conn_action_t llc_common_actions_8b[] = { |
| 189 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, | 189 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, |
| 190 | [1] = llc_conn_ac_start_ack_timer, | 190 | [1] = llc_conn_ac_start_ack_timer, |
| 191 | [2] = llc_conn_ac_stop_other_timers, | 191 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -201,7 +201,7 @@ static struct llc_conn_state_trans llc_common_state_trans_8b = { | |||
| 201 | }; | 201 | }; |
| 202 | 202 | ||
| 203 | /* State transitions for LLC_CONN_EV_RX_BAD_PDU event */ | 203 | /* State transitions for LLC_CONN_EV_RX_BAD_PDU event */ |
| 204 | static llc_conn_action_t llc_common_actions_8c[] = { | 204 | static const llc_conn_action_t llc_common_actions_8c[] = { |
| 205 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, | 205 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, |
| 206 | [1] = llc_conn_ac_start_ack_timer, | 206 | [1] = llc_conn_ac_start_ack_timer, |
| 207 | [2] = llc_conn_ac_stop_other_timers, | 207 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -217,7 +217,7 @@ static struct llc_conn_state_trans llc_common_state_trans_8c = { | |||
| 217 | }; | 217 | }; |
| 218 | 218 | ||
| 219 | /* State transitions for LLC_CONN_EV_RX_UA_RSP_Fbit_SET_X event */ | 219 | /* State transitions for LLC_CONN_EV_RX_UA_RSP_Fbit_SET_X event */ |
| 220 | static llc_conn_action_t llc_common_actions_9[] = { | 220 | static const llc_conn_action_t llc_common_actions_9[] = { |
| 221 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, | 221 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, |
| 222 | [1] = llc_conn_ac_start_ack_timer, | 222 | [1] = llc_conn_ac_start_ack_timer, |
| 223 | [2] = llc_conn_ac_stop_other_timers, | 223 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -239,7 +239,7 @@ static llc_conn_ev_qfyr_t llc_common_ev_qfyrs_10[] = { | |||
| 239 | [1] = NULL, | 239 | [1] = NULL, |
| 240 | }; | 240 | }; |
| 241 | 241 | ||
| 242 | static llc_conn_action_t llc_common_actions_10[] = { | 242 | static const llc_conn_action_t llc_common_actions_10[] = { |
| 243 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, | 243 | [0] = llc_conn_ac_send_frmr_rsp_f_set_x, |
| 244 | [1] = llc_conn_ac_start_ack_timer, | 244 | [1] = llc_conn_ac_start_ack_timer, |
| 245 | [2] = llc_conn_ac_stop_other_timers, | 245 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -261,7 +261,7 @@ static llc_conn_ev_qfyr_t llc_common_ev_qfyrs_11a[] = { | |||
| 261 | [1] = NULL, | 261 | [1] = NULL, |
| 262 | }; | 262 | }; |
| 263 | 263 | ||
| 264 | static llc_conn_action_t llc_common_actions_11a[] = { | 264 | static const llc_conn_action_t llc_common_actions_11a[] = { |
| 265 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, | 265 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, |
| 266 | [1] = llc_conn_ac_start_ack_timer, | 266 | [1] = llc_conn_ac_start_ack_timer, |
| 267 | [2] = llc_conn_ac_stop_other_timers, | 267 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -283,7 +283,7 @@ static llc_conn_ev_qfyr_t llc_common_ev_qfyrs_11b[] = { | |||
| 283 | [1] = NULL, | 283 | [1] = NULL, |
| 284 | }; | 284 | }; |
| 285 | 285 | ||
| 286 | static llc_conn_action_t llc_common_actions_11b[] = { | 286 | static const llc_conn_action_t llc_common_actions_11b[] = { |
| 287 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, | 287 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, |
| 288 | [1] = llc_conn_ac_start_ack_timer, | 288 | [1] = llc_conn_ac_start_ack_timer, |
| 289 | [2] = llc_conn_ac_stop_other_timers, | 289 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -305,7 +305,7 @@ static llc_conn_ev_qfyr_t llc_common_ev_qfyrs_11c[] = { | |||
| 305 | [1] = NULL, | 305 | [1] = NULL, |
| 306 | }; | 306 | }; |
| 307 | 307 | ||
| 308 | static llc_conn_action_t llc_common_actions_11c[] = { | 308 | static const llc_conn_action_t llc_common_actions_11c[] = { |
| 309 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, | 309 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, |
| 310 | [1] = llc_conn_ac_start_ack_timer, | 310 | [1] = llc_conn_ac_start_ack_timer, |
| 311 | [2] = llc_conn_ac_stop_other_timers, | 311 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -327,7 +327,7 @@ static llc_conn_ev_qfyr_t llc_common_ev_qfyrs_11d[] = { | |||
| 327 | [1] = NULL, | 327 | [1] = NULL, |
| 328 | }; | 328 | }; |
| 329 | 329 | ||
| 330 | static llc_conn_action_t llc_common_actions_11d[] = { | 330 | static const llc_conn_action_t llc_common_actions_11d[] = { |
| 331 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, | 331 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, |
| 332 | [1] = llc_conn_ac_start_ack_timer, | 332 | [1] = llc_conn_ac_start_ack_timer, |
| 333 | [2] = llc_conn_ac_stop_other_timers, | 333 | [2] = llc_conn_ac_stop_other_timers, |
| @@ -351,7 +351,7 @@ static struct llc_conn_state_trans llc_common_state_trans_end; | |||
| 351 | 351 | ||
| 352 | /* LLC_CONN_STATE_ADM transitions */ | 352 | /* LLC_CONN_STATE_ADM transitions */ |
| 353 | /* State transitions for LLC_CONN_EV_CONN_REQ event */ | 353 | /* State transitions for LLC_CONN_EV_CONN_REQ event */ |
| 354 | static llc_conn_action_t llc_adm_actions_1[] = { | 354 | static const llc_conn_action_t llc_adm_actions_1[] = { |
| 355 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, | 355 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, |
| 356 | [1] = llc_conn_ac_start_ack_timer, | 356 | [1] = llc_conn_ac_start_ack_timer, |
| 357 | [2] = llc_conn_ac_set_retry_cnt_0, | 357 | [2] = llc_conn_ac_set_retry_cnt_0, |
| @@ -367,7 +367,7 @@ static struct llc_conn_state_trans llc_adm_state_trans_1 = { | |||
| 367 | }; | 367 | }; |
| 368 | 368 | ||
| 369 | /* State transitions for LLC_CONN_EV_RX_SABME_CMD_Pbit_SET_X event */ | 369 | /* State transitions for LLC_CONN_EV_RX_SABME_CMD_Pbit_SET_X event */ |
| 370 | static llc_conn_action_t llc_adm_actions_2[] = { | 370 | static const llc_conn_action_t llc_adm_actions_2[] = { |
| 371 | [0] = llc_conn_ac_send_ua_rsp_f_set_p, | 371 | [0] = llc_conn_ac_send_ua_rsp_f_set_p, |
| 372 | [1] = llc_conn_ac_set_vs_0, | 372 | [1] = llc_conn_ac_set_vs_0, |
| 373 | [2] = llc_conn_ac_set_vr_0, | 373 | [2] = llc_conn_ac_set_vr_0, |
| @@ -386,7 +386,7 @@ static struct llc_conn_state_trans llc_adm_state_trans_2 = { | |||
| 386 | }; | 386 | }; |
| 387 | 387 | ||
| 388 | /* State transitions for LLC_CONN_EV_RX_DISC_CMD_Pbit_SET_X event */ | 388 | /* State transitions for LLC_CONN_EV_RX_DISC_CMD_Pbit_SET_X event */ |
| 389 | static llc_conn_action_t llc_adm_actions_3[] = { | 389 | static const llc_conn_action_t llc_adm_actions_3[] = { |
| 390 | [0] = llc_conn_ac_send_dm_rsp_f_set_p, | 390 | [0] = llc_conn_ac_send_dm_rsp_f_set_p, |
| 391 | [1] = llc_conn_disc, | 391 | [1] = llc_conn_disc, |
| 392 | [2] = NULL, | 392 | [2] = NULL, |
| @@ -400,7 +400,7 @@ static struct llc_conn_state_trans llc_adm_state_trans_3 = { | |||
| 400 | }; | 400 | }; |
| 401 | 401 | ||
| 402 | /* State transitions for LLC_CONN_EV_RX_XXX_CMD_Pbit_SET_1 event */ | 402 | /* State transitions for LLC_CONN_EV_RX_XXX_CMD_Pbit_SET_1 event */ |
| 403 | static llc_conn_action_t llc_adm_actions_4[] = { | 403 | static const llc_conn_action_t llc_adm_actions_4[] = { |
| 404 | [0] = llc_conn_ac_send_dm_rsp_f_set_1, | 404 | [0] = llc_conn_ac_send_dm_rsp_f_set_1, |
| 405 | [1] = llc_conn_disc, | 405 | [1] = llc_conn_disc, |
| 406 | [2] = NULL, | 406 | [2] = NULL, |
| @@ -414,7 +414,7 @@ static struct llc_conn_state_trans llc_adm_state_trans_4 = { | |||
| 414 | }; | 414 | }; |
| 415 | 415 | ||
| 416 | /* State transitions for LLC_CONN_EV_RX_XXX_YYY event */ | 416 | /* State transitions for LLC_CONN_EV_RX_XXX_YYY event */ |
| 417 | static llc_conn_action_t llc_adm_actions_5[] = { | 417 | static const llc_conn_action_t llc_adm_actions_5[] = { |
| 418 | [0] = llc_conn_disc, | 418 | [0] = llc_conn_disc, |
| 419 | [1] = NULL, | 419 | [1] = NULL, |
| 420 | }; | 420 | }; |
| @@ -445,7 +445,7 @@ static struct llc_conn_state_trans *llc_adm_state_transitions[] = { | |||
| 445 | 445 | ||
| 446 | /* LLC_CONN_STATE_SETUP transitions */ | 446 | /* LLC_CONN_STATE_SETUP transitions */ |
| 447 | /* State transitions for LLC_CONN_EV_RX_SABME_CMD_Pbit_SET_X event */ | 447 | /* State transitions for LLC_CONN_EV_RX_SABME_CMD_Pbit_SET_X event */ |
| 448 | static llc_conn_action_t llc_setup_actions_1[] = { | 448 | static const llc_conn_action_t llc_setup_actions_1[] = { |
| 449 | [0] = llc_conn_ac_send_ua_rsp_f_set_p, | 449 | [0] = llc_conn_ac_send_ua_rsp_f_set_p, |
| 450 | [1] = llc_conn_ac_set_vs_0, | 450 | [1] = llc_conn_ac_set_vs_0, |
| 451 | [2] = llc_conn_ac_set_vr_0, | 451 | [2] = llc_conn_ac_set_vr_0, |
| @@ -467,7 +467,7 @@ static llc_conn_ev_qfyr_t llc_setup_ev_qfyrs_2[] = { | |||
| 467 | [2] = NULL, | 467 | [2] = NULL, |
| 468 | }; | 468 | }; |
| 469 | 469 | ||
| 470 | static llc_conn_action_t llc_setup_actions_2[] = { | 470 | static const llc_conn_action_t llc_setup_actions_2[] = { |
| 471 | [0] = llc_conn_ac_stop_ack_timer, | 471 | [0] = llc_conn_ac_stop_ack_timer, |
| 472 | [1] = llc_conn_ac_set_vs_0, | 472 | [1] = llc_conn_ac_set_vs_0, |
| 473 | [2] = llc_conn_ac_set_vr_0, | 473 | [2] = llc_conn_ac_set_vr_0, |
| @@ -491,7 +491,7 @@ static llc_conn_ev_qfyr_t llc_setup_ev_qfyrs_3[] = { | |||
| 491 | [2] = NULL, | 491 | [2] = NULL, |
| 492 | }; | 492 | }; |
| 493 | 493 | ||
| 494 | static llc_conn_action_t llc_setup_actions_3[] = { | 494 | static const llc_conn_action_t llc_setup_actions_3[] = { |
| 495 | [0] = llc_conn_ac_set_p_flag_0, | 495 | [0] = llc_conn_ac_set_p_flag_0, |
| 496 | [1] = llc_conn_ac_set_remote_busy_0, | 496 | [1] = llc_conn_ac_set_remote_busy_0, |
| 497 | [2] = llc_conn_ac_conn_confirm, | 497 | [2] = llc_conn_ac_conn_confirm, |
| @@ -511,7 +511,7 @@ static llc_conn_ev_qfyr_t llc_setup_ev_qfyrs_4[] = { | |||
| 511 | [1] = NULL, | 511 | [1] = NULL, |
| 512 | }; | 512 | }; |
| 513 | 513 | ||
| 514 | static llc_conn_action_t llc_setup_actions_4[] = { | 514 | static const llc_conn_action_t llc_setup_actions_4[] = { |
| 515 | [0] = llc_conn_ac_send_dm_rsp_f_set_p, | 515 | [0] = llc_conn_ac_send_dm_rsp_f_set_p, |
| 516 | [1] = llc_conn_ac_stop_ack_timer, | 516 | [1] = llc_conn_ac_stop_ack_timer, |
| 517 | [2] = llc_conn_ac_conn_confirm, | 517 | [2] = llc_conn_ac_conn_confirm, |
| @@ -532,7 +532,7 @@ static llc_conn_ev_qfyr_t llc_setup_ev_qfyrs_5[] = { | |||
| 532 | [1] = NULL, | 532 | [1] = NULL, |
| 533 | }; | 533 | }; |
| 534 | 534 | ||
| 535 | static llc_conn_action_t llc_setup_actions_5[] = { | 535 | static const llc_conn_action_t llc_setup_actions_5[] = { |
| 536 | [0] = llc_conn_ac_stop_ack_timer, | 536 | [0] = llc_conn_ac_stop_ack_timer, |
| 537 | [1] = llc_conn_ac_conn_confirm, | 537 | [1] = llc_conn_ac_conn_confirm, |
| 538 | [2] = llc_conn_disc, | 538 | [2] = llc_conn_disc, |
| @@ -553,7 +553,7 @@ static llc_conn_ev_qfyr_t llc_setup_ev_qfyrs_7[] = { | |||
| 553 | [2] = NULL, | 553 | [2] = NULL, |
| 554 | }; | 554 | }; |
| 555 | 555 | ||
| 556 | static llc_conn_action_t llc_setup_actions_7[] = { | 556 | static const llc_conn_action_t llc_setup_actions_7[] = { |
| 557 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, | 557 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, |
| 558 | [1] = llc_conn_ac_start_ack_timer, | 558 | [1] = llc_conn_ac_start_ack_timer, |
| 559 | [2] = llc_conn_ac_inc_retry_cnt_by_1, | 559 | [2] = llc_conn_ac_inc_retry_cnt_by_1, |
| @@ -575,7 +575,7 @@ static llc_conn_ev_qfyr_t llc_setup_ev_qfyrs_8[] = { | |||
| 575 | [3] = NULL, | 575 | [3] = NULL, |
| 576 | }; | 576 | }; |
| 577 | 577 | ||
| 578 | static llc_conn_action_t llc_setup_actions_8[] = { | 578 | static const llc_conn_action_t llc_setup_actions_8[] = { |
| 579 | [0] = llc_conn_ac_conn_confirm, | 579 | [0] = llc_conn_ac_conn_confirm, |
| 580 | [1] = llc_conn_disc, | 580 | [1] = llc_conn_disc, |
| 581 | [2] = NULL, | 581 | [2] = NULL, |
| @@ -616,7 +616,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_1[] = { | |||
| 616 | [3] = NULL, | 616 | [3] = NULL, |
| 617 | }; | 617 | }; |
| 618 | 618 | ||
| 619 | static llc_conn_action_t llc_normal_actions_1[] = { | 619 | static const llc_conn_action_t llc_normal_actions_1[] = { |
| 620 | [0] = llc_conn_ac_send_i_as_ack, | 620 | [0] = llc_conn_ac_send_i_as_ack, |
| 621 | [1] = llc_conn_ac_start_ack_tmr_if_not_running, | 621 | [1] = llc_conn_ac_start_ack_tmr_if_not_running, |
| 622 | [2] = NULL, | 622 | [2] = NULL, |
| @@ -637,7 +637,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_2[] = { | |||
| 637 | [3] = NULL, | 637 | [3] = NULL, |
| 638 | }; | 638 | }; |
| 639 | 639 | ||
| 640 | static llc_conn_action_t llc_normal_actions_2[] = { | 640 | static const llc_conn_action_t llc_normal_actions_2[] = { |
| 641 | [0] = llc_conn_ac_send_i_cmd_p_set_1, | 641 | [0] = llc_conn_ac_send_i_cmd_p_set_1, |
| 642 | [1] = llc_conn_ac_start_p_timer, | 642 | [1] = llc_conn_ac_start_p_timer, |
| 643 | [2] = NULL, | 643 | [2] = NULL, |
| @@ -658,7 +658,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_2_1[] = { | |||
| 658 | }; | 658 | }; |
| 659 | 659 | ||
| 660 | /* just one member, NULL, .bss zeroes it */ | 660 | /* just one member, NULL, .bss zeroes it */ |
| 661 | static llc_conn_action_t llc_normal_actions_2_1[1]; | 661 | static const llc_conn_action_t llc_normal_actions_2_1[1]; |
| 662 | 662 | ||
| 663 | static struct llc_conn_state_trans llc_normal_state_trans_2_1 = { | 663 | static struct llc_conn_state_trans llc_normal_state_trans_2_1 = { |
| 664 | .ev = llc_conn_ev_data_req, | 664 | .ev = llc_conn_ev_data_req, |
| @@ -673,7 +673,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_3[] = { | |||
| 673 | [1] = NULL, | 673 | [1] = NULL, |
| 674 | }; | 674 | }; |
| 675 | 675 | ||
| 676 | static llc_conn_action_t llc_normal_actions_3[] = { | 676 | static const llc_conn_action_t llc_normal_actions_3[] = { |
| 677 | [0] = llc_conn_ac_rst_sendack_flag, | 677 | [0] = llc_conn_ac_rst_sendack_flag, |
| 678 | [1] = llc_conn_ac_send_rnr_xxx_x_set_0, | 678 | [1] = llc_conn_ac_send_rnr_xxx_x_set_0, |
| 679 | [2] = llc_conn_ac_set_data_flag_0, | 679 | [2] = llc_conn_ac_set_data_flag_0, |
| @@ -693,7 +693,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_4[] = { | |||
| 693 | [1] = NULL, | 693 | [1] = NULL, |
| 694 | }; | 694 | }; |
| 695 | 695 | ||
| 696 | static llc_conn_action_t llc_normal_actions_4[] = { | 696 | static const llc_conn_action_t llc_normal_actions_4[] = { |
| 697 | [0] = llc_conn_ac_rst_sendack_flag, | 697 | [0] = llc_conn_ac_rst_sendack_flag, |
| 698 | [1] = llc_conn_ac_send_rnr_xxx_x_set_0, | 698 | [1] = llc_conn_ac_send_rnr_xxx_x_set_0, |
| 699 | [2] = llc_conn_ac_set_data_flag_0, | 699 | [2] = llc_conn_ac_set_data_flag_0, |
| @@ -713,7 +713,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_5a[] = { | |||
| 713 | [1] = NULL, | 713 | [1] = NULL, |
| 714 | }; | 714 | }; |
| 715 | 715 | ||
| 716 | static llc_conn_action_t llc_normal_actions_5a[] = { | 716 | static const llc_conn_action_t llc_normal_actions_5a[] = { |
| 717 | [0] = llc_conn_ac_rst_sendack_flag, | 717 | [0] = llc_conn_ac_rst_sendack_flag, |
| 718 | [1] = llc_conn_ac_send_rej_xxx_x_set_0, | 718 | [1] = llc_conn_ac_send_rej_xxx_x_set_0, |
| 719 | [2] = llc_conn_ac_upd_nr_received, | 719 | [2] = llc_conn_ac_upd_nr_received, |
| @@ -736,7 +736,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_5b[] = { | |||
| 736 | [1] = NULL, | 736 | [1] = NULL, |
| 737 | }; | 737 | }; |
| 738 | 738 | ||
| 739 | static llc_conn_action_t llc_normal_actions_5b[] = { | 739 | static const llc_conn_action_t llc_normal_actions_5b[] = { |
| 740 | [0] = llc_conn_ac_rst_sendack_flag, | 740 | [0] = llc_conn_ac_rst_sendack_flag, |
| 741 | [1] = llc_conn_ac_send_rej_xxx_x_set_0, | 741 | [1] = llc_conn_ac_send_rej_xxx_x_set_0, |
| 742 | [2] = llc_conn_ac_upd_nr_received, | 742 | [2] = llc_conn_ac_upd_nr_received, |
| @@ -759,7 +759,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_5c[] = { | |||
| 759 | [1] = NULL, | 759 | [1] = NULL, |
| 760 | }; | 760 | }; |
| 761 | 761 | ||
| 762 | static llc_conn_action_t llc_normal_actions_5c[] = { | 762 | static const llc_conn_action_t llc_normal_actions_5c[] = { |
| 763 | [0] = llc_conn_ac_rst_sendack_flag, | 763 | [0] = llc_conn_ac_rst_sendack_flag, |
| 764 | [1] = llc_conn_ac_send_rej_xxx_x_set_0, | 764 | [1] = llc_conn_ac_send_rej_xxx_x_set_0, |
| 765 | [2] = llc_conn_ac_upd_nr_received, | 765 | [2] = llc_conn_ac_upd_nr_received, |
| @@ -782,7 +782,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_6a[] = { | |||
| 782 | [1] = NULL, | 782 | [1] = NULL, |
| 783 | }; | 783 | }; |
| 784 | 784 | ||
| 785 | static llc_conn_action_t llc_normal_actions_6a[] = { | 785 | static const llc_conn_action_t llc_normal_actions_6a[] = { |
| 786 | [0] = llc_conn_ac_rst_sendack_flag, | 786 | [0] = llc_conn_ac_rst_sendack_flag, |
| 787 | [1] = llc_conn_ac_send_rej_xxx_x_set_0, | 787 | [1] = llc_conn_ac_send_rej_xxx_x_set_0, |
| 788 | [2] = llc_conn_ac_upd_nr_received, | 788 | [2] = llc_conn_ac_upd_nr_received, |
| @@ -803,7 +803,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_6b[] = { | |||
| 803 | [1] = NULL, | 803 | [1] = NULL, |
| 804 | }; | 804 | }; |
| 805 | 805 | ||
| 806 | static llc_conn_action_t llc_normal_actions_6b[] = { | 806 | static const llc_conn_action_t llc_normal_actions_6b[] = { |
| 807 | [0] = llc_conn_ac_rst_sendack_flag, | 807 | [0] = llc_conn_ac_rst_sendack_flag, |
| 808 | [1] = llc_conn_ac_send_rej_xxx_x_set_0, | 808 | [1] = llc_conn_ac_send_rej_xxx_x_set_0, |
| 809 | [2] = llc_conn_ac_upd_nr_received, | 809 | [2] = llc_conn_ac_upd_nr_received, |
| @@ -819,7 +819,7 @@ static struct llc_conn_state_trans llc_normal_state_trans_6b = { | |||
| 819 | }; | 819 | }; |
| 820 | 820 | ||
| 821 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1_UNEXPD_Ns event */ | 821 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1_UNEXPD_Ns event */ |
| 822 | static llc_conn_action_t llc_normal_actions_7[] = { | 822 | static const llc_conn_action_t llc_normal_actions_7[] = { |
| 823 | [0] = llc_conn_ac_rst_sendack_flag, | 823 | [0] = llc_conn_ac_rst_sendack_flag, |
| 824 | [1] = llc_conn_ac_send_rej_rsp_f_set_1, | 824 | [1] = llc_conn_ac_send_rej_rsp_f_set_1, |
| 825 | [2] = llc_conn_ac_upd_nr_received, | 825 | [2] = llc_conn_ac_upd_nr_received, |
| @@ -840,7 +840,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_8a[] = { | |||
| 840 | [1] = NULL, | 840 | [1] = NULL, |
| 841 | }; | 841 | }; |
| 842 | 842 | ||
| 843 | static llc_conn_action_t llc_normal_actions_8[] = { | 843 | static const llc_conn_action_t llc_normal_actions_8[] = { |
| 844 | [0] = llc_conn_ac_inc_vr_by_1, | 844 | [0] = llc_conn_ac_inc_vr_by_1, |
| 845 | [1] = llc_conn_ac_data_ind, | 845 | [1] = llc_conn_ac_data_ind, |
| 846 | [2] = llc_conn_ac_upd_p_flag, | 846 | [2] = llc_conn_ac_upd_p_flag, |
| @@ -876,7 +876,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_9a[] = { | |||
| 876 | [1] = NULL, | 876 | [1] = NULL, |
| 877 | }; | 877 | }; |
| 878 | 878 | ||
| 879 | static llc_conn_action_t llc_normal_actions_9a[] = { | 879 | static const llc_conn_action_t llc_normal_actions_9a[] = { |
| 880 | [0] = llc_conn_ac_inc_vr_by_1, | 880 | [0] = llc_conn_ac_inc_vr_by_1, |
| 881 | [1] = llc_conn_ac_upd_nr_received, | 881 | [1] = llc_conn_ac_upd_nr_received, |
| 882 | [2] = llc_conn_ac_data_ind, | 882 | [2] = llc_conn_ac_data_ind, |
| @@ -897,7 +897,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_9b[] = { | |||
| 897 | [1] = NULL, | 897 | [1] = NULL, |
| 898 | }; | 898 | }; |
| 899 | 899 | ||
| 900 | static llc_conn_action_t llc_normal_actions_9b[] = { | 900 | static const llc_conn_action_t llc_normal_actions_9b[] = { |
| 901 | [0] = llc_conn_ac_inc_vr_by_1, | 901 | [0] = llc_conn_ac_inc_vr_by_1, |
| 902 | [1] = llc_conn_ac_upd_nr_received, | 902 | [1] = llc_conn_ac_upd_nr_received, |
| 903 | [2] = llc_conn_ac_data_ind, | 903 | [2] = llc_conn_ac_data_ind, |
| @@ -913,7 +913,7 @@ static struct llc_conn_state_trans llc_normal_state_trans_9b = { | |||
| 913 | }; | 913 | }; |
| 914 | 914 | ||
| 915 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */ | 915 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */ |
| 916 | static llc_conn_action_t llc_normal_actions_10[] = { | 916 | static const llc_conn_action_t llc_normal_actions_10[] = { |
| 917 | [0] = llc_conn_ac_inc_vr_by_1, | 917 | [0] = llc_conn_ac_inc_vr_by_1, |
| 918 | [1] = llc_conn_ac_send_ack_rsp_f_set_1, | 918 | [1] = llc_conn_ac_send_ack_rsp_f_set_1, |
| 919 | [2] = llc_conn_ac_rst_sendack_flag, | 919 | [2] = llc_conn_ac_rst_sendack_flag, |
| @@ -930,7 +930,7 @@ static struct llc_conn_state_trans llc_normal_state_trans_10 = { | |||
| 930 | }; | 930 | }; |
| 931 | 931 | ||
| 932 | /* State transitions for * LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */ | 932 | /* State transitions for * LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */ |
| 933 | static llc_conn_action_t llc_normal_actions_11a[] = { | 933 | static const llc_conn_action_t llc_normal_actions_11a[] = { |
| 934 | [0] = llc_conn_ac_upd_p_flag, | 934 | [0] = llc_conn_ac_upd_p_flag, |
| 935 | [1] = llc_conn_ac_upd_nr_received, | 935 | [1] = llc_conn_ac_upd_nr_received, |
| 936 | [2] = llc_conn_ac_clear_remote_busy, | 936 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -945,7 +945,7 @@ static struct llc_conn_state_trans llc_normal_state_trans_11a = { | |||
| 945 | }; | 945 | }; |
| 946 | 946 | ||
| 947 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */ | 947 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */ |
| 948 | static llc_conn_action_t llc_normal_actions_11b[] = { | 948 | static const llc_conn_action_t llc_normal_actions_11b[] = { |
| 949 | [0] = llc_conn_ac_upd_p_flag, | 949 | [0] = llc_conn_ac_upd_p_flag, |
| 950 | [1] = llc_conn_ac_upd_nr_received, | 950 | [1] = llc_conn_ac_upd_nr_received, |
| 951 | [2] = llc_conn_ac_clear_remote_busy, | 951 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -965,7 +965,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_11c[] = { | |||
| 965 | [1] = NULL, | 965 | [1] = NULL, |
| 966 | }; | 966 | }; |
| 967 | 967 | ||
| 968 | static llc_conn_action_t llc_normal_actions_11c[] = { | 968 | static const llc_conn_action_t llc_normal_actions_11c[] = { |
| 969 | [0] = llc_conn_ac_upd_p_flag, | 969 | [0] = llc_conn_ac_upd_p_flag, |
| 970 | [1] = llc_conn_ac_upd_nr_received, | 970 | [1] = llc_conn_ac_upd_nr_received, |
| 971 | [2] = llc_conn_ac_inc_tx_win_size, | 971 | [2] = llc_conn_ac_inc_tx_win_size, |
| @@ -981,7 +981,7 @@ static struct llc_conn_state_trans llc_normal_state_trans_11c = { | |||
| 981 | }; | 981 | }; |
| 982 | 982 | ||
| 983 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */ | 983 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */ |
| 984 | static llc_conn_action_t llc_normal_actions_12[] = { | 984 | static const llc_conn_action_t llc_normal_actions_12[] = { |
| 985 | [0] = llc_conn_ac_send_ack_rsp_f_set_1, | 985 | [0] = llc_conn_ac_send_ack_rsp_f_set_1, |
| 986 | [1] = llc_conn_ac_upd_nr_received, | 986 | [1] = llc_conn_ac_upd_nr_received, |
| 987 | [2] = llc_conn_ac_adjust_npta_by_rr, | 987 | [2] = llc_conn_ac_adjust_npta_by_rr, |
| @@ -998,7 +998,7 @@ static struct llc_conn_state_trans llc_normal_state_trans_12 = { | |||
| 998 | }; | 998 | }; |
| 999 | 999 | ||
| 1000 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */ | 1000 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */ |
| 1001 | static llc_conn_action_t llc_normal_actions_13a[] = { | 1001 | static const llc_conn_action_t llc_normal_actions_13a[] = { |
| 1002 | [0] = llc_conn_ac_upd_p_flag, | 1002 | [0] = llc_conn_ac_upd_p_flag, |
| 1003 | [1] = llc_conn_ac_upd_nr_received, | 1003 | [1] = llc_conn_ac_upd_nr_received, |
| 1004 | [2] = llc_conn_ac_set_remote_busy, | 1004 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -1013,7 +1013,7 @@ static struct llc_conn_state_trans llc_normal_state_trans_13a = { | |||
| 1013 | }; | 1013 | }; |
| 1014 | 1014 | ||
| 1015 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */ | 1015 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */ |
| 1016 | static llc_conn_action_t llc_normal_actions_13b[] = { | 1016 | static const llc_conn_action_t llc_normal_actions_13b[] = { |
| 1017 | [0] = llc_conn_ac_upd_p_flag, | 1017 | [0] = llc_conn_ac_upd_p_flag, |
| 1018 | [1] = llc_conn_ac_upd_nr_received, | 1018 | [1] = llc_conn_ac_upd_nr_received, |
| 1019 | [2] = llc_conn_ac_set_remote_busy, | 1019 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -1033,7 +1033,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_13c[] = { | |||
| 1033 | [1] = NULL, | 1033 | [1] = NULL, |
| 1034 | }; | 1034 | }; |
| 1035 | 1035 | ||
| 1036 | static llc_conn_action_t llc_normal_actions_13c[] = { | 1036 | static const llc_conn_action_t llc_normal_actions_13c[] = { |
| 1037 | [0] = llc_conn_ac_upd_p_flag, | 1037 | [0] = llc_conn_ac_upd_p_flag, |
| 1038 | [1] = llc_conn_ac_upd_nr_received, | 1038 | [1] = llc_conn_ac_upd_nr_received, |
| 1039 | [2] = llc_conn_ac_set_remote_busy, | 1039 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -1048,7 +1048,7 @@ static struct llc_conn_state_trans llc_normal_state_trans_13c = { | |||
| 1048 | }; | 1048 | }; |
| 1049 | 1049 | ||
| 1050 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */ | 1050 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */ |
| 1051 | static llc_conn_action_t llc_normal_actions_14[] = { | 1051 | static const llc_conn_action_t llc_normal_actions_14[] = { |
| 1052 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, | 1052 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, |
| 1053 | [1] = llc_conn_ac_upd_nr_received, | 1053 | [1] = llc_conn_ac_upd_nr_received, |
| 1054 | [2] = llc_conn_ac_adjust_npta_by_rnr, | 1054 | [2] = llc_conn_ac_adjust_npta_by_rnr, |
| @@ -1070,7 +1070,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_15a[] = { | |||
| 1070 | [1] = NULL, | 1070 | [1] = NULL, |
| 1071 | }; | 1071 | }; |
| 1072 | 1072 | ||
| 1073 | static llc_conn_action_t llc_normal_actions_15a[] = { | 1073 | static const llc_conn_action_t llc_normal_actions_15a[] = { |
| 1074 | [0] = llc_conn_ac_set_vs_nr, | 1074 | [0] = llc_conn_ac_set_vs_nr, |
| 1075 | [1] = llc_conn_ac_upd_nr_received, | 1075 | [1] = llc_conn_ac_upd_nr_received, |
| 1076 | [2] = llc_conn_ac_upd_p_flag, | 1076 | [2] = llc_conn_ac_upd_p_flag, |
| @@ -1093,7 +1093,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_15b[] = { | |||
| 1093 | [1] = NULL, | 1093 | [1] = NULL, |
| 1094 | }; | 1094 | }; |
| 1095 | 1095 | ||
| 1096 | static llc_conn_action_t llc_normal_actions_15b[] = { | 1096 | static const llc_conn_action_t llc_normal_actions_15b[] = { |
| 1097 | [0] = llc_conn_ac_set_vs_nr, | 1097 | [0] = llc_conn_ac_set_vs_nr, |
| 1098 | [1] = llc_conn_ac_upd_nr_received, | 1098 | [1] = llc_conn_ac_upd_nr_received, |
| 1099 | [2] = llc_conn_ac_upd_p_flag, | 1099 | [2] = llc_conn_ac_upd_p_flag, |
| @@ -1116,7 +1116,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_16a[] = { | |||
| 1116 | [1] = NULL, | 1116 | [1] = NULL, |
| 1117 | }; | 1117 | }; |
| 1118 | 1118 | ||
| 1119 | static llc_conn_action_t llc_normal_actions_16a[] = { | 1119 | static const llc_conn_action_t llc_normal_actions_16a[] = { |
| 1120 | [0] = llc_conn_ac_set_vs_nr, | 1120 | [0] = llc_conn_ac_set_vs_nr, |
| 1121 | [1] = llc_conn_ac_upd_nr_received, | 1121 | [1] = llc_conn_ac_upd_nr_received, |
| 1122 | [2] = llc_conn_ac_dec_tx_win_size, | 1122 | [2] = llc_conn_ac_dec_tx_win_size, |
| @@ -1138,7 +1138,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_16b[] = { | |||
| 1138 | [1] = NULL, | 1138 | [1] = NULL, |
| 1139 | }; | 1139 | }; |
| 1140 | 1140 | ||
| 1141 | static llc_conn_action_t llc_normal_actions_16b[] = { | 1141 | static const llc_conn_action_t llc_normal_actions_16b[] = { |
| 1142 | [0] = llc_conn_ac_set_vs_nr, | 1142 | [0] = llc_conn_ac_set_vs_nr, |
| 1143 | [1] = llc_conn_ac_upd_nr_received, | 1143 | [1] = llc_conn_ac_upd_nr_received, |
| 1144 | [2] = llc_conn_ac_dec_tx_win_size, | 1144 | [2] = llc_conn_ac_dec_tx_win_size, |
| @@ -1155,7 +1155,7 @@ static struct llc_conn_state_trans llc_normal_state_trans_16b = { | |||
| 1155 | }; | 1155 | }; |
| 1156 | 1156 | ||
| 1157 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */ | 1157 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */ |
| 1158 | static llc_conn_action_t llc_normal_actions_17[] = { | 1158 | static const llc_conn_action_t llc_normal_actions_17[] = { |
| 1159 | [0] = llc_conn_ac_set_vs_nr, | 1159 | [0] = llc_conn_ac_set_vs_nr, |
| 1160 | [1] = llc_conn_ac_upd_nr_received, | 1160 | [1] = llc_conn_ac_upd_nr_received, |
| 1161 | [2] = llc_conn_ac_dec_tx_win_size, | 1161 | [2] = llc_conn_ac_dec_tx_win_size, |
| @@ -1177,7 +1177,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_18[] = { | |||
| 1177 | [1] = NULL, | 1177 | [1] = NULL, |
| 1178 | }; | 1178 | }; |
| 1179 | 1179 | ||
| 1180 | static llc_conn_action_t llc_normal_actions_18[] = { | 1180 | static const llc_conn_action_t llc_normal_actions_18[] = { |
| 1181 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, | 1181 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, |
| 1182 | [1] = llc_conn_ac_start_p_timer, | 1182 | [1] = llc_conn_ac_start_p_timer, |
| 1183 | [2] = NULL, | 1183 | [2] = NULL, |
| @@ -1196,7 +1196,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_19[] = { | |||
| 1196 | [1] = NULL, | 1196 | [1] = NULL, |
| 1197 | }; | 1197 | }; |
| 1198 | 1198 | ||
| 1199 | static llc_conn_action_t llc_normal_actions_19[] = { | 1199 | static const llc_conn_action_t llc_normal_actions_19[] = { |
| 1200 | [0] = llc_conn_ac_rst_sendack_flag, | 1200 | [0] = llc_conn_ac_rst_sendack_flag, |
| 1201 | [1] = llc_conn_ac_send_rr_cmd_p_set_1, | 1201 | [1] = llc_conn_ac_send_rr_cmd_p_set_1, |
| 1202 | [2] = llc_conn_ac_rst_vs, | 1202 | [2] = llc_conn_ac_rst_vs, |
| @@ -1219,7 +1219,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_20a[] = { | |||
| 1219 | [2] = NULL, | 1219 | [2] = NULL, |
| 1220 | }; | 1220 | }; |
| 1221 | 1221 | ||
| 1222 | static llc_conn_action_t llc_normal_actions_20a[] = { | 1222 | static const llc_conn_action_t llc_normal_actions_20a[] = { |
| 1223 | [0] = llc_conn_ac_rst_sendack_flag, | 1223 | [0] = llc_conn_ac_rst_sendack_flag, |
| 1224 | [1] = llc_conn_ac_send_rr_cmd_p_set_1, | 1224 | [1] = llc_conn_ac_send_rr_cmd_p_set_1, |
| 1225 | [2] = llc_conn_ac_rst_vs, | 1225 | [2] = llc_conn_ac_rst_vs, |
| @@ -1242,7 +1242,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_20b[] = { | |||
| 1242 | [2] = NULL, | 1242 | [2] = NULL, |
| 1243 | }; | 1243 | }; |
| 1244 | 1244 | ||
| 1245 | static llc_conn_action_t llc_normal_actions_20b[] = { | 1245 | static const llc_conn_action_t llc_normal_actions_20b[] = { |
| 1246 | [0] = llc_conn_ac_rst_sendack_flag, | 1246 | [0] = llc_conn_ac_rst_sendack_flag, |
| 1247 | [1] = llc_conn_ac_send_rr_cmd_p_set_1, | 1247 | [1] = llc_conn_ac_send_rr_cmd_p_set_1, |
| 1248 | [2] = llc_conn_ac_rst_vs, | 1248 | [2] = llc_conn_ac_rst_vs, |
| @@ -1264,7 +1264,7 @@ static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_21[] = { | |||
| 1264 | [1] = NULL, | 1264 | [1] = NULL, |
| 1265 | }; | 1265 | }; |
| 1266 | 1266 | ||
| 1267 | static llc_conn_action_t llc_normal_actions_21[] = { | 1267 | static const llc_conn_action_t llc_normal_actions_21[] = { |
| 1268 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, | 1268 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, |
| 1269 | [1] = llc_conn_ac_start_p_timer, | 1269 | [1] = llc_conn_ac_start_p_timer, |
| 1270 | [2] = NULL, | 1270 | [2] = NULL, |
| @@ -1348,7 +1348,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_1[] = { | |||
| 1348 | [2] = NULL, | 1348 | [2] = NULL, |
| 1349 | }; | 1349 | }; |
| 1350 | 1350 | ||
| 1351 | static llc_conn_action_t llc_busy_actions_1[] = { | 1351 | static const llc_conn_action_t llc_busy_actions_1[] = { |
| 1352 | [0] = llc_conn_ac_send_i_xxx_x_set_0, | 1352 | [0] = llc_conn_ac_send_i_xxx_x_set_0, |
| 1353 | [1] = llc_conn_ac_start_ack_tmr_if_not_running, | 1353 | [1] = llc_conn_ac_start_ack_tmr_if_not_running, |
| 1354 | [2] = NULL, | 1354 | [2] = NULL, |
| @@ -1368,7 +1368,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_2[] = { | |||
| 1368 | [2] = NULL, | 1368 | [2] = NULL, |
| 1369 | }; | 1369 | }; |
| 1370 | 1370 | ||
| 1371 | static llc_conn_action_t llc_busy_actions_2[] = { | 1371 | static const llc_conn_action_t llc_busy_actions_2[] = { |
| 1372 | [0] = llc_conn_ac_send_i_xxx_x_set_0, | 1372 | [0] = llc_conn_ac_send_i_xxx_x_set_0, |
| 1373 | [1] = llc_conn_ac_start_ack_tmr_if_not_running, | 1373 | [1] = llc_conn_ac_start_ack_tmr_if_not_running, |
| 1374 | [2] = NULL, | 1374 | [2] = NULL, |
| @@ -1389,7 +1389,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_2_1[] = { | |||
| 1389 | }; | 1389 | }; |
| 1390 | 1390 | ||
| 1391 | /* just one member, NULL, .bss zeroes it */ | 1391 | /* just one member, NULL, .bss zeroes it */ |
| 1392 | static llc_conn_action_t llc_busy_actions_2_1[1]; | 1392 | static const llc_conn_action_t llc_busy_actions_2_1[1]; |
| 1393 | 1393 | ||
| 1394 | static struct llc_conn_state_trans llc_busy_state_trans_2_1 = { | 1394 | static struct llc_conn_state_trans llc_busy_state_trans_2_1 = { |
| 1395 | .ev = llc_conn_ev_data_req, | 1395 | .ev = llc_conn_ev_data_req, |
| @@ -1405,7 +1405,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_3[] = { | |||
| 1405 | [2] = NULL, | 1405 | [2] = NULL, |
| 1406 | }; | 1406 | }; |
| 1407 | 1407 | ||
| 1408 | static llc_conn_action_t llc_busy_actions_3[] = { | 1408 | static const llc_conn_action_t llc_busy_actions_3[] = { |
| 1409 | [0] = llc_conn_ac_send_rej_xxx_x_set_0, | 1409 | [0] = llc_conn_ac_send_rej_xxx_x_set_0, |
| 1410 | [1] = llc_conn_ac_start_rej_timer, | 1410 | [1] = llc_conn_ac_start_rej_timer, |
| 1411 | [2] = NULL, | 1411 | [2] = NULL, |
| @@ -1425,7 +1425,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_4[] = { | |||
| 1425 | [2] = NULL, | 1425 | [2] = NULL, |
| 1426 | }; | 1426 | }; |
| 1427 | 1427 | ||
| 1428 | static llc_conn_action_t llc_busy_actions_4[] = { | 1428 | static const llc_conn_action_t llc_busy_actions_4[] = { |
| 1429 | [0] = llc_conn_ac_send_rej_xxx_x_set_0, | 1429 | [0] = llc_conn_ac_send_rej_xxx_x_set_0, |
| 1430 | [1] = llc_conn_ac_start_rej_timer, | 1430 | [1] = llc_conn_ac_start_rej_timer, |
| 1431 | [2] = NULL, | 1431 | [2] = NULL, |
| @@ -1445,7 +1445,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_5[] = { | |||
| 1445 | [2] = NULL, | 1445 | [2] = NULL, |
| 1446 | }; | 1446 | }; |
| 1447 | 1447 | ||
| 1448 | static llc_conn_action_t llc_busy_actions_5[] = { | 1448 | static const llc_conn_action_t llc_busy_actions_5[] = { |
| 1449 | [0] = llc_conn_ac_send_rr_xxx_x_set_0, | 1449 | [0] = llc_conn_ac_send_rr_xxx_x_set_0, |
| 1450 | [1] = NULL, | 1450 | [1] = NULL, |
| 1451 | }; | 1451 | }; |
| @@ -1464,7 +1464,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_6[] = { | |||
| 1464 | [2] = NULL, | 1464 | [2] = NULL, |
| 1465 | }; | 1465 | }; |
| 1466 | 1466 | ||
| 1467 | static llc_conn_action_t llc_busy_actions_6[] = { | 1467 | static const llc_conn_action_t llc_busy_actions_6[] = { |
| 1468 | [0] = llc_conn_ac_send_rr_xxx_x_set_0, | 1468 | [0] = llc_conn_ac_send_rr_xxx_x_set_0, |
| 1469 | [1] = NULL, | 1469 | [1] = NULL, |
| 1470 | }; | 1470 | }; |
| @@ -1483,7 +1483,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_7[] = { | |||
| 1483 | [2] = NULL, | 1483 | [2] = NULL, |
| 1484 | }; | 1484 | }; |
| 1485 | 1485 | ||
| 1486 | static llc_conn_action_t llc_busy_actions_7[] = { | 1486 | static const llc_conn_action_t llc_busy_actions_7[] = { |
| 1487 | [0] = llc_conn_ac_send_rr_xxx_x_set_0, | 1487 | [0] = llc_conn_ac_send_rr_xxx_x_set_0, |
| 1488 | [1] = NULL, | 1488 | [1] = NULL, |
| 1489 | }; | 1489 | }; |
| @@ -1502,7 +1502,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_8[] = { | |||
| 1502 | [2] = NULL, | 1502 | [2] = NULL, |
| 1503 | }; | 1503 | }; |
| 1504 | 1504 | ||
| 1505 | static llc_conn_action_t llc_busy_actions_8[] = { | 1505 | static const llc_conn_action_t llc_busy_actions_8[] = { |
| 1506 | [0] = llc_conn_ac_send_rr_xxx_x_set_0, | 1506 | [0] = llc_conn_ac_send_rr_xxx_x_set_0, |
| 1507 | [1] = NULL, | 1507 | [1] = NULL, |
| 1508 | }; | 1508 | }; |
| @@ -1520,7 +1520,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_9a[] = { | |||
| 1520 | [1] = NULL, | 1520 | [1] = NULL, |
| 1521 | }; | 1521 | }; |
| 1522 | 1522 | ||
| 1523 | static llc_conn_action_t llc_busy_actions_9a[] = { | 1523 | static const llc_conn_action_t llc_busy_actions_9a[] = { |
| 1524 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, | 1524 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, |
| 1525 | [1] = llc_conn_ac_upd_p_flag, | 1525 | [1] = llc_conn_ac_upd_p_flag, |
| 1526 | [2] = llc_conn_ac_upd_nr_received, | 1526 | [2] = llc_conn_ac_upd_nr_received, |
| @@ -1542,7 +1542,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_9b[] = { | |||
| 1542 | [1] = NULL, | 1542 | [1] = NULL, |
| 1543 | }; | 1543 | }; |
| 1544 | 1544 | ||
| 1545 | static llc_conn_action_t llc_busy_actions_9b[] = { | 1545 | static const llc_conn_action_t llc_busy_actions_9b[] = { |
| 1546 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, | 1546 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, |
| 1547 | [1] = llc_conn_ac_upd_p_flag, | 1547 | [1] = llc_conn_ac_upd_p_flag, |
| 1548 | [2] = llc_conn_ac_upd_nr_received, | 1548 | [2] = llc_conn_ac_upd_nr_received, |
| @@ -1564,7 +1564,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_10a[] = { | |||
| 1564 | [1] = NULL, | 1564 | [1] = NULL, |
| 1565 | }; | 1565 | }; |
| 1566 | 1566 | ||
| 1567 | static llc_conn_action_t llc_busy_actions_10a[] = { | 1567 | static const llc_conn_action_t llc_busy_actions_10a[] = { |
| 1568 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, | 1568 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, |
| 1569 | [1] = llc_conn_ac_upd_nr_received, | 1569 | [1] = llc_conn_ac_upd_nr_received, |
| 1570 | [2] = llc_conn_ac_set_data_flag_1_if_data_flag_eq_0, | 1570 | [2] = llc_conn_ac_set_data_flag_1_if_data_flag_eq_0, |
| @@ -1584,7 +1584,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_10b[] = { | |||
| 1584 | [1] = NULL, | 1584 | [1] = NULL, |
| 1585 | }; | 1585 | }; |
| 1586 | 1586 | ||
| 1587 | static llc_conn_action_t llc_busy_actions_10b[] = { | 1587 | static const llc_conn_action_t llc_busy_actions_10b[] = { |
| 1588 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, | 1588 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, |
| 1589 | [1] = llc_conn_ac_upd_nr_received, | 1589 | [1] = llc_conn_ac_upd_nr_received, |
| 1590 | [2] = llc_conn_ac_set_data_flag_1_if_data_flag_eq_0, | 1590 | [2] = llc_conn_ac_set_data_flag_1_if_data_flag_eq_0, |
| @@ -1599,7 +1599,7 @@ static struct llc_conn_state_trans llc_busy_state_trans_10b = { | |||
| 1599 | }; | 1599 | }; |
| 1600 | 1600 | ||
| 1601 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1_UNEXPD_Ns event */ | 1601 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1_UNEXPD_Ns event */ |
| 1602 | static llc_conn_action_t llc_busy_actions_11[] = { | 1602 | static const llc_conn_action_t llc_busy_actions_11[] = { |
| 1603 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, | 1603 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, |
| 1604 | [1] = llc_conn_ac_upd_nr_received, | 1604 | [1] = llc_conn_ac_upd_nr_received, |
| 1605 | [2] = llc_conn_ac_set_data_flag_1_if_data_flag_eq_0, | 1605 | [2] = llc_conn_ac_set_data_flag_1_if_data_flag_eq_0, |
| @@ -1614,7 +1614,7 @@ static struct llc_conn_state_trans llc_busy_state_trans_11 = { | |||
| 1614 | }; | 1614 | }; |
| 1615 | 1615 | ||
| 1616 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */ | 1616 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */ |
| 1617 | static llc_conn_action_t llc_busy_actions_12[] = { | 1617 | static const llc_conn_action_t llc_busy_actions_12[] = { |
| 1618 | [0] = llc_conn_ac_inc_vr_by_1, | 1618 | [0] = llc_conn_ac_inc_vr_by_1, |
| 1619 | [1] = llc_conn_ac_data_ind, | 1619 | [1] = llc_conn_ac_data_ind, |
| 1620 | [2] = llc_conn_ac_send_rnr_rsp_f_set_1, | 1620 | [2] = llc_conn_ac_send_rnr_rsp_f_set_1, |
| @@ -1637,7 +1637,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_13a[] = { | |||
| 1637 | [1] = NULL, | 1637 | [1] = NULL, |
| 1638 | }; | 1638 | }; |
| 1639 | 1639 | ||
| 1640 | static llc_conn_action_t llc_busy_actions_13a[] = { | 1640 | static const llc_conn_action_t llc_busy_actions_13a[] = { |
| 1641 | [0] = llc_conn_ac_inc_vr_by_1, | 1641 | [0] = llc_conn_ac_inc_vr_by_1, |
| 1642 | [1] = llc_conn_ac_data_ind, | 1642 | [1] = llc_conn_ac_data_ind, |
| 1643 | [2] = llc_conn_ac_upd_p_flag, | 1643 | [2] = llc_conn_ac_upd_p_flag, |
| @@ -1662,7 +1662,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_13b[] = { | |||
| 1662 | [1] = NULL, | 1662 | [1] = NULL, |
| 1663 | }; | 1663 | }; |
| 1664 | 1664 | ||
| 1665 | static llc_conn_action_t llc_busy_actions_13b[] = { | 1665 | static const llc_conn_action_t llc_busy_actions_13b[] = { |
| 1666 | [0] = llc_conn_ac_inc_vr_by_1, | 1666 | [0] = llc_conn_ac_inc_vr_by_1, |
| 1667 | [1] = llc_conn_ac_data_ind, | 1667 | [1] = llc_conn_ac_data_ind, |
| 1668 | [2] = llc_conn_ac_upd_p_flag, | 1668 | [2] = llc_conn_ac_upd_p_flag, |
| @@ -1687,7 +1687,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_14a[] = { | |||
| 1687 | [1] = NULL, | 1687 | [1] = NULL, |
| 1688 | }; | 1688 | }; |
| 1689 | 1689 | ||
| 1690 | static llc_conn_action_t llc_busy_actions_14a[] = { | 1690 | static const llc_conn_action_t llc_busy_actions_14a[] = { |
| 1691 | [0] = llc_conn_ac_inc_vr_by_1, | 1691 | [0] = llc_conn_ac_inc_vr_by_1, |
| 1692 | [1] = llc_conn_ac_data_ind, | 1692 | [1] = llc_conn_ac_data_ind, |
| 1693 | [2] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, | 1693 | [2] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, |
| @@ -1710,7 +1710,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_14b[] = { | |||
| 1710 | [1] = NULL, | 1710 | [1] = NULL, |
| 1711 | }; | 1711 | }; |
| 1712 | 1712 | ||
| 1713 | static llc_conn_action_t llc_busy_actions_14b[] = { | 1713 | static const llc_conn_action_t llc_busy_actions_14b[] = { |
| 1714 | [0] = llc_conn_ac_inc_vr_by_1, | 1714 | [0] = llc_conn_ac_inc_vr_by_1, |
| 1715 | [1] = llc_conn_ac_data_ind, | 1715 | [1] = llc_conn_ac_data_ind, |
| 1716 | [2] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, | 1716 | [2] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, |
| @@ -1728,7 +1728,7 @@ static struct llc_conn_state_trans llc_busy_state_trans_14b = { | |||
| 1728 | }; | 1728 | }; |
| 1729 | 1729 | ||
| 1730 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */ | 1730 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */ |
| 1731 | static llc_conn_action_t llc_busy_actions_15a[] = { | 1731 | static const llc_conn_action_t llc_busy_actions_15a[] = { |
| 1732 | [0] = llc_conn_ac_upd_p_flag, | 1732 | [0] = llc_conn_ac_upd_p_flag, |
| 1733 | [1] = llc_conn_ac_upd_nr_received, | 1733 | [1] = llc_conn_ac_upd_nr_received, |
| 1734 | [2] = llc_conn_ac_clear_remote_busy, | 1734 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -1743,7 +1743,7 @@ static struct llc_conn_state_trans llc_busy_state_trans_15a = { | |||
| 1743 | }; | 1743 | }; |
| 1744 | 1744 | ||
| 1745 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */ | 1745 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */ |
| 1746 | static llc_conn_action_t llc_busy_actions_15b[] = { | 1746 | static const llc_conn_action_t llc_busy_actions_15b[] = { |
| 1747 | [0] = llc_conn_ac_upd_p_flag, | 1747 | [0] = llc_conn_ac_upd_p_flag, |
| 1748 | [1] = llc_conn_ac_upd_nr_received, | 1748 | [1] = llc_conn_ac_upd_nr_received, |
| 1749 | [2] = llc_conn_ac_clear_remote_busy, | 1749 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -1763,7 +1763,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_15c[] = { | |||
| 1763 | [1] = NULL, | 1763 | [1] = NULL, |
| 1764 | }; | 1764 | }; |
| 1765 | 1765 | ||
| 1766 | static llc_conn_action_t llc_busy_actions_15c[] = { | 1766 | static const llc_conn_action_t llc_busy_actions_15c[] = { |
| 1767 | [0] = llc_conn_ac_upd_p_flag, | 1767 | [0] = llc_conn_ac_upd_p_flag, |
| 1768 | [1] = llc_conn_ac_upd_nr_received, | 1768 | [1] = llc_conn_ac_upd_nr_received, |
| 1769 | [2] = llc_conn_ac_clear_remote_busy, | 1769 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -1778,7 +1778,7 @@ static struct llc_conn_state_trans llc_busy_state_trans_15c = { | |||
| 1778 | }; | 1778 | }; |
| 1779 | 1779 | ||
| 1780 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */ | 1780 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */ |
| 1781 | static llc_conn_action_t llc_busy_actions_16[] = { | 1781 | static const llc_conn_action_t llc_busy_actions_16[] = { |
| 1782 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, | 1782 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, |
| 1783 | [1] = llc_conn_ac_upd_nr_received, | 1783 | [1] = llc_conn_ac_upd_nr_received, |
| 1784 | [2] = llc_conn_ac_clear_remote_busy, | 1784 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -1793,7 +1793,7 @@ static struct llc_conn_state_trans llc_busy_state_trans_16 = { | |||
| 1793 | }; | 1793 | }; |
| 1794 | 1794 | ||
| 1795 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */ | 1795 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */ |
| 1796 | static llc_conn_action_t llc_busy_actions_17a[] = { | 1796 | static const llc_conn_action_t llc_busy_actions_17a[] = { |
| 1797 | [0] = llc_conn_ac_upd_p_flag, | 1797 | [0] = llc_conn_ac_upd_p_flag, |
| 1798 | [1] = llc_conn_ac_upd_nr_received, | 1798 | [1] = llc_conn_ac_upd_nr_received, |
| 1799 | [2] = llc_conn_ac_set_remote_busy, | 1799 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -1808,7 +1808,7 @@ static struct llc_conn_state_trans llc_busy_state_trans_17a = { | |||
| 1808 | }; | 1808 | }; |
| 1809 | 1809 | ||
| 1810 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */ | 1810 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */ |
| 1811 | static llc_conn_action_t llc_busy_actions_17b[] = { | 1811 | static const llc_conn_action_t llc_busy_actions_17b[] = { |
| 1812 | [0] = llc_conn_ac_upd_p_flag, | 1812 | [0] = llc_conn_ac_upd_p_flag, |
| 1813 | [1] = llc_conn_ac_upd_nr_received, | 1813 | [1] = llc_conn_ac_upd_nr_received, |
| 1814 | [2] = llc_conn_ac_set_remote_busy, | 1814 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -1828,7 +1828,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_17c[] = { | |||
| 1828 | [1] = NULL, | 1828 | [1] = NULL, |
| 1829 | }; | 1829 | }; |
| 1830 | 1830 | ||
| 1831 | static llc_conn_action_t llc_busy_actions_17c[] = { | 1831 | static const llc_conn_action_t llc_busy_actions_17c[] = { |
| 1832 | [0] = llc_conn_ac_upd_p_flag, | 1832 | [0] = llc_conn_ac_upd_p_flag, |
| 1833 | [1] = llc_conn_ac_upd_nr_received, | 1833 | [1] = llc_conn_ac_upd_nr_received, |
| 1834 | [2] = llc_conn_ac_set_remote_busy, | 1834 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -1843,7 +1843,7 @@ static struct llc_conn_state_trans llc_busy_state_trans_17c = { | |||
| 1843 | }; | 1843 | }; |
| 1844 | 1844 | ||
| 1845 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */ | 1845 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */ |
| 1846 | static llc_conn_action_t llc_busy_actions_18[] = { | 1846 | static const llc_conn_action_t llc_busy_actions_18[] = { |
| 1847 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, | 1847 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, |
| 1848 | [1] = llc_conn_ac_upd_nr_received, | 1848 | [1] = llc_conn_ac_upd_nr_received, |
| 1849 | [2] = llc_conn_ac_set_remote_busy, | 1849 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -1863,7 +1863,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_19a[] = { | |||
| 1863 | [1] = NULL, | 1863 | [1] = NULL, |
| 1864 | }; | 1864 | }; |
| 1865 | 1865 | ||
| 1866 | static llc_conn_action_t llc_busy_actions_19a[] = { | 1866 | static const llc_conn_action_t llc_busy_actions_19a[] = { |
| 1867 | [0] = llc_conn_ac_set_vs_nr, | 1867 | [0] = llc_conn_ac_set_vs_nr, |
| 1868 | [1] = llc_conn_ac_upd_nr_received, | 1868 | [1] = llc_conn_ac_upd_nr_received, |
| 1869 | [2] = llc_conn_ac_upd_p_flag, | 1869 | [2] = llc_conn_ac_upd_p_flag, |
| @@ -1885,7 +1885,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_19b[] = { | |||
| 1885 | [1] = NULL, | 1885 | [1] = NULL, |
| 1886 | }; | 1886 | }; |
| 1887 | 1887 | ||
| 1888 | static llc_conn_action_t llc_busy_actions_19b[] = { | 1888 | static const llc_conn_action_t llc_busy_actions_19b[] = { |
| 1889 | [0] = llc_conn_ac_set_vs_nr, | 1889 | [0] = llc_conn_ac_set_vs_nr, |
| 1890 | [1] = llc_conn_ac_upd_nr_received, | 1890 | [1] = llc_conn_ac_upd_nr_received, |
| 1891 | [2] = llc_conn_ac_upd_p_flag, | 1891 | [2] = llc_conn_ac_upd_p_flag, |
| @@ -1907,7 +1907,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_20a[] = { | |||
| 1907 | [1] = NULL, | 1907 | [1] = NULL, |
| 1908 | }; | 1908 | }; |
| 1909 | 1909 | ||
| 1910 | static llc_conn_action_t llc_busy_actions_20a[] = { | 1910 | static const llc_conn_action_t llc_busy_actions_20a[] = { |
| 1911 | [0] = llc_conn_ac_set_vs_nr, | 1911 | [0] = llc_conn_ac_set_vs_nr, |
| 1912 | [1] = llc_conn_ac_upd_nr_received, | 1912 | [1] = llc_conn_ac_upd_nr_received, |
| 1913 | [2] = llc_conn_ac_resend_i_xxx_x_set_0, | 1913 | [2] = llc_conn_ac_resend_i_xxx_x_set_0, |
| @@ -1928,7 +1928,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_20b[] = { | |||
| 1928 | [1] = NULL, | 1928 | [1] = NULL, |
| 1929 | }; | 1929 | }; |
| 1930 | 1930 | ||
| 1931 | static llc_conn_action_t llc_busy_actions_20b[] = { | 1931 | static const llc_conn_action_t llc_busy_actions_20b[] = { |
| 1932 | [0] = llc_conn_ac_set_vs_nr, | 1932 | [0] = llc_conn_ac_set_vs_nr, |
| 1933 | [1] = llc_conn_ac_upd_nr_received, | 1933 | [1] = llc_conn_ac_upd_nr_received, |
| 1934 | [2] = llc_conn_ac_resend_i_xxx_x_set_0, | 1934 | [2] = llc_conn_ac_resend_i_xxx_x_set_0, |
| @@ -1944,7 +1944,7 @@ static struct llc_conn_state_trans llc_busy_state_trans_20b = { | |||
| 1944 | }; | 1944 | }; |
| 1945 | 1945 | ||
| 1946 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */ | 1946 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */ |
| 1947 | static llc_conn_action_t llc_busy_actions_21[] = { | 1947 | static const llc_conn_action_t llc_busy_actions_21[] = { |
| 1948 | [0] = llc_conn_ac_set_vs_nr, | 1948 | [0] = llc_conn_ac_set_vs_nr, |
| 1949 | [1] = llc_conn_ac_upd_nr_received, | 1949 | [1] = llc_conn_ac_upd_nr_received, |
| 1950 | [2] = llc_conn_ac_send_rnr_rsp_f_set_1, | 1950 | [2] = llc_conn_ac_send_rnr_rsp_f_set_1, |
| @@ -1966,7 +1966,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_22[] = { | |||
| 1966 | [1] = NULL, | 1966 | [1] = NULL, |
| 1967 | }; | 1967 | }; |
| 1968 | 1968 | ||
| 1969 | static llc_conn_action_t llc_busy_actions_22[] = { | 1969 | static const llc_conn_action_t llc_busy_actions_22[] = { |
| 1970 | [0] = llc_conn_ac_send_rnr_cmd_p_set_1, | 1970 | [0] = llc_conn_ac_send_rnr_cmd_p_set_1, |
| 1971 | [1] = llc_conn_ac_start_p_timer, | 1971 | [1] = llc_conn_ac_start_p_timer, |
| 1972 | [2] = NULL, | 1972 | [2] = NULL, |
| @@ -1985,7 +1985,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_23[] = { | |||
| 1985 | [1] = NULL, | 1985 | [1] = NULL, |
| 1986 | }; | 1986 | }; |
| 1987 | 1987 | ||
| 1988 | static llc_conn_action_t llc_busy_actions_23[] = { | 1988 | static const llc_conn_action_t llc_busy_actions_23[] = { |
| 1989 | [0] = llc_conn_ac_send_rnr_cmd_p_set_1, | 1989 | [0] = llc_conn_ac_send_rnr_cmd_p_set_1, |
| 1990 | [1] = llc_conn_ac_rst_vs, | 1990 | [1] = llc_conn_ac_rst_vs, |
| 1991 | [2] = llc_conn_ac_start_p_timer, | 1991 | [2] = llc_conn_ac_start_p_timer, |
| @@ -2007,7 +2007,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_24a[] = { | |||
| 2007 | [2] = NULL, | 2007 | [2] = NULL, |
| 2008 | }; | 2008 | }; |
| 2009 | 2009 | ||
| 2010 | static llc_conn_action_t llc_busy_actions_24a[] = { | 2010 | static const llc_conn_action_t llc_busy_actions_24a[] = { |
| 2011 | [0] = llc_conn_ac_send_rnr_cmd_p_set_1, | 2011 | [0] = llc_conn_ac_send_rnr_cmd_p_set_1, |
| 2012 | [1] = llc_conn_ac_start_p_timer, | 2012 | [1] = llc_conn_ac_start_p_timer, |
| 2013 | [2] = llc_conn_ac_inc_retry_cnt_by_1, | 2013 | [2] = llc_conn_ac_inc_retry_cnt_by_1, |
| @@ -2029,7 +2029,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_24b[] = { | |||
| 2029 | [2] = NULL, | 2029 | [2] = NULL, |
| 2030 | }; | 2030 | }; |
| 2031 | 2031 | ||
| 2032 | static llc_conn_action_t llc_busy_actions_24b[] = { | 2032 | static const llc_conn_action_t llc_busy_actions_24b[] = { |
| 2033 | [0] = llc_conn_ac_send_rnr_cmd_p_set_1, | 2033 | [0] = llc_conn_ac_send_rnr_cmd_p_set_1, |
| 2034 | [1] = llc_conn_ac_start_p_timer, | 2034 | [1] = llc_conn_ac_start_p_timer, |
| 2035 | [2] = llc_conn_ac_inc_retry_cnt_by_1, | 2035 | [2] = llc_conn_ac_inc_retry_cnt_by_1, |
| @@ -2051,7 +2051,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_25[] = { | |||
| 2051 | [2] = NULL, | 2051 | [2] = NULL, |
| 2052 | }; | 2052 | }; |
| 2053 | 2053 | ||
| 2054 | static llc_conn_action_t llc_busy_actions_25[] = { | 2054 | static const llc_conn_action_t llc_busy_actions_25[] = { |
| 2055 | [0] = llc_conn_ac_send_rnr_cmd_p_set_1, | 2055 | [0] = llc_conn_ac_send_rnr_cmd_p_set_1, |
| 2056 | [1] = llc_conn_ac_start_p_timer, | 2056 | [1] = llc_conn_ac_start_p_timer, |
| 2057 | [2] = llc_conn_ac_inc_retry_cnt_by_1, | 2057 | [2] = llc_conn_ac_inc_retry_cnt_by_1, |
| @@ -2074,7 +2074,7 @@ static llc_conn_ev_qfyr_t llc_busy_ev_qfyrs_26[] = { | |||
| 2074 | [2] = NULL, | 2074 | [2] = NULL, |
| 2075 | }; | 2075 | }; |
| 2076 | 2076 | ||
| 2077 | static llc_conn_action_t llc_busy_actions_26[] = { | 2077 | static const llc_conn_action_t llc_busy_actions_26[] = { |
| 2078 | [0] = llc_conn_ac_set_data_flag_1, | 2078 | [0] = llc_conn_ac_set_data_flag_1, |
| 2079 | [1] = NULL, | 2079 | [1] = NULL, |
| 2080 | }; | 2080 | }; |
| @@ -2161,7 +2161,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_1[] = { | |||
| 2161 | [2] = NULL, | 2161 | [2] = NULL, |
| 2162 | }; | 2162 | }; |
| 2163 | 2163 | ||
| 2164 | static llc_conn_action_t llc_reject_actions_1[] = { | 2164 | static const llc_conn_action_t llc_reject_actions_1[] = { |
| 2165 | [0] = llc_conn_ac_send_i_xxx_x_set_0, | 2165 | [0] = llc_conn_ac_send_i_xxx_x_set_0, |
| 2166 | [1] = NULL, | 2166 | [1] = NULL, |
| 2167 | }; | 2167 | }; |
| @@ -2180,7 +2180,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_2[] = { | |||
| 2180 | [2] = NULL, | 2180 | [2] = NULL, |
| 2181 | }; | 2181 | }; |
| 2182 | 2182 | ||
| 2183 | static llc_conn_action_t llc_reject_actions_2[] = { | 2183 | static const llc_conn_action_t llc_reject_actions_2[] = { |
| 2184 | [0] = llc_conn_ac_send_i_xxx_x_set_0, | 2184 | [0] = llc_conn_ac_send_i_xxx_x_set_0, |
| 2185 | [1] = NULL, | 2185 | [1] = NULL, |
| 2186 | }; | 2186 | }; |
| @@ -2200,7 +2200,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_2_1[] = { | |||
| 2200 | }; | 2200 | }; |
| 2201 | 2201 | ||
| 2202 | /* just one member, NULL, .bss zeroes it */ | 2202 | /* just one member, NULL, .bss zeroes it */ |
| 2203 | static llc_conn_action_t llc_reject_actions_2_1[1]; | 2203 | static const llc_conn_action_t llc_reject_actions_2_1[1]; |
| 2204 | 2204 | ||
| 2205 | static struct llc_conn_state_trans llc_reject_state_trans_2_1 = { | 2205 | static struct llc_conn_state_trans llc_reject_state_trans_2_1 = { |
| 2206 | .ev = llc_conn_ev_data_req, | 2206 | .ev = llc_conn_ev_data_req, |
| @@ -2216,7 +2216,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_3[] = { | |||
| 2216 | [1] = NULL, | 2216 | [1] = NULL, |
| 2217 | }; | 2217 | }; |
| 2218 | 2218 | ||
| 2219 | static llc_conn_action_t llc_reject_actions_3[] = { | 2219 | static const llc_conn_action_t llc_reject_actions_3[] = { |
| 2220 | [0] = llc_conn_ac_send_rnr_xxx_x_set_0, | 2220 | [0] = llc_conn_ac_send_rnr_xxx_x_set_0, |
| 2221 | [1] = llc_conn_ac_set_data_flag_2, | 2221 | [1] = llc_conn_ac_set_data_flag_2, |
| 2222 | [2] = NULL, | 2222 | [2] = NULL, |
| @@ -2235,7 +2235,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_4[] = { | |||
| 2235 | [1] = NULL, | 2235 | [1] = NULL, |
| 2236 | }; | 2236 | }; |
| 2237 | 2237 | ||
| 2238 | static llc_conn_action_t llc_reject_actions_4[] = { | 2238 | static const llc_conn_action_t llc_reject_actions_4[] = { |
| 2239 | [0] = llc_conn_ac_send_rnr_xxx_x_set_0, | 2239 | [0] = llc_conn_ac_send_rnr_xxx_x_set_0, |
| 2240 | [1] = llc_conn_ac_set_data_flag_2, | 2240 | [1] = llc_conn_ac_set_data_flag_2, |
| 2241 | [2] = NULL, | 2241 | [2] = NULL, |
| @@ -2249,7 +2249,7 @@ static struct llc_conn_state_trans llc_reject_state_trans_4 = { | |||
| 2249 | }; | 2249 | }; |
| 2250 | 2250 | ||
| 2251 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0_UNEXPD_Ns event */ | 2251 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0_UNEXPD_Ns event */ |
| 2252 | static llc_conn_action_t llc_reject_actions_5a[] = { | 2252 | static const llc_conn_action_t llc_reject_actions_5a[] = { |
| 2253 | [0] = llc_conn_ac_upd_nr_received, | 2253 | [0] = llc_conn_ac_upd_nr_received, |
| 2254 | [1] = llc_conn_ac_upd_p_flag, | 2254 | [1] = llc_conn_ac_upd_p_flag, |
| 2255 | [2] = llc_conn_ac_clear_remote_busy_if_f_eq_1, | 2255 | [2] = llc_conn_ac_clear_remote_busy_if_f_eq_1, |
| @@ -2264,7 +2264,7 @@ static struct llc_conn_state_trans llc_reject_state_trans_5a = { | |||
| 2264 | }; | 2264 | }; |
| 2265 | 2265 | ||
| 2266 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0_UNEXPD_Ns event */ | 2266 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0_UNEXPD_Ns event */ |
| 2267 | static llc_conn_action_t llc_reject_actions_5b[] = { | 2267 | static const llc_conn_action_t llc_reject_actions_5b[] = { |
| 2268 | [0] = llc_conn_ac_upd_nr_received, | 2268 | [0] = llc_conn_ac_upd_nr_received, |
| 2269 | [1] = llc_conn_ac_upd_p_flag, | 2269 | [1] = llc_conn_ac_upd_p_flag, |
| 2270 | [2] = llc_conn_ac_clear_remote_busy_if_f_eq_1, | 2270 | [2] = llc_conn_ac_clear_remote_busy_if_f_eq_1, |
| @@ -2284,7 +2284,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_5c[] = { | |||
| 2284 | [1] = NULL, | 2284 | [1] = NULL, |
| 2285 | }; | 2285 | }; |
| 2286 | 2286 | ||
| 2287 | static llc_conn_action_t llc_reject_actions_5c[] = { | 2287 | static const llc_conn_action_t llc_reject_actions_5c[] = { |
| 2288 | [0] = llc_conn_ac_upd_nr_received, | 2288 | [0] = llc_conn_ac_upd_nr_received, |
| 2289 | [1] = llc_conn_ac_upd_p_flag, | 2289 | [1] = llc_conn_ac_upd_p_flag, |
| 2290 | [2] = llc_conn_ac_clear_remote_busy_if_f_eq_1, | 2290 | [2] = llc_conn_ac_clear_remote_busy_if_f_eq_1, |
| @@ -2299,7 +2299,7 @@ static struct llc_conn_state_trans llc_reject_state_trans_5c = { | |||
| 2299 | }; | 2299 | }; |
| 2300 | 2300 | ||
| 2301 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1_UNEXPD_Ns event */ | 2301 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1_UNEXPD_Ns event */ |
| 2302 | static llc_conn_action_t llc_reject_actions_6[] = { | 2302 | static const llc_conn_action_t llc_reject_actions_6[] = { |
| 2303 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, | 2303 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, |
| 2304 | [1] = llc_conn_ac_upd_nr_received, | 2304 | [1] = llc_conn_ac_upd_nr_received, |
| 2305 | [2] = NULL, | 2305 | [2] = NULL, |
| @@ -2318,7 +2318,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_7a[] = { | |||
| 2318 | [1] = NULL, | 2318 | [1] = NULL, |
| 2319 | }; | 2319 | }; |
| 2320 | 2320 | ||
| 2321 | static llc_conn_action_t llc_reject_actions_7a[] = { | 2321 | static const llc_conn_action_t llc_reject_actions_7a[] = { |
| 2322 | [0] = llc_conn_ac_inc_vr_by_1, | 2322 | [0] = llc_conn_ac_inc_vr_by_1, |
| 2323 | [1] = llc_conn_ac_data_ind, | 2323 | [1] = llc_conn_ac_data_ind, |
| 2324 | [2] = llc_conn_ac_upd_p_flag, | 2324 | [2] = llc_conn_ac_upd_p_flag, |
| @@ -2343,7 +2343,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_7b[] = { | |||
| 2343 | [1] = NULL, | 2343 | [1] = NULL, |
| 2344 | }; | 2344 | }; |
| 2345 | 2345 | ||
| 2346 | static llc_conn_action_t llc_reject_actions_7b[] = { | 2346 | static const llc_conn_action_t llc_reject_actions_7b[] = { |
| 2347 | [0] = llc_conn_ac_inc_vr_by_1, | 2347 | [0] = llc_conn_ac_inc_vr_by_1, |
| 2348 | [1] = llc_conn_ac_data_ind, | 2348 | [1] = llc_conn_ac_data_ind, |
| 2349 | [2] = llc_conn_ac_upd_p_flag, | 2349 | [2] = llc_conn_ac_upd_p_flag, |
| @@ -2367,7 +2367,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_8a[] = { | |||
| 2367 | [1] = NULL, | 2367 | [1] = NULL, |
| 2368 | }; | 2368 | }; |
| 2369 | 2369 | ||
| 2370 | static llc_conn_action_t llc_reject_actions_8a[] = { | 2370 | static const llc_conn_action_t llc_reject_actions_8a[] = { |
| 2371 | [0] = llc_conn_ac_inc_vr_by_1, | 2371 | [0] = llc_conn_ac_inc_vr_by_1, |
| 2372 | [1] = llc_conn_ac_data_ind, | 2372 | [1] = llc_conn_ac_data_ind, |
| 2373 | [2] = llc_conn_ac_send_ack_xxx_x_set_0, | 2373 | [2] = llc_conn_ac_send_ack_xxx_x_set_0, |
| @@ -2389,7 +2389,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_8b[] = { | |||
| 2389 | [1] = NULL, | 2389 | [1] = NULL, |
| 2390 | }; | 2390 | }; |
| 2391 | 2391 | ||
| 2392 | static llc_conn_action_t llc_reject_actions_8b[] = { | 2392 | static const llc_conn_action_t llc_reject_actions_8b[] = { |
| 2393 | [0] = llc_conn_ac_inc_vr_by_1, | 2393 | [0] = llc_conn_ac_inc_vr_by_1, |
| 2394 | [1] = llc_conn_ac_data_ind, | 2394 | [1] = llc_conn_ac_data_ind, |
| 2395 | [2] = llc_conn_ac_send_ack_xxx_x_set_0, | 2395 | [2] = llc_conn_ac_send_ack_xxx_x_set_0, |
| @@ -2406,7 +2406,7 @@ static struct llc_conn_state_trans llc_reject_state_trans_8b = { | |||
| 2406 | }; | 2406 | }; |
| 2407 | 2407 | ||
| 2408 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */ | 2408 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */ |
| 2409 | static llc_conn_action_t llc_reject_actions_9[] = { | 2409 | static const llc_conn_action_t llc_reject_actions_9[] = { |
| 2410 | [0] = llc_conn_ac_inc_vr_by_1, | 2410 | [0] = llc_conn_ac_inc_vr_by_1, |
| 2411 | [1] = llc_conn_ac_data_ind, | 2411 | [1] = llc_conn_ac_data_ind, |
| 2412 | [2] = llc_conn_ac_send_ack_rsp_f_set_1, | 2412 | [2] = llc_conn_ac_send_ack_rsp_f_set_1, |
| @@ -2423,7 +2423,7 @@ static struct llc_conn_state_trans llc_reject_state_trans_9 = { | |||
| 2423 | }; | 2423 | }; |
| 2424 | 2424 | ||
| 2425 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */ | 2425 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */ |
| 2426 | static llc_conn_action_t llc_reject_actions_10a[] = { | 2426 | static const llc_conn_action_t llc_reject_actions_10a[] = { |
| 2427 | [0] = llc_conn_ac_upd_p_flag, | 2427 | [0] = llc_conn_ac_upd_p_flag, |
| 2428 | [1] = llc_conn_ac_upd_nr_received, | 2428 | [1] = llc_conn_ac_upd_nr_received, |
| 2429 | [2] = llc_conn_ac_clear_remote_busy, | 2429 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -2438,7 +2438,7 @@ static struct llc_conn_state_trans llc_reject_state_trans_10a = { | |||
| 2438 | }; | 2438 | }; |
| 2439 | 2439 | ||
| 2440 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */ | 2440 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */ |
| 2441 | static llc_conn_action_t llc_reject_actions_10b[] = { | 2441 | static const llc_conn_action_t llc_reject_actions_10b[] = { |
| 2442 | [0] = llc_conn_ac_upd_p_flag, | 2442 | [0] = llc_conn_ac_upd_p_flag, |
| 2443 | [1] = llc_conn_ac_upd_nr_received, | 2443 | [1] = llc_conn_ac_upd_nr_received, |
| 2444 | [2] = llc_conn_ac_clear_remote_busy, | 2444 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -2458,7 +2458,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_10c[] = { | |||
| 2458 | [1] = NULL, | 2458 | [1] = NULL, |
| 2459 | }; | 2459 | }; |
| 2460 | 2460 | ||
| 2461 | static llc_conn_action_t llc_reject_actions_10c[] = { | 2461 | static const llc_conn_action_t llc_reject_actions_10c[] = { |
| 2462 | [0] = llc_conn_ac_upd_p_flag, | 2462 | [0] = llc_conn_ac_upd_p_flag, |
| 2463 | [1] = llc_conn_ac_upd_nr_received, | 2463 | [1] = llc_conn_ac_upd_nr_received, |
| 2464 | [2] = llc_conn_ac_clear_remote_busy, | 2464 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -2473,7 +2473,7 @@ static struct llc_conn_state_trans llc_reject_state_trans_10c = { | |||
| 2473 | }; | 2473 | }; |
| 2474 | 2474 | ||
| 2475 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */ | 2475 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */ |
| 2476 | static llc_conn_action_t llc_reject_actions_11[] = { | 2476 | static const llc_conn_action_t llc_reject_actions_11[] = { |
| 2477 | [0] = llc_conn_ac_send_ack_rsp_f_set_1, | 2477 | [0] = llc_conn_ac_send_ack_rsp_f_set_1, |
| 2478 | [1] = llc_conn_ac_upd_nr_received, | 2478 | [1] = llc_conn_ac_upd_nr_received, |
| 2479 | [2] = llc_conn_ac_clear_remote_busy, | 2479 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -2488,7 +2488,7 @@ static struct llc_conn_state_trans llc_reject_state_trans_11 = { | |||
| 2488 | }; | 2488 | }; |
| 2489 | 2489 | ||
| 2490 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */ | 2490 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */ |
| 2491 | static llc_conn_action_t llc_reject_actions_12a[] = { | 2491 | static const llc_conn_action_t llc_reject_actions_12a[] = { |
| 2492 | [0] = llc_conn_ac_upd_p_flag, | 2492 | [0] = llc_conn_ac_upd_p_flag, |
| 2493 | [1] = llc_conn_ac_upd_nr_received, | 2493 | [1] = llc_conn_ac_upd_nr_received, |
| 2494 | [2] = llc_conn_ac_set_remote_busy, | 2494 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -2503,7 +2503,7 @@ static struct llc_conn_state_trans llc_reject_state_trans_12a = { | |||
| 2503 | }; | 2503 | }; |
| 2504 | 2504 | ||
| 2505 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */ | 2505 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */ |
| 2506 | static llc_conn_action_t llc_reject_actions_12b[] = { | 2506 | static const llc_conn_action_t llc_reject_actions_12b[] = { |
| 2507 | [0] = llc_conn_ac_upd_p_flag, | 2507 | [0] = llc_conn_ac_upd_p_flag, |
| 2508 | [1] = llc_conn_ac_upd_nr_received, | 2508 | [1] = llc_conn_ac_upd_nr_received, |
| 2509 | [2] = llc_conn_ac_set_remote_busy, | 2509 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -2523,7 +2523,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_12c[] = { | |||
| 2523 | [1] = NULL, | 2523 | [1] = NULL, |
| 2524 | }; | 2524 | }; |
| 2525 | 2525 | ||
| 2526 | static llc_conn_action_t llc_reject_actions_12c[] = { | 2526 | static const llc_conn_action_t llc_reject_actions_12c[] = { |
| 2527 | [0] = llc_conn_ac_upd_p_flag, | 2527 | [0] = llc_conn_ac_upd_p_flag, |
| 2528 | [1] = llc_conn_ac_upd_nr_received, | 2528 | [1] = llc_conn_ac_upd_nr_received, |
| 2529 | [2] = llc_conn_ac_set_remote_busy, | 2529 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -2538,7 +2538,7 @@ static struct llc_conn_state_trans llc_reject_state_trans_12c = { | |||
| 2538 | }; | 2538 | }; |
| 2539 | 2539 | ||
| 2540 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */ | 2540 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */ |
| 2541 | static llc_conn_action_t llc_reject_actions_13[] = { | 2541 | static const llc_conn_action_t llc_reject_actions_13[] = { |
| 2542 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, | 2542 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, |
| 2543 | [1] = llc_conn_ac_upd_nr_received, | 2543 | [1] = llc_conn_ac_upd_nr_received, |
| 2544 | [2] = llc_conn_ac_set_remote_busy, | 2544 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -2558,7 +2558,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_14a[] = { | |||
| 2558 | [1] = NULL, | 2558 | [1] = NULL, |
| 2559 | }; | 2559 | }; |
| 2560 | 2560 | ||
| 2561 | static llc_conn_action_t llc_reject_actions_14a[] = { | 2561 | static const llc_conn_action_t llc_reject_actions_14a[] = { |
| 2562 | [0] = llc_conn_ac_set_vs_nr, | 2562 | [0] = llc_conn_ac_set_vs_nr, |
| 2563 | [1] = llc_conn_ac_upd_nr_received, | 2563 | [1] = llc_conn_ac_upd_nr_received, |
| 2564 | [2] = llc_conn_ac_upd_p_flag, | 2564 | [2] = llc_conn_ac_upd_p_flag, |
| @@ -2580,7 +2580,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_14b[] = { | |||
| 2580 | [1] = NULL, | 2580 | [1] = NULL, |
| 2581 | }; | 2581 | }; |
| 2582 | 2582 | ||
| 2583 | static llc_conn_action_t llc_reject_actions_14b[] = { | 2583 | static const llc_conn_action_t llc_reject_actions_14b[] = { |
| 2584 | [0] = llc_conn_ac_set_vs_nr, | 2584 | [0] = llc_conn_ac_set_vs_nr, |
| 2585 | [1] = llc_conn_ac_upd_nr_received, | 2585 | [1] = llc_conn_ac_upd_nr_received, |
| 2586 | [2] = llc_conn_ac_upd_p_flag, | 2586 | [2] = llc_conn_ac_upd_p_flag, |
| @@ -2602,7 +2602,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_15a[] = { | |||
| 2602 | [1] = NULL, | 2602 | [1] = NULL, |
| 2603 | }; | 2603 | }; |
| 2604 | 2604 | ||
| 2605 | static llc_conn_action_t llc_reject_actions_15a[] = { | 2605 | static const llc_conn_action_t llc_reject_actions_15a[] = { |
| 2606 | [0] = llc_conn_ac_set_vs_nr, | 2606 | [0] = llc_conn_ac_set_vs_nr, |
| 2607 | [1] = llc_conn_ac_upd_nr_received, | 2607 | [1] = llc_conn_ac_upd_nr_received, |
| 2608 | [2] = llc_conn_ac_resend_i_xxx_x_set_0, | 2608 | [2] = llc_conn_ac_resend_i_xxx_x_set_0, |
| @@ -2623,7 +2623,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_15b[] = { | |||
| 2623 | [1] = NULL, | 2623 | [1] = NULL, |
| 2624 | }; | 2624 | }; |
| 2625 | 2625 | ||
| 2626 | static llc_conn_action_t llc_reject_actions_15b[] = { | 2626 | static const llc_conn_action_t llc_reject_actions_15b[] = { |
| 2627 | [0] = llc_conn_ac_set_vs_nr, | 2627 | [0] = llc_conn_ac_set_vs_nr, |
| 2628 | [1] = llc_conn_ac_upd_nr_received, | 2628 | [1] = llc_conn_ac_upd_nr_received, |
| 2629 | [2] = llc_conn_ac_resend_i_xxx_x_set_0, | 2629 | [2] = llc_conn_ac_resend_i_xxx_x_set_0, |
| @@ -2639,7 +2639,7 @@ static struct llc_conn_state_trans llc_reject_state_trans_15b = { | |||
| 2639 | }; | 2639 | }; |
| 2640 | 2640 | ||
| 2641 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */ | 2641 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */ |
| 2642 | static llc_conn_action_t llc_reject_actions_16[] = { | 2642 | static const llc_conn_action_t llc_reject_actions_16[] = { |
| 2643 | [0] = llc_conn_ac_set_vs_nr, | 2643 | [0] = llc_conn_ac_set_vs_nr, |
| 2644 | [1] = llc_conn_ac_upd_nr_received, | 2644 | [1] = llc_conn_ac_upd_nr_received, |
| 2645 | [2] = llc_conn_ac_resend_i_rsp_f_set_1, | 2645 | [2] = llc_conn_ac_resend_i_rsp_f_set_1, |
| @@ -2660,7 +2660,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_17[] = { | |||
| 2660 | [1] = NULL, | 2660 | [1] = NULL, |
| 2661 | }; | 2661 | }; |
| 2662 | 2662 | ||
| 2663 | static llc_conn_action_t llc_reject_actions_17[] = { | 2663 | static const llc_conn_action_t llc_reject_actions_17[] = { |
| 2664 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, | 2664 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, |
| 2665 | [1] = llc_conn_ac_start_p_timer, | 2665 | [1] = llc_conn_ac_start_p_timer, |
| 2666 | [2] = NULL, | 2666 | [2] = NULL, |
| @@ -2680,7 +2680,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_18[] = { | |||
| 2680 | [2] = NULL, | 2680 | [2] = NULL, |
| 2681 | }; | 2681 | }; |
| 2682 | 2682 | ||
| 2683 | static llc_conn_action_t llc_reject_actions_18[] = { | 2683 | static const llc_conn_action_t llc_reject_actions_18[] = { |
| 2684 | [0] = llc_conn_ac_send_rej_cmd_p_set_1, | 2684 | [0] = llc_conn_ac_send_rej_cmd_p_set_1, |
| 2685 | [1] = llc_conn_ac_start_p_timer, | 2685 | [1] = llc_conn_ac_start_p_timer, |
| 2686 | [2] = llc_conn_ac_start_rej_timer, | 2686 | [2] = llc_conn_ac_start_rej_timer, |
| @@ -2701,7 +2701,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_19[] = { | |||
| 2701 | [1] = NULL, | 2701 | [1] = NULL, |
| 2702 | }; | 2702 | }; |
| 2703 | 2703 | ||
| 2704 | static llc_conn_action_t llc_reject_actions_19[] = { | 2704 | static const llc_conn_action_t llc_reject_actions_19[] = { |
| 2705 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, | 2705 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, |
| 2706 | [1] = llc_conn_ac_start_p_timer, | 2706 | [1] = llc_conn_ac_start_p_timer, |
| 2707 | [2] = llc_conn_ac_start_rej_timer, | 2707 | [2] = llc_conn_ac_start_rej_timer, |
| @@ -2724,7 +2724,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_20a[] = { | |||
| 2724 | [2] = NULL, | 2724 | [2] = NULL, |
| 2725 | }; | 2725 | }; |
| 2726 | 2726 | ||
| 2727 | static llc_conn_action_t llc_reject_actions_20a[] = { | 2727 | static const llc_conn_action_t llc_reject_actions_20a[] = { |
| 2728 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, | 2728 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, |
| 2729 | [1] = llc_conn_ac_start_p_timer, | 2729 | [1] = llc_conn_ac_start_p_timer, |
| 2730 | [2] = llc_conn_ac_start_rej_timer, | 2730 | [2] = llc_conn_ac_start_rej_timer, |
| @@ -2747,7 +2747,7 @@ static llc_conn_ev_qfyr_t llc_reject_ev_qfyrs_20b[] = { | |||
| 2747 | [2] = NULL, | 2747 | [2] = NULL, |
| 2748 | }; | 2748 | }; |
| 2749 | 2749 | ||
| 2750 | static llc_conn_action_t llc_reject_actions_20b[] = { | 2750 | static const llc_conn_action_t llc_reject_actions_20b[] = { |
| 2751 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, | 2751 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, |
| 2752 | [1] = llc_conn_ac_start_p_timer, | 2752 | [1] = llc_conn_ac_start_p_timer, |
| 2753 | [2] = llc_conn_ac_start_rej_timer, | 2753 | [2] = llc_conn_ac_start_rej_timer, |
| @@ -2832,7 +2832,7 @@ static llc_conn_ev_qfyr_t llc_await_ev_qfyrs_1_0[] = { | |||
| 2832 | }; | 2832 | }; |
| 2833 | 2833 | ||
| 2834 | /* just one member, NULL, .bss zeroes it */ | 2834 | /* just one member, NULL, .bss zeroes it */ |
| 2835 | static llc_conn_action_t llc_await_actions_1_0[1]; | 2835 | static const llc_conn_action_t llc_await_actions_1_0[1]; |
| 2836 | 2836 | ||
| 2837 | static struct llc_conn_state_trans llc_await_state_trans_1_0 = { | 2837 | static struct llc_conn_state_trans llc_await_state_trans_1_0 = { |
| 2838 | .ev = llc_conn_ev_data_req, | 2838 | .ev = llc_conn_ev_data_req, |
| @@ -2842,7 +2842,7 @@ static struct llc_conn_state_trans llc_await_state_trans_1_0 = { | |||
| 2842 | }; | 2842 | }; |
| 2843 | 2843 | ||
| 2844 | /* State transitions for LLC_CONN_EV_LOCAL_BUSY_DETECTED event */ | 2844 | /* State transitions for LLC_CONN_EV_LOCAL_BUSY_DETECTED event */ |
| 2845 | static llc_conn_action_t llc_await_actions_1[] = { | 2845 | static const llc_conn_action_t llc_await_actions_1[] = { |
| 2846 | [0] = llc_conn_ac_send_rnr_xxx_x_set_0, | 2846 | [0] = llc_conn_ac_send_rnr_xxx_x_set_0, |
| 2847 | [1] = llc_conn_ac_set_data_flag_0, | 2847 | [1] = llc_conn_ac_set_data_flag_0, |
| 2848 | [2] = NULL, | 2848 | [2] = NULL, |
| @@ -2856,7 +2856,7 @@ static struct llc_conn_state_trans llc_await_state_trans_1 = { | |||
| 2856 | }; | 2856 | }; |
| 2857 | 2857 | ||
| 2858 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_1_UNEXPD_Ns event */ | 2858 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_1_UNEXPD_Ns event */ |
| 2859 | static llc_conn_action_t llc_await_actions_2[] = { | 2859 | static const llc_conn_action_t llc_await_actions_2[] = { |
| 2860 | [0] = llc_conn_ac_send_rej_xxx_x_set_0, | 2860 | [0] = llc_conn_ac_send_rej_xxx_x_set_0, |
| 2861 | [1] = llc_conn_ac_upd_nr_received, | 2861 | [1] = llc_conn_ac_upd_nr_received, |
| 2862 | [2] = llc_conn_ac_upd_vs, | 2862 | [2] = llc_conn_ac_upd_vs, |
| @@ -2875,7 +2875,7 @@ static struct llc_conn_state_trans llc_await_state_trans_2 = { | |||
| 2875 | }; | 2875 | }; |
| 2876 | 2876 | ||
| 2877 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0_UNEXPD_Ns event */ | 2877 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0_UNEXPD_Ns event */ |
| 2878 | static llc_conn_action_t llc_await_actions_3a[] = { | 2878 | static const llc_conn_action_t llc_await_actions_3a[] = { |
| 2879 | [0] = llc_conn_ac_send_rej_xxx_x_set_0, | 2879 | [0] = llc_conn_ac_send_rej_xxx_x_set_0, |
| 2880 | [1] = llc_conn_ac_upd_nr_received, | 2880 | [1] = llc_conn_ac_upd_nr_received, |
| 2881 | [2] = llc_conn_ac_upd_vs, | 2881 | [2] = llc_conn_ac_upd_vs, |
| @@ -2891,7 +2891,7 @@ static struct llc_conn_state_trans llc_await_state_trans_3a = { | |||
| 2891 | }; | 2891 | }; |
| 2892 | 2892 | ||
| 2893 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0_UNEXPD_Ns event */ | 2893 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0_UNEXPD_Ns event */ |
| 2894 | static llc_conn_action_t llc_await_actions_3b[] = { | 2894 | static const llc_conn_action_t llc_await_actions_3b[] = { |
| 2895 | [0] = llc_conn_ac_send_rej_xxx_x_set_0, | 2895 | [0] = llc_conn_ac_send_rej_xxx_x_set_0, |
| 2896 | [1] = llc_conn_ac_upd_nr_received, | 2896 | [1] = llc_conn_ac_upd_nr_received, |
| 2897 | [2] = llc_conn_ac_upd_vs, | 2897 | [2] = llc_conn_ac_upd_vs, |
| @@ -2907,7 +2907,7 @@ static struct llc_conn_state_trans llc_await_state_trans_3b = { | |||
| 2907 | }; | 2907 | }; |
| 2908 | 2908 | ||
| 2909 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1_UNEXPD_Ns event */ | 2909 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1_UNEXPD_Ns event */ |
| 2910 | static llc_conn_action_t llc_await_actions_4[] = { | 2910 | static const llc_conn_action_t llc_await_actions_4[] = { |
| 2911 | [0] = llc_conn_ac_send_rej_rsp_f_set_1, | 2911 | [0] = llc_conn_ac_send_rej_rsp_f_set_1, |
| 2912 | [1] = llc_conn_ac_upd_nr_received, | 2912 | [1] = llc_conn_ac_upd_nr_received, |
| 2913 | [2] = llc_conn_ac_upd_vs, | 2913 | [2] = llc_conn_ac_upd_vs, |
| @@ -2924,7 +2924,7 @@ static struct llc_conn_state_trans llc_await_state_trans_4 = { | |||
| 2924 | }; | 2924 | }; |
| 2925 | 2925 | ||
| 2926 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_1 event */ | 2926 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_1 event */ |
| 2927 | static llc_conn_action_t llc_await_actions_5[] = { | 2927 | static const llc_conn_action_t llc_await_actions_5[] = { |
| 2928 | [0] = llc_conn_ac_inc_vr_by_1, | 2928 | [0] = llc_conn_ac_inc_vr_by_1, |
| 2929 | [1] = llc_conn_ac_data_ind, | 2929 | [1] = llc_conn_ac_data_ind, |
| 2930 | [2] = llc_conn_ac_stop_p_timer, | 2930 | [2] = llc_conn_ac_stop_p_timer, |
| @@ -2943,7 +2943,7 @@ static struct llc_conn_state_trans llc_await_state_trans_5 = { | |||
| 2943 | }; | 2943 | }; |
| 2944 | 2944 | ||
| 2945 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0 event */ | 2945 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0 event */ |
| 2946 | static llc_conn_action_t llc_await_actions_6a[] = { | 2946 | static const llc_conn_action_t llc_await_actions_6a[] = { |
| 2947 | [0] = llc_conn_ac_inc_vr_by_1, | 2947 | [0] = llc_conn_ac_inc_vr_by_1, |
| 2948 | [1] = llc_conn_ac_data_ind, | 2948 | [1] = llc_conn_ac_data_ind, |
| 2949 | [2] = llc_conn_ac_send_rr_xxx_x_set_0, | 2949 | [2] = llc_conn_ac_send_rr_xxx_x_set_0, |
| @@ -2960,7 +2960,7 @@ static struct llc_conn_state_trans llc_await_state_trans_6a = { | |||
| 2960 | }; | 2960 | }; |
| 2961 | 2961 | ||
| 2962 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0 event */ | 2962 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0 event */ |
| 2963 | static llc_conn_action_t llc_await_actions_6b[] = { | 2963 | static const llc_conn_action_t llc_await_actions_6b[] = { |
| 2964 | [0] = llc_conn_ac_inc_vr_by_1, | 2964 | [0] = llc_conn_ac_inc_vr_by_1, |
| 2965 | [1] = llc_conn_ac_data_ind, | 2965 | [1] = llc_conn_ac_data_ind, |
| 2966 | [2] = llc_conn_ac_send_rr_xxx_x_set_0, | 2966 | [2] = llc_conn_ac_send_rr_xxx_x_set_0, |
| @@ -2977,7 +2977,7 @@ static struct llc_conn_state_trans llc_await_state_trans_6b = { | |||
| 2977 | }; | 2977 | }; |
| 2978 | 2978 | ||
| 2979 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */ | 2979 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */ |
| 2980 | static llc_conn_action_t llc_await_actions_7[] = { | 2980 | static const llc_conn_action_t llc_await_actions_7[] = { |
| 2981 | [0] = llc_conn_ac_inc_vr_by_1, | 2981 | [0] = llc_conn_ac_inc_vr_by_1, |
| 2982 | [1] = llc_conn_ac_data_ind, | 2982 | [1] = llc_conn_ac_data_ind, |
| 2983 | [2] = llc_conn_ac_send_rr_rsp_f_set_1, | 2983 | [2] = llc_conn_ac_send_rr_rsp_f_set_1, |
| @@ -2994,7 +2994,7 @@ static struct llc_conn_state_trans llc_await_state_trans_7 = { | |||
| 2994 | }; | 2994 | }; |
| 2995 | 2995 | ||
| 2996 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_1 event */ | 2996 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_1 event */ |
| 2997 | static llc_conn_action_t llc_await_actions_8a[] = { | 2997 | static const llc_conn_action_t llc_await_actions_8a[] = { |
| 2998 | [0] = llc_conn_ac_upd_nr_received, | 2998 | [0] = llc_conn_ac_upd_nr_received, |
| 2999 | [1] = llc_conn_ac_upd_vs, | 2999 | [1] = llc_conn_ac_upd_vs, |
| 3000 | [2] = llc_conn_ac_stop_p_timer, | 3000 | [2] = llc_conn_ac_stop_p_timer, |
| @@ -3011,7 +3011,7 @@ static struct llc_conn_state_trans llc_await_state_trans_8a = { | |||
| 3011 | }; | 3011 | }; |
| 3012 | 3012 | ||
| 3013 | /* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_1 event */ | 3013 | /* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_1 event */ |
| 3014 | static llc_conn_action_t llc_await_actions_8b[] = { | 3014 | static const llc_conn_action_t llc_await_actions_8b[] = { |
| 3015 | [0] = llc_conn_ac_upd_nr_received, | 3015 | [0] = llc_conn_ac_upd_nr_received, |
| 3016 | [1] = llc_conn_ac_upd_vs, | 3016 | [1] = llc_conn_ac_upd_vs, |
| 3017 | [2] = llc_conn_ac_stop_p_timer, | 3017 | [2] = llc_conn_ac_stop_p_timer, |
| @@ -3028,7 +3028,7 @@ static struct llc_conn_state_trans llc_await_state_trans_8b = { | |||
| 3028 | }; | 3028 | }; |
| 3029 | 3029 | ||
| 3030 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */ | 3030 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */ |
| 3031 | static llc_conn_action_t llc_await_actions_9a[] = { | 3031 | static const llc_conn_action_t llc_await_actions_9a[] = { |
| 3032 | [0] = llc_conn_ac_upd_nr_received, | 3032 | [0] = llc_conn_ac_upd_nr_received, |
| 3033 | [1] = llc_conn_ac_upd_vs, | 3033 | [1] = llc_conn_ac_upd_vs, |
| 3034 | [2] = llc_conn_ac_clear_remote_busy, | 3034 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -3043,7 +3043,7 @@ static struct llc_conn_state_trans llc_await_state_trans_9a = { | |||
| 3043 | }; | 3043 | }; |
| 3044 | 3044 | ||
| 3045 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */ | 3045 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */ |
| 3046 | static llc_conn_action_t llc_await_actions_9b[] = { | 3046 | static const llc_conn_action_t llc_await_actions_9b[] = { |
| 3047 | [0] = llc_conn_ac_upd_nr_received, | 3047 | [0] = llc_conn_ac_upd_nr_received, |
| 3048 | [1] = llc_conn_ac_upd_vs, | 3048 | [1] = llc_conn_ac_upd_vs, |
| 3049 | [2] = llc_conn_ac_clear_remote_busy, | 3049 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -3058,7 +3058,7 @@ static struct llc_conn_state_trans llc_await_state_trans_9b = { | |||
| 3058 | }; | 3058 | }; |
| 3059 | 3059 | ||
| 3060 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_0 event */ | 3060 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_0 event */ |
| 3061 | static llc_conn_action_t llc_await_actions_9c[] = { | 3061 | static const llc_conn_action_t llc_await_actions_9c[] = { |
| 3062 | [0] = llc_conn_ac_upd_nr_received, | 3062 | [0] = llc_conn_ac_upd_nr_received, |
| 3063 | [1] = llc_conn_ac_upd_vs, | 3063 | [1] = llc_conn_ac_upd_vs, |
| 3064 | [2] = llc_conn_ac_clear_remote_busy, | 3064 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -3073,7 +3073,7 @@ static struct llc_conn_state_trans llc_await_state_trans_9c = { | |||
| 3073 | }; | 3073 | }; |
| 3074 | 3074 | ||
| 3075 | /* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_0 event */ | 3075 | /* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_0 event */ |
| 3076 | static llc_conn_action_t llc_await_actions_9d[] = { | 3076 | static const llc_conn_action_t llc_await_actions_9d[] = { |
| 3077 | [0] = llc_conn_ac_upd_nr_received, | 3077 | [0] = llc_conn_ac_upd_nr_received, |
| 3078 | [1] = llc_conn_ac_upd_vs, | 3078 | [1] = llc_conn_ac_upd_vs, |
| 3079 | [2] = llc_conn_ac_clear_remote_busy, | 3079 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -3088,7 +3088,7 @@ static struct llc_conn_state_trans llc_await_state_trans_9d = { | |||
| 3088 | }; | 3088 | }; |
| 3089 | 3089 | ||
| 3090 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */ | 3090 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */ |
| 3091 | static llc_conn_action_t llc_await_actions_10a[] = { | 3091 | static const llc_conn_action_t llc_await_actions_10a[] = { |
| 3092 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, | 3092 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, |
| 3093 | [1] = llc_conn_ac_upd_nr_received, | 3093 | [1] = llc_conn_ac_upd_nr_received, |
| 3094 | [2] = llc_conn_ac_upd_vs, | 3094 | [2] = llc_conn_ac_upd_vs, |
| @@ -3104,7 +3104,7 @@ static struct llc_conn_state_trans llc_await_state_trans_10a = { | |||
| 3104 | }; | 3104 | }; |
| 3105 | 3105 | ||
| 3106 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */ | 3106 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */ |
| 3107 | static llc_conn_action_t llc_await_actions_10b[] = { | 3107 | static const llc_conn_action_t llc_await_actions_10b[] = { |
| 3108 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, | 3108 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, |
| 3109 | [1] = llc_conn_ac_upd_nr_received, | 3109 | [1] = llc_conn_ac_upd_nr_received, |
| 3110 | [2] = llc_conn_ac_upd_vs, | 3110 | [2] = llc_conn_ac_upd_vs, |
| @@ -3120,7 +3120,7 @@ static struct llc_conn_state_trans llc_await_state_trans_10b = { | |||
| 3120 | }; | 3120 | }; |
| 3121 | 3121 | ||
| 3122 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_1 event */ | 3122 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_1 event */ |
| 3123 | static llc_conn_action_t llc_await_actions_11[] = { | 3123 | static const llc_conn_action_t llc_await_actions_11[] = { |
| 3124 | [0] = llc_conn_ac_upd_nr_received, | 3124 | [0] = llc_conn_ac_upd_nr_received, |
| 3125 | [1] = llc_conn_ac_upd_vs, | 3125 | [1] = llc_conn_ac_upd_vs, |
| 3126 | [2] = llc_conn_ac_stop_p_timer, | 3126 | [2] = llc_conn_ac_stop_p_timer, |
| @@ -3136,7 +3136,7 @@ static struct llc_conn_state_trans llc_await_state_trans_11 = { | |||
| 3136 | }; | 3136 | }; |
| 3137 | 3137 | ||
| 3138 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */ | 3138 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */ |
| 3139 | static llc_conn_action_t llc_await_actions_12a[] = { | 3139 | static const llc_conn_action_t llc_await_actions_12a[] = { |
| 3140 | [0] = llc_conn_ac_upd_nr_received, | 3140 | [0] = llc_conn_ac_upd_nr_received, |
| 3141 | [1] = llc_conn_ac_upd_vs, | 3141 | [1] = llc_conn_ac_upd_vs, |
| 3142 | [2] = llc_conn_ac_set_remote_busy, | 3142 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -3151,7 +3151,7 @@ static struct llc_conn_state_trans llc_await_state_trans_12a = { | |||
| 3151 | }; | 3151 | }; |
| 3152 | 3152 | ||
| 3153 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */ | 3153 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */ |
| 3154 | static llc_conn_action_t llc_await_actions_12b[] = { | 3154 | static const llc_conn_action_t llc_await_actions_12b[] = { |
| 3155 | [0] = llc_conn_ac_upd_nr_received, | 3155 | [0] = llc_conn_ac_upd_nr_received, |
| 3156 | [1] = llc_conn_ac_upd_vs, | 3156 | [1] = llc_conn_ac_upd_vs, |
| 3157 | [2] = llc_conn_ac_set_remote_busy, | 3157 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -3166,7 +3166,7 @@ static struct llc_conn_state_trans llc_await_state_trans_12b = { | |||
| 3166 | }; | 3166 | }; |
| 3167 | 3167 | ||
| 3168 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */ | 3168 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */ |
| 3169 | static llc_conn_action_t llc_await_actions_13[] = { | 3169 | static const llc_conn_action_t llc_await_actions_13[] = { |
| 3170 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, | 3170 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, |
| 3171 | [1] = llc_conn_ac_upd_nr_received, | 3171 | [1] = llc_conn_ac_upd_nr_received, |
| 3172 | [2] = llc_conn_ac_upd_vs, | 3172 | [2] = llc_conn_ac_upd_vs, |
| @@ -3187,7 +3187,7 @@ static llc_conn_ev_qfyr_t llc_await_ev_qfyrs_14[] = { | |||
| 3187 | [1] = NULL, | 3187 | [1] = NULL, |
| 3188 | }; | 3188 | }; |
| 3189 | 3189 | ||
| 3190 | static llc_conn_action_t llc_await_actions_14[] = { | 3190 | static const llc_conn_action_t llc_await_actions_14[] = { |
| 3191 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, | 3191 | [0] = llc_conn_ac_send_rr_cmd_p_set_1, |
| 3192 | [1] = llc_conn_ac_start_p_timer, | 3192 | [1] = llc_conn_ac_start_p_timer, |
| 3193 | [2] = llc_conn_ac_inc_retry_cnt_by_1, | 3193 | [2] = llc_conn_ac_inc_retry_cnt_by_1, |
| @@ -3261,7 +3261,7 @@ static llc_conn_ev_qfyr_t llc_await_busy_ev_qfyrs_1_0[] = { | |||
| 3261 | }; | 3261 | }; |
| 3262 | 3262 | ||
| 3263 | /* just one member, NULL, .bss zeroes it */ | 3263 | /* just one member, NULL, .bss zeroes it */ |
| 3264 | static llc_conn_action_t llc_await_busy_actions_1_0[1]; | 3264 | static const llc_conn_action_t llc_await_busy_actions_1_0[1]; |
| 3265 | 3265 | ||
| 3266 | static struct llc_conn_state_trans llc_await_busy_state_trans_1_0 = { | 3266 | static struct llc_conn_state_trans llc_await_busy_state_trans_1_0 = { |
| 3267 | .ev = llc_conn_ev_data_req, | 3267 | .ev = llc_conn_ev_data_req, |
| @@ -3276,7 +3276,7 @@ static llc_conn_ev_qfyr_t llc_await_busy_ev_qfyrs_1[] = { | |||
| 3276 | [1] = NULL, | 3276 | [1] = NULL, |
| 3277 | }; | 3277 | }; |
| 3278 | 3278 | ||
| 3279 | static llc_conn_action_t llc_await_busy_actions_1[] = { | 3279 | static const llc_conn_action_t llc_await_busy_actions_1[] = { |
| 3280 | [0] = llc_conn_ac_send_rej_xxx_x_set_0, | 3280 | [0] = llc_conn_ac_send_rej_xxx_x_set_0, |
| 3281 | [1] = llc_conn_ac_start_rej_timer, | 3281 | [1] = llc_conn_ac_start_rej_timer, |
| 3282 | [2] = NULL, | 3282 | [2] = NULL, |
| @@ -3295,7 +3295,7 @@ static llc_conn_ev_qfyr_t llc_await_busy_ev_qfyrs_2[] = { | |||
| 3295 | [1] = NULL, | 3295 | [1] = NULL, |
| 3296 | }; | 3296 | }; |
| 3297 | 3297 | ||
| 3298 | static llc_conn_action_t llc_await_busy_actions_2[] = { | 3298 | static const llc_conn_action_t llc_await_busy_actions_2[] = { |
| 3299 | [0] = llc_conn_ac_send_rr_xxx_x_set_0, | 3299 | [0] = llc_conn_ac_send_rr_xxx_x_set_0, |
| 3300 | [1] = NULL, | 3300 | [1] = NULL, |
| 3301 | }; | 3301 | }; |
| @@ -3313,7 +3313,7 @@ static llc_conn_ev_qfyr_t llc_await_busy_ev_qfyrs_3[] = { | |||
| 3313 | [1] = NULL, | 3313 | [1] = NULL, |
| 3314 | }; | 3314 | }; |
| 3315 | 3315 | ||
| 3316 | static llc_conn_action_t llc_await_busy_actions_3[] = { | 3316 | static const llc_conn_action_t llc_await_busy_actions_3[] = { |
| 3317 | [0] = llc_conn_ac_send_rr_xxx_x_set_0, | 3317 | [0] = llc_conn_ac_send_rr_xxx_x_set_0, |
| 3318 | [1] = NULL, | 3318 | [1] = NULL, |
| 3319 | }; | 3319 | }; |
| @@ -3326,7 +3326,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_3 = { | |||
| 3326 | }; | 3326 | }; |
| 3327 | 3327 | ||
| 3328 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_1_UNEXPD_Ns event */ | 3328 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_1_UNEXPD_Ns event */ |
| 3329 | static llc_conn_action_t llc_await_busy_actions_4[] = { | 3329 | static const llc_conn_action_t llc_await_busy_actions_4[] = { |
| 3330 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, | 3330 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, |
| 3331 | [1] = llc_conn_ac_upd_nr_received, | 3331 | [1] = llc_conn_ac_upd_nr_received, |
| 3332 | [2] = llc_conn_ac_upd_vs, | 3332 | [2] = llc_conn_ac_upd_vs, |
| @@ -3345,7 +3345,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_4 = { | |||
| 3345 | }; | 3345 | }; |
| 3346 | 3346 | ||
| 3347 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0_UNEXPD_Ns event */ | 3347 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0_UNEXPD_Ns event */ |
| 3348 | static llc_conn_action_t llc_await_busy_actions_5a[] = { | 3348 | static const llc_conn_action_t llc_await_busy_actions_5a[] = { |
| 3349 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, | 3349 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, |
| 3350 | [1] = llc_conn_ac_upd_nr_received, | 3350 | [1] = llc_conn_ac_upd_nr_received, |
| 3351 | [2] = llc_conn_ac_upd_vs, | 3351 | [2] = llc_conn_ac_upd_vs, |
| @@ -3361,7 +3361,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_5a = { | |||
| 3361 | }; | 3361 | }; |
| 3362 | 3362 | ||
| 3363 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0_UNEXPD_Ns event */ | 3363 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0_UNEXPD_Ns event */ |
| 3364 | static llc_conn_action_t llc_await_busy_actions_5b[] = { | 3364 | static const llc_conn_action_t llc_await_busy_actions_5b[] = { |
| 3365 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, | 3365 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, |
| 3366 | [1] = llc_conn_ac_upd_nr_received, | 3366 | [1] = llc_conn_ac_upd_nr_received, |
| 3367 | [2] = llc_conn_ac_upd_vs, | 3367 | [2] = llc_conn_ac_upd_vs, |
| @@ -3377,7 +3377,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_5b = { | |||
| 3377 | }; | 3377 | }; |
| 3378 | 3378 | ||
| 3379 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1_UNEXPD_Ns event */ | 3379 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1_UNEXPD_Ns event */ |
| 3380 | static llc_conn_action_t llc_await_busy_actions_6[] = { | 3380 | static const llc_conn_action_t llc_await_busy_actions_6[] = { |
| 3381 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, | 3381 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, |
| 3382 | [1] = llc_conn_ac_upd_nr_received, | 3382 | [1] = llc_conn_ac_upd_nr_received, |
| 3383 | [2] = llc_conn_ac_upd_vs, | 3383 | [2] = llc_conn_ac_upd_vs, |
| @@ -3393,7 +3393,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_6 = { | |||
| 3393 | }; | 3393 | }; |
| 3394 | 3394 | ||
| 3395 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_1 event */ | 3395 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_1 event */ |
| 3396 | static llc_conn_action_t llc_await_busy_actions_7[] = { | 3396 | static const llc_conn_action_t llc_await_busy_actions_7[] = { |
| 3397 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, | 3397 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, |
| 3398 | [1] = llc_conn_ac_inc_vr_by_1, | 3398 | [1] = llc_conn_ac_inc_vr_by_1, |
| 3399 | [2] = llc_conn_ac_data_ind, | 3399 | [2] = llc_conn_ac_data_ind, |
| @@ -3414,7 +3414,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_7 = { | |||
| 3414 | }; | 3414 | }; |
| 3415 | 3415 | ||
| 3416 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0 event */ | 3416 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0 event */ |
| 3417 | static llc_conn_action_t llc_await_busy_actions_8a[] = { | 3417 | static const llc_conn_action_t llc_await_busy_actions_8a[] = { |
| 3418 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, | 3418 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, |
| 3419 | [1] = llc_conn_ac_inc_vr_by_1, | 3419 | [1] = llc_conn_ac_inc_vr_by_1, |
| 3420 | [2] = llc_conn_ac_data_ind, | 3420 | [2] = llc_conn_ac_data_ind, |
| @@ -3432,7 +3432,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_8a = { | |||
| 3432 | }; | 3432 | }; |
| 3433 | 3433 | ||
| 3434 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0 event */ | 3434 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0 event */ |
| 3435 | static llc_conn_action_t llc_await_busy_actions_8b[] = { | 3435 | static const llc_conn_action_t llc_await_busy_actions_8b[] = { |
| 3436 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, | 3436 | [0] = llc_conn_ac_opt_send_rnr_xxx_x_set_0, |
| 3437 | [1] = llc_conn_ac_inc_vr_by_1, | 3437 | [1] = llc_conn_ac_inc_vr_by_1, |
| 3438 | [2] = llc_conn_ac_data_ind, | 3438 | [2] = llc_conn_ac_data_ind, |
| @@ -3450,7 +3450,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_8b = { | |||
| 3450 | }; | 3450 | }; |
| 3451 | 3451 | ||
| 3452 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */ | 3452 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */ |
| 3453 | static llc_conn_action_t llc_await_busy_actions_9[] = { | 3453 | static const llc_conn_action_t llc_await_busy_actions_9[] = { |
| 3454 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, | 3454 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, |
| 3455 | [1] = llc_conn_ac_inc_vr_by_1, | 3455 | [1] = llc_conn_ac_inc_vr_by_1, |
| 3456 | [2] = llc_conn_ac_data_ind, | 3456 | [2] = llc_conn_ac_data_ind, |
| @@ -3468,7 +3468,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_9 = { | |||
| 3468 | }; | 3468 | }; |
| 3469 | 3469 | ||
| 3470 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_1 event */ | 3470 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_1 event */ |
| 3471 | static llc_conn_action_t llc_await_busy_actions_10a[] = { | 3471 | static const llc_conn_action_t llc_await_busy_actions_10a[] = { |
| 3472 | [0] = llc_conn_ac_upd_nr_received, | 3472 | [0] = llc_conn_ac_upd_nr_received, |
| 3473 | [1] = llc_conn_ac_upd_vs, | 3473 | [1] = llc_conn_ac_upd_vs, |
| 3474 | [2] = llc_conn_ac_stop_p_timer, | 3474 | [2] = llc_conn_ac_stop_p_timer, |
| @@ -3485,7 +3485,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_10a = { | |||
| 3485 | }; | 3485 | }; |
| 3486 | 3486 | ||
| 3487 | /* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_1 event */ | 3487 | /* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_1 event */ |
| 3488 | static llc_conn_action_t llc_await_busy_actions_10b[] = { | 3488 | static const llc_conn_action_t llc_await_busy_actions_10b[] = { |
| 3489 | [0] = llc_conn_ac_upd_nr_received, | 3489 | [0] = llc_conn_ac_upd_nr_received, |
| 3490 | [1] = llc_conn_ac_upd_vs, | 3490 | [1] = llc_conn_ac_upd_vs, |
| 3491 | [2] = llc_conn_ac_stop_p_timer, | 3491 | [2] = llc_conn_ac_stop_p_timer, |
| @@ -3502,7 +3502,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_10b = { | |||
| 3502 | }; | 3502 | }; |
| 3503 | 3503 | ||
| 3504 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */ | 3504 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */ |
| 3505 | static llc_conn_action_t llc_await_busy_actions_11a[] = { | 3505 | static const llc_conn_action_t llc_await_busy_actions_11a[] = { |
| 3506 | [0] = llc_conn_ac_upd_nr_received, | 3506 | [0] = llc_conn_ac_upd_nr_received, |
| 3507 | [1] = llc_conn_ac_upd_vs, | 3507 | [1] = llc_conn_ac_upd_vs, |
| 3508 | [2] = llc_conn_ac_clear_remote_busy, | 3508 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -3517,7 +3517,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_11a = { | |||
| 3517 | }; | 3517 | }; |
| 3518 | 3518 | ||
| 3519 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */ | 3519 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */ |
| 3520 | static llc_conn_action_t llc_await_busy_actions_11b[] = { | 3520 | static const llc_conn_action_t llc_await_busy_actions_11b[] = { |
| 3521 | [0] = llc_conn_ac_upd_nr_received, | 3521 | [0] = llc_conn_ac_upd_nr_received, |
| 3522 | [1] = llc_conn_ac_upd_vs, | 3522 | [1] = llc_conn_ac_upd_vs, |
| 3523 | [2] = llc_conn_ac_clear_remote_busy, | 3523 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -3532,7 +3532,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_11b = { | |||
| 3532 | }; | 3532 | }; |
| 3533 | 3533 | ||
| 3534 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_0 event */ | 3534 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_0 event */ |
| 3535 | static llc_conn_action_t llc_await_busy_actions_11c[] = { | 3535 | static const llc_conn_action_t llc_await_busy_actions_11c[] = { |
| 3536 | [0] = llc_conn_ac_upd_nr_received, | 3536 | [0] = llc_conn_ac_upd_nr_received, |
| 3537 | [1] = llc_conn_ac_upd_vs, | 3537 | [1] = llc_conn_ac_upd_vs, |
| 3538 | [2] = llc_conn_ac_clear_remote_busy, | 3538 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -3547,7 +3547,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_11c = { | |||
| 3547 | }; | 3547 | }; |
| 3548 | 3548 | ||
| 3549 | /* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_0 event */ | 3549 | /* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_0 event */ |
| 3550 | static llc_conn_action_t llc_await_busy_actions_11d[] = { | 3550 | static const llc_conn_action_t llc_await_busy_actions_11d[] = { |
| 3551 | [0] = llc_conn_ac_upd_nr_received, | 3551 | [0] = llc_conn_ac_upd_nr_received, |
| 3552 | [1] = llc_conn_ac_upd_vs, | 3552 | [1] = llc_conn_ac_upd_vs, |
| 3553 | [2] = llc_conn_ac_clear_remote_busy, | 3553 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -3562,7 +3562,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_11d = { | |||
| 3562 | }; | 3562 | }; |
| 3563 | 3563 | ||
| 3564 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */ | 3564 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */ |
| 3565 | static llc_conn_action_t llc_await_busy_actions_12a[] = { | 3565 | static const llc_conn_action_t llc_await_busy_actions_12a[] = { |
| 3566 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, | 3566 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, |
| 3567 | [1] = llc_conn_ac_upd_nr_received, | 3567 | [1] = llc_conn_ac_upd_nr_received, |
| 3568 | [2] = llc_conn_ac_upd_vs, | 3568 | [2] = llc_conn_ac_upd_vs, |
| @@ -3578,7 +3578,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_12a = { | |||
| 3578 | }; | 3578 | }; |
| 3579 | 3579 | ||
| 3580 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */ | 3580 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */ |
| 3581 | static llc_conn_action_t llc_await_busy_actions_12b[] = { | 3581 | static const llc_conn_action_t llc_await_busy_actions_12b[] = { |
| 3582 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, | 3582 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, |
| 3583 | [1] = llc_conn_ac_upd_nr_received, | 3583 | [1] = llc_conn_ac_upd_nr_received, |
| 3584 | [2] = llc_conn_ac_upd_vs, | 3584 | [2] = llc_conn_ac_upd_vs, |
| @@ -3594,7 +3594,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_12b = { | |||
| 3594 | }; | 3594 | }; |
| 3595 | 3595 | ||
| 3596 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_1 event */ | 3596 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_1 event */ |
| 3597 | static llc_conn_action_t llc_await_busy_actions_13[] = { | 3597 | static const llc_conn_action_t llc_await_busy_actions_13[] = { |
| 3598 | [0] = llc_conn_ac_upd_nr_received, | 3598 | [0] = llc_conn_ac_upd_nr_received, |
| 3599 | [1] = llc_conn_ac_upd_vs, | 3599 | [1] = llc_conn_ac_upd_vs, |
| 3600 | [2] = llc_conn_ac_stop_p_timer, | 3600 | [2] = llc_conn_ac_stop_p_timer, |
| @@ -3610,7 +3610,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_13 = { | |||
| 3610 | }; | 3610 | }; |
| 3611 | 3611 | ||
| 3612 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */ | 3612 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */ |
| 3613 | static llc_conn_action_t llc_await_busy_actions_14a[] = { | 3613 | static const llc_conn_action_t llc_await_busy_actions_14a[] = { |
| 3614 | [0] = llc_conn_ac_upd_nr_received, | 3614 | [0] = llc_conn_ac_upd_nr_received, |
| 3615 | [1] = llc_conn_ac_upd_vs, | 3615 | [1] = llc_conn_ac_upd_vs, |
| 3616 | [2] = llc_conn_ac_set_remote_busy, | 3616 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -3625,7 +3625,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_14a = { | |||
| 3625 | }; | 3625 | }; |
| 3626 | 3626 | ||
| 3627 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */ | 3627 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */ |
| 3628 | static llc_conn_action_t llc_await_busy_actions_14b[] = { | 3628 | static const llc_conn_action_t llc_await_busy_actions_14b[] = { |
| 3629 | [0] = llc_conn_ac_upd_nr_received, | 3629 | [0] = llc_conn_ac_upd_nr_received, |
| 3630 | [1] = llc_conn_ac_upd_vs, | 3630 | [1] = llc_conn_ac_upd_vs, |
| 3631 | [2] = llc_conn_ac_set_remote_busy, | 3631 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -3640,7 +3640,7 @@ static struct llc_conn_state_trans llc_await_busy_state_trans_14b = { | |||
| 3640 | }; | 3640 | }; |
| 3641 | 3641 | ||
| 3642 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */ | 3642 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */ |
| 3643 | static llc_conn_action_t llc_await_busy_actions_15[] = { | 3643 | static const llc_conn_action_t llc_await_busy_actions_15[] = { |
| 3644 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, | 3644 | [0] = llc_conn_ac_send_rnr_rsp_f_set_1, |
| 3645 | [1] = llc_conn_ac_upd_nr_received, | 3645 | [1] = llc_conn_ac_upd_nr_received, |
| 3646 | [2] = llc_conn_ac_upd_vs, | 3646 | [2] = llc_conn_ac_upd_vs, |
| @@ -3661,7 +3661,7 @@ static llc_conn_ev_qfyr_t llc_await_busy_ev_qfyrs_16[] = { | |||
| 3661 | [1] = NULL, | 3661 | [1] = NULL, |
| 3662 | }; | 3662 | }; |
| 3663 | 3663 | ||
| 3664 | static llc_conn_action_t llc_await_busy_actions_16[] = { | 3664 | static const llc_conn_action_t llc_await_busy_actions_16[] = { |
| 3665 | [0] = llc_conn_ac_send_rnr_cmd_p_set_1, | 3665 | [0] = llc_conn_ac_send_rnr_cmd_p_set_1, |
| 3666 | [1] = llc_conn_ac_start_p_timer, | 3666 | [1] = llc_conn_ac_start_p_timer, |
| 3667 | [2] = llc_conn_ac_inc_retry_cnt_by_1, | 3667 | [2] = llc_conn_ac_inc_retry_cnt_by_1, |
| @@ -3737,7 +3737,7 @@ static llc_conn_ev_qfyr_t llc_await_reject_ev_qfyrs_1_0[] = { | |||
| 3737 | }; | 3737 | }; |
| 3738 | 3738 | ||
| 3739 | /* just one member, NULL, .bss zeroes it */ | 3739 | /* just one member, NULL, .bss zeroes it */ |
| 3740 | static llc_conn_action_t llc_await_reject_actions_1_0[1]; | 3740 | static const llc_conn_action_t llc_await_reject_actions_1_0[1]; |
| 3741 | 3741 | ||
| 3742 | static struct llc_conn_state_trans llc_await_reject_state_trans_1_0 = { | 3742 | static struct llc_conn_state_trans llc_await_reject_state_trans_1_0 = { |
| 3743 | .ev = llc_conn_ev_data_req, | 3743 | .ev = llc_conn_ev_data_req, |
| @@ -3747,7 +3747,7 @@ static struct llc_conn_state_trans llc_await_reject_state_trans_1_0 = { | |||
| 3747 | }; | 3747 | }; |
| 3748 | 3748 | ||
| 3749 | /* State transitions for LLC_CONN_EV_LOCAL_BUSY_DETECTED event */ | 3749 | /* State transitions for LLC_CONN_EV_LOCAL_BUSY_DETECTED event */ |
| 3750 | static llc_conn_action_t llc_await_rejct_actions_1[] = { | 3750 | static const llc_conn_action_t llc_await_rejct_actions_1[] = { |
| 3751 | [0] = llc_conn_ac_send_rnr_xxx_x_set_0, | 3751 | [0] = llc_conn_ac_send_rnr_xxx_x_set_0, |
| 3752 | [1] = llc_conn_ac_set_data_flag_2, | 3752 | [1] = llc_conn_ac_set_data_flag_2, |
| 3753 | [2] = NULL | 3753 | [2] = NULL |
| @@ -3761,7 +3761,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_1 = { | |||
| 3761 | }; | 3761 | }; |
| 3762 | 3762 | ||
| 3763 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0_UNEXPD_Ns event */ | 3763 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0_UNEXPD_Ns event */ |
| 3764 | static llc_conn_action_t llc_await_rejct_actions_2a[] = { | 3764 | static const llc_conn_action_t llc_await_rejct_actions_2a[] = { |
| 3765 | [0] = llc_conn_ac_upd_nr_received, | 3765 | [0] = llc_conn_ac_upd_nr_received, |
| 3766 | [1] = llc_conn_ac_upd_vs, | 3766 | [1] = llc_conn_ac_upd_vs, |
| 3767 | [2] = NULL | 3767 | [2] = NULL |
| @@ -3775,7 +3775,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_2a = { | |||
| 3775 | }; | 3775 | }; |
| 3776 | 3776 | ||
| 3777 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0_UNEXPD_Ns event */ | 3777 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0_UNEXPD_Ns event */ |
| 3778 | static llc_conn_action_t llc_await_rejct_actions_2b[] = { | 3778 | static const llc_conn_action_t llc_await_rejct_actions_2b[] = { |
| 3779 | [0] = llc_conn_ac_upd_nr_received, | 3779 | [0] = llc_conn_ac_upd_nr_received, |
| 3780 | [1] = llc_conn_ac_upd_vs, | 3780 | [1] = llc_conn_ac_upd_vs, |
| 3781 | [2] = NULL | 3781 | [2] = NULL |
| @@ -3789,7 +3789,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_2b = { | |||
| 3789 | }; | 3789 | }; |
| 3790 | 3790 | ||
| 3791 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1_UNEXPD_Ns event */ | 3791 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1_UNEXPD_Ns event */ |
| 3792 | static llc_conn_action_t llc_await_rejct_actions_3[] = { | 3792 | static const llc_conn_action_t llc_await_rejct_actions_3[] = { |
| 3793 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, | 3793 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, |
| 3794 | [1] = llc_conn_ac_upd_nr_received, | 3794 | [1] = llc_conn_ac_upd_nr_received, |
| 3795 | [2] = llc_conn_ac_upd_vs, | 3795 | [2] = llc_conn_ac_upd_vs, |
| @@ -3804,7 +3804,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_3 = { | |||
| 3804 | }; | 3804 | }; |
| 3805 | 3805 | ||
| 3806 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_1 event */ | 3806 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_1 event */ |
| 3807 | static llc_conn_action_t llc_await_rejct_actions_4[] = { | 3807 | static const llc_conn_action_t llc_await_rejct_actions_4[] = { |
| 3808 | [0] = llc_conn_ac_inc_vr_by_1, | 3808 | [0] = llc_conn_ac_inc_vr_by_1, |
| 3809 | [1] = llc_conn_ac_data_ind, | 3809 | [1] = llc_conn_ac_data_ind, |
| 3810 | [2] = llc_conn_ac_stop_p_timer, | 3810 | [2] = llc_conn_ac_stop_p_timer, |
| @@ -3824,7 +3824,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_4 = { | |||
| 3824 | }; | 3824 | }; |
| 3825 | 3825 | ||
| 3826 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0 event */ | 3826 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0 event */ |
| 3827 | static llc_conn_action_t llc_await_rejct_actions_5a[] = { | 3827 | static const llc_conn_action_t llc_await_rejct_actions_5a[] = { |
| 3828 | [0] = llc_conn_ac_inc_vr_by_1, | 3828 | [0] = llc_conn_ac_inc_vr_by_1, |
| 3829 | [1] = llc_conn_ac_data_ind, | 3829 | [1] = llc_conn_ac_data_ind, |
| 3830 | [2] = llc_conn_ac_send_rr_xxx_x_set_0, | 3830 | [2] = llc_conn_ac_send_rr_xxx_x_set_0, |
| @@ -3842,7 +3842,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_5a = { | |||
| 3842 | }; | 3842 | }; |
| 3843 | 3843 | ||
| 3844 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0 event */ | 3844 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0 event */ |
| 3845 | static llc_conn_action_t llc_await_rejct_actions_5b[] = { | 3845 | static const llc_conn_action_t llc_await_rejct_actions_5b[] = { |
| 3846 | [0] = llc_conn_ac_inc_vr_by_1, | 3846 | [0] = llc_conn_ac_inc_vr_by_1, |
| 3847 | [1] = llc_conn_ac_data_ind, | 3847 | [1] = llc_conn_ac_data_ind, |
| 3848 | [2] = llc_conn_ac_send_rr_xxx_x_set_0, | 3848 | [2] = llc_conn_ac_send_rr_xxx_x_set_0, |
| @@ -3860,7 +3860,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_5b = { | |||
| 3860 | }; | 3860 | }; |
| 3861 | 3861 | ||
| 3862 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */ | 3862 | /* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */ |
| 3863 | static llc_conn_action_t llc_await_rejct_actions_6[] = { | 3863 | static const llc_conn_action_t llc_await_rejct_actions_6[] = { |
| 3864 | [0] = llc_conn_ac_inc_vr_by_1, | 3864 | [0] = llc_conn_ac_inc_vr_by_1, |
| 3865 | [1] = llc_conn_ac_data_ind, | 3865 | [1] = llc_conn_ac_data_ind, |
| 3866 | [2] = llc_conn_ac_send_rr_rsp_f_set_1, | 3866 | [2] = llc_conn_ac_send_rr_rsp_f_set_1, |
| @@ -3878,7 +3878,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_6 = { | |||
| 3878 | }; | 3878 | }; |
| 3879 | 3879 | ||
| 3880 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_1 event */ | 3880 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_1 event */ |
| 3881 | static llc_conn_action_t llc_await_rejct_actions_7a[] = { | 3881 | static const llc_conn_action_t llc_await_rejct_actions_7a[] = { |
| 3882 | [0] = llc_conn_ac_upd_nr_received, | 3882 | [0] = llc_conn_ac_upd_nr_received, |
| 3883 | [1] = llc_conn_ac_upd_vs, | 3883 | [1] = llc_conn_ac_upd_vs, |
| 3884 | [2] = llc_conn_ac_stop_p_timer, | 3884 | [2] = llc_conn_ac_stop_p_timer, |
| @@ -3895,7 +3895,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_7a = { | |||
| 3895 | }; | 3895 | }; |
| 3896 | 3896 | ||
| 3897 | /* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_1 event */ | 3897 | /* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_1 event */ |
| 3898 | static llc_conn_action_t llc_await_rejct_actions_7b[] = { | 3898 | static const llc_conn_action_t llc_await_rejct_actions_7b[] = { |
| 3899 | [0] = llc_conn_ac_upd_nr_received, | 3899 | [0] = llc_conn_ac_upd_nr_received, |
| 3900 | [1] = llc_conn_ac_upd_vs, | 3900 | [1] = llc_conn_ac_upd_vs, |
| 3901 | [2] = llc_conn_ac_stop_p_timer, | 3901 | [2] = llc_conn_ac_stop_p_timer, |
| @@ -3912,7 +3912,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_7b = { | |||
| 3912 | }; | 3912 | }; |
| 3913 | 3913 | ||
| 3914 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_1_UNEXPD_Ns event */ | 3914 | /* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_1_UNEXPD_Ns event */ |
| 3915 | static llc_conn_action_t llc_await_rejct_actions_7c[] = { | 3915 | static const llc_conn_action_t llc_await_rejct_actions_7c[] = { |
| 3916 | [0] = llc_conn_ac_upd_nr_received, | 3916 | [0] = llc_conn_ac_upd_nr_received, |
| 3917 | [1] = llc_conn_ac_upd_vs, | 3917 | [1] = llc_conn_ac_upd_vs, |
| 3918 | [2] = llc_conn_ac_stop_p_timer, | 3918 | [2] = llc_conn_ac_stop_p_timer, |
| @@ -3929,7 +3929,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_7c = { | |||
| 3929 | }; | 3929 | }; |
| 3930 | 3930 | ||
| 3931 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */ | 3931 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */ |
| 3932 | static llc_conn_action_t llc_await_rejct_actions_8a[] = { | 3932 | static const llc_conn_action_t llc_await_rejct_actions_8a[] = { |
| 3933 | [0] = llc_conn_ac_upd_nr_received, | 3933 | [0] = llc_conn_ac_upd_nr_received, |
| 3934 | [1] = llc_conn_ac_upd_vs, | 3934 | [1] = llc_conn_ac_upd_vs, |
| 3935 | [2] = llc_conn_ac_clear_remote_busy, | 3935 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -3944,7 +3944,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_8a = { | |||
| 3944 | }; | 3944 | }; |
| 3945 | 3945 | ||
| 3946 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */ | 3946 | /* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */ |
| 3947 | static llc_conn_action_t llc_await_rejct_actions_8b[] = { | 3947 | static const llc_conn_action_t llc_await_rejct_actions_8b[] = { |
| 3948 | [0] = llc_conn_ac_upd_nr_received, | 3948 | [0] = llc_conn_ac_upd_nr_received, |
| 3949 | [1] = llc_conn_ac_upd_vs, | 3949 | [1] = llc_conn_ac_upd_vs, |
| 3950 | [2] = llc_conn_ac_clear_remote_busy, | 3950 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -3959,7 +3959,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_8b = { | |||
| 3959 | }; | 3959 | }; |
| 3960 | 3960 | ||
| 3961 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_0 event */ | 3961 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_0 event */ |
| 3962 | static llc_conn_action_t llc_await_rejct_actions_8c[] = { | 3962 | static const llc_conn_action_t llc_await_rejct_actions_8c[] = { |
| 3963 | [0] = llc_conn_ac_upd_nr_received, | 3963 | [0] = llc_conn_ac_upd_nr_received, |
| 3964 | [1] = llc_conn_ac_upd_vs, | 3964 | [1] = llc_conn_ac_upd_vs, |
| 3965 | [2] = llc_conn_ac_clear_remote_busy, | 3965 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -3974,7 +3974,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_8c = { | |||
| 3974 | }; | 3974 | }; |
| 3975 | 3975 | ||
| 3976 | /* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_0 event */ | 3976 | /* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_0 event */ |
| 3977 | static llc_conn_action_t llc_await_rejct_actions_8d[] = { | 3977 | static const llc_conn_action_t llc_await_rejct_actions_8d[] = { |
| 3978 | [0] = llc_conn_ac_upd_nr_received, | 3978 | [0] = llc_conn_ac_upd_nr_received, |
| 3979 | [1] = llc_conn_ac_upd_vs, | 3979 | [1] = llc_conn_ac_upd_vs, |
| 3980 | [2] = llc_conn_ac_clear_remote_busy, | 3980 | [2] = llc_conn_ac_clear_remote_busy, |
| @@ -3989,7 +3989,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_8d = { | |||
| 3989 | }; | 3989 | }; |
| 3990 | 3990 | ||
| 3991 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */ | 3991 | /* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */ |
| 3992 | static llc_conn_action_t llc_await_rejct_actions_9a[] = { | 3992 | static const llc_conn_action_t llc_await_rejct_actions_9a[] = { |
| 3993 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, | 3993 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, |
| 3994 | [1] = llc_conn_ac_upd_nr_received, | 3994 | [1] = llc_conn_ac_upd_nr_received, |
| 3995 | [2] = llc_conn_ac_upd_vs, | 3995 | [2] = llc_conn_ac_upd_vs, |
| @@ -4005,7 +4005,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_9a = { | |||
| 4005 | }; | 4005 | }; |
| 4006 | 4006 | ||
| 4007 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */ | 4007 | /* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */ |
| 4008 | static llc_conn_action_t llc_await_rejct_actions_9b[] = { | 4008 | static const llc_conn_action_t llc_await_rejct_actions_9b[] = { |
| 4009 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, | 4009 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, |
| 4010 | [1] = llc_conn_ac_upd_nr_received, | 4010 | [1] = llc_conn_ac_upd_nr_received, |
| 4011 | [2] = llc_conn_ac_upd_vs, | 4011 | [2] = llc_conn_ac_upd_vs, |
| @@ -4021,7 +4021,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_9b = { | |||
| 4021 | }; | 4021 | }; |
| 4022 | 4022 | ||
| 4023 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_1 event */ | 4023 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_1 event */ |
| 4024 | static llc_conn_action_t llc_await_rejct_actions_10[] = { | 4024 | static const llc_conn_action_t llc_await_rejct_actions_10[] = { |
| 4025 | [0] = llc_conn_ac_upd_nr_received, | 4025 | [0] = llc_conn_ac_upd_nr_received, |
| 4026 | [1] = llc_conn_ac_upd_vs, | 4026 | [1] = llc_conn_ac_upd_vs, |
| 4027 | [2] = llc_conn_ac_stop_p_timer, | 4027 | [2] = llc_conn_ac_stop_p_timer, |
| @@ -4037,7 +4037,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_10 = { | |||
| 4037 | }; | 4037 | }; |
| 4038 | 4038 | ||
| 4039 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */ | 4039 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */ |
| 4040 | static llc_conn_action_t llc_await_rejct_actions_11a[] = { | 4040 | static const llc_conn_action_t llc_await_rejct_actions_11a[] = { |
| 4041 | [0] = llc_conn_ac_upd_nr_received, | 4041 | [0] = llc_conn_ac_upd_nr_received, |
| 4042 | [1] = llc_conn_ac_upd_vs, | 4042 | [1] = llc_conn_ac_upd_vs, |
| 4043 | [2] = llc_conn_ac_set_remote_busy, | 4043 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -4052,7 +4052,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_11a = { | |||
| 4052 | }; | 4052 | }; |
| 4053 | 4053 | ||
| 4054 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */ | 4054 | /* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */ |
| 4055 | static llc_conn_action_t llc_await_rejct_actions_11b[] = { | 4055 | static const llc_conn_action_t llc_await_rejct_actions_11b[] = { |
| 4056 | [0] = llc_conn_ac_upd_nr_received, | 4056 | [0] = llc_conn_ac_upd_nr_received, |
| 4057 | [1] = llc_conn_ac_upd_vs, | 4057 | [1] = llc_conn_ac_upd_vs, |
| 4058 | [2] = llc_conn_ac_set_remote_busy, | 4058 | [2] = llc_conn_ac_set_remote_busy, |
| @@ -4067,7 +4067,7 @@ static struct llc_conn_state_trans llc_await_rejct_state_trans_11b = { | |||
| 4067 | }; | 4067 | }; |
| 4068 | 4068 | ||
| 4069 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */ | 4069 | /* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */ |
| 4070 | static llc_conn_action_t llc_await_rejct_actions_12[] = { | 4070 | static const llc_conn_action_t llc_await_rejct_actions_12[] = { |
| 4071 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, | 4071 | [0] = llc_conn_ac_send_rr_rsp_f_set_1, |
| 4072 | [1] = llc_conn_ac_upd_nr_received, | 4072 | [1] = llc_conn_ac_upd_nr_received, |
| 4073 | [2] = llc_conn_ac_upd_vs, | 4073 | [2] = llc_conn_ac_upd_vs, |
| @@ -4088,7 +4088,7 @@ static llc_conn_ev_qfyr_t llc_await_rejct_ev_qfyrs_13[] = { | |||
| 4088 | [1] = NULL, | 4088 | [1] = NULL, |
| 4089 | }; | 4089 | }; |
| 4090 | 4090 | ||
| 4091 | static llc_conn_action_t llc_await_rejct_actions_13[] = { | 4091 | static const llc_conn_action_t llc_await_rejct_actions_13[] = { |
| 4092 | [0] = llc_conn_ac_send_rej_cmd_p_set_1, | 4092 | [0] = llc_conn_ac_send_rej_cmd_p_set_1, |
| 4093 | [1] = llc_conn_ac_stop_p_timer, | 4093 | [1] = llc_conn_ac_stop_p_timer, |
| 4094 | [2] = llc_conn_ac_inc_retry_cnt_by_1, | 4094 | [2] = llc_conn_ac_inc_retry_cnt_by_1, |
| @@ -4163,7 +4163,7 @@ static llc_conn_ev_qfyr_t llc_d_conn_ev_qfyrs_1[] = { | |||
| 4163 | [2] = NULL, | 4163 | [2] = NULL, |
| 4164 | }; | 4164 | }; |
| 4165 | 4165 | ||
| 4166 | static llc_conn_action_t llc_d_conn_actions_1[] = { | 4166 | static const llc_conn_action_t llc_d_conn_actions_1[] = { |
| 4167 | [0] = llc_conn_ac_send_dm_rsp_f_set_p, | 4167 | [0] = llc_conn_ac_send_dm_rsp_f_set_p, |
| 4168 | [1] = llc_conn_ac_stop_ack_timer, | 4168 | [1] = llc_conn_ac_stop_ack_timer, |
| 4169 | [2] = llc_conn_ac_disc_confirm, | 4169 | [2] = llc_conn_ac_disc_confirm, |
| @@ -4187,7 +4187,7 @@ static llc_conn_ev_qfyr_t llc_d_conn_ev_qfyrs_1_1[] = { | |||
| 4187 | [2] = NULL, | 4187 | [2] = NULL, |
| 4188 | }; | 4188 | }; |
| 4189 | 4189 | ||
| 4190 | static llc_conn_action_t llc_d_conn_actions_1_1[] = { | 4190 | static const llc_conn_action_t llc_d_conn_actions_1_1[] = { |
| 4191 | [0] = llc_conn_ac_send_dm_rsp_f_set_p, | 4191 | [0] = llc_conn_ac_send_dm_rsp_f_set_p, |
| 4192 | [1] = llc_conn_ac_stop_ack_timer, | 4192 | [1] = llc_conn_ac_stop_ack_timer, |
| 4193 | [2] = llc_conn_disc, | 4193 | [2] = llc_conn_disc, |
| @@ -4211,7 +4211,7 @@ static llc_conn_ev_qfyr_t llc_d_conn_ev_qfyrs_2[] = { | |||
| 4211 | [3] = NULL, | 4211 | [3] = NULL, |
| 4212 | }; | 4212 | }; |
| 4213 | 4213 | ||
| 4214 | static llc_conn_action_t llc_d_conn_actions_2[] = { | 4214 | static const llc_conn_action_t llc_d_conn_actions_2[] = { |
| 4215 | [0] = llc_conn_ac_stop_ack_timer, | 4215 | [0] = llc_conn_ac_stop_ack_timer, |
| 4216 | [1] = llc_conn_ac_disc_confirm, | 4216 | [1] = llc_conn_ac_disc_confirm, |
| 4217 | [2] = llc_conn_disc, | 4217 | [2] = llc_conn_disc, |
| @@ -4235,7 +4235,7 @@ static llc_conn_ev_qfyr_t llc_d_conn_ev_qfyrs_2_1[] = { | |||
| 4235 | [3] = NULL, | 4235 | [3] = NULL, |
| 4236 | }; | 4236 | }; |
| 4237 | 4237 | ||
| 4238 | static llc_conn_action_t llc_d_conn_actions_2_1[] = { | 4238 | static const llc_conn_action_t llc_d_conn_actions_2_1[] = { |
| 4239 | [0] = llc_conn_ac_stop_ack_timer, | 4239 | [0] = llc_conn_ac_stop_ack_timer, |
| 4240 | [1] = llc_conn_disc, | 4240 | [1] = llc_conn_disc, |
| 4241 | [2] = NULL, | 4241 | [2] = NULL, |
| @@ -4249,7 +4249,7 @@ static struct llc_conn_state_trans llc_d_conn_state_trans_2_1 = { | |||
| 4249 | }; | 4249 | }; |
| 4250 | 4250 | ||
| 4251 | /* State transitions for LLC_CONN_EV_RX_DISC_CMD_Pbit_SET_X event */ | 4251 | /* State transitions for LLC_CONN_EV_RX_DISC_CMD_Pbit_SET_X event */ |
| 4252 | static llc_conn_action_t llc_d_conn_actions_3[] = { | 4252 | static const llc_conn_action_t llc_d_conn_actions_3[] = { |
| 4253 | [0] = llc_conn_ac_send_ua_rsp_f_set_p, | 4253 | [0] = llc_conn_ac_send_ua_rsp_f_set_p, |
| 4254 | [1] = NULL, | 4254 | [1] = NULL, |
| 4255 | }; | 4255 | }; |
| @@ -4270,7 +4270,7 @@ static llc_conn_ev_qfyr_t llc_d_conn_ev_qfyrs_4[] = { | |||
| 4270 | [2] = NULL, | 4270 | [2] = NULL, |
| 4271 | }; | 4271 | }; |
| 4272 | 4272 | ||
| 4273 | static llc_conn_action_t llc_d_conn_actions_4[] = { | 4273 | static const llc_conn_action_t llc_d_conn_actions_4[] = { |
| 4274 | [0] = llc_conn_ac_stop_ack_timer, | 4274 | [0] = llc_conn_ac_stop_ack_timer, |
| 4275 | [1] = llc_conn_ac_disc_confirm, | 4275 | [1] = llc_conn_ac_disc_confirm, |
| 4276 | [2] = llc_conn_disc, | 4276 | [2] = llc_conn_disc, |
| @@ -4293,7 +4293,7 @@ static llc_conn_ev_qfyr_t llc_d_conn_ev_qfyrs_4_1[] = { | |||
| 4293 | [2] = NULL, | 4293 | [2] = NULL, |
| 4294 | }; | 4294 | }; |
| 4295 | 4295 | ||
| 4296 | static llc_conn_action_t llc_d_conn_actions_4_1[] = { | 4296 | static const llc_conn_action_t llc_d_conn_actions_4_1[] = { |
| 4297 | [0] = llc_conn_ac_stop_ack_timer, | 4297 | [0] = llc_conn_ac_stop_ack_timer, |
| 4298 | [1] = llc_conn_disc, | 4298 | [1] = llc_conn_disc, |
| 4299 | [2] = NULL, | 4299 | [2] = NULL, |
| @@ -4316,7 +4316,7 @@ static llc_conn_ev_qfyr_t llc_d_conn_ev_qfyrs_5[] = { | |||
| 4316 | }; | 4316 | }; |
| 4317 | 4317 | ||
| 4318 | /* just one member, NULL, .bss zeroes it */ | 4318 | /* just one member, NULL, .bss zeroes it */ |
| 4319 | static llc_conn_action_t llc_d_conn_actions_5[1]; | 4319 | static const llc_conn_action_t llc_d_conn_actions_5[1]; |
| 4320 | 4320 | ||
| 4321 | static struct llc_conn_state_trans llc_d_conn_state_trans_5 = { | 4321 | static struct llc_conn_state_trans llc_d_conn_state_trans_5 = { |
| 4322 | .ev = llc_conn_ev_data_req, | 4322 | .ev = llc_conn_ev_data_req, |
| @@ -4331,7 +4331,7 @@ static llc_conn_ev_qfyr_t llc_d_conn_ev_qfyrs_6[] = { | |||
| 4331 | [1] = NULL, | 4331 | [1] = NULL, |
| 4332 | }; | 4332 | }; |
| 4333 | 4333 | ||
| 4334 | static llc_conn_action_t llc_d_conn_actions_6[] = { | 4334 | static const llc_conn_action_t llc_d_conn_actions_6[] = { |
| 4335 | [0] = llc_conn_ac_send_disc_cmd_p_set_x, | 4335 | [0] = llc_conn_ac_send_disc_cmd_p_set_x, |
| 4336 | [1] = llc_conn_ac_start_ack_timer, | 4336 | [1] = llc_conn_ac_start_ack_timer, |
| 4337 | [2] = llc_conn_ac_inc_retry_cnt_by_1, | 4337 | [2] = llc_conn_ac_inc_retry_cnt_by_1, |
| @@ -4353,7 +4353,7 @@ static llc_conn_ev_qfyr_t llc_d_conn_ev_qfyrs_7[] = { | |||
| 4353 | [3] = NULL, | 4353 | [3] = NULL, |
| 4354 | }; | 4354 | }; |
| 4355 | 4355 | ||
| 4356 | static llc_conn_action_t llc_d_conn_actions_7[] = { | 4356 | static const llc_conn_action_t llc_d_conn_actions_7[] = { |
| 4357 | [0] = llc_conn_ac_disc_confirm, | 4357 | [0] = llc_conn_ac_disc_confirm, |
| 4358 | [1] = llc_conn_disc, | 4358 | [1] = llc_conn_disc, |
| 4359 | [2] = NULL, | 4359 | [2] = NULL, |
| @@ -4374,7 +4374,7 @@ static llc_conn_ev_qfyr_t llc_d_conn_ev_qfyrs_8[] = { | |||
| 4374 | [3] = NULL, | 4374 | [3] = NULL, |
| 4375 | }; | 4375 | }; |
| 4376 | 4376 | ||
| 4377 | static llc_conn_action_t llc_d_conn_actions_8[] = { | 4377 | static const llc_conn_action_t llc_d_conn_actions_8[] = { |
| 4378 | [0] = llc_conn_disc, | 4378 | [0] = llc_conn_disc, |
| 4379 | [1] = NULL, | 4379 | [1] = NULL, |
| 4380 | }; | 4380 | }; |
| @@ -4411,7 +4411,7 @@ static struct llc_conn_state_trans *llc_d_conn_state_transitions[] = { | |||
| 4411 | 4411 | ||
| 4412 | /* LLC_CONN_STATE_RESET transitions */ | 4412 | /* LLC_CONN_STATE_RESET transitions */ |
| 4413 | /* State transitions for LLC_CONN_EV_RX_SABME_CMD_Pbit_SET_X event */ | 4413 | /* State transitions for LLC_CONN_EV_RX_SABME_CMD_Pbit_SET_X event */ |
| 4414 | static llc_conn_action_t llc_rst_actions_1[] = { | 4414 | static const llc_conn_action_t llc_rst_actions_1[] = { |
| 4415 | [0] = llc_conn_ac_set_vs_0, | 4415 | [0] = llc_conn_ac_set_vs_0, |
| 4416 | [1] = llc_conn_ac_set_vr_0, | 4416 | [1] = llc_conn_ac_set_vr_0, |
| 4417 | [2] = llc_conn_ac_set_s_flag_1, | 4417 | [2] = llc_conn_ac_set_s_flag_1, |
| @@ -4436,7 +4436,7 @@ static llc_conn_ev_qfyr_t llc_rst_ev_qfyrs_2[] = { | |||
| 4436 | [3] = NULL, | 4436 | [3] = NULL, |
| 4437 | }; | 4437 | }; |
| 4438 | 4438 | ||
| 4439 | static llc_conn_action_t llc_rst_actions_2[] = { | 4439 | static const llc_conn_action_t llc_rst_actions_2[] = { |
| 4440 | [0] = llc_conn_ac_stop_ack_timer, | 4440 | [0] = llc_conn_ac_stop_ack_timer, |
| 4441 | [1] = llc_conn_ac_set_vs_0, | 4441 | [1] = llc_conn_ac_set_vs_0, |
| 4442 | [2] = llc_conn_ac_set_vr_0, | 4442 | [2] = llc_conn_ac_set_vr_0, |
| @@ -4464,7 +4464,7 @@ static llc_conn_ev_qfyr_t llc_rst_ev_qfyrs_2_1[] = { | |||
| 4464 | [3] = NULL, | 4464 | [3] = NULL, |
| 4465 | }; | 4465 | }; |
| 4466 | 4466 | ||
| 4467 | static llc_conn_action_t llc_rst_actions_2_1[] = { | 4467 | static const llc_conn_action_t llc_rst_actions_2_1[] = { |
| 4468 | [0] = llc_conn_ac_stop_ack_timer, | 4468 | [0] = llc_conn_ac_stop_ack_timer, |
| 4469 | [1] = llc_conn_ac_set_vs_0, | 4469 | [1] = llc_conn_ac_set_vs_0, |
| 4470 | [2] = llc_conn_ac_set_vr_0, | 4470 | [2] = llc_conn_ac_set_vr_0, |
| @@ -4489,7 +4489,7 @@ static llc_conn_ev_qfyr_t llc_rst_ev_qfyrs_3[] = { | |||
| 4489 | [2] = NULL, | 4489 | [2] = NULL, |
| 4490 | }; | 4490 | }; |
| 4491 | 4491 | ||
| 4492 | static llc_conn_action_t llc_rst_actions_3[] = { | 4492 | static const llc_conn_action_t llc_rst_actions_3[] = { |
| 4493 | [0] = llc_conn_ac_set_p_flag_0, | 4493 | [0] = llc_conn_ac_set_p_flag_0, |
| 4494 | [1] = llc_conn_ac_set_remote_busy_0, | 4494 | [1] = llc_conn_ac_set_remote_busy_0, |
| 4495 | [2] = NULL, | 4495 | [2] = NULL, |
| @@ -4510,7 +4510,7 @@ static llc_conn_ev_qfyr_t llc_rst_ev_qfyrs_4[] = { | |||
| 4510 | [1] = llc_conn_ev_qlfy_set_status_disc, | 4510 | [1] = llc_conn_ev_qlfy_set_status_disc, |
| 4511 | [2] = NULL, | 4511 | [2] = NULL, |
| 4512 | }; | 4512 | }; |
| 4513 | static llc_conn_action_t llc_rst_actions_4[] = { | 4513 | static const llc_conn_action_t llc_rst_actions_4[] = { |
| 4514 | [0] = llc_conn_ac_send_dm_rsp_f_set_p, | 4514 | [0] = llc_conn_ac_send_dm_rsp_f_set_p, |
| 4515 | [1] = llc_conn_ac_disc_ind, | 4515 | [1] = llc_conn_ac_disc_ind, |
| 4516 | [2] = llc_conn_ac_stop_ack_timer, | 4516 | [2] = llc_conn_ac_stop_ack_timer, |
| @@ -4534,7 +4534,7 @@ static llc_conn_ev_qfyr_t llc_rst_ev_qfyrs_4_1[] = { | |||
| 4534 | [2] = NULL, | 4534 | [2] = NULL, |
| 4535 | }; | 4535 | }; |
| 4536 | 4536 | ||
| 4537 | static llc_conn_action_t llc_rst_actions_4_1[] = { | 4537 | static const llc_conn_action_t llc_rst_actions_4_1[] = { |
| 4538 | [0] = llc_conn_ac_send_dm_rsp_f_set_p, | 4538 | [0] = llc_conn_ac_send_dm_rsp_f_set_p, |
| 4539 | [1] = llc_conn_ac_stop_ack_timer, | 4539 | [1] = llc_conn_ac_stop_ack_timer, |
| 4540 | [2] = llc_conn_disc, | 4540 | [2] = llc_conn_disc, |
| @@ -4557,7 +4557,7 @@ static llc_conn_ev_qfyr_t llc_rst_ev_qfyrs_5[] = { | |||
| 4557 | [2] = NULL, | 4557 | [2] = NULL, |
| 4558 | }; | 4558 | }; |
| 4559 | 4559 | ||
| 4560 | static llc_conn_action_t llc_rst_actions_5[] = { | 4560 | static const llc_conn_action_t llc_rst_actions_5[] = { |
| 4561 | [0] = llc_conn_ac_disc_ind, | 4561 | [0] = llc_conn_ac_disc_ind, |
| 4562 | [1] = llc_conn_ac_stop_ack_timer, | 4562 | [1] = llc_conn_ac_stop_ack_timer, |
| 4563 | [2] = llc_conn_disc, | 4563 | [2] = llc_conn_disc, |
| @@ -4580,7 +4580,7 @@ static llc_conn_ev_qfyr_t llc_rst_ev_qfyrs_5_1[] = { | |||
| 4580 | [2] = NULL, | 4580 | [2] = NULL, |
| 4581 | }; | 4581 | }; |
| 4582 | 4582 | ||
| 4583 | static llc_conn_action_t llc_rst_actions_5_1[] = { | 4583 | static const llc_conn_action_t llc_rst_actions_5_1[] = { |
| 4584 | [0] = llc_conn_ac_stop_ack_timer, | 4584 | [0] = llc_conn_ac_stop_ack_timer, |
| 4585 | [1] = llc_conn_disc, | 4585 | [1] = llc_conn_disc, |
| 4586 | [2] = NULL, | 4586 | [2] = NULL, |
| @@ -4600,7 +4600,7 @@ static llc_conn_ev_qfyr_t llc_rst_ev_qfyrs_6[] = { | |||
| 4600 | }; | 4600 | }; |
| 4601 | 4601 | ||
| 4602 | /* just one member, NULL, .bss zeroes it */ | 4602 | /* just one member, NULL, .bss zeroes it */ |
| 4603 | static llc_conn_action_t llc_rst_actions_6[1]; | 4603 | static const llc_conn_action_t llc_rst_actions_6[1]; |
| 4604 | 4604 | ||
| 4605 | static struct llc_conn_state_trans llc_rst_state_trans_6 = { | 4605 | static struct llc_conn_state_trans llc_rst_state_trans_6 = { |
| 4606 | .ev = llc_conn_ev_data_req, | 4606 | .ev = llc_conn_ev_data_req, |
| @@ -4616,7 +4616,7 @@ static llc_conn_ev_qfyr_t llc_rst_ev_qfyrs_7[] = { | |||
| 4616 | [2] = NULL, | 4616 | [2] = NULL, |
| 4617 | }; | 4617 | }; |
| 4618 | 4618 | ||
| 4619 | static llc_conn_action_t llc_rst_actions_7[] = { | 4619 | static const llc_conn_action_t llc_rst_actions_7[] = { |
| 4620 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, | 4620 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, |
| 4621 | [1] = llc_conn_ac_start_ack_timer, | 4621 | [1] = llc_conn_ac_start_ack_timer, |
| 4622 | [2] = llc_conn_ac_inc_retry_cnt_by_1, | 4622 | [2] = llc_conn_ac_inc_retry_cnt_by_1, |
| @@ -4638,7 +4638,7 @@ static llc_conn_ev_qfyr_t llc_rst_ev_qfyrs_8[] = { | |||
| 4638 | [3] = llc_conn_ev_qlfy_set_status_failed, | 4638 | [3] = llc_conn_ev_qlfy_set_status_failed, |
| 4639 | [4] = NULL, | 4639 | [4] = NULL, |
| 4640 | }; | 4640 | }; |
| 4641 | static llc_conn_action_t llc_rst_actions_8[] = { | 4641 | static const llc_conn_action_t llc_rst_actions_8[] = { |
| 4642 | [0] = llc_conn_ac_disc_ind, | 4642 | [0] = llc_conn_ac_disc_ind, |
| 4643 | [1] = llc_conn_disc, | 4643 | [1] = llc_conn_disc, |
| 4644 | [2] = NULL, | 4644 | [2] = NULL, |
| @@ -4659,7 +4659,7 @@ static llc_conn_ev_qfyr_t llc_rst_ev_qfyrs_8_1[] = { | |||
| 4659 | [3] = llc_conn_ev_qlfy_set_status_failed, | 4659 | [3] = llc_conn_ev_qlfy_set_status_failed, |
| 4660 | [4] = NULL, | 4660 | [4] = NULL, |
| 4661 | }; | 4661 | }; |
| 4662 | static llc_conn_action_t llc_rst_actions_8_1[] = { | 4662 | static const llc_conn_action_t llc_rst_actions_8_1[] = { |
| 4663 | [0] = llc_conn_ac_disc_ind, | 4663 | [0] = llc_conn_ac_disc_ind, |
| 4664 | [1] = llc_conn_disc, | 4664 | [1] = llc_conn_disc, |
| 4665 | [2] = NULL, | 4665 | [2] = NULL, |
| @@ -4698,7 +4698,7 @@ static struct llc_conn_state_trans *llc_rst_state_transitions[] = { | |||
| 4698 | 4698 | ||
| 4699 | /* LLC_CONN_STATE_ERROR transitions */ | 4699 | /* LLC_CONN_STATE_ERROR transitions */ |
| 4700 | /* State transitions for LLC_CONN_EV_RX_SABME_CMD_Pbit_SET_X event */ | 4700 | /* State transitions for LLC_CONN_EV_RX_SABME_CMD_Pbit_SET_X event */ |
| 4701 | static llc_conn_action_t llc_error_actions_1[] = { | 4701 | static const llc_conn_action_t llc_error_actions_1[] = { |
| 4702 | [0] = llc_conn_ac_set_vs_0, | 4702 | [0] = llc_conn_ac_set_vs_0, |
| 4703 | [1] = llc_conn_ac_set_vr_0, | 4703 | [1] = llc_conn_ac_set_vr_0, |
| 4704 | [2] = llc_conn_ac_send_ua_rsp_f_set_p, | 4704 | [2] = llc_conn_ac_send_ua_rsp_f_set_p, |
| @@ -4718,7 +4718,7 @@ static struct llc_conn_state_trans llc_error_state_trans_1 = { | |||
| 4718 | }; | 4718 | }; |
| 4719 | 4719 | ||
| 4720 | /* State transitions for LLC_CONN_EV_RX_DISC_CMD_Pbit_SET_X event */ | 4720 | /* State transitions for LLC_CONN_EV_RX_DISC_CMD_Pbit_SET_X event */ |
| 4721 | static llc_conn_action_t llc_error_actions_2[] = { | 4721 | static const llc_conn_action_t llc_error_actions_2[] = { |
| 4722 | [0] = llc_conn_ac_send_ua_rsp_f_set_p, | 4722 | [0] = llc_conn_ac_send_ua_rsp_f_set_p, |
| 4723 | [1] = llc_conn_ac_disc_ind, | 4723 | [1] = llc_conn_ac_disc_ind, |
| 4724 | [2] = llc_conn_ac_stop_ack_timer, | 4724 | [2] = llc_conn_ac_stop_ack_timer, |
| @@ -4734,7 +4734,7 @@ static struct llc_conn_state_trans llc_error_state_trans_2 = { | |||
| 4734 | }; | 4734 | }; |
| 4735 | 4735 | ||
| 4736 | /* State transitions for LLC_CONN_EV_RX_DM_RSP_Fbit_SET_X event */ | 4736 | /* State transitions for LLC_CONN_EV_RX_DM_RSP_Fbit_SET_X event */ |
| 4737 | static llc_conn_action_t llc_error_actions_3[] = { | 4737 | static const llc_conn_action_t llc_error_actions_3[] = { |
| 4738 | [0] = llc_conn_ac_disc_ind, | 4738 | [0] = llc_conn_ac_disc_ind, |
| 4739 | [1] = llc_conn_ac_stop_ack_timer, | 4739 | [1] = llc_conn_ac_stop_ack_timer, |
| 4740 | [2] = llc_conn_disc, | 4740 | [2] = llc_conn_disc, |
| @@ -4749,7 +4749,7 @@ static struct llc_conn_state_trans llc_error_state_trans_3 = { | |||
| 4749 | }; | 4749 | }; |
| 4750 | 4750 | ||
| 4751 | /* State transitions for LLC_CONN_EV_RX_FRMR_RSP_Fbit_SET_X event */ | 4751 | /* State transitions for LLC_CONN_EV_RX_FRMR_RSP_Fbit_SET_X event */ |
| 4752 | static llc_conn_action_t llc_error_actions_4[] = { | 4752 | static const llc_conn_action_t llc_error_actions_4[] = { |
| 4753 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, | 4753 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, |
| 4754 | [1] = llc_conn_ac_start_ack_timer, | 4754 | [1] = llc_conn_ac_start_ack_timer, |
| 4755 | [2] = llc_conn_ac_set_retry_cnt_0, | 4755 | [2] = llc_conn_ac_set_retry_cnt_0, |
| @@ -4765,7 +4765,7 @@ static struct llc_conn_state_trans llc_error_state_trans_4 = { | |||
| 4765 | }; | 4765 | }; |
| 4766 | 4766 | ||
| 4767 | /* State transitions for LLC_CONN_EV_RX_XXX_CMD_Pbit_SET_X event */ | 4767 | /* State transitions for LLC_CONN_EV_RX_XXX_CMD_Pbit_SET_X event */ |
| 4768 | static llc_conn_action_t llc_error_actions_5[] = { | 4768 | static const llc_conn_action_t llc_error_actions_5[] = { |
| 4769 | [0] = llc_conn_ac_resend_frmr_rsp_f_set_p, | 4769 | [0] = llc_conn_ac_resend_frmr_rsp_f_set_p, |
| 4770 | [1] = NULL, | 4770 | [1] = NULL, |
| 4771 | }; | 4771 | }; |
| @@ -4791,7 +4791,7 @@ static llc_conn_ev_qfyr_t llc_error_ev_qfyrs_7[] = { | |||
| 4791 | [1] = NULL, | 4791 | [1] = NULL, |
| 4792 | }; | 4792 | }; |
| 4793 | 4793 | ||
| 4794 | static llc_conn_action_t llc_error_actions_7[] = { | 4794 | static const llc_conn_action_t llc_error_actions_7[] = { |
| 4795 | [0] = llc_conn_ac_resend_frmr_rsp_f_set_0, | 4795 | [0] = llc_conn_ac_resend_frmr_rsp_f_set_0, |
| 4796 | [1] = llc_conn_ac_start_ack_timer, | 4796 | [1] = llc_conn_ac_start_ack_timer, |
| 4797 | [2] = llc_conn_ac_inc_retry_cnt_by_1, | 4797 | [2] = llc_conn_ac_inc_retry_cnt_by_1, |
| @@ -4811,7 +4811,7 @@ static llc_conn_ev_qfyr_t llc_error_ev_qfyrs_8[] = { | |||
| 4811 | [1] = NULL, | 4811 | [1] = NULL, |
| 4812 | }; | 4812 | }; |
| 4813 | 4813 | ||
| 4814 | static llc_conn_action_t llc_error_actions_8[] = { | 4814 | static const llc_conn_action_t llc_error_actions_8[] = { |
| 4815 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, | 4815 | [0] = llc_conn_ac_send_sabme_cmd_p_set_x, |
| 4816 | [1] = llc_conn_ac_set_s_flag_0, | 4816 | [1] = llc_conn_ac_set_s_flag_0, |
| 4817 | [2] = llc_conn_ac_start_ack_timer, | 4817 | [2] = llc_conn_ac_start_ack_timer, |
| @@ -4834,7 +4834,7 @@ static llc_conn_ev_qfyr_t llc_error_ev_qfyrs_9[] = { | |||
| 4834 | }; | 4834 | }; |
| 4835 | 4835 | ||
| 4836 | /* just one member, NULL, .bss zeroes it */ | 4836 | /* just one member, NULL, .bss zeroes it */ |
| 4837 | static llc_conn_action_t llc_error_actions_9[1]; | 4837 | static const llc_conn_action_t llc_error_actions_9[1]; |
| 4838 | 4838 | ||
| 4839 | static struct llc_conn_state_trans llc_error_state_trans_9 = { | 4839 | static struct llc_conn_state_trans llc_error_state_trans_9 = { |
| 4840 | .ev = llc_conn_ev_data_req, | 4840 | .ev = llc_conn_ev_data_req, |
| @@ -4866,7 +4866,7 @@ static struct llc_conn_state_trans *llc_error_state_transitions[] = { | |||
| 4866 | 4866 | ||
| 4867 | /* LLC_CONN_STATE_TEMP transitions */ | 4867 | /* LLC_CONN_STATE_TEMP transitions */ |
| 4868 | /* State transitions for LLC_CONN_EV_DISC_REQ event */ | 4868 | /* State transitions for LLC_CONN_EV_DISC_REQ event */ |
| 4869 | static llc_conn_action_t llc_temp_actions_1[] = { | 4869 | static const llc_conn_action_t llc_temp_actions_1[] = { |
| 4870 | [0] = llc_conn_ac_stop_all_timers, | 4870 | [0] = llc_conn_ac_stop_all_timers, |
| 4871 | [1] = llc_conn_ac_send_disc_cmd_p_set_x, | 4871 | [1] = llc_conn_ac_send_disc_cmd_p_set_x, |
| 4872 | [2] = llc_conn_disc, | 4872 | [2] = llc_conn_disc, |
diff --git a/net/llc/llc_conn.c b/net/llc/llc_conn.c index 42dc2e45c921..75baa2b0574f 100644 --- a/net/llc/llc_conn.c +++ b/net/llc/llc_conn.c | |||
| @@ -454,7 +454,7 @@ static int llc_exec_conn_trans_actions(struct sock *sk, | |||
| 454 | struct sk_buff *skb) | 454 | struct sk_buff *skb) |
| 455 | { | 455 | { |
| 456 | int rc = 0; | 456 | int rc = 0; |
| 457 | llc_conn_action_t *next_action; | 457 | const llc_conn_action_t *next_action; |
| 458 | 458 | ||
| 459 | for (next_action = trans->ev_actions; | 459 | for (next_action = trans->ev_actions; |
| 460 | next_action && *next_action; next_action++) { | 460 | next_action && *next_action; next_action++) { |
