1*8e84c258SEugene Krasnikov /* 2*8e84c258SEugene Krasnikov * Copyright (c) 2013 Eugene Krasnikov <k.eugene.e@gmail.com> 3*8e84c258SEugene Krasnikov * 4*8e84c258SEugene Krasnikov * Permission to use, copy, modify, and/or distribute this software for any 5*8e84c258SEugene Krasnikov * purpose with or without fee is hereby granted, provided that the above 6*8e84c258SEugene Krasnikov * copyright notice and this permission notice appear in all copies. 7*8e84c258SEugene Krasnikov * 8*8e84c258SEugene Krasnikov * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9*8e84c258SEugene Krasnikov * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10*8e84c258SEugene Krasnikov * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 11*8e84c258SEugene Krasnikov * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12*8e84c258SEugene Krasnikov * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 13*8e84c258SEugene Krasnikov * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 14*8e84c258SEugene Krasnikov * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15*8e84c258SEugene Krasnikov */ 16*8e84c258SEugene Krasnikov 17*8e84c258SEugene Krasnikov #ifndef _WCN36XX_PMC_H_ 18*8e84c258SEugene Krasnikov #define _WCN36XX_PMC_H_ 19*8e84c258SEugene Krasnikov 20*8e84c258SEugene Krasnikov struct wcn36xx; 21*8e84c258SEugene Krasnikov 22*8e84c258SEugene Krasnikov enum wcn36xx_power_state { 23*8e84c258SEugene Krasnikov WCN36XX_FULL_POWER, 24*8e84c258SEugene Krasnikov WCN36XX_BMPS 25*8e84c258SEugene Krasnikov }; 26*8e84c258SEugene Krasnikov 27*8e84c258SEugene Krasnikov int wcn36xx_pmc_enter_bmps_state(struct wcn36xx *wcn, 28*8e84c258SEugene Krasnikov struct ieee80211_vif *vif); 29*8e84c258SEugene Krasnikov int wcn36xx_pmc_exit_bmps_state(struct wcn36xx *wcn, 30*8e84c258SEugene Krasnikov struct ieee80211_vif *vif); 31*8e84c258SEugene Krasnikov int wcn36xx_enable_keep_alive_null_packet(struct wcn36xx *wcn, 32*8e84c258SEugene Krasnikov struct ieee80211_vif *vif); 33*8e84c258SEugene Krasnikov #endif /* _WCN36XX_PMC_H_ */ 34