0001
0002
0003
0004
0005
0006
0007 #ifndef WILC_CFG80211_H
0008 #define WILC_CFG80211_H
0009 #include "netdev.h"
0010
0011 struct wiphy *wilc_cfg_alloc(void);
0012 int wilc_cfg80211_init(struct wilc **wilc, struct device *dev, int io_type,
0013 const struct wilc_hif_func *ops);
0014 struct wilc *wilc_create_wiphy(struct device *dev);
0015 void wilc_deinit_host_int(struct net_device *net);
0016 int wilc_init_host_int(struct net_device *net);
0017 void wilc_wfi_monitor_rx(struct net_device *mon_dev, u8 *buff, u32 size);
0018 struct wilc_vif *wilc_netdev_interface(struct wilc *wl, const char *name,
0019 enum nl80211_iftype type);
0020 void wilc_wfi_deinit_mon_interface(struct wilc *wl, bool rtnl_locked);
0021 struct net_device *wilc_wfi_init_mon_interface(struct wilc *wl,
0022 const char *name,
0023 struct net_device *real_dev);
0024 void wilc_update_mgmt_frame_registrations(struct wiphy *wiphy,
0025 struct wireless_dev *wdev,
0026 struct mgmt_frame_regs *upd);
0027 struct wilc_vif *wilc_get_interface(struct wilc *wl);
0028 struct wilc_vif *wilc_get_wl_to_vif(struct wilc *wl);
0029 void wlan_deinit_locks(struct wilc *wilc);
0030 #endif