• Home
  • Raw
  • Download

Lines Matching refs:rdev

66 	struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);  in cfg80211_conn_scan()  local
72 if (rdev->scan_req || rdev->scan_msg) in cfg80211_conn_scan()
128 request->wiphy = &rdev->wiphy; in cfg80211_conn_scan()
131 rdev->scan_req = request; in cfg80211_conn_scan()
133 err = rdev_scan(rdev, request); in cfg80211_conn_scan()
136 nl80211_send_scan_start(rdev, wdev); in cfg80211_conn_scan()
139 rdev->scan_req = NULL; in cfg80211_conn_scan()
148 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_conn_do_work() local
168 if (WARN_ON(!rdev->ops->auth)) in cfg80211_conn_do_work()
175 auth_req.bss = cfg80211_get_bss(&rdev->wiphy, params->channel, in cfg80211_conn_do_work()
181 err = cfg80211_mlme_auth(rdev, wdev->netdev, &auth_req); in cfg80211_conn_do_work()
182 cfg80211_put_bss(&rdev->wiphy, auth_req.bss); in cfg80211_conn_do_work()
188 if (WARN_ON(!rdev->ops->assoc)) in cfg80211_conn_do_work()
204 req.bss = cfg80211_get_bss(&rdev->wiphy, params->channel, in cfg80211_conn_do_work()
212 err = cfg80211_mlme_assoc(rdev, wdev->netdev, &req); in cfg80211_conn_do_work()
213 cfg80211_put_bss(&rdev->wiphy, req.bss); in cfg80211_conn_do_work()
217 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, in cfg80211_conn_do_work()
226 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, in cfg80211_conn_do_work()
231 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, in cfg80211_conn_do_work()
246 struct cfg80211_registered_device *rdev = in cfg80211_conn_work() local
252 wiphy_lock(&rdev->wiphy); in cfg80211_conn_work()
254 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in cfg80211_conn_work()
285 wiphy_unlock(&rdev->wiphy); in cfg80211_conn_work()
300 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_get_conn_bss() local
315 schedule_work(&rdev->conn_work); in cfg80211_get_conn_bss()
323 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in __cfg80211_sme_scan_done() local
337 cfg80211_put_bss(&rdev->wiphy, bss); in __cfg80211_sme_scan_done()
339 schedule_work(&rdev->conn_work); in __cfg80211_sme_scan_done()
354 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_sme_rx_auth() local
387 schedule_work(&rdev->conn_work); in cfg80211_sme_rx_auth()
398 schedule_work(&rdev->conn_work); in cfg80211_sme_rx_auth()
404 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_sme_rx_assoc_resp() local
422 schedule_work(&rdev->conn_work); in cfg80211_sme_rx_assoc_resp()
427 schedule_work(&rdev->conn_work); in cfg80211_sme_rx_assoc_resp()
438 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_sme_auth_timeout() local
444 schedule_work(&rdev->conn_work); in cfg80211_sme_auth_timeout()
449 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_sme_disassoc() local
455 schedule_work(&rdev->conn_work); in cfg80211_sme_disassoc()
460 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_sme_assoc_timeout() local
466 schedule_work(&rdev->conn_work); in cfg80211_sme_assoc_timeout()
471 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_sme_abandon_assoc() local
477 schedule_work(&rdev->conn_work); in cfg80211_sme_abandon_assoc()
513 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_sme_get_conn_ies() local
517 if (!rdev->wiphy.extended_capabilities_len || in cfg80211_sme_get_conn_ies()
526 buf = kmalloc(ies_len + rdev->wiphy.extended_capabilities_len + 2, in cfg80211_sme_get_conn_ies()
546 memcpy(buf + offs + rdev->wiphy.extended_capabilities_len + 2, in cfg80211_sme_get_conn_ies()
554 buf[offs + 1] = rdev->wiphy.extended_capabilities_len; in cfg80211_sme_get_conn_ies()
556 rdev->wiphy.extended_capabilities, in cfg80211_sme_get_conn_ies()
557 rdev->wiphy.extended_capabilities_len); in cfg80211_sme_get_conn_ies()
560 *out_ies_len = ies_len + rdev->wiphy.extended_capabilities_len + 2; in cfg80211_sme_get_conn_ies()
569 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_sme_connect() local
573 if (!rdev->ops->auth || !rdev->ops->assoc) in cfg80211_sme_connect()
663 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_sme_disconnect() local
669 if (!rdev->ops->deauth) in cfg80211_sme_disconnect()
679 err = cfg80211_mlme_deauth(rdev, wdev->netdev, in cfg80211_sme_disconnect()
693 struct cfg80211_registered_device *rdev; in cfg80211_is_all_idle() local
705 list_for_each_entry(rdev, &cfg80211_rdev_list, list) { in cfg80211_is_all_idle()
706 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in cfg80211_is_all_idle()
938 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_update_link_bss() local
969 cfg80211_bss_update(rdev, ibss, false, in cfg80211_update_link_bss()
983 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_connect_done() local
1083 queue_work(cfg80211_wq, &rdev->event_work); in cfg80211_connect_done()
1180 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_roamed() local
1288 queue_work(cfg80211_wq, &rdev->event_work); in cfg80211_roamed()
1319 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_port_authorized() local
1343 queue_work(cfg80211_wq, &rdev->event_work); in cfg80211_port_authorized()
1351 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in __cfg80211_disconnected() local
1371 nl80211_send_disconnected(rdev, dev, reason, ie, ie_len, from_ap); in __cfg80211_disconnected()
1374 if (rdev->ops->crit_proto_stop && rdev->crit_proto_nlportid) { in __cfg80211_disconnected()
1375 rdev->crit_proto_nlportid = 0; in __cfg80211_disconnected()
1376 rdev_crit_proto_stop(rdev, wdev); in __cfg80211_disconnected()
1383 if (rdev->ops->del_key) { in __cfg80211_disconnected()
1394 rdev_del_key(rdev, dev, -1, i, false, NULL); in __cfg80211_disconnected()
1397 rdev_set_qos_map(rdev, dev, NULL); in __cfg80211_disconnected()
1414 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_disconnected() local
1432 queue_work(cfg80211_wq, &rdev->event_work); in cfg80211_disconnected()
1439 int cfg80211_connect(struct cfg80211_registered_device *rdev, in cfg80211_connect() argument
1481 rdev->wiphy.ht_capa_mod_mask); in cfg80211_connect()
1483 rdev->wiphy.vht_capa_mod_mask); in cfg80211_connect()
1529 if (!rdev->ops->connect) in cfg80211_connect()
1532 err = rdev_connect(rdev, dev, connect); in cfg80211_connect()
1548 int cfg80211_disconnect(struct cfg80211_registered_device *rdev, in cfg80211_disconnect() argument
1563 else if (!rdev->ops->disconnect) in cfg80211_disconnect()
1564 cfg80211_mlme_down(rdev, dev); in cfg80211_disconnect()
1566 err = rdev_disconnect(rdev, dev, reason); in cfg80211_disconnect()
1587 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_autodisconnect_wk() local
1595 __cfg80211_leave_ibss(rdev, wdev->netdev, false); in cfg80211_autodisconnect_wk()
1599 __cfg80211_stop_ap(rdev, wdev->netdev, -1, false); in cfg80211_autodisconnect_wk()
1602 __cfg80211_leave_mesh(rdev, wdev->netdev); in cfg80211_autodisconnect_wk()
1611 if (rdev->ops->disconnect || wdev->connected) in cfg80211_autodisconnect_wk()
1612 cfg80211_disconnect(rdev, wdev->netdev, in cfg80211_autodisconnect_wk()
1616 cfg80211_mlme_deauth(rdev, wdev->netdev, in cfg80211_autodisconnect_wk()