/* * Copyright (c) 2021 iComm-semi Ltd. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ /* * Common defines and declarations for host driver and firmware for all * platforms. */ #ifndef __NETDEV_OPS_H__ #define __NETDEV_OPS_H__ /******************************************************************************* * Include Files ******************************************************************************/ /******************************************************************************* * Defines ******************************************************************************/ /******************************************************************************* * Enumerations ******************************************************************************/ /******************************************************************************* * Structures ******************************************************************************/ /******************************************************************************* * Variables ******************************************************************************/ /******************************************************************************* * Functions ******************************************************************************/ struct wireless_dev *ssv_interface_add(struct ssv_softc *sc, const char *name, enum nl80211_iftype type, struct vif_params *params); void ssv_netdev_setup(struct net_device *dev); #endif /* __NETDEV_OPS_H__ */