/* * Copyright (c) 2012 Qualcomm Atheros, 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/export.h> #include "ath9k.h" #include "reg.h" #include "reg_wow.h" #include "hw-ops.h" static void ath9k_hw_set_sta_powersave(struct ath_hw *ah) { … } static void ath9k_hw_set_powermode_wow_sleep(struct ath_hw *ah) { … } static void ath9k_wow_create_keep_alive_pattern(struct ath_hw *ah) { … } int ath9k_hw_wow_apply_pattern(struct ath_hw *ah, u8 *user_pattern, u8 *user_mask, int pattern_count, int pattern_len) { … } EXPORT_SYMBOL(…); u32 ath9k_hw_wow_wakeup(struct ath_hw *ah) { … } EXPORT_SYMBOL(…); static void ath9k_hw_wow_set_arwr_reg(struct ath_hw *ah) { … } void ath9k_hw_wow_enable(struct ath_hw *ah, u32 pattern_enable) { … } EXPORT_SYMBOL(…);