Skip to content

Commit 5df4b3f

Browse files
MirkoCovizzirlubos
authored andcommitted
lib: nrf_modem_lib: nrf91_sockets: remove deprecated RAI
Remove deprecated RAI socket options. Signed-off-by: Mirko Covizzi <[email protected]>
1 parent 634c88c commit 5df4b3f

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,10 @@ Modem libraries
575575

576576
* Fixed a potential issue with scanf in the :c:func:`modem_info_get_current_band` function, which could lead to memory corruption.
577577

578+
* :ref:`nrf_modem_lib_readme` library:
579+
580+
* Removed support for deprecated RAI socket options ``SO_RAI_LAST``, ``SO_RAI_NO_DATA``, ``SO_RAI_ONE_RESP``, ``SO_RAI_ONGOING``, and ``SO_RAI_WAIT_MORE``.
581+
578582
Multiprotocol Service Layer libraries
579583
-------------------------------------
580584

lib/nrf_modem_lib/nrf9x_sockets.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -216,23 +216,6 @@ static int z_to_nrf_optname(int z_in_level, int z_in_optname,
216216
case SO_REUSEADDR:
217217
*nrf_out_optname = NRF_SO_REUSEADDR;
218218
break;
219-
220-
/* SO_RAI_* and NRF_SO_RAI_* are deprecated */
221-
case SO_RAI_LAST:
222-
*nrf_out_optname = NRF_SO_RAI_LAST;
223-
break;
224-
case SO_RAI_NO_DATA:
225-
*nrf_out_optname = NRF_SO_RAI_NO_DATA;
226-
break;
227-
case SO_RAI_ONE_RESP:
228-
*nrf_out_optname = NRF_SO_RAI_ONE_RESP;
229-
break;
230-
case SO_RAI_ONGOING:
231-
*nrf_out_optname = NRF_SO_RAI_ONGOING;
232-
break;
233-
case SO_RAI_WAIT_MORE:
234-
*nrf_out_optname = NRF_SO_RAI_WAIT_MORE;
235-
break;
236219
case SO_RAI:
237220
*nrf_out_optname = NRF_SO_RAI;
238221
break;

0 commit comments

Comments
 (0)