Skip to content

Commit 3b6c6e0

Browse files
MirkoCovizzirlubos
authored andcommitted
[nrf noup] include: net: socket_ncs: remove deprecated RAI
nrf-squash! [nrf noup] include: net: add NCS extensions This commit removes deprecated RAI socket options. Signed-off-by: Mirko Covizzi <[email protected]>
1 parent 9819457 commit 3b6c6e0

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

include/zephyr/net/socket_ncs.h

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -77,41 +77,6 @@ extern "C" {
7777
#define SO_KEEPOPEN 34
7878
/** sockopt: bind to PDN */
7979
#define SO_BINDTOPDN 40
80-
/** sockopt: Release Assistance Indication feature: This will indicate that the
81-
* application will not send any more data.
82-
*
83-
* @note This socket option requires the socket to be connected.
84-
*
85-
* @deprecated use @ref SO_RAI with value @ref RAI_NO_DATA instead.
86-
*/
87-
#define SO_RAI_NO_DATA 50
88-
/** sockopt: Release Assistance Indication feature: This will indicate that the
89-
* next call to send/sendto will be the last one for some time.
90-
*
91-
* @deprecated use @ref SO_RAI with value @ref RAI_LAST instead.
92-
*/
93-
#define SO_RAI_LAST 51
94-
/** sockopt: Release Assistance Indication feature: This will indicate that
95-
* after the next call to send/sendto, the application is expecting to receive
96-
* one more data packet before this socket will not be used again for some time.
97-
*
98-
* @deprecated use @ref SO_RAI with value @ref RAI_ONE_RESP instead.
99-
*/
100-
#define SO_RAI_ONE_RESP 52
101-
/** sockopt: Release Assistance Indication feature: If a client application
102-
* expects to use the socket more it can indicate that by setting this socket
103-
* option before the next send call which will keep the network up longer.
104-
*
105-
* @deprecated use @ref SO_RAI with value @ref RAI_ONGOING instead.
106-
*/
107-
#define SO_RAI_ONGOING 53
108-
/** sockopt: Release Assistance Indication feature: If a server application
109-
* expects to use the socket more it can indicate that by setting this socket
110-
* option before the next send call.
111-
*
112-
* @deprecated use @ref SO_RAI with value @ref RAI_WAIT_MORE instead.
113-
*/
114-
#define SO_RAI_WAIT_MORE 54
11580

11681
/** sockopt: Release assistance indication (RAI).
11782
* The option accepts an integer, indicating the type of RAI.

0 commit comments

Comments
 (0)