wifi: Remove unused defines

When the ops for PS parameters we removed and aggregated into a single
OP, the respective defines weren't cleaned up.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
Chaitanya Tata 2024-04-09 14:22:44 +05:30 committed by Carles Cufí
parent f579f408b7
commit 5997815352

View file

@ -66,16 +66,12 @@ enum net_request_wifi_cmd {
NET_REQUEST_WIFI_CMD_IFACE_STATUS,
/** Set power save status */
NET_REQUEST_WIFI_CMD_PS,
/** Set power save mode */
NET_REQUEST_WIFI_CMD_PS_MODE,
/** Setup or teardown TWT flow */
NET_REQUEST_WIFI_CMD_TWT,
/** Get power save config */
NET_REQUEST_WIFI_CMD_PS_CONFIG,
/** Set or get regulatory domain */
NET_REQUEST_WIFI_CMD_REG_DOMAIN,
/** Set power save timeout */
NET_REQUEST_WIFI_CMD_PS_TIMEOUT,
/** Set or get Mode of operation */
NET_REQUEST_WIFI_CMD_MODE,
/** Set or get packet filter setting for current mode */
@ -124,11 +120,6 @@ NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_WIFI_IFACE_STATUS);
NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_WIFI_PS);
#define NET_REQUEST_WIFI_PS_MODE \
(_NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_PS_MODE)
NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_WIFI_PS_MODE);
#define NET_REQUEST_WIFI_TWT \
(_NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_TWT)
@ -143,11 +134,6 @@ NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_WIFI_PS_CONFIG);
NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_WIFI_REG_DOMAIN);
#define NET_REQUEST_WIFI_PS_TIMEOUT \
(_NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_PS_TIMEOUT)
NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_WIFI_PS_TIMEOUT);
#define NET_REQUEST_WIFI_MODE \
(_NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_MODE)