Lines Matching refs:wiphy

174 static int wil_cfg80211_get_station(struct wiphy *wiphy,  in wil_cfg80211_get_station()  argument
178 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_get_station()
210 static int wil_cfg80211_dump_station(struct wiphy *wiphy, in wil_cfg80211_dump_station() argument
214 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_dump_station()
229 static int wil_cfg80211_change_iface(struct wiphy *wiphy, in wil_cfg80211_change_iface() argument
234 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_change_iface()
259 static int wil_cfg80211_scan(struct wiphy *wiphy, in wil_cfg80211_scan() argument
262 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_scan()
379 static int wil_cfg80211_connect(struct wiphy *wiphy, in wil_cfg80211_connect() argument
383 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_connect()
411 bss = cfg80211_get_bss(wiphy, sme->channel, sme->bssid, in wil_cfg80211_connect()
498 cfg80211_put_bss(wiphy, bss); in wil_cfg80211_connect()
503 static int wil_cfg80211_disconnect(struct wiphy *wiphy, in wil_cfg80211_disconnect() argument
508 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_disconnect()
515 int wil_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, in wil_cfg80211_mgmt_tx() argument
521 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_mgmt_tx()
553 static int wil_cfg80211_set_channel(struct wiphy *wiphy, in wil_cfg80211_set_channel() argument
556 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_set_channel()
564 static int wil_cfg80211_add_key(struct wiphy *wiphy, in wil_cfg80211_add_key() argument
570 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_add_key()
580 static int wil_cfg80211_del_key(struct wiphy *wiphy, in wil_cfg80211_del_key() argument
585 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_del_key()
595 static int wil_cfg80211_set_default_key(struct wiphy *wiphy, in wil_cfg80211_set_default_key() argument
603 static int wil_remain_on_channel(struct wiphy *wiphy, in wil_remain_on_channel() argument
609 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_remain_on_channel()
624 static int wil_cancel_remain_on_channel(struct wiphy *wiphy, in wil_cancel_remain_on_channel() argument
628 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cancel_remain_on_channel()
678 static int wil_cfg80211_change_beacon(struct wiphy *wiphy, in wil_cfg80211_change_beacon() argument
682 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_change_beacon()
717 static int wil_cfg80211_start_ap(struct wiphy *wiphy, in wil_cfg80211_start_ap() argument
722 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_start_ap()
802 static int wil_cfg80211_stop_ap(struct wiphy *wiphy, in wil_cfg80211_stop_ap() argument
805 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_stop_ap()
827 static int wil_cfg80211_del_station(struct wiphy *wiphy, in wil_cfg80211_del_station() argument
831 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_del_station()
901 static int wil_cfg80211_probe_client(struct wiphy *wiphy, in wil_cfg80211_probe_client() argument
905 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_probe_client()
930 static int wil_cfg80211_change_bss(struct wiphy *wiphy, in wil_cfg80211_change_bss() argument
934 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_change_bss()
968 static void wil_wiphy_init(struct wiphy *wiphy) in wil_wiphy_init() argument
971 wiphy->max_scan_ssids = 10; in wil_wiphy_init()
972 wiphy->max_scan_ie_len = WMI_MAX_IE_LEN; in wil_wiphy_init()
973 wiphy->max_num_pmkids = 0 /* TODO: */; in wil_wiphy_init()
974 wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | in wil_wiphy_init()
980 wiphy->flags |= WIPHY_FLAG_HAVE_AP_SME | in wil_wiphy_init()
982 dev_dbg(wiphy_dev(wiphy), "%s : flags = 0x%08x\n", in wil_wiphy_init()
983 __func__, wiphy->flags); in wil_wiphy_init()
984 wiphy->probe_resp_offload = in wil_wiphy_init()
989 wiphy->bands[IEEE80211_BAND_60GHZ] = &wil_band_60ghz; in wil_wiphy_init()
992 wiphy->signal_type = CFG80211_SIGNAL_TYPE_UNSPEC; in wil_wiphy_init()
994 wiphy->cipher_suites = wil_cipher_suites; in wil_wiphy_init()
995 wiphy->n_cipher_suites = ARRAY_SIZE(wil_cipher_suites); in wil_wiphy_init()
996 wiphy->mgmt_stypes = wil_mgmt_stypes; in wil_wiphy_init()
997 wiphy->features |= NL80211_FEATURE_SK_TX_STATUS; in wil_wiphy_init()
1011 wdev->wiphy = wiphy_new(&wil_cfg80211_ops, in wil_cfg80211_init()
1013 if (!wdev->wiphy) { in wil_cfg80211_init()
1018 set_wiphy_dev(wdev->wiphy, dev); in wil_cfg80211_init()
1019 wil_wiphy_init(wdev->wiphy); in wil_cfg80211_init()
1021 rc = wiphy_register(wdev->wiphy); in wil_cfg80211_init()
1028 wiphy_free(wdev->wiphy); in wil_cfg80211_init()
1044 wiphy_unregister(wdev->wiphy); in wil_wdev_free()
1045 wiphy_free(wdev->wiphy); in wil_wdev_free()