/wlan-driver/qca-wifi-host-cmn/ftm/core/src/ |
D | wlan_ftm_svc.c | 62 uint32_t device_mode; in wlan_ftm_pdev_obj_create_notification() local 74 device_mode = target_psoc_get_device_mode(target_psoc_info); in wlan_ftm_pdev_obj_create_notification() 76 if (device_mode != QDF_GLOBAL_FTM_MODE) in wlan_ftm_pdev_obj_create_notification() 128 uint32_t device_mode; in wlan_ftm_pdev_obj_destroy_notification() local 138 device_mode = target_psoc_get_device_mode(target_psoc_info); in wlan_ftm_pdev_obj_destroy_notification() 139 if (device_mode != QDF_GLOBAL_FTM_MODE) in wlan_ftm_pdev_obj_destroy_notification()
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_cm_disconnect.c | 65 hdd_green_ap_start_state_mc(hdd_ctx, adapter->device_mode, false); in hdd_handle_disassociation_event() 69 if ((adapter->device_mode == QDF_STA_MODE) || in hdd_handle_disassociation_event() 70 (adapter->device_mode == QDF_P2P_CLIENT_MODE)) in hdd_handle_disassociation_event() 75 adapter->device_mode); in hdd_handle_disassociation_event() 143 adapter->device_mode, in __hdd_cm_disconnect_handler_pre_user_update() 179 enum QDF_OPMODE device_mode = link_info->adapter->device_mode; in hdd_reset_sta_keep_alive_interval() local 185 if (device_mode != QDF_STA_MODE) { in hdd_reset_sta_keep_alive_interval() 187 device_mode_to_string(device_mode)); in hdd_reset_sta_keep_alive_interval() 227 if (adapter->device_mode == QDF_STA_MODE) in __hdd_cm_disconnect_handler_post_user_update() 238 if (adapter->device_mode == QDF_STA_MODE && in __hdd_cm_disconnect_handler_post_user_update() [all …]
|
D | wlan_hdd_p2p_listen_offload.c | 147 if ((adapter->device_mode != QDF_P2P_DEVICE_MODE) && in __wlan_hdd_cfg80211_p2p_lo_start() 148 (adapter->device_mode != QDF_P2P_CLIENT_MODE) && in __wlan_hdd_cfg80211_p2p_lo_start() 149 (adapter->device_mode != QDF_P2P_GO_MODE)) { in __wlan_hdd_cfg80211_p2p_lo_start() 150 hdd_err("Invalid device mode %d", adapter->device_mode); in __wlan_hdd_cfg80211_p2p_lo_start() 330 if ((adapter->device_mode != QDF_P2P_DEVICE_MODE) && in __wlan_hdd_cfg80211_p2p_lo_stop() 331 (adapter->device_mode != QDF_P2P_CLIENT_MODE) && in __wlan_hdd_cfg80211_p2p_lo_stop() 332 (adapter->device_mode != QDF_P2P_GO_MODE)) { in __wlan_hdd_cfg80211_p2p_lo_stop()
|
D | wlan_hdd_p2p.c | 260 if ((adapter->device_mode == QDF_STA_MODE || in __wlan_hdd_mgmt_tx() 261 adapter->device_mode == QDF_SAP_MODE || in __wlan_hdd_mgmt_tx() 262 adapter->device_mode == QDF_P2P_CLIENT_MODE || in __wlan_hdd_mgmt_tx() 263 adapter->device_mode == QDF_P2P_GO_MODE || in __wlan_hdd_mgmt_tx() 264 adapter->device_mode == QDF_NAN_DISC_MODE) && in __wlan_hdd_mgmt_tx() 276 (adapter->device_mode == QDF_SAP_MODE || in __wlan_hdd_mgmt_tx() 277 adapter->device_mode == QDF_P2P_GO_MODE)) { in __wlan_hdd_mgmt_tx() 300 if ((adapter->device_mode == QDF_SAP_MODE || in __wlan_hdd_mgmt_tx() 301 adapter->device_mode == QDF_P2P_GO_MODE) && in __wlan_hdd_mgmt_tx() 344 adapter->device_mode, type, sub_type, in __wlan_hdd_mgmt_tx() [all …]
|
D | wlan_hdd_ipa.c | 206 if ((adapter->device_mode == QDF_SAP_MODE) && in hdd_ipa_send_nbuf_to_network() 224 adapter->device_mode); in hdd_ipa_send_nbuf_to_network() 253 if (adapter->device_mode == QDF_SAP_MODE) { in hdd_ipa_send_nbuf_to_network() 255 } else if (adapter->device_mode == QDF_STA_MODE) { in hdd_ipa_send_nbuf_to_network() 338 if (adapter->device_mode == QDF_STA_MODE) in hdd_ipa_fill_connection_info() 340 else if (adapter->device_mode == QDF_SAP_MODE) in hdd_ipa_fill_connection_info()
|
D | wlan_hdd_power.c | 369 (adapter->device_mode == QDF_STA_MODE || in __wlan_hdd_ipv6_changed() 370 adapter->device_mode == QDF_P2P_CLIENT_MODE)) { in __wlan_hdd_ipv6_changed() 827 adapter->device_mode); in hdd_enable_host_offloads() 841 if (adapter->device_mode == QDF_STA_MODE) in hdd_enable_host_offloads() 844 if (adapter->device_mode != QDF_NDI_MODE) in hdd_enable_host_offloads() 870 adapter->device_mode); in hdd_disable_host_offloads() 884 if (adapter->device_mode == QDF_STA_MODE) in hdd_disable_host_offloads() 886 if (adapter->device_mode != QDF_NDI_MODE) in hdd_disable_host_offloads() 1123 if (adapter->device_mode == QDF_STA_MODE || in __wlan_hdd_ipv4_changed() 1124 adapter->device_mode == QDF_P2P_CLIENT_MODE) { in __wlan_hdd_ipv4_changed() [all …]
|
D | wlan_hdd_hostapd.c | 303 status = sap_init_ctx(sap_ctx, adapter->device_mode, in hdd_hostapd_init_sap_session() 528 if (!hdd_allow_new_intf(hdd_ctx, adapter->device_mode)) in __hdd_hostapd_open() 721 if (QDF_SAP_MODE == adapter->device_mode) { in hdd_set_sap_ht2040_mode() 746 if (adapter->device_mode == QDF_SAP_MODE) { in hdd_get_sap_ht2040_mode() 926 adapter->device_mode, in hdd_stop_bss_link() 928 hdd_green_ap_start_state_mc(hdd_ctx, adapter->device_mode, in hdd_stop_bss_link() 967 if (adapter->device_mode == QDF_SAP_MODE || in wlan_hdd_get_puncture_bitmap() 968 adapter->device_mode == QDF_P2P_CLIENT_MODE) in wlan_hdd_get_puncture_bitmap() 1106 adapter->device_mode); in hdd_chan_change_notify_update() 1110 if ((adapter->device_mode == QDF_STA_MODE || in hdd_chan_change_notify_update() [all …]
|
D | wlan_hdd_tx_rx.c | 378 if (adapter->device_mode == QDF_P2P_GO_MODE || in hdd_get_tx_resource() 379 adapter->device_mode == QDF_SAP_MODE) in hdd_get_tx_resource() 456 if (adapter->device_mode != QDF_STA_MODE) { in hdd_set_udp_qos_upgrade_config() 458 adapter->device_mode); in hdd_set_udp_qos_upgrade_config() 1514 adapter->device_mode == QDF_SAP_MODE) { in hdd_set_tx_flow_info() 1528 adapter->device_mode, in hdd_set_tx_flow_info() 1552 qdf_opmode_str(adapter->device_mode), in hdd_set_tx_flow_info() 1553 adapter->device_mode, in hdd_set_tx_flow_info() 1573 qdf_opmode_str((*pre_adp_ctx)->device_mode), in hdd_set_tx_flow_info() 1574 (*pre_adp_ctx)->device_mode, in hdd_set_tx_flow_info() [all …]
|
D | wlan_hdd_btc_chain_mode.c | 83 nss, link_info->vdev_id, adapter->device_mode); in wlan_hdd_btc_chain_mode_handler() 86 adapter->device_mode, band); in wlan_hdd_btc_chain_mode_handler() 109 switch (adapter->device_mode) { in wlan_hdd_btc_chain_mode_handler()
|
D | wlan_hdd_main.c | 490 return adapter->device_mode == QDF_SAP_MODE || in hdd_adapter_is_ap() 491 adapter->device_mode == QDF_P2P_GO_MODE; in hdd_adapter_is_ap() 514 switch (adapter->device_mode) { in hdd_common_roam_callback() 800 enum QDF_OPMODE opmode = link_info->adapter->device_mode; in hdd_get_link_info_home_channel() 827 enum QDF_OPMODE opmode = link_info->adapter->device_mode; in hdd_get_link_info_width() 997 if (adapter->device_mode != QDF_SAP_MODE) in hdd_netdev_notifier_bridge_intf() 3135 if (adapter->device_mode != QDF_SAP_MODE && in hdd_dfs_indicate_radar() 3136 adapter->device_mode != QDF_P2P_GO_MODE) in hdd_dfs_indicate_radar() 3261 adapter->device_mode); in __hdd_mon_open() 3445 if (!wlan_hdd_is_session_type_monitor(mon_adapter->device_mode)) in hdd_map_monitor_interface_vdev() [all …]
|
D | wlan_hdd_bootup_marker.c | 58 qdf_opmode_str(adapter->device_mode), in hdd_place_marker() 64 qdf_opmode_str(adapter->device_mode), in hdd_place_marker()
|
D | wlan_hdd_tdls.c | 96 if ((QDF_STA_MODE != adapter->device_mode) && in wlan_hdd_tdls_get_all_peers() 97 (QDF_P2P_CLIENT_MODE != adapter->device_mode)) { in wlan_hdd_tdls_get_all_peers() 299 if (adapter->device_mode != QDF_STA_MODE && in __wlan_hdd_cfg80211_exttdls_get_status() 300 adapter->device_mode != QDF_P2P_CLIENT_MODE) { in __wlan_hdd_cfg80211_exttdls_get_status() 302 adapter->device_mode); in __wlan_hdd_cfg80211_exttdls_get_status() 596 if (adapter->device_mode != QDF_STA_MODE && in __wlan_hdd_cfg80211_exttdls_enable() 597 adapter->device_mode != QDF_P2P_CLIENT_MODE) { in __wlan_hdd_cfg80211_exttdls_enable() 599 adapter->device_mode); in __wlan_hdd_cfg80211_exttdls_enable() 699 if (adapter->device_mode != QDF_STA_MODE && in __wlan_hdd_cfg80211_exttdls_disable() 700 adapter->device_mode != QDF_P2P_CLIENT_MODE) { in __wlan_hdd_cfg80211_exttdls_disable() [all …]
|
D | wlan_hdd_cm_connect.c | 69 if (link_info->adapter->device_mode == QDF_NDI_MODE) in hdd_cm_is_vdev_associated() 94 enum QDF_OPMODE opmode = link_info->adapter->device_mode; in hdd_cm_is_vdev_connected() 400 if (adapter->device_mode == QDF_P2P_CLIENT_MODE) { in hdd_update_scan_ie_for_connect() 569 if (adapter->device_mode != QDF_SAP_MODE) in hdd_get_sap_adapter_of_dfs() 839 adapter->deflink->vdev_id, adapter->device_mode); in wlan_hdd_cm_connect() 841 if (adapter->device_mode != QDF_STA_MODE && in wlan_hdd_cm_connect() 842 adapter->device_mode != QDF_P2P_CLIENT_MODE) { in wlan_hdd_cm_connect() 844 qdf_opmode_str(adapter->device_mode), in wlan_hdd_cm_connect() 845 adapter->device_mode); in wlan_hdd_cm_connect() 1169 if (adapter->device_mode == QDF_STA_MODE) { in hdd_cm_save_bss_info() [all …]
|
D | wlan_hdd_sap_cond_chan_switch.c | 97 if (adapter->device_mode != QDF_SAP_MODE) { in __wlan_hdd_cfg80211_conditional_chan_switch() 98 hdd_err("Invalid device mode %d", adapter->device_mode); in __wlan_hdd_cfg80211_conditional_chan_switch()
|
D | wlan_hdd_sysfs_tdls_peers.c | 61 if ((QDF_STA_MODE != adapter->device_mode) && in __show_tdls_all_peers() 62 (QDF_P2P_CLIENT_MODE != adapter->device_mode)) { in __show_tdls_all_peers()
|
D | wlan_hdd_sysfs.c | 426 if (!(adapter->device_mode == QDF_STA_MODE || in __show_beacon_reception_stats() 427 adapter->device_mode == QDF_P2P_CLIENT_MODE)) { in __show_beacon_reception_stats() 1206 int device_mode = adapter->device_mode; in hdd_create_adapter_sysfs_files() local 1213 switch (device_mode){ in hdd_create_adapter_sysfs_files() 1245 int device_mode = adapter->device_mode; in hdd_destroy_adapter_sysfs_files() local 1251 switch (device_mode){ in hdd_destroy_adapter_sysfs_files()
|
D | wlan_hdd_cfg.c | 1128 if (adapter->device_mode != QDF_SAP_MODE && in hdd_set_nss_params() 1129 adapter->device_mode != QDF_P2P_GO_MODE && in hdd_set_nss_params() 1161 adapter->device_mode, band); in hdd_update_nss_in_vdev() 1378 if ((adapter->device_mode == QDF_SAP_MODE || in hdd_update_nss() 1379 adapter->device_mode == QDF_P2P_GO_MODE) && restart_sap) { in hdd_update_nss() 1408 rx_nss, adapter->device_mode); in hdd_update_nss() 1518 rx_nss, adapter->device_mode); in hdd_update_nss() 1543 sme_get_vdev_type_nss(adapter->device_mode, &nss_2g, &nss_5g); in hdd_get_nss() 1687 if (adapter->device_mode == QDF_SAP_MODE || in hdd_get_num_tx_chains() 1688 adapter->device_mode == QDF_P2P_GO_MODE) in hdd_get_num_tx_chains() [all …]
|
D | wlan_hdd_assoc.c | 446 if (adapter->device_mode != QDF_STA_MODE && in hdd_start_powersave_timer_on_associated() 447 adapter->device_mode != QDF_P2P_CLIENT_MODE) in hdd_start_powersave_timer_on_associated() 566 if ((QDF_STA_MODE == adapter->device_mode) || in hdd_get_sta_connection_in_progress() 567 (QDF_P2P_CLIENT_MODE == adapter->device_mode) || in hdd_get_sta_connection_in_progress() 568 (QDF_P2P_DEVICE_MODE == adapter->device_mode)) { in hdd_get_sta_connection_in_progress() 646 if (adapter->device_mode == QDF_STA_MODE || in hdd_get_first_connected_sta_vdev_id() 647 adapter->device_mode == QDF_P2P_CLIENT_MODE) { in hdd_get_first_connected_sta_vdev_id() 1499 if (adapter->device_mode == QDF_STA_MODE && in hdd_change_peer_state() 1519 if (adapter->device_mode == QDF_STA_MODE || in hdd_change_peer_state() 1520 adapter->device_mode == QDF_P2P_CLIENT_MODE) { in hdd_change_peer_state() [all …]
|
D | wlan_hdd_twt.c | 185 enum QDF_OPMODE device_mode = adapter->device_mode; in hdd_twt_terminate_session() local 187 switch (device_mode) { in hdd_twt_terminate_session() 194 qdf_opmode_str(adapter->device_mode)); in hdd_twt_terminate_session() 600 if (adapter->device_mode != QDF_STA_MODE && in hdd_test_config_twt_setup_session() 601 adapter->device_mode != QDF_P2P_CLIENT_MODE) { in hdd_test_config_twt_setup_session() 608 adapter->deflink->vdev_id, adapter->device_mode); in hdd_test_config_twt_setup_session() 667 if (adapter->device_mode != QDF_STA_MODE && in hdd_test_config_twt_terminate_session() 668 adapter->device_mode != QDF_P2P_CLIENT_MODE) { in hdd_test_config_twt_terminate_session() 675 adapter->deflink->vdev_id, adapter->device_mode); in hdd_test_config_twt_terminate_session() 1018 if (adapter->device_mode != QDF_STA_MODE && in hdd_is_twt_command_allowed() [all …]
|
D | wlan_hdd_scan.c | 509 if (QDF_NDI_MODE == adapter->device_mode || in __wlan_hdd_cfg80211_scan() 510 QDF_MONITOR_MODE == adapter->device_mode) { in __wlan_hdd_cfg80211_scan() 512 qdf_opmode_str(adapter->device_mode)); in __wlan_hdd_cfg80211_scan() 599 if (adapter->device_mode == QDF_SAP_MODE && in __wlan_hdd_cfg80211_scan() 646 if (QDF_P2P_CLIENT_MODE == adapter->device_mode || in __wlan_hdd_cfg80211_scan() 647 QDF_P2P_DEVICE_MODE == adapter->device_mode) { in __wlan_hdd_cfg80211_scan() 664 if (adapter->device_mode == QDF_SAP_MODE) in __wlan_hdd_cfg80211_scan() 1296 if (adapter->device_mode != QDF_STA_MODE) { in __wlan_hdd_cfg80211_sched_scan_start() 1448 if (adapter->device_mode != QDF_STA_MODE) { in __wlan_hdd_cfg80211_sched_scan_stop()
|
D | wlan_hdd_ioctl.c | 741 if (QDF_STA_MODE != adapter->device_mode) { in hdd_sendactionframe() 743 qdf_opmode_str(adapter->device_mode), in hdd_sendactionframe() 744 adapter->device_mode); in hdd_sendactionframe() 2224 if ((QDF_STA_MODE != adapter->device_mode) && in wlan_hdd_get_link_status() 2225 (QDF_P2P_CLIENT_MODE != adapter->device_mode)) { in wlan_hdd_get_link_status() 2227 qdf_opmode_str(adapter->device_mode), in wlan_hdd_get_link_status() 2228 adapter->device_mode); in wlan_hdd_get_link_status() 2513 if ((QDF_SAP_MODE != adapter->device_mode) && in wlan_hdd_set_mc_rate() 2514 (QDF_STA_MODE != adapter->device_mode)) { in wlan_hdd_set_mc_rate() 2516 qdf_opmode_str(adapter->device_mode), in wlan_hdd_set_mc_rate() [all …]
|
/wlan-driver/qcacld-3.0/components/dp/core/src/ |
D | wlan_dp_nud_tracking.c | 92 if (dp_intf->device_mode == QDF_STA_MODE && in dp_nud_flush_work() 103 if (dp_intf->device_mode == QDF_STA_MODE && in dp_nud_deinit_tracking() 114 if (dp_intf->device_mode == QDF_STA_MODE && in dp_nud_ignore_tracking() 123 if (dp_intf->device_mode == QDF_STA_MODE && in dp_nud_reset_tracking() 295 if (dp_intf->device_mode == QDF_STA_MODE && in dp_nud_init_tracking() 380 if (dp_intf->device_mode != QDF_STA_MODE) in dp_nud_filter_netevent()
|
D | wlan_dp_periodic_sta_stats.c | 37 if (dp_intf->device_mode != QDF_STA_MODE) in dp_periodic_sta_stats_display() 99 if ((dp_intf->device_mode == QDF_STA_MODE) && in dp_periodic_sta_stats_start() 125 if ((dp_intf->device_mode == QDF_STA_MODE) && in dp_periodic_sta_stats_stop()
|
D | wlan_dp_softap_txrx.c | 127 if (dp_intf->device_mode != QDF_P2P_GO_MODE) in dp_softap_inspect_tx_eap_pkt() 181 if (dp_intf->device_mode != QDF_P2P_GO_MODE) in dp_softap_check_wait_for_tx_eap_pkt() 247 msg.device_mode = dp_intf->device_mode; in dp_post_dhcp_ind() 298 if (((dp_intf->device_mode == QDF_SAP_MODE) || in dp_softap_inspect_dhcp_packet() 299 (dp_intf->device_mode == QDF_P2P_GO_MODE)) && in dp_softap_inspect_dhcp_packet() 885 dp_intf->device_mode); in dp_softap_rx_packet_cbk()
|
/wlan-driver/qca-wifi-host-cmn/ipa/core/src/ |
D | wlan_ipa_core.c | 281 if (iface_context->device_mode == QDF_SAP_MODE || in wlan_ipa_send_pkt_to_tl() 282 iface_context->device_mode == QDF_P2P_GO_MODE) { in wlan_ipa_send_pkt_to_tl() 1240 if (iface_ctx->device_mode == QDF_SAP_MODE && in wlan_ipa_send_to_nw_sap_dhcp() 1548 if (iface->device_mode == QDF_SAP_MODE) { in wlan_ipa_is_peer_authenticated() 1563 } else if (iface->device_mode == QDF_STA_MODE) { in wlan_ipa_is_peer_authenticated() 1668 if (iface_context->device_mode == QDF_STA_MODE) in __wlan_ipa_w2i_cb() 1670 else if (iface_context->device_mode == QDF_SAP_MODE) in __wlan_ipa_w2i_cb() 1682 if (iface_context->device_mode == QDF_SAP_MODE && in __wlan_ipa_w2i_cb() 1716 iface_context->device_mode == QDF_SAP_MODE) { in __wlan_ipa_w2i_cb() 2201 iface_context->dev, iface_context->device_mode, in wlan_ipa_cleanup_iface() [all …]
|