@@ -195,7 +195,9 @@ extern "C" {
195195/** @brief
196196 * Read-only socket option to retrieve the cipher suite used during the TLS/DTLS handshake.
197197 *
198- * @note This socket option is only supported with Modem firmware 2.0.0 and newer.
198+ * @note This is only supported by the following modem firmware:
199+ * - mfw_nrf91x1
200+ * - mfw_nrf9151-ntn
199201 */
200202#define NRF_SO_SEC_CIPHERSUITE_USED 4
201203
@@ -233,15 +235,21 @@ extern "C" {
233235 * Socket option to enable/disable the connection ID.
234236 * See @ref nrf_so_sec_dtls_cid_settings for allowed values.
235237 *
236- * @note This socket option is only supported with Modem firmware v1.3.5 and newer.
238+ * @note This is only supported by the following modem firmware:
239+ * - mfw_nrf9160 v1.3.5 or later
240+ * - mfw_nrf91x1
241+ * - mfw_nrf9151-ntn
237242 */
238243#define NRF_SO_SEC_DTLS_CID 15
239244
240245/** @brief
241246 * Read-only socket option to get the connection ID status.
242247 * See @ref nrf_so_sec_dtls_cid_statuses for allowed values.
243248 *
244- * @note This socket option is only supported with Modem firmware v1.3.5 and newer.
249+ * @note This is only supported by the following modem firmware:
250+ * - mfw_nrf9160 v1.3.5 or later
251+ * - mfw_nrf91x1
252+ * - mfw_nrf9151-ntn
245253 */
246254#define NRF_SO_SEC_DTLS_CID_STATUS 16
247255
@@ -251,30 +259,39 @@ extern "C" {
251259 * Serializes the socket and compresses it. After the socket option is successfully called, you must
252260 * call @c NRF_SO_SEC_DTLS_CONN_LOAD before continuing to communicate on the socket.
253261 *
254- * @note This socket option is only supported with Modem firmware v1.3.5 and newer.
262+ * @note This is only supported by the following modem firmware:
263+ * - mfw_nrf9160 v1.3.5 or later
264+ * - mfw_nrf91x1
265+ * - mfw_nrf9151-ntn
255266 */
256267#define NRF_SO_SEC_DTLS_CONN_SAVE 17
257268
258269/** @brief
259270 * Write-only socket option to load DTLS connection.
260271 *
261- * @note This socket option is only supported with Modem firmware v1.3.5 and newer.
272+ * @note This is only supported by the following modem firmware:
273+ * - mfw_nrf9160 v1.3.5 or later
274+ * - mfw_nrf91x1
275+ * - mfw_nrf9151-ntn
262276 */
263277#define NRF_SO_SEC_DTLS_CONN_LOAD 18
264278
265279/** @brief
266280 * Read-only socket option to get end status of last completed TLS/DTLS handshake procedure.
267281 * See @ref nrf_so_sec_handshake_statuses for allowed values.
268282 *
269- * @note This socket option is only supported with Modem firmware 2.0.0 and newer.
283+ * @note This is only supported by the following modem firmware:
284+ * - mfw_nrf91x1
285+ * - mfw_nrf9151-ntn
270286 */
271287#define NRF_SO_SEC_HANDSHAKE_STATUS 19
272288
273289/** @brief
274290 * Socket option to enable/disable the DTLS fragmentation extension.
275291 * See @ref nrf_so_sec_dtls_frag_ext_options for allowed values.
276292 *
277- * @note This socket option is only supported with Modem firmware v2.0.4 and newer.
293+ * @note This is only supported by the following modem firmware:
294+ * - mfw_nrf91x1 v2.0.4 or later
278295 */
279296#define NRF_SO_SEC_DTLS_FRAG_EXT 20
280297/** @} */
@@ -303,7 +320,12 @@ extern "C" {
303320#define NRF_SO_IPV6_ECHO_REPLY 32
304321/** Send data related to an exceptional event. */
305322#define NRF_SO_EXCEPTIONAL_DATA 33
306- /** Keep socket open when its PDN connection is lost. */
323+ /** Keep socket open when its PDN connection is lost.
324+ *
325+ * @note This is only supported by the following modem firmware:
326+ * - mfw_nrf91x1 v2.0.1 or later
327+ * - mfw_nrf9151-ntn
328+ */
307329#define NRF_SO_KEEPOPEN 34
308330/** Bind a socket to a Packet Data Network ID (write-only). */
309331#define NRF_SO_BINDTOPDN 40
@@ -330,8 +352,10 @@ extern "C" {
330352 *
331353 * Set to 1 to enable, or to 0 to disable. Default is 0, disabled.
332354 *
333- * @note This socket option is only supported by modem firmware version 1.3.7 and newer, and
334- * modem firmware version 2.0.2 and newer.
355+ * @note This is only supported by the following modem firmware:
356+ * - mfw_nrf9160 v1.3.7 or later
357+ * - mfw_nrf91x1 v2.0.2 or later
358+ * - mfw_nrf9151-ntn
335359 */
336360#define NRF_SO_IPV6_DELAYED_ADDR_REFRESH 62
337361/**
@@ -410,6 +434,10 @@ struct nrf_modem_sendcb {
410434 * timeout, given by the @ref NRF_SO_SNDTIMEO socket option, is reached. Valid timeout values are
411435 * 1 to 600 seconds.
412436 * This send flag cannot be used along with the @ref NRF_SO_SENDCB socket option.
437+ *
438+ * @note This is only supported by the following modem firmware:
439+ * - mfw_nrf91x1
440+ * - mfw_nrf9151-ntn
413441 */
414442#define NRF_MSG_WAITACK 0x200
415443/** @} */
@@ -555,11 +583,6 @@ struct nrf_modem_sendcb {
555583#define NRF_TLS_PSK_WITH_AES_128_CBC_SHA 0x008C
556584#define NRF_TLS_PSK_WITH_AES_128_CCM_8 0xC0A8 /**< TLS 1.2 */
557585#define NRF_TLS_EMPTY_RENEGOTIATIONINFO_SCSV 0x00FF
558- /** The following cipher suites are only supported with
559- * Modem firmware v1.3.x >= 1,
560- * Modem firmware v1.2.x >= 7 and
561- * Modem firmware v1.1.x >= 5.
562- */
563586#define NRF_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 0xC02B /**< TLS 1.2 */
564587#define NRF_TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 0xC030 /**< TLS 1.2 */
565588#define NRF_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 0xC02F /**< TLS 1.2 */
@@ -663,7 +686,9 @@ struct nrf_modem_sendcb {
663686 * @ref NRF_SEC_TAG_TLS_DECRYPT_19.
664687 * These security tags must be used only for test and development purposes.
665688 *
666- * @note Supported by modem firmware v2.0.0 or later.
689+ * @note This is only supported by the following modem firmware:
690+ * - mfw_nrf91x1
691+ * - mfw_nrf9151-ntn
667692 * @{
668693 */
669694#define NRF_SEC_TAG_TLS_DECRYPT_BASE 2147483648
0 commit comments