Home
last modified time | relevance | path

Searched refs:phl_role (Results 1 – 25 of 44) sorted by relevance

12

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_phl.c614 ret = rtw_phl_mr_query_mcc_inprogress(phl, a->phl_role, RTW_PHL_MCC_CHK_INPROGRESS); in rtw_hw_mcc_chk_inprogress()
999 status = rtw_phl_cmd_set_ch_bw(a->phl_role, in rtw_hw_set_ch_bw()
1025 adapter->phl_role->chandef.band = in rtw_hw_update_chan_def()
1027 adapter->phl_role->chandef.chan = mlmeext->chandef.chan; in rtw_hw_update_chan_def()
1028 adapter->phl_role->chandef.bw = mlmeext->chandef.bw; in rtw_hw_update_chan_def()
1029 adapter->phl_role->chandef.offset = mlmeext->chandef.offset; in rtw_hw_update_chan_def()
1030 adapter->phl_role->chandef.center_ch = rtw_phl_get_center_ch(mlmeext->chandef.chan, in rtw_hw_update_chan_def()
1034 phl_sta_self = rtw_phl_get_stainfo_self(adapter_to_dvobj(adapter)->phl, adapter->phl_role); in rtw_hw_update_chan_def()
1035 _rtw_memcpy(&phl_sta_self->chandef, &adapter->phl_role->chandef, sizeof(struct rtw_chan_def)); in rtw_hw_update_chan_def()
1071 adapter->iface_id, &(adapter->phl_role), _FALSE); in rtw_hw_iface_init()
[all …]
H A Drtw_sta_mgt.c517 struct rtw_wifi_role_t *phl_role = pstapriv->padapter->phl_role; in _rtw_alloc_core_stainfo() local
544 switch (phl_role->type) { in _rtw_alloc_core_stainfo()
550 index = wifi_mac_hash(phl_role->mac_addr); in _rtw_alloc_core_stainfo()
654 struct rtw_wifi_role_t *wrole = stapriv->padapter->phl_role; in _rtw_alloc_phl_stainfo()
692 struct rtw_wifi_role_t *wrole = stapriv->padapter->phl_role; in rtw_alloc_stainfo_hw()
972 adapter->phl_role, in _rtw_free_phl_stainfo()
997 (u8 *)hwaddr, stapriv->padapter->phl_role); in rtw_alloc_stainfo_sw()
1088 struct rtw_wifi_role_t *phl_role; in rtw_get_stainfo() local
1094 if (pstapriv->padapter->phl_role == NULL) { in rtw_get_stainfo()
1099 phl_role = pstapriv->padapter->phl_role; in rtw_get_stainfo()
[all …]
H A Drtw_phl_cmd.c86 status = rtw_phl_connect_linked(d->phl, a->phl_role, sta->phl_sta, mac); in _evt_joinbss_hdl()
117 struct rtw_wifi_role_t *role = a->phl_role; in rtw_send_tsf_sync_done_msg()
170 padapter->phl_role->hw_band, in rtw_pcie_trx_mit_cmd()
289 padapter->phl_role->hw_band, in rtw_enqueue_phl_cmd()
H A Drtw_he.c100 struct rtw_wifi_role_t *wrole = padapter->phl_role; in rtw_he_use_default_setting()
110 struct rtw_wifi_role_t *wrole = padapter->phl_role; in rtw_he_set_asoc_cap_supp_mcs()
286 struct rtw_wifi_role_t *wrole = padapter->phl_role; in update_sta_he_mac_cap_apmode()
311 struct rtw_wifi_role_t *wrole = padapter->phl_role; in update_sta_he_phy_cap_apmode()
485 struct rtw_wifi_role_t *wrole = padapter->phl_role; in HE_phy_caps_handler()
610 struct rtw_wifi_role_t *wrole = padapter->phl_role; in HE_caps_handler()
699 padapter->phl_role, in HE_operation_handler()
728 padapter->phl_role, in HE_operation_handler()
816 padapter->phl_role, in HE_mu_edca_handler()
834 padapter->phl_role, in HE_mu_edca_handler()
[all …]
H A Drtw_mlme.c921 rtw_phl_enter_mon_mode(phl, adapter->phl_role); in rtw_map_config_monitor()
923 rtw_phl_leave_mon_mode(phl, adapter->phl_role); in rtw_map_config_monitor()
4142 if (padapter->phl_role->proto_role_cap.ht_ldpc) in rtw_ht_use_default_setting()
4145 if (padapter->phl_role->cap.tx_ht_ldpc) in rtw_ht_use_default_setting()
4152 if (padapter->phl_role->proto_role_cap.stbc_ht_tx) in rtw_ht_use_default_setting()
4155 if (padapter->phl_role->proto_role_cap.stbc_ht_rx) in rtw_ht_use_default_setting()
4169 if (padapter->phl_role->proto_role_cap.ht_su_bfmr) { in rtw_ht_use_default_setting()
4174 if (padapter->phl_role->proto_role_cap.ht_su_bfme) { in rtw_ht_use_default_setting()
4324 rx_stbc_nss = padapter->phl_role->proto_role_cap.stbc_ht_rx; in rtw_restructure_ht_ie()
4360 if (padapter->phl_role->proto_role_cap.max_amsdu_len > 0) { in rtw_restructure_ht_ie()
[all …]
H A Drtw_csa.c136 rtw_phl_chanctx_del(d->phl, a->phl_role, NULL); in rtw_ecsa_update_sta_chan_info()
137 is_chctx_add = rtw_phl_chanctx_add(d->phl, a->phl_role, in rtw_ecsa_update_sta_chan_info()
456 struct rtw_wifi_role_t *role = a->phl_role; in rtw_trigger_phl_ecsa_start()
H A Drtw_ap.c1053 struct rtw_wifi_role_t *wrole = padapter->phl_role; in update_sta_info_apmode()
1265 struct sta_info *psta = rtw_get_stainfo(pstapriv, padapter->phl_role->mac_addr); in rtw_ap_set_edca()
1617 rtw_phl_mr_dump_cur_chandef(adapter_to_dvobj(padapter)->phl, padapter->phl_role); in rtw_core_ap_swch_start()
1832 is_chctx_add = rtw_phl_chanctx_add(dvobj->phl, padapter->phl_role, in start_bss_network()
4378 padapter->phl_role, &chan_def); in stop_ap_mode()
4400 const struct sta_info *ap_self_psta = rtw_get_stainfo(pstapriv, a->phl_role->mac_addr); in rtw_ap_update_clients_rainfo()
6132 struct rtw_wifi_role_t *role = padapter->phl_role; in _ap_start_swch_start_notify()
6140 msg.band_idx = padapter->phl_role->hw_band; in _ap_start_swch_start_notify()
6183 msg.band_idx = a->phl_role->hw_band; in _ap_start_swch_done_notify()
6213 struct rtw_wifi_role_t *role = padapter->phl_role; in _ap_start_end_notify()
[all …]
H A Drtw_wlan_util.c380 if (!adapter->phl_role) in rtw_get_oper_chdef()
383 if (rtw_phl_get_cur_hal_chdef(adapter->phl_role, chandef) != RTW_PHL_STATUS_SUCCESS) in rtw_get_oper_chdef()
978 struct rtw_wifi_role_t *wrole = padapter->phl_role; in HT_caps_handler()
1812 rtw_phl_mr_get_chandef(d->phl, adapter->phl_role, &mr_chdef); in rtw_check_bcn_info()
1858 if (rtw_phl_mr_upt_chandef(d->phl, adapter->phl_role) == RTW_PHL_STATUS_FAILURE) in rtw_check_bcn_info()
1861 rtw_phl_mr_get_chandef(d->phl, adapter->phl_role, &new_chdef); in rtw_check_bcn_info()
H A Drtw_mi.c533 …rtw_phl_cmd_stop_beacon(adapter_to_dvobj(adapter)->phl, adapter->phl_role, _TRUE, PHL_CMD_NO_WAIT,… in _rtw_mi_disconnect()
535 …rtw_phl_cmd_stop_beacon(adapter_to_dvobj(adapter)->phl, adapter->phl_role, _TRUE, PHL_CMD_DIRECTLY… in _rtw_mi_disconnect()
541 rtw_phl_chanctx_del(adapter_to_dvobj(adapter)->phl, adapter->phl_role, NULL); in _rtw_mi_disconnect()
H A Drtw_vht.c358 struct rtw_wifi_role_t *wrole = padapter->phl_role; in rtw_vht_get_real_setting()
574 struct rtw_wifi_role_t *wrole = padapter->phl_role; in update_sta_vht_info_apmode()
754 struct rtw_wifi_role_t *wrole = padapter->phl_role; in VHT_caps_handler()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_phl.c614 ret = rtw_phl_mr_query_mcc_inprogress(phl, a->phl_role, RTW_PHL_MCC_CHK_INPROGRESS); in rtw_hw_mcc_chk_inprogress()
996 status = rtw_phl_cmd_set_ch_bw(a->phl_role, in rtw_hw_set_ch_bw()
1022 adapter->phl_role->chandef.band = in rtw_hw_update_chan_def()
1024 adapter->phl_role->chandef.chan = mlmeext->chandef.chan; in rtw_hw_update_chan_def()
1025 adapter->phl_role->chandef.bw = mlmeext->chandef.bw; in rtw_hw_update_chan_def()
1026 adapter->phl_role->chandef.offset = mlmeext->chandef.offset; in rtw_hw_update_chan_def()
1027 adapter->phl_role->chandef.center_ch = rtw_phl_get_center_ch(mlmeext->chandef.chan, in rtw_hw_update_chan_def()
1031 phl_sta_self = rtw_phl_get_stainfo_self(adapter_to_dvobj(adapter)->phl, adapter->phl_role); in rtw_hw_update_chan_def()
1032 _rtw_memcpy(&phl_sta_self->chandef, &adapter->phl_role->chandef, sizeof(struct rtw_chan_def)); in rtw_hw_update_chan_def()
1068 adapter->iface_id, &(adapter->phl_role), _FALSE); in rtw_hw_iface_init()
[all …]
H A Drtw_sta_mgt.c517 struct rtw_wifi_role_t *phl_role = pstapriv->padapter->phl_role; in _rtw_alloc_core_stainfo() local
544 switch (phl_role->type) { in _rtw_alloc_core_stainfo()
550 index = wifi_mac_hash(phl_role->mac_addr); in _rtw_alloc_core_stainfo()
654 struct rtw_wifi_role_t *wrole = stapriv->padapter->phl_role; in _rtw_alloc_phl_stainfo()
692 struct rtw_wifi_role_t *wrole = stapriv->padapter->phl_role; in rtw_alloc_stainfo_hw()
972 adapter->phl_role, in _rtw_free_phl_stainfo()
997 (u8 *)hwaddr, stapriv->padapter->phl_role); in rtw_alloc_stainfo_sw()
1088 struct rtw_wifi_role_t *phl_role; in rtw_get_stainfo() local
1094 if (pstapriv->padapter->phl_role == NULL) { in rtw_get_stainfo()
1099 phl_role = pstapriv->padapter->phl_role; in rtw_get_stainfo()
[all …]
H A Drtw_phl_cmd.c86 status = rtw_phl_connect_linked(d->phl, a->phl_role, sta->phl_sta, mac); in _evt_joinbss_hdl()
117 struct rtw_wifi_role_t *role = a->phl_role; in rtw_send_tsf_sync_done_msg()
170 padapter->phl_role->hw_band, in rtw_pcie_trx_mit_cmd()
289 padapter->phl_role->hw_band, in rtw_enqueue_phl_cmd()
H A Drtw_he.c100 struct rtw_wifi_role_t *wrole = padapter->phl_role; in rtw_he_use_default_setting()
110 struct rtw_wifi_role_t *wrole = padapter->phl_role; in rtw_he_set_asoc_cap_supp_mcs()
286 struct rtw_wifi_role_t *wrole = padapter->phl_role; in update_sta_he_mac_cap_apmode()
311 struct rtw_wifi_role_t *wrole = padapter->phl_role; in update_sta_he_phy_cap_apmode()
485 struct rtw_wifi_role_t *wrole = padapter->phl_role; in HE_phy_caps_handler()
610 struct rtw_wifi_role_t *wrole = padapter->phl_role; in HE_caps_handler()
699 padapter->phl_role, in HE_operation_handler()
728 padapter->phl_role, in HE_operation_handler()
816 padapter->phl_role, in HE_mu_edca_handler()
834 padapter->phl_role, in HE_mu_edca_handler()
[all …]
H A Drtw_mlme.c920 rtw_phl_enter_mon_mode(phl, adapter->phl_role); in rtw_map_config_monitor()
922 rtw_phl_leave_mon_mode(phl, adapter->phl_role); in rtw_map_config_monitor()
4111 if (padapter->phl_role->proto_role_cap.ht_ldpc) in rtw_ht_use_default_setting()
4114 if (padapter->phl_role->cap.tx_ht_ldpc) in rtw_ht_use_default_setting()
4121 if (padapter->phl_role->proto_role_cap.stbc_ht_tx) in rtw_ht_use_default_setting()
4124 if (padapter->phl_role->proto_role_cap.stbc_ht_rx) in rtw_ht_use_default_setting()
4138 if (padapter->phl_role->proto_role_cap.ht_su_bfmr) { in rtw_ht_use_default_setting()
4143 if (padapter->phl_role->proto_role_cap.ht_su_bfme) { in rtw_ht_use_default_setting()
4293 rx_stbc_nss = padapter->phl_role->proto_role_cap.stbc_ht_rx; in rtw_restructure_ht_ie()
4329 if (padapter->phl_role->proto_role_cap.max_amsdu_len > 0) { in rtw_restructure_ht_ie()
[all …]
H A Drtw_csa.c136 rtw_phl_chanctx_del(d->phl, a->phl_role, NULL); in rtw_ecsa_update_sta_chan_info()
137 is_chctx_add = rtw_phl_chanctx_add(d->phl, a->phl_role, in rtw_ecsa_update_sta_chan_info()
456 struct rtw_wifi_role_t *role = a->phl_role; in rtw_trigger_phl_ecsa_start()
H A Drtw_ap.c964 struct rtw_wifi_role_t *wrole = padapter->phl_role; in update_sta_info_apmode()
1176 struct sta_info *psta = rtw_get_stainfo(pstapriv, padapter->phl_role->mac_addr); in rtw_ap_set_edca()
1528 rtw_phl_mr_dump_cur_chandef(adapter_to_dvobj(padapter)->phl, padapter->phl_role); in rtw_core_ap_swch_start()
1743 is_chctx_add = rtw_phl_chanctx_add(dvobj->phl, padapter->phl_role, in start_bss_network()
4282 padapter->phl_role, &chan_def); in stop_ap_mode()
4304 const struct sta_info *ap_self_psta = rtw_get_stainfo(pstapriv, a->phl_role->mac_addr); in rtw_ap_update_clients_rainfo()
6036 struct rtw_wifi_role_t *role = padapter->phl_role; in _ap_start_swch_start_notify()
6044 msg.band_idx = padapter->phl_role->hw_band; in _ap_start_swch_start_notify()
6087 msg.band_idx = a->phl_role->hw_band; in _ap_start_swch_done_notify()
6117 struct rtw_wifi_role_t *role = padapter->phl_role; in _ap_start_end_notify()
[all …]
H A Drtw_wlan_util.c380 if (!adapter->phl_role) in rtw_get_oper_chdef()
383 if (rtw_phl_get_cur_hal_chdef(adapter->phl_role, chandef) != RTW_PHL_STATUS_SUCCESS) in rtw_get_oper_chdef()
978 struct rtw_wifi_role_t *wrole = padapter->phl_role; in HT_caps_handler()
1757 rtw_phl_mr_get_chandef(d->phl, adapter->phl_role, &mr_chdef); in rtw_check_bcn_info()
1803 if (rtw_phl_mr_upt_chandef(d->phl, adapter->phl_role) == RTW_PHL_STATUS_FAILURE) in rtw_check_bcn_info()
1806 rtw_phl_mr_get_chandef(d->phl, adapter->phl_role, &new_chdef); in rtw_check_bcn_info()
H A Drtw_vht.c358 struct rtw_wifi_role_t *wrole = padapter->phl_role; in rtw_vht_get_real_setting()
574 struct rtw_wifi_role_t *wrole = padapter->phl_role; in update_sta_vht_info_apmode()
754 struct rtw_wifi_role_t *wrole = padapter->phl_role; in VHT_caps_handler()
H A Drtw_mi.c533 …rtw_phl_cmd_stop_beacon(adapter_to_dvobj(adapter)->phl, adapter->phl_role, _TRUE, PHL_CMD_NO_WAIT,… in _rtw_mi_disconnect()
535 …rtw_phl_cmd_stop_beacon(adapter_to_dvobj(adapter)->phl, adapter->phl_role, _TRUE, PHL_CMD_DIRECTLY… in _rtw_mi_disconnect()
541 rtw_phl_chanctx_del(adapter_to_dvobj(adapter)->phl, adapter->phl_role, NULL); in _rtw_mi_disconnect()
H A Drtw_mlme_ext.c5824 struct rtw_wifi_role_t *wrole = padapter->phl_role;
5855 rtw_phl_cmd_issue_beacon(phl, padapter->phl_role, bcn_cmn, PHL_CMD_DIRECTLY, 0);
5872 rtw_phl_cmd_issue_beacon(phl, padapter->phl_role, bcn_cmn, PHL_CMD_DIRECTLY, 0);
9753 padapter->phl_role->hw_band,
10390 struct rtw_wifi_role_t *wrole = a->phl_role;
11404 chanctx_num = rtw_phl_chanctx_del(phl, adapter->phl_role, &chan_def);
11431 rtw_phl_ap_stop(adapter_to_dvobj(adapter)->phl, adapter->phl_role);
11707 chanctx_num = rtw_phl_mr_get_chanctx_num(dvobj->phl, adapter->phl_role);
11715 rtw_phl_mr_get_chandef(dvobj->phl, adapter->phl_role, &chandef);
11722 if (adapter->phl_role->chanctx) {
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/
H A Drtw_phl.h34 #define GET_WIFI_ROLE_CURRENT_CH(_adapter) (_adapter->phl_role->chandef.ch)
35 #define WIFI_ROLE_IS_ON_24G(_adapter) (_adapter->phl_role->chandef.band == BAND_ON_24G)
36 #define WIFI_ROLE_IS_ON_5G(_adapter) (_adapter->phl_role->chandef.band == BAND_ON_5G)
37 #define WIFI_ROLE_IS_ON_6G(_adapter) (_adapter->phl_role->chandef.band == BAND_ON_6G)
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/
H A Drtw_phl.h34 #define GET_WIFI_ROLE_CURRENT_CH(_adapter) (_adapter->phl_role->chandef.ch)
35 #define WIFI_ROLE_IS_ON_24G(_adapter) (_adapter->phl_role->chandef.band == BAND_ON_24G)
36 #define WIFI_ROLE_IS_ON_5G(_adapter) (_adapter->phl_role->chandef.band == BAND_ON_5G)
37 #define WIFI_ROLE_IS_ON_6G(_adapter) (_adapter->phl_role->chandef.band == BAND_ON_6G)
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl.mk26 $(phl_path)phl_role.o \
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl.mk26 $(phl_path)phl_role.o \

12