cfg80211.h 1.2 KB

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