Skip to content
Commit bc5432bd authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Marti Bolivar
Browse files

wifi: simplelink: implement 'is_supported' socket offload cb



Check if requested socket family, type and protocol are all supported by
the driver, instead of blindly acknowledging every possible variant.

Reuse switch statements checking valid parameter values that were
already part of simplelink_socket() function, by creating 3 helper
functions for conversion of each parameter (family, type and protocol)
from Zephyr to Simplelink values.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@emb.dev>
parent 9531db73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment