// SPDX-License-Identifier: GPL-2.0-only /* * This file is part of wl1251 * * Copyright (C) 2008 Nokia Corporation */ #include "reg.h" #include "ps.h" #include "cmd.h" #include "io.h" /* in ms */ #define WL1251_WAKEUP_TIMEOUT … void wl1251_elp_work(struct work_struct *work) { … } #define ELP_ENTRY_DELAY … /* Routines to toggle sleep mode while in ELP */ void wl1251_ps_elp_sleep(struct wl1251 *wl) { … } int wl1251_ps_elp_wakeup(struct wl1251 *wl) { … } int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode) { … }