module_param(keep_alive_period, uint, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(keep_alive_period, "default is 10 seconds");
+
+struct wireless_dev *slsi_add_virtual_intf(struct wiphy *wiphy,
+ const char *name,
+ unsigned char name_assign_type,
+ enum nl80211_iftype type,
+ struct vif_params *params)
+{
+#if 0
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 9))
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 0))
struct wireless_dev *slsi_add_virtual_intf(struct wiphy *wiphy,
struct vif_params *params)
{
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 9)) */
+#endif
struct net_device *dev = NULL;
struct netdev_vif *ndev_vif = NULL;
- SLSI_UNUSED_PARAMETER(flags);
+ /* SLSI_UNUSED_PARAMETER(flags); */
SLSI_NET_DBG1(dev, SLSI_CFG80211, "Intf name:%d, type:%d, macaddr:%pM\n", name, type, params->macaddr);
dev = slsi_new_interface_create(wiphy, name, type, params);
if (!dev)
int slsi_change_virtual_intf(struct wiphy *wiphy,
struct net_device *dev,
- enum nl80211_iftype type, u32 *flags,
+ enum nl80211_iftype type,
+ /* u32 *flags, */
struct vif_params *params)
{
struct netdev_vif *ndev_vif = netdev_priv(dev);
int r = 0;
- SLSI_UNUSED_PARAMETER(flags);
+ /* SLSI_UNUSED_PARAMETER(flags); */
SLSI_MUTEX_LOCK(ndev_vif->vif_mutex);
return r;
}
-int slsi_sched_scan_stop(struct wiphy *wiphy, struct net_device *dev)
+int slsi_sched_scan_stop(struct wiphy *wiphy, struct net_device *dev, u64 reqid)
{
struct netdev_vif *ndev_vif = netdev_priv(dev);
struct slsi_dev *sdev = SDEV_FROM_WIPHY(wiphy);
int r = 0;
+ SLSI_UNUSED_PARAMETER(reqid);
SLSI_MUTEX_LOCK(ndev_vif->scan_mutex);
SLSI_NET_DBG1(dev, SLSI_CFG80211, "vif_index:%d", ndev_vif->ifnum);
if (!ndev_vif->scan[SLSI_SCAN_SCHED_ID].sched_req) {
wiphy->max_scan_ie_len = 2048;
/* Scheduled scanning support */
- wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN;
+ /* wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN; */
/* Match the maximum number of SSIDs that could be requested from wpa_supplicant */
wiphy->max_sched_scan_ssids = 16;