Skip to content

Commit 0c4294b

Browse files
author
Arto Kinnunen
committed
Merge commit 'b0e699fe3e03f574aa2b6d74ff56a024d6e1d508'
* commit 'b0e699fe3e03f574aa2b6d74ff56a024d6e1d508': Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 715ae9a..3183d87
2 parents a13d6ab + b0e699f commit 0c4294b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2049
-529
lines changed

connectivity/nanostack/sal-stack-nanostack/Doxyfile

Lines changed: 380 additions & 188 deletions
Large diffs are not rendered by default.

connectivity/nanostack/sal-stack-nanostack/nanostack/fhss_config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ typedef struct fhss_ws_configuration {
132132
/** Wi-SUN specific unicast channel mask */
133133
uint32_t unicast_channel_mask[8];
134134

135+
/** Channel mask size */
136+
uint16_t channel_mask_size;
137+
135138
/** Vendor defined channel function. */
136139
fhss_vendor_defined_cf *vendor_defined_cf;
137140

connectivity/nanostack/sal-stack-nanostack/nanostack/mac_api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ typedef enum {
7878
} mlme_primitive;
7979

8080
/**
81-
* \struct mac_description_storage_size_t
81+
* \struct mac_description_storage_size_s
8282
* \brief Container for MAC storage sizes.
8383
*/
8484
typedef struct mac_description_storage_size_s {
@@ -305,7 +305,7 @@ struct mac_api_s {
305305
};
306306

307307
/**
308-
* \struct mac_statistics_t
308+
* \struct mac_statistics_s
309309
* \brief MAC statistics structure.
310310
*/
311311
typedef struct mac_statistics_s {

connectivity/nanostack/sal-stack-nanostack/nanostack/net_interface.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ typedef enum arm_library_event_type_e {
103103
#define SOCKET_BIND_DONE SOCKET_CONNECT_DONE /**< Backward compatibility */
104104
#define SOCKET_BIND_FAIL SOCKET_CONNECT_FAIL /**< Backward compatibility */
105105
#define SOCKET_BIND_AUTH_FAIL SOCKET_CONNECT_AUTH_FAIL /**< Backward compatibility */
106-
/* @} */
106+
/** @} */
107107

108108
/** Network security levels. */
109109
typedef enum net_security_t {
@@ -1228,3 +1228,4 @@ extern const cca_threshold_table_s *arm_nwk_get_cca_threshold_table(int8_t inter
12281228
}
12291229
#endif
12301230
#endif /* NET_INTERFACE_H_ */
1231+

connectivity/nanostack/sal-stack-nanostack/nanostack/net_nvm_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ typedef enum pana_client_nvm_update_process_t {
8989
} pana_client_nvm_update_process_t;
9090

9191
/*!
92-
* \struct wpan_nvm_params_t
92+
* \struct wpan_nvm_params
9393
* \brief Network nvm parameters.
9494
*/
9595
typedef struct wpan_nvm_params {

connectivity/nanostack/sal-stack-nanostack/nanostack/net_polling_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ extern "C" {
5252
#endif
5353

5454
/*!
55-
* \enum net_host_mode_t
55+
* \enum net_host_mode
5656
* \brief Sleepy host states.
5757
*/
5858
typedef enum net_host_mode {

connectivity/nanostack/sal-stack-nanostack/nanostack/ns_mdns_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ typedef struct ns_mdns *ns_mdns_t; /**< Instance */
3636
typedef struct ns_mdns_service *ns_mdns_service_t; /**< Service instance */
3737

3838
/*!
39-
* \struct ns_mdns_service_param_t
39+
* \struct ns_mdns_service_param
4040
* \brief Structure for mDNS service parameters
4141
*/
4242
typedef struct ns_mdns_service_param {

connectivity/nanostack/sal-stack-nanostack/nanostack/nwk_stats_api.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ typedef struct nwk_stats_t {
7373
/* MAC */
7474
uint16_t adapt_layer_tx_queue_size; /**< Adaptation layer direct TX queue size. */
7575
uint16_t adapt_layer_tx_queue_peak; /**< Adaptation layer direct TX queue size peak. */
76+
uint32_t adapt_layer_tx_congestion_drop; /**< Adaptation layer direct TX randon early detection drop packet. */
7677
} nwk_stats_t;
7778

7879
/**

connectivity/nanostack/sal-stack-nanostack/nanostack/platform/arm_hal_aes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ extern "C" {
4848
#define ARM_AES_MBEDTLS_CONTEXT_MIN 1 /**</ event loop use only */
4949
#endif
5050

51+
/** AES context */
5152
typedef struct arm_aes_context arm_aes_context_t;
5253

5354
/**

connectivity/nanostack/sal-stack-nanostack/nanostack/platform/arm_hal_phy.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,25 @@ typedef enum {
175175
MODULATION_INDEX_UNDEFINED ///< Modulation index undefined
176176
} phy_modulation_index_e;
177177

178+
/** OFDM option */
179+
typedef enum {
180+
OFDM_OPTION_1 = 1, ///< OFDM option 1
181+
OFDM_OPTION_2 = 2, ///< OFDM option 2
182+
OFDM_OPTION_3 = 3, ///< OFDM option 3
183+
OFDM_OPTION_4 = 4 ///< OFDM option 4
184+
} phy_ofdm_option_e;
185+
186+
/** Modulation and coding scheme (OFDM) */
187+
typedef enum {
188+
OFDM_MCS_0 = 0, ///< OFDM MCS 0
189+
OFDM_MCS_1 = 1, ///< OFDM MCS 1
190+
OFDM_MCS_2 = 2, ///< OFDM MCS 2
191+
OFDM_MCS_3 = 3, ///< OFDM MCS 3
192+
OFDM_MCS_4 = 4, ///< OFDM MCS 4
193+
OFDM_MCS_5 = 5, ///< OFDM MCS 5
194+
OFDM_MCS_6 = 6 ///< OFDM MCS 6
195+
} phy_ofdm_mcs_e;
196+
178197
/**
179198
* @brief enum phy_802_15_4_mode_t IEEE 802.15.4 mode
180199
*
@@ -192,6 +211,9 @@ typedef struct phy_rf_channel_configuration_s {
192211
uint16_t number_of_channels; ///< Number of channels
193212
phy_modulation_e modulation; ///< Modulation scheme
194213
phy_modulation_index_e modulation_index; ///< Modulation index
214+
bool fec; ///< Forward error correction, true - enabled, false - disabled
215+
phy_ofdm_option_e ofdm_option; ///< OFDM option
216+
phy_ofdm_mcs_e ofdm_mcs; ///< OFDM modulation and coding scheme
195217
} phy_rf_channel_configuration_s;
196218

197219
/** Channel page configuration */

0 commit comments

Comments
 (0)