18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * Copyright (c) 2013 Eugene Krasnikov <k.eugene.e@gmail.com> 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Permission to use, copy, modify, and/or distribute this software for any 58c2ecf20Sopenharmony_ci * purpose with or without fee is hereby granted, provided that the above 68c2ecf20Sopenharmony_ci * copyright notice and this permission notice appear in all copies. 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 98c2ecf20Sopenharmony_ci * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 108c2ecf20Sopenharmony_ci * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 118c2ecf20Sopenharmony_ci * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 128c2ecf20Sopenharmony_ci * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 138c2ecf20Sopenharmony_ci * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 148c2ecf20Sopenharmony_ci * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 158c2ecf20Sopenharmony_ci */ 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#ifndef _WCN36XX_PMC_H_ 188c2ecf20Sopenharmony_ci#define _WCN36XX_PMC_H_ 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_cistruct wcn36xx; 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_cienum wcn36xx_power_state { 238c2ecf20Sopenharmony_ci WCN36XX_FULL_POWER, 248c2ecf20Sopenharmony_ci WCN36XX_BMPS 258c2ecf20Sopenharmony_ci}; 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciint wcn36xx_pmc_enter_bmps_state(struct wcn36xx *wcn, 288c2ecf20Sopenharmony_ci struct ieee80211_vif *vif); 298c2ecf20Sopenharmony_ciint wcn36xx_pmc_exit_bmps_state(struct wcn36xx *wcn, 308c2ecf20Sopenharmony_ci struct ieee80211_vif *vif); 318c2ecf20Sopenharmony_ciint wcn36xx_enable_keep_alive_null_packet(struct wcn36xx *wcn, 328c2ecf20Sopenharmony_ci struct ieee80211_vif *vif); 338c2ecf20Sopenharmony_ci#endif /* _WCN36XX_PMC_H_ */ 34