Lines Matching refs:ops
398 struct wiphy *wiphy_new_nm(const struct cfg80211_ops *ops, int sizeof_priv, in wiphy_new_nm() argument
406 WARN_ON(ops->add_key && (!ops->del_key || !ops->set_default_key)); in wiphy_new_nm()
407 WARN_ON(ops->auth && (!ops->assoc || !ops->deauth || !ops->disassoc)); in wiphy_new_nm()
408 WARN_ON(ops->connect && !ops->disconnect); in wiphy_new_nm()
409 WARN_ON(ops->join_ibss && !ops->leave_ibss); in wiphy_new_nm()
410 WARN_ON(ops->add_virtual_intf && !ops->del_virtual_intf); in wiphy_new_nm()
411 WARN_ON(ops->add_station && !ops->del_station); in wiphy_new_nm()
412 WARN_ON(ops->add_mpath && !ops->del_mpath); in wiphy_new_nm()
413 WARN_ON(ops->join_mesh && !ops->leave_mesh); in wiphy_new_nm()
414 WARN_ON(ops->start_p2p_device && !ops->stop_p2p_device); in wiphy_new_nm()
415 WARN_ON(ops->start_ap && !ops->stop_ap); in wiphy_new_nm()
416 WARN_ON(ops->join_ocb && !ops->leave_ocb); in wiphy_new_nm()
417 WARN_ON(ops->suspend && !ops->resume); in wiphy_new_nm()
418 WARN_ON(ops->sched_scan_start && !ops->sched_scan_stop); in wiphy_new_nm()
419 WARN_ON(ops->remain_on_channel && !ops->cancel_remain_on_channel); in wiphy_new_nm()
420 WARN_ON(ops->tdls_channel_switch && !ops->tdls_cancel_channel_switch); in wiphy_new_nm()
421 WARN_ON(ops->add_tx_ts && !ops->del_tx_ts); in wiphy_new_nm()
429 rdev->ops = ops; in wiphy_new_nm()
667 (!rdev->ops->tdls_channel_switch || in wiphy_register()
668 !rdev->ops->tdls_cancel_channel_switch))) in wiphy_register()
672 (!rdev->ops->start_nan || !rdev->ops->stop_nan || in wiphy_register()
673 !rdev->ops->add_nan_func || !rdev->ops->del_nan_func || in wiphy_register()
756 !rdev->ops->set_mac_acl))) in wiphy_register()
768 (!rdev->ops->set_pmk || !rdev->ops->del_pmk))) in wiphy_register()
772 rdev->ops->update_connect_params)) in wiphy_register()
967 if (!rdev->ops->rfkill_poll) in wiphy_rfkill_start_polling()
1032 if (rdev->wiphy.wowlan_config && rdev->ops->set_wakeup) in wiphy_unregister()
1370 rdev->ops->set_power_mgmt && in cfg80211_netdev_notifier_call()