1*5625f965SAjay Singh /* SPDX-License-Identifier: GPL-2.0 */ 2*5625f965SAjay Singh /* 3*5625f965SAjay Singh * Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries. 4*5625f965SAjay Singh * All rights reserved. 5*5625f965SAjay Singh */ 6*5625f965SAjay Singh 7*5625f965SAjay Singh #ifndef WILC_CFG80211_H 8*5625f965SAjay Singh #define WILC_CFG80211_H 9*5625f965SAjay Singh #include "netdev.h" 10*5625f965SAjay Singh 11*5625f965SAjay Singh int wilc_cfg80211_init(struct wilc **wilc, struct device *dev, int io_type, 12*5625f965SAjay Singh const struct wilc_hif_func *ops); 13*5625f965SAjay Singh struct wilc *wilc_create_wiphy(struct device *dev); 14*5625f965SAjay Singh void wilc_deinit_host_int(struct net_device *net); 15*5625f965SAjay Singh int wilc_init_host_int(struct net_device *net); 16*5625f965SAjay Singh void wilc_wfi_monitor_rx(struct net_device *mon_dev, u8 *buff, u32 size); 17*5625f965SAjay Singh void wilc_wfi_deinit_mon_interface(struct wilc *wl, bool rtnl_locked); 18*5625f965SAjay Singh struct net_device *wilc_wfi_init_mon_interface(struct wilc *wl, 19*5625f965SAjay Singh const char *name, 20*5625f965SAjay Singh struct net_device *real_dev); 21*5625f965SAjay Singh void wilc_update_mgmt_frame_registrations(struct wiphy *wiphy, 22*5625f965SAjay Singh struct wireless_dev *wdev, 23*5625f965SAjay Singh struct mgmt_frame_regs *upd); 24*5625f965SAjay Singh struct wilc_vif *wilc_get_wl_to_vif(struct wilc *wl); 25*5625f965SAjay Singh void wlan_deinit_locks(struct wilc *wilc); 26*5625f965SAjay Singh #endif 27