/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/inc/ |
H A D | wlan_mlo_mgr_main.h | 530 void mlo_ap_lock_create(struct wlan_mlo_ap *ap_ctx) in mlo_ap_lock_create() argument 532 qdf_spinlock_create(&ap_ctx->mlo_ap_lock); in mlo_ap_lock_create() 544 void mlo_ap_lock_destroy(struct wlan_mlo_ap *ap_ctx) in mlo_ap_lock_destroy() argument 546 qdf_spinlock_destroy(&ap_ctx->mlo_ap_lock); in mlo_ap_lock_destroy() 558 void mlo_ap_lock_acquire(struct wlan_mlo_ap *ap_ctx) in mlo_ap_lock_acquire() argument 560 qdf_spin_lock_bh(&ap_ctx->mlo_ap_lock); in mlo_ap_lock_acquire() 572 void mlo_ap_lock_release(struct wlan_mlo_ap *ap_ctx) in mlo_ap_lock_release() argument 574 qdf_spin_unlock_bh(&ap_ctx->mlo_ap_lock); in mlo_ap_lock_release() 800 void mlo_ap_lock_create(struct wlan_mlo_ap *ap_ctx) in mlo_ap_lock_create() argument 802 qdf_mutex_create(&ap_ctx->mlo_ap_lock); in mlo_ap_lock_create() [all …]
|
H A D | wlan_mlo_mgr_public_structs.h | 936 struct wlan_mlo_ap *ap_ctx; member
|
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/src/ |
H A D | wlan_mlo_mgr_aid.c | 561 struct wlan_mlo_ap *ap_ctx; in mlo_peer_allocate_aid() local 564 ap_ctx = ml_dev->ap_ctx; in mlo_peer_allocate_aid() 565 if (!ap_ctx) { in mlo_peer_allocate_aid() 570 ml_aid_mgr = ap_ctx->ml_aid_mgr; in mlo_peer_allocate_aid() 599 if (!ml_dev->ap_ctx) { in mlo_peer_free_aid() 609 ml_aid_mgr = ml_dev->ap_ctx->ml_aid_mgr; in mlo_peer_free_aid() 632 struct wlan_mlo_ap *ap_ctx; in mlo_get_aid() local 639 ap_ctx = ml_dev->ap_ctx; in mlo_get_aid() 640 if (!ap_ctx) in mlo_get_aid() 643 ml_aid_mgr = ap_ctx->ml_aid_mgr; in mlo_get_aid() [all …]
|
H A D | wlan_mlo_mgr_ap.c | 42 if (!vdev || !vdev->mlo_dev_ctx || !vdev->mlo_dev_ctx->ap_ctx) { in mlo_ap_vdev_attach() 62 dev_ctx->ap_ctx->num_ml_vdevs = vdev_count; in mlo_ap_vdev_attach() 91 if (!vdev || !vdev->mlo_dev_ctx || !vdev->mlo_dev_ctx->ap_ctx) { in mlo_ap_vdev_attach() 105 dev_ctx->ap_ctx->num_ml_vdevs = vdev_count; in mlo_ap_vdev_attach() 387 if (!vdev || !vdev->mlo_dev_ctx || !vdev->mlo_dev_ctx->ap_ctx) { in wlan_mlo_ap_get_active_links() 426 if (vdev_count == dev_ctx->ap_ctx->num_ml_vdevs) in mlo_is_ap_vdev_up_allowed() 497 if (wlan_util_map_index_is_set(mld_ctx->ap_ctx->mlo_vdev_up_bmap, in mlo_handle_link_ready() 504 mlo_ap_lock_acquire(vdev->mlo_dev_ctx->ap_ctx); in mlo_handle_link_ready() 510 mlo_ap_lock_release(vdev->mlo_dev_ctx->ap_ctx); in mlo_handle_link_ready() 513 wlan_util_change_map_index(mld_ctx->ap_ctx->mlo_vdev_up_bmap, in mlo_handle_link_ready() [all …]
|
H A D | wlan_mlo_mgr_peer_list.c | 462 if (ml_dev->ap_ctx) { in mlo_dev_mlpeer_list_init() 463 qdf_spinlock_create(&ml_dev->ap_ctx->assoc_list.list_lock); in mlo_dev_mlpeer_list_init() 464 qdf_list_create(&ml_dev->ap_ctx->assoc_list.peer_list, in mlo_dev_mlpeer_list_init() 476 if (ml_dev->ap_ctx) { in mlo_dev_mlpeer_list_deinit() 477 qdf_list_destroy(&ml_dev->ap_ctx->assoc_list.peer_list); in mlo_dev_mlpeer_list_deinit() 478 qdf_spinlock_destroy(&ml_dev->ap_ctx->assoc_list.list_lock); in mlo_dev_mlpeer_list_deinit()
|
H A D | wlan_mlo_mgr_main.c | 813 mlo_ap_lock_destroy(ml_dev->ap_ctx); in mlo_ap_ctx_deinit() 814 qdf_mem_free(ml_dev->ap_ctx); in mlo_ap_ctx_deinit() 815 ml_dev->ap_ctx = NULL; in mlo_ap_ctx_deinit() 822 struct wlan_mlo_ap *ap_ctx; in mlo_ap_ctx_init() local 824 ap_ctx = qdf_mem_malloc(sizeof(*ap_ctx)); in mlo_ap_ctx_init() 825 if (!ap_ctx) { in mlo_ap_ctx_init() 830 ml_dev->ap_ctx = ap_ctx; in mlo_ap_ctx_init() 831 mlo_ap_lock_create(ml_dev->ap_ctx); in mlo_ap_ctx_init() 1349 if (ml_dev->ap_ctx) in mlo_dev_ctx_deinit() 1375 qdf_mem_free(ml_dev->ap_ctx); in mlo_dev_ctx_deinit()
|
H A D | wlan_mlo_mgr_peer.c | 2747 assoc_list = &mld_ctx->ap_ctx->assoc_list; in wlan_mlo_ap_vdev_add_assoc_entry() 2778 assoc_list = &mld_ctx->ap_ctx->assoc_list; in wlan_mlo_ap_vdev_del_assoc_entry() 2838 assoc_list = &mld_ctx->ap_ctx->assoc_list; in wlan_mlo_ap_vdev_find_assoc_entry()
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_dcs.c | 377 struct hdd_ap_ctx *ap_ctx; in hdd_dcs_hostapd_set_chan() local 408 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in hdd_dcs_hostapd_set_chan() 410 if (ap_ctx->operating_chan_freq != dcs_ch_freq) in hdd_dcs_hostapd_set_chan() 423 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in hdd_dcs_hostapd_set_chan() 424 if (ap_ctx->operating_chan_freq == dcs_ch_freq) in hdd_dcs_hostapd_set_chan() 429 ap_ctx->operating_chan_freq, dcs_ch_freq); in hdd_dcs_hostapd_set_chan() 459 struct hdd_ap_ctx *ap_ctx; in hdd_dcs_hostapd_enable_wlan_interference_mitigation() local 475 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in hdd_dcs_hostapd_enable_wlan_interference_mitigation() 478 !WLAN_REG_IS_24GHZ_CH_FREQ(ap_ctx->operating_chan_freq)) in hdd_dcs_hostapd_enable_wlan_interference_mitigation() 487 struct hdd_ap_ctx *ap_ctx; in hdd_dcs_chan_select_complete() local [all …]
|
H A D | wlan_hdd_hostapd.c | 875 struct hdd_ap_ctx *ap_ctx; in hdd_clear_sta() local 878 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter->deflink); in hdd_clear_sta() 965 struct hdd_ap_ctx *ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in wlan_hdd_get_puncture_bitmap() local 969 return ap_ctx->reg_punc_bitmap; in wlan_hdd_get_puncture_bitmap() 1818 hdd_fill_channel_change_puncture(struct hdd_ap_ctx *ap_ctx, in hdd_fill_channel_change_puncture() argument 1821 ap_ctx->reg_punc_bitmap = in hdd_fill_channel_change_puncture() 1826 hdd_fill_channel_change_puncture(struct hdd_ap_ctx *ap_ctx, in hdd_fill_channel_change_puncture() argument 1850 struct hdd_ap_ctx *ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in hdd_hostapd_chan_change() local 1891 hdd_fill_channel_change_puncture(ap_ctx, &sap_ch_param); in hdd_hostapd_chan_change() 1902 struct hdd_ap_ctx *ap_ctx; in hdd_hostapd_update_beacon_country_ie() local [all …]
|
H A D | wlan_hdd_sysfs_channel.c | 32 struct hdd_ap_ctx *ap_ctx; in __show_channel_number() local 50 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter->deflink); in __show_channel_number() 53 ap_ctx->operating_chan_freq); in __show_channel_number()
|
H A D | wlan_hdd_softap_tx_rx.c | 458 struct hdd_ap_ctx *ap_ctx; in hdd_softap_deregister_sta() local 514 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter->deflink); in hdd_softap_deregister_sta() 517 ap_ctx->client_count[sta->dot11_mode]--; in hdd_softap_deregister_sta() 537 struct hdd_ap_ctx *ap_ctx; in hdd_softap_register_sta() local 550 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in hdd_softap_register_sta() 648 ap_ctx->client_count[dot11mode]++; in hdd_softap_register_sta() 670 struct hdd_ap_ctx *ap_ctx; in hdd_softap_register_bc_sta() local 673 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in hdd_softap_register_bc_sta() 674 sta_id = ap_ctx->broadcast_sta_id; in hdd_softap_register_bc_sta()
|
H A D | wlan_hdd_pre_cac.c | 538 struct hdd_ap_ctx *ap_ctx; in wlan_hdd_pre_cac_conditional_freq_switch_ind() local 548 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in wlan_hdd_pre_cac_conditional_freq_switch_ind() 549 ap_ctx->dfs_cac_block_tx = false; in wlan_hdd_pre_cac_conditional_freq_switch_ind() 551 ap_ctx->dfs_cac_block_tx); in wlan_hdd_pre_cac_conditional_freq_switch_ind() 552 ucfg_dp_set_dfs_cac_tx(vdev, ap_ctx->dfs_cac_block_tx); in wlan_hdd_pre_cac_conditional_freq_switch_ind()
|
H A D | wlan_hdd_sysfs_radar.c | 35 struct hdd_ap_ctx *ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter->deflink); in __hdd_sysfs_radar_store() local 88 ap_ctx->operating_chan_freq); in __hdd_sysfs_radar_store()
|
H A D | wlan_hdd_p2p.c | 237 struct hdd_ap_ctx *ap_ctx; in __wlan_hdd_mgmt_tx() local 278 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter->deflink); in __wlan_hdd_mgmt_tx() 279 ap_ctx->during_auth_offload = false; in __wlan_hdd_mgmt_tx() 317 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter->deflink); in __wlan_hdd_mgmt_tx() 318 qdf_status = wlansap_update_ft_info(ap_ctx->sap_context, in __wlan_hdd_mgmt_tx() 1146 struct hdd_ap_ctx *ap_ctx; in __hdd_indicate_mgmt_frame_to_user() local 1182 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter->deflink); in __hdd_indicate_mgmt_frame_to_user() 1183 ap_ctx->during_auth_offload = true; in __hdd_indicate_mgmt_frame_to_user()
|
H A D | wlan_hdd_green_ap.c | 222 struct hdd_ap_ctx *ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter->deflink); in __wlan_hdd_enter_sap_low_pwr_mode() local 254 ap_ctx->sap_config.beacon_int, &cookie_id); in __wlan_hdd_enter_sap_low_pwr_mode()
|
H A D | wlan_hdd_scan.c | 451 struct hdd_ap_ctx *ap_ctx; in __wlan_hdd_cfg80211_scan() local 522 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(con_sap_adapter->deflink); in __wlan_hdd_cfg80211_scan() 523 con_dfs_ch_freq = ap_ctx->sap_config.chan_freq; in __wlan_hdd_cfg80211_scan() 524 con_dfs_ch_width = ap_ctx->sap_config.ch_params.ch_width; in __wlan_hdd_cfg80211_scan() 526 con_dfs_ch_freq = ap_ctx->operating_chan_freq; in __wlan_hdd_cfg80211_scan()
|
H A D | wlan_hdd_hostapd_wext.c | 883 struct hdd_ap_ctx *ap_ctx; in __iw_softap_setparam() local 895 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in __iw_softap_setparam() 897 if (wlansap_is_channel_in_nol_list(ap_ctx->sap_context, in __iw_softap_setparam() 898 ap_ctx->operating_chan_freq, in __iw_softap_setparam() 901 ap_ctx->operating_chan_freq); in __iw_softap_setparam() 907 ap_ctx->operating_chan_freq); in __iw_softap_setparam() 1507 struct hdd_ap_ctx *ap_ctx; in __iw_softap_getchannel() local 1523 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter->deflink); in __iw_softap_getchannel() 1527 ap_ctx->operating_chan_freq); in __iw_softap_getchannel()
|
H A D | wlan_hdd_main.c | 833 struct hdd_ap_ctx *ap_ctx = in hdd_get_link_info_width() local 836 width = ap_ctx->sap_config.ch_params.ch_width; in hdd_get_link_info_width() 3114 struct hdd_ap_ctx *ap_ctx; in hdd_dfs_indicate_radar() local 3140 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in hdd_dfs_indicate_radar() 3141 ap_chan = ap_ctx->operating_chan_freq; in hdd_dfs_indicate_radar() 3146 ap_ctx->dfs_cac_block_tx = true; in hdd_dfs_indicate_radar() 4013 struct hdd_ap_ctx *ap_ctx; in hdd_is_chan_switch_in_progress() local 4025 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in hdd_is_chan_switch_in_progress() 4040 qdf_atomic_read(&ap_ctx->ch_switch_in_progress)) { in hdd_is_chan_switch_in_progress() 9741 struct hdd_ap_ctx *ap_ctx; in hdd_stop_sap_go_adapter() local [all …]
|
H A D | wlan_hdd_tx_rx.c | 1649 struct hdd_ap_ctx *ap_ctx; in wlan_hdd_set_tx_flow_info() local 1679 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter->deflink); in wlan_hdd_set_tx_flow_info() 1684 chan_freq = ap_ctx->operating_chan_freq; in wlan_hdd_set_tx_flow_info()
|
H A D | wlan_hdd_cfg80211.c | 2587 struct hdd_ap_ctx *ap_ctx; in wlan_hdd_cfg80211_start_acs() local 2599 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in wlan_hdd_cfg80211_start_acs() 2601 sap_config = &ap_ctx->sap_config; in wlan_hdd_cfg80211_start_acs() 2682 qdf_atomic_set(&ap_ctx->acs_in_progress, 1); in wlan_hdd_cfg80211_start_acs() 4079 struct hdd_ap_ctx *ap_ctx; in __wlan_hdd_cfg80211_do_acs() local 4146 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in __wlan_hdd_cfg80211_do_acs() 4148 if (qdf_atomic_read(&ap_ctx->acs_in_progress) > 0) { in __wlan_hdd_cfg80211_do_acs() 4158 qdf_atomic_set(&ap_ctx->acs_in_progress, 1); in __wlan_hdd_cfg80211_do_acs() 4178 sap_config = &ap_ctx->sap_config; in __wlan_hdd_cfg80211_do_acs() 4507 qdf_atomic_set(&ap_ctx->acs_in_progress, 0); in __wlan_hdd_cfg80211_do_acs() [all …]
|
H A D | wlan_hdd_power.c | 2464 struct hdd_ap_ctx *ap_ctx; in __wlan_hdd_cfg80211_suspend_wlan() local 2519 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in __wlan_hdd_cfg80211_suspend_wlan() 2521 true == ap_ctx->dfs_cac_block_tx) { in __wlan_hdd_cfg80211_suspend_wlan()
|
H A D | wlan_hdd_ioctl.c | 6710 struct hdd_ap_ctx *ap_ctx; in disconnect_sta_and_restart_sap() local 6733 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter->deflink); in disconnect_sta_and_restart_sap() 6737 ap_ctx->operating_chan_freq)) in disconnect_sta_and_restart_sap()
|
H A D | wlan_hdd_stats.c | 977 struct hdd_ap_ctx *ap_ctx = NULL; in wlan_hdd_get_connected_link_info() local 994 ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in wlan_hdd_get_connected_link_info() 995 info->link_id = ap_ctx->sap_config.link_id; in wlan_hdd_get_connected_link_info() 996 info->freq = ap_ctx->sap_config.chan_freq; in wlan_hdd_get_connected_link_info()
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/vdev_mgr/core/src/ |
H A D | vdev_mlme_sm.c | 1757 wlan_util_change_map_index(mld_ctx->ap_ctx->mlo_vdev_up_bmap, in mlme_vdev_subst_mlo_sync_wait_exit()
|