Lines Matching refs:wdev
197 mwifiex_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, in mwifiex_cfg80211_mgmt_tx() argument
206 struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); in mwifiex_cfg80211_mgmt_tx()
248 cfg80211_mgmt_tx_status(wdev, *cookie, buf, len, true, in mwifiex_cfg80211_mgmt_tx()
262 struct wireless_dev *wdev, in mwifiex_cfg80211_mgmt_frame_register() argument
265 struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); in mwifiex_cfg80211_mgmt_frame_register()
287 struct wireless_dev *wdev, in mwifiex_cfg80211_remain_on_channel() argument
291 struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); in mwifiex_cfg80211_remain_on_channel()
314 cfg80211_ready_on_channel(wdev, *cookie, chan, in mwifiex_cfg80211_remain_on_channel()
329 struct wireless_dev *wdev, u64 cookie) in mwifiex_cfg80211_cancel_remain_on_channel() argument
331 struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); in mwifiex_cfg80211_cancel_remain_on_channel()
341 cfg80211_remain_on_channel_expired(wdev, cookie, in mwifiex_cfg80211_cancel_remain_on_channel()
359 struct wireless_dev *wdev, in mwifiex_cfg80211_set_tx_power() argument
804 priv->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in mwifiex_deinit_priv_params()
822 priv->wdev.iftype = type; in mwifiex_init_new_priv_params()
1997 chan = __ieee80211_get_channel(priv->wdev.wiphy, in mwifiex_cfg80211_inform_ibss_bss()
2001 bss = cfg80211_inform_bss(priv->wdev.wiphy, chan, in mwifiex_cfg80211_inform_ibss_bss()
2006 cfg80211_put_bss(priv->wdev.wiphy, bss); in mwifiex_cfg80211_inform_ibss_bss()
2128 bss = cfg80211_get_bss(priv->wdev.wiphy, channel, in mwifiex_cfg80211_assoc()
2133 bss = cfg80211_get_bss(priv->wdev.wiphy, channel, in mwifiex_cfg80211_assoc()
2190 if (priv->wdev.current_bss) { in mwifiex_cfg80211_connect()
2392 struct net_device *dev = request->wdev->netdev; in mwifiex_cfg80211_scan()
2618 priv->wdev.wiphy = wiphy; in mwifiex_add_virtual_intf()
2619 priv->wdev.iftype = NL80211_IFTYPE_STATION; in mwifiex_add_virtual_intf()
2648 priv->wdev.wiphy = wiphy; in mwifiex_add_virtual_intf()
2649 priv->wdev.iftype = NL80211_IFTYPE_AP; in mwifiex_add_virtual_intf()
2675 priv->wdev.wiphy = wiphy; in mwifiex_add_virtual_intf()
2679 priv->wdev.iftype = NL80211_IFTYPE_P2P_CLIENT; in mwifiex_add_virtual_intf()
2695 memset(&priv->wdev, 0, sizeof(priv->wdev)); in mwifiex_add_virtual_intf()
2696 priv->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in mwifiex_add_virtual_intf()
2712 memset(&priv->wdev, 0, sizeof(priv->wdev)); in mwifiex_add_virtual_intf()
2713 priv->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in mwifiex_add_virtual_intf()
2735 dev->ieee80211_ptr = &priv->wdev; in mwifiex_add_virtual_intf()
2757 memset(&priv->wdev, 0, sizeof(priv->wdev)); in mwifiex_add_virtual_intf()
2758 priv->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in mwifiex_add_virtual_intf()
2772 memset(&priv->wdev, 0, sizeof(priv->wdev)); in mwifiex_add_virtual_intf()
2773 priv->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in mwifiex_add_virtual_intf()
2788 memset(&priv->wdev, 0, sizeof(priv->wdev)); in mwifiex_add_virtual_intf()
2789 priv->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in mwifiex_add_virtual_intf()
2822 return &priv->wdev; in mwifiex_add_virtual_intf()
2829 int mwifiex_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev) in mwifiex_del_virtual_intf() argument
2831 struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); in mwifiex_del_virtual_intf()
2847 if (wdev->netdev->reg_state == NETREG_REGISTERED) in mwifiex_del_virtual_intf()
2848 unregister_netdevice(wdev->netdev); in mwifiex_del_virtual_intf()
2864 priv->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in mwifiex_del_virtual_intf()
3509 if (priv->wdev.cac_started) in mwifiex_cfg80211_channel_switch()
3553 struct wireless_dev *wdev, in mwifiex_cfg80211_get_channel() argument
3556 struct mwifiex_private *priv = mwifiex_netdev_get_priv(wdev->netdev); in mwifiex_cfg80211_get_channel()