/* * Copyright (c) 2014 Redpine Signals Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include <linux/etherdevice.h> #include <linux/if.h> #include "rsi_debugfs.h" #include "rsi_mgmt.h" #include "rsi_common.h" #include "rsi_ps.h" char *str_psstate(enum ps_state state) { … } static inline void rsi_modify_ps_state(struct rsi_hw *adapter, enum ps_state nstate) { … } void rsi_default_ps_params(struct rsi_hw *adapter) { … } void rsi_enable_ps(struct rsi_hw *adapter, struct ieee80211_vif *vif) { … } /* This function is used to disable power save */ void rsi_disable_ps(struct rsi_hw *adapter, struct ieee80211_vif *vif) { … } void rsi_conf_uapsd(struct rsi_hw *adapter, struct ieee80211_vif *vif) { … } int rsi_handle_ps_confirm(struct rsi_hw *adapter, u8 *msg) { … }