Lines Matching refs:ieee80211_ptr
185 if (netdev->ieee80211_ptr) in __cfg80211_rdev_from_attrs()
187 netdev->ieee80211_ptr->wiphy); in __cfg80211_rdev_from_attrs()
3010 if (netdev->ieee80211_ptr) { in nl80211_dump_wiphy_parse()
3012 netdev->ieee80211_ptr->wiphy); in nl80211_dump_wiphy_parse()
3313 wdev = dev->ieee80211_ptr; in __nl80211_set_channel()
3375 wdev_lock(netdev->ieee80211_ptr); in nl80211_set_channel()
3377 wdev_unlock(netdev->ieee80211_ptr); in nl80211_set_channel()
3410 if (netdev && netdev->ieee80211_ptr) in nl80211_set_wiphy()
3411 rdev = wiphy_to_rdev(netdev->ieee80211_ptr->wiphy); in nl80211_set_wiphy()
3427 wdev = netdev->ieee80211_ptr; in nl80211_set_wiphy()
3458 if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_wiphy()
3459 netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) { in nl80211_set_wiphy()
3486 wdev_lock(netdev->ieee80211_ptr); in nl80211_set_wiphy()
3488 !(netdev->ieee80211_ptr->valid_links & in nl80211_set_wiphy()
3492 !netdev->ieee80211_ptr->valid_links) in nl80211_set_wiphy()
3497 wdev_unlock(netdev->ieee80211_ptr); in nl80211_set_wiphy()
4122 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface()
4131 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_set_interface()
4171 dev->ieee80211_ptr->use_4addr = params.use_4addr; in nl80211_set_interface()
4174 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_set_interface()
4441 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_get_key()
4530 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_set_key()
4656 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_new_key()
4727 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_del_key()
4856 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_mac_acl()
4857 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_mac_acl()
4860 if (!dev->ieee80211_ptr->links[0].ap.beacon_interval) in nl80211_set_mac_acl()
5020 struct wireless_dev *wdev = dev->ieee80211_ptr; in he_get_txmcsmap()
5091 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_parse_tx_bitrate_mask()
5346 if (!tx_netdev || !tx_netdev->ieee80211_ptr || in nl80211_parse_mbssid_config()
5347 tx_netdev->ieee80211_ptr->wiphy != wiphy || in nl80211_parse_mbssid_config()
5348 tx_netdev->ieee80211_ptr->iftype != in nl80211_parse_mbssid_config()
5354 config->tx_wdev = tx_netdev->ieee80211_ptr; in nl80211_parse_mbssid_config()
5356 config->tx_wdev = dev->ieee80211_ptr; in nl80211_parse_mbssid_config()
5359 config->tx_wdev = dev->ieee80211_ptr; in nl80211_parse_mbssid_config()
5775 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_start_ap()
5779 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_start_ap()
5780 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_start_ap()
5808 err = cfg80211_validate_beacon_int(rdev, dev->ieee80211_ptr->iftype, in nl80211_start_ap()
5874 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) { in nl80211_start_ap()
5890 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) { in nl80211_start_ap()
6070 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_set_beacon()
6074 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_beacon()
6075 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_beacon()
6801 if (!v->ieee80211_ptr || v->ieee80211_ptr->wiphy != &rdev->wiphy) { in get_vlan()
6806 if (v->ieee80211_ptr->iftype != NL80211_IFTYPE_AP_VLAN && in get_vlan()
6807 v->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in get_vlan()
6808 v->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) { in get_vlan()
7040 if (parse_station_flags(info, dev->ieee80211_ptr->iftype, ¶ms)) in nl80211_set_station()
7094 switch (dev->ieee80211_ptr->iftype) { in nl80211_set_station()
7109 wdev_lock(dev->ieee80211_ptr); in nl80211_set_station()
7111 wdev_unlock(dev->ieee80211_ptr); in nl80211_set_station()
7124 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_new_station()
7181 dev->ieee80211_ptr->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_new_station()
7267 if (parse_station_flags(info, dev->ieee80211_ptr->iftype, ¶ms)) in nl80211_new_station()
7294 switch (dev->ieee80211_ptr->iftype) { in nl80211_new_station()
7379 wdev_lock(dev->ieee80211_ptr); in nl80211_new_station()
7397 wdev_unlock(dev->ieee80211_ptr); in nl80211_new_station()
7414 switch (dev->ieee80211_ptr->iftype) { in nl80211_del_station()
7455 wdev_lock(dev->ieee80211_ptr); in nl80211_del_station()
7457 wdev_unlock(dev->ieee80211_ptr); in nl80211_del_station()
7594 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_get_mpath()
7633 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_mpath()
7658 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_new_mpath()
7676 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_del_mpath()
7702 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_get_mpp()
7778 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_set_bss()
7814 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_bss()
7826 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_bss()
7838 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_bss()
7839 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_bss()
7904 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_get_mesh_config()
8284 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_update_mesh_config()
9656 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_start_sched_scan()
9735 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_start_radar_detection()
9817 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_notify_radar_detection()
9871 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_channel_switch()
9884 switch (dev->ieee80211_ptr->iftype) { in nl80211_channel_switch()
10479 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_authenticate()
10480 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_authenticate()
10550 wdev_lock(dev->ieee80211_ptr); in nl80211_authenticate()
10552 wdev_unlock(dev->ieee80211_ptr); in nl80211_authenticate()
10741 if (dev->ieee80211_ptr->conn_owner_nlportid && in nl80211_associate()
10742 dev->ieee80211_ptr->conn_owner_nlportid != info->snd_portid) in nl80211_associate()
10751 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_associate()
10752 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_associate()
10959 wdev_lock(dev->ieee80211_ptr); in nl80211_associate()
10964 dev->ieee80211_ptr->conn_owner_nlportid = in nl80211_associate()
10966 memcpy(dev->ieee80211_ptr->disconnect_bssid, in nl80211_associate()
10970 wdev_unlock(dev->ieee80211_ptr); in nl80211_associate()
10991 if (dev->ieee80211_ptr->conn_owner_nlportid && in nl80211_deauthenticate()
10992 dev->ieee80211_ptr->conn_owner_nlportid != info->snd_portid) in nl80211_deauthenticate()
11004 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_deauthenticate()
11005 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_deauthenticate()
11023 wdev_lock(dev->ieee80211_ptr); in nl80211_deauthenticate()
11026 wdev_unlock(dev->ieee80211_ptr); in nl80211_deauthenticate()
11039 if (dev->ieee80211_ptr->conn_owner_nlportid && in nl80211_disassociate()
11040 dev->ieee80211_ptr->conn_owner_nlportid != info->snd_portid) in nl80211_disassociate()
11052 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_disassociate()
11053 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_disassociate()
11071 wdev_lock(dev->ieee80211_ptr); in nl80211_disassociate()
11074 wdev_unlock(dev->ieee80211_ptr); in nl80211_disassociate()
11135 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC) in nl80211_join_ibss()
11253 wdev_lock(dev->ieee80211_ptr); in nl80211_join_ibss()
11258 dev->ieee80211_ptr->conn_owner_nlportid = info->snd_portid; in nl80211_join_ibss()
11259 wdev_unlock(dev->ieee80211_ptr); in nl80211_join_ibss()
11272 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC) in nl80211_leave_ibss()
11285 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC && in nl80211_set_mcast_rate()
11286 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT && in nl80211_set_mcast_rate()
11287 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in nl80211_set_mcast_rate()
11601 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_connect()
11602 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_connect()
11792 wdev_lock(dev->ieee80211_ptr); in nl80211_connect()
11800 dev->ieee80211_ptr->conn_owner_nlportid = info->snd_portid; in nl80211_connect()
11802 memcpy(dev->ieee80211_ptr->disconnect_bssid, in nl80211_connect()
11805 eth_zero_addr(dev->ieee80211_ptr->disconnect_bssid); in nl80211_connect()
11808 wdev_unlock(dev->ieee80211_ptr); in nl80211_connect()
11819 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_update_connect_params()
11884 wdev_lock(dev->ieee80211_ptr); in nl80211_update_connect_params()
11889 wdev_unlock(dev->ieee80211_ptr); in nl80211_update_connect_params()
11901 if (dev->ieee80211_ptr->conn_owner_nlportid && in nl80211_disconnect()
11902 dev->ieee80211_ptr->conn_owner_nlportid != info->snd_portid) in nl80211_disconnect()
11913 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_disconnect()
11914 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_disconnect()
11917 wdev_lock(dev->ieee80211_ptr); in nl80211_disconnect()
11919 wdev_unlock(dev->ieee80211_ptr); in nl80211_disconnect()
11996 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_setdel_pmksa()
11997 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT && in nl80211_setdel_pmksa()
11998 !(dev->ieee80211_ptr->iftype == NL80211_IFTYPE_AP && in nl80211_setdel_pmksa()
12026 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_flush_pmksa()
12027 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_flush_pmksa()
12210 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_set_tx_bitrate_mask()
12469 wdev = dev->ieee80211_ptr; in nl80211_set_power_save()
12495 wdev = dev->ieee80211_ptr; in nl80211_get_power_save()
12545 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_set_cqm_txe()
12563 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_cqm_rssi_update()
12630 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_set_cqm_rssi()
12873 wdev_lock(dev->ieee80211_ptr); in nl80211_join_mesh()
12876 dev->ieee80211_ptr->conn_owner_nlportid = info->snd_portid; in nl80211_join_mesh()
12877 wdev_unlock(dev->ieee80211_ptr); in nl80211_join_mesh()
13785 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_set_rekey_data()
13840 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_register_unexpected_frame()
13858 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_probe_client()
15037 wdev_lock(dev->ieee80211_ptr); in nl80211_set_qos_map()
15038 ret = nl80211_key_allowed(dev->ieee80211_ptr); in nl80211_set_qos_map()
15041 wdev_unlock(dev->ieee80211_ptr); in nl80211_set_qos_map()
15051 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_add_tx_ts()
15109 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_del_tx_ts()
15132 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_tdls_channel_switch()
15142 switch (dev->ieee80211_ptr->iftype) { in nl80211_tdls_channel_switch()
15192 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_tdls_cancel_channel_switch()
15200 switch (dev->ieee80211_ptr->iftype) { in nl80211_tdls_cancel_channel_switch()
15225 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_set_multicast_to_unicast()
15246 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_set_pmk()
15295 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_del_pmk()
15328 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_external_auth()
15329 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_external_auth()
15365 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_tx_control_port()
15439 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_get_ftm_responder_stats()
15536 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_probe_mesh_link()
15709 wdev_lock(dev->ieee80211_ptr); in nl80211_set_tid_config()
15732 wdev_unlock(dev->ieee80211_ptr); in nl80211_set_tid_config()
15741 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_color_change()
15866 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_add_link()
15902 struct wireless_dev *wdev = dev->ieee80211_ptr; in nl80211_remove_link()
16007 wdev_lock(dev->ieee80211_ptr); in nl80211_add_mod_link_station()
16012 wdev_unlock(dev->ieee80211_ptr); in nl80211_add_mod_link_station()
16047 wdev_lock(dev->ieee80211_ptr); in nl80211_remove_link_station()
16049 wdev_unlock(dev->ieee80211_ptr); in nl80211_remove_link_station()
17649 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_rx_unprot_mlme_mgmt()
18044 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_notify_new_peer_candidate()
18225 struct wireless_dev *wdev = netdev->ieee80211_ptr; in cfg80211_assoc_comeback()
18303 struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; in cfg80211_new_sta()
18327 struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; in cfg80211_del_sta_sinfo()
18358 struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; in cfg80211_conn_failed()
18392 struct wireless_dev *wdev = dev->ieee80211_ptr; in __nl80211_unexpected_frame()
18428 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_rx_spurious_frame()
18448 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_rx_unexpected_4addr_frame()
18599 struct wireless_dev *wdev = dev->ieee80211_ptr; in __nl80211_rx_control_port()
18662 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_prepare_cqm()
18716 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_cqm_rssi_notify()
18869 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_gtk_rekey_notify()
18926 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_pmksa_candidate_notify()
18943 struct wireless_dev *wdev = netdev->ieee80211_ptr; in nl80211_ch_switch_notify()
18989 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_ch_switch_notify()
19033 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_ch_switch_started_notify()
19052 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_bss_color_notify()
19117 struct wireless_dev *wdev = netdev->ieee80211_ptr; in nl80211_radar_notify()
19146 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_sta_opmode_change_notify()
19200 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_probe_status()
19464 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_tdls_oper_request()
19569 struct wiphy *wiphy = netdev->ieee80211_ptr->wiphy; in cfg80211_ft_event()
19682 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_external_auth_request()
19723 struct wiphy *wiphy = netdev->ieee80211_ptr->wiphy; in cfg80211_update_owe_info_event()