| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | p2p.c | 18 struct wil_p2p_info *p2p = &vif->p2p; in wil_p2p_start_listen() local 19 u8 channel = p2p->listen_chan.hw_value; in wil_p2p_start_listen() 42 INIT_WORK(&p2p->discovery_expired_work, wil_p2p_listen_expired); in wil_p2p_start_listen() 43 mod_timer(&p2p->discovery_timer, in wil_p2p_start_listen() 44 jiffies + msecs_to_jiffies(p2p->listen_duration)); in wil_p2p_start_listen() 64 struct wil_p2p_info *p2p = &vif->p2p; in wil_p2p_search() local 70 if (p2p->discovery_started) { in wil_p2p_search() 112 p2p->discovery_started = 1; in wil_p2p_search() 113 INIT_WORK(&p2p->discovery_expired_work, wil_p2p_search_expired); in wil_p2p_search() 114 mod_timer(&p2p->discovery_timer, in wil_p2p_search() [all …]
|
| H A D | netdev.c | 204 timer_delete_sync(&vif->p2p.discovery_timer); in wil_vif_deinit() 206 cancel_work_sync(&vif->p2p.discovery_expired_work); in wil_vif_deinit() 207 cancel_work_sync(&vif->p2p.delayed_listen_work); in wil_vif_deinit() 257 p2p.discovery_timer); in wil_p2p_discovery_timer_fn() 262 schedule_work(&vif->p2p.discovery_expired_work); in wil_p2p_discovery_timer_fn() 273 timer_setup(&vif->p2p.discovery_timer, wil_p2p_discovery_timer_fn, 0); in wil_vif_init() 277 INIT_WORK(&vif->p2p.discovery_expired_work, wil_p2p_listen_expired); in wil_vif_init() 278 INIT_WORK(&vif->p2p.delayed_listen_work, wil_p2p_delayed_listen_work); in wil_vif_init()
|
| H A D | Makefile | 22 wil6210-y += p2p.o
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | p2p.c | 19 #include "p2p.h" 23 /* parameters used for p2p escan */ 211 * brcmf_p2p_is_pub_action() - true if p2p public type frame. 216 * Determine if action frame is p2p public action type 267 * brcmf_p2p_is_p2p_action() - true if p2p action type frame. 272 * Determine if action frame is p2p action type 294 * brcmf_p2p_is_gas_action() - true if p2p gas action type frame. 299 * Determine if action frame is p2p gas action type 331 * Print information about the p2p action frame 482 * @p2p 489 brcmf_p2p_generate_bss_mac(struct brcmf_p2p_info * p2p,u8 * dev_addr) brcmf_p2p_generate_bss_mac() argument 586 brcmf_p2p_deinit_discovery(struct brcmf_p2p_info * p2p) brcmf_p2p_deinit_discovery() argument 610 brcmf_p2p_enable_discovery(struct brcmf_p2p_info * p2p) brcmf_p2p_enable_discovery() argument 669 brcmf_p2p_escan(struct brcmf_p2p_info * p2p,u32 num_chans,u16 chanspecs[],s32 search_state,enum p2p_bss_type bss_type) brcmf_p2p_escan() argument 802 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_run_escan() local 922 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_scan_prep() local 957 brcmf_p2p_discover_listen(struct brcmf_p2p_info * p2p,u16 channel,u32 duration) brcmf_p2p_discover_listen() argument 1005 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_remain_on_channel() local 1042 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_notify_listen_complete() local 1088 brcmf_p2p_act_frm_search(struct brcmf_p2p_info * p2p,u16 channel) brcmf_p2p_act_frm_search() argument 1145 struct brcmf_p2p_info *p2p = container_of(afx_hdl, brcmf_p2p_afx_handler() local 1176 brcmf_p2p_af_searching_channel(struct brcmf_p2p_info * p2p) brcmf_p2p_af_searching_channel() argument 1253 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_scan_finding_common_channel() local 1302 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_abort_action_frame() local 1330 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_stop_wait_next_action_frame() local 1366 brcmf_p2p_gon_req_collision(struct brcmf_p2p_info * p2p,u8 * mac) brcmf_p2p_gon_req_collision() argument 1420 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_notify_action_frame_rx() local 1527 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_notify_action_tx_complete() local 1572 brcmf_p2p_tx_action_frame(struct brcmf_if * ifp,struct brcmf_p2p_info * p2p,struct brcmf_fil_af_params_le * af_params) brcmf_p2p_tx_action_frame() argument 1635 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_pub_af_tx() local 1743 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_send_action_frame() local 1961 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_notify_rx_mgmt_p2p_probereq() local 2029 brcmf_p2p_get_current_chanspec(struct brcmf_p2p_info * p2p,u16 * chanspec) brcmf_p2p_get_current_chanspec() argument 2071 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_ifchange() local 2124 brcmf_p2p_request_p2p_if(struct brcmf_p2p_info * p2p,struct brcmf_if * ifp,u8 ea[ETH_ALEN],enum brcmf_fil_p2p_if_types iftype) brcmf_p2p_request_p2p_if() argument 2173 brcmf_p2p_create_p2pdev(struct brcmf_p2p_info * p2p,struct wiphy * wiphy,u8 * addr) brcmf_p2p_create_p2pdev() argument 2392 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_del_vif() local 2483 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_start_device() local 2499 struct brcmf_p2p_info *p2p = &cfg->p2p; brcmf_p2p_stop_device() local 2527 struct brcmf_p2p_info *p2p; brcmf_p2p_attach() local 2557 brcmf_p2p_detach(struct brcmf_p2p_info * p2p) brcmf_p2p_detach() argument [all...] |
| H A D | Makefile | 18 p2p.o \
|
| H A D | p2p.h | 144 void brcmf_p2p_detach(struct brcmf_p2p_info *p2p);
|
| H A D | cfg80211.c | 25 #include "p2p.h" 216 * With respect to these flags, wpa_supplicant doesn't * start p2p 1358 /* WAR: There are a number of p2p interface related problems which in brcmf_cfg80211_change_iface() 1360 * wpa_supplicant tends to do iface changes on p2p device/client/go in brcmf_cfg80211_change_iface() 1364 * is to see if the request is a change to station for p2p iface. in brcmf_cfg80211_change_iface() 1370 brcmf_dbg(TRACE, "Ignoring cmd for p2p if\n"); in brcmf_cfg80211_change_iface() 1383 if (cfg->p2p.p2pdev_dynamically) in brcmf_cfg80211_change_iface() 1579 if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif) in brcmf_cfg80211_scan() 1580 vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_cfg80211_scan() 2446 if (ifp->vif == cfg->p2p in brcmf_cfg80211_connect() 7503 bool mon_flag, mbss, p2p, rsdb, mchan; brcmf_setup_ifmodes() local [all...] |
| /linux/arch/arm/mach-orion5x/ |
| H A D | pci.c | 371 u32 p2p = readl(PCI_P2P_CONF); in orion5x_pci_set_bus_nr() local 378 bus = (p2p & PCI_P2P_BUS_MASK) >> PCI_P2P_BUS_OFFS; in orion5x_pci_set_bus_nr() 379 dev = (p2p & PCI_P2P_DEV_MASK) >> PCI_P2P_DEV_OFFS; in orion5x_pci_set_bus_nr() 388 p2p &= ~PCI_P2P_BUS_MASK; in orion5x_pci_set_bus_nr() 389 p2p |= (nr << PCI_P2P_BUS_OFFS); in orion5x_pci_set_bus_nr() 390 writel(p2p, PCI_P2P_CONF); in orion5x_pci_set_bus_nr()
|
| /linux/drivers/net/wireless/st/cw1200/ |
| H A D | sta.c | 173 if (!priv->vif->p2p && !atomic_read(&priv->tx_lock)) in __cw1200_cqm_bssloss_sm() 308 bool p2p) in cw1200_change_interface() argument 312 p2p, vif->type, vif->p2p); in cw1200_change_interface() 314 if (new_type != vif->type || vif->p2p != p2p) { in cw1200_change_interface() 317 vif->p2p = p2p; in cw1200_change_interface() 443 bool is_p2p = priv->vif && priv->vif->p2p; in cw1200_update_filtering() 1300 if (priv->vif->p2p) { in cw1200_do_join() 1768 if (!priv->vif->p2p) { in cw1200_set_btcoexinfo() 1985 if (priv->vif->p2p) { in cw1200_bss_info_changed() 2205 if (priv->vif->p2p) in cw1200_upload_beacon() [all …]
|
| H A D | pm.c | 215 if (!priv->vif->p2p && in cw1200_wow_suspend() 324 if (!priv->vif->p2p && priv->join_status == CW1200_JOIN_STATUS_STA) { in cw1200_wow_resume()
|
| H A D | sta.h | 24 bool p2p);
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mac-ctxt.c | 248 if (!vif->p2p) in iwl_mvm_mac_ctxt_init() 514 if (vif->p2p) in iwl_mvm_get_mac_type() 679 if (vif->p2p) { in iwl_mvm_mac_ctxt_cmd_sta() 721 if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p) in iwl_mvm_mac_ctxt_cmd_sta() 804 if (vif->type == NL80211_IFTYPE_AP && vif->p2p && in iwl_mvm_go_iterator() 911 if (band == NL80211_BAND_2GHZ && !vif->p2p && in iwl_mvm_mac_ctxt_get_lowest_rate() 1225 if (vif->p2p && data->beacon_device_ts) in iwl_mvm_mac_ap_iterator() 1326 WARN_ON(vif->type != NL80211_IFTYPE_AP || vif->p2p); in iwl_mvm_mac_ctxt_cmd_ap() 1345 WARN_ON(vif->type != NL80211_IFTYPE_AP || !vif->p2p); in iwl_mvm_mac_ctxt_cmd_go() 1373 if (!vif->p2p) in iwl_mvm_mac_ctx_send() [all...] |
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | Makefile | 15 p2p.o \
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | mac80211.c | 261 enum nl80211_iftype type, bool p2p) in rtw_ops_change_interface() argument 265 rtw_dbg(rtwdev, RTW_DBG_STATE, "change vif %pM (%d)->(%d), p2p (%d)->(%d)\n", in rtw_ops_change_interface() 266 vif->addr, vif->type, type, vif->p2p, p2p); in rtw_ops_change_interface() 271 vif->p2p = p2p; in rtw_ops_change_interface()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | core.c | 220 mac->p2p = P2P_ROLE_CLIENT; in rtl_op_add_interface() 247 mac->p2p = P2P_ROLE_GO; in rtl_op_add_interface() 286 if (mac->p2p) { in rtl_op_add_interface() 288 "p2p role %x\n", vif->type); in rtl_op_add_interface() 289 mac->basic_rates = 0xff0;/*disable cck rate for p2p*/ in rtl_op_add_interface() 331 mac->p2p = 0; in rtl_op_remove_interface() 344 enum nl80211_iftype new_type, bool p2p) in rtl_op_change_interface() argument 352 vif->p2p = p2p; in rtl_op_change_interface() 355 "p2p in rtl_op_change_interface() [all...] |
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| H A D | fw.c | 436 if (rtlpriv->mac80211.p2p) { in rtl92ee_set_fw_pwrmode_cmd() 466 ((rtlpriv->mac80211.p2p) ? in rtl92ee_set_fw_pwrmode_cmd() 765 /* Should check FW support p2p or not. */ 827 /* rst p2p circuit */ in rtl92ee_set_p2p_ps_offload_cmd() 831 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl92ee_set_p2p_ps_offload_cmd()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | mac80211.c | 710 if (!vif->p2p) in iwl_mld_mac80211_add_interface() 715 if (vif->p2p) in iwl_mld_mac80211_add_interface() 789 enum nl80211_iftype new_type, bool p2p) in iwl_mld_mac80211_change_interface() 792 bool old_p2p = vif->p2p; in iwl_mld_mac80211_change_interface() 799 vif->p2p = p2p; in iwl_mld_mac80211_change_interface() 805 vif->p2p = old_p2p; 1671 if (vif->p2p && in iwl_mld_set_uapsd() 1675 if (!vif->p2p && 1783 if (vif->p2p || hweight in iwl_mld_move_sta_state_up() 785 iwl_mld_mac80211_change_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif,enum nl80211_iftype new_type,bool p2p) iwl_mld_mac80211_change_interface() argument [all...] |
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | mac80211.c | 180 rtw89_debug(rtwdev, RTW89_DBG_STATE, "add vif %pM type %d, p2p %d\n", in rtw89_ops_add_interface() 181 vif->addr, vif->type, vif->p2p); in rtw89_ops_add_interface() 254 rtw89_debug(rtwdev, RTW89_DBG_STATE, "remove vif %pM type %d p2p %d\n", in rtw89_ops_remove_interface() 255 vif->addr, vif->type, vif->p2p); in rtw89_ops_remove_interface() 284 enum nl80211_iftype type, bool p2p) in rtw89_ops_change_interface() argument 291 rtw89_debug(rtwdev, RTW89_DBG_STATE, "change vif %pM (%d)->(%d), p2p (%d)->(%d)\n", in rtw89_ops_change_interface() 292 vif->addr, vif->type, type, vif->p2p, p2p); in rtw89_ops_change_interface() 297 vif->p2p = p2p; in rtw89_ops_change_interface() [all...] |
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| H A D | fw.c | 259 (rtlpriv->mac80211.p2p) ? ppsc->smart_ps : 1); in rtl8723e_set_fw_pwrmode_cmd() 556 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl8723e_set_p2p_ps_offload_cmd()
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | init.c | 510 if (ar->p2p && (ar->vif_max == 1 || idx)) { in ath6kl_target_config_wlan_params() 519 ar->p2p = false; in ath6kl_target_config_wlan_params() 523 if (ar->p2p && (ar->vif_max == 1 || idx)) { in ath6kl_target_config_wlan_params() 584 if (ar->p2p && ar->vif_max == 1) in ath6kl_configure_target() 1129 if (ar->vif_max > 1 && !ar->p2p) in ath6kl_fetch_fw_apin()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| H A D | fw.c | 257 if (rtlpriv->mac80211.p2p) { in rtl8723be_set_fw_pwrmode_cmd() 661 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl8723be_set_p2p_ps_offload_cmd()
|
| /linux/Documentation/driver-api/nfc/ |
| H A D | nfc-hci.rst | 98 - dep_link_up() is called after a p2p target has been detected, to finish 99 the p2p connection setup with hardware parameters that need to be passed back 101 - dep_link_down() is called to bring the p2p link down. 113 - tm_send() is called to send data in the case of a p2p connection
|
| /linux/drivers/net/wireless/ti/wl18xx/ |
| H A D | cmd.c | 56 if (wlvif->p2p) in wl18xx_cmd_channel_switch()
|
| /linux/net/mac80211/ |
| H A D | iface.c | 1929 sdata->vif.p2p = false; in ieee80211_setup_sdata() 1941 /* only monitor/p2p-device differ */ in ieee80211_setup_sdata() 1957 sdata->vif.p2p = true; in ieee80211_setup_sdata() 1967 sdata->vif.p2p = true; in ieee80211_setup_sdata() 2025 bool p2p = false; in ieee80211_runtime_change_iftype() 2066 p2p = true; in ieee80211_runtime_change_iftype() 2070 p2p = true; in ieee80211_runtime_change_iftype() 2089 ret = drv_change_interface(local, sdata, internal_type, p2p); in ieee80211_runtime_change_iftype() 2026 bool p2p = false; ieee80211_runtime_change_iftype() local
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| H A D | fw.c | 506 if (rtlpriv->mac80211.p2p) { in rtl8821ae_set_fw_pwrmode_cmd() 536 ((rtlpriv->mac80211.p2p) ? in rtl8821ae_set_fw_pwrmode_cmd() 1796 /*Should check FW support p2p or not.*/ 1860 /* rst p2p circuit */ in rtl8821ae_set_p2p_ps_offload_cmd() 1865 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl8821ae_set_p2p_ps_offload_cmd()
|