| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/rtl8821c/ |
| H A D | rtl8821c_phy.c | 1003 static void _config_beamformer_su(PADAPTER adapter, struct beamformer_entry *bfer) in _config_beamformer_su() argument 1016 if (bfer->su_reg_index == 0) { in _config_beamformer_su() 1029 rtw_write8(adapter, addr_bfer_info+i, bfer->mac_addr[i]); in _config_beamformer_su() 1038 nr_index = bfer->NumofSoundingDim; in _config_beamformer_su() 1041 if (TEST_FLAG(bfer->cap, BEAMFORMER_CAP_VHT_SU)) in _config_beamformer_su() 1043 else if (TEST_FLAG(bfer->cap, BEAMFORMER_CAP_HT_EXPLICIT)) in _config_beamformer_su() 1056 static void _config_beamformer_mu(PADAPTER adapter, struct beamformer_entry *bfer) in _config_beamformer_mu() argument 1076 bfer->gid_valid[i] = 0; in _config_beamformer_mu() 1078 bfer->user_position[i] = 0; in _config_beamformer_mu() 1094 rtw_halmac_bf_add_mu_bfer(adapter_to_dvobj(adapter), bfer->p_aid, in _config_beamformer_mu() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/rtl8821c/ |
| H A D | rtl8821c_phy.c | 1001 static void _config_beamformer_su(PADAPTER adapter, struct beamformer_entry *bfer) in _config_beamformer_su() argument 1014 if (bfer->su_reg_index == 0) { in _config_beamformer_su() 1027 rtw_write8(adapter, addr_bfer_info+i, bfer->mac_addr[i]); in _config_beamformer_su() 1036 nr_index = bfer->NumofSoundingDim; in _config_beamformer_su() 1039 if (TEST_FLAG(bfer->cap, BEAMFORMER_CAP_VHT_SU)) in _config_beamformer_su() 1041 else if (TEST_FLAG(bfer->cap, BEAMFORMER_CAP_HT_EXPLICIT)) in _config_beamformer_su() 1054 static void _config_beamformer_mu(PADAPTER adapter, struct beamformer_entry *bfer) in _config_beamformer_mu() argument 1074 bfer->gid_valid[i] = 0; in _config_beamformer_mu() 1076 bfer->user_position[i] = 0; in _config_beamformer_mu() 1092 rtw_halmac_bf_add_mu_bfer(adapter_to_dvobj(adapter), bfer->p_aid, in _config_beamformer_mu() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/rtl8822b/ |
| H A D | rtl8822b_phy.c | 1530 static void _config_beamformer_su(PADAPTER adapter, struct beamformer_entry *bfer) in _config_beamformer_su() argument 1543 if (bfer->su_reg_index == 0) { in _config_beamformer_su() 1556 rtw_write8(adapter, addr_bfer_info+i, bfer->mac_addr[i]); in _config_beamformer_su() 1565 nr_index = bfer->NumofSoundingDim; in _config_beamformer_su() 1568 if (TEST_FLAG(bfer->cap, BEAMFORMER_CAP_VHT_SU)) in _config_beamformer_su() 1570 else if (TEST_FLAG(bfer->cap, BEAMFORMER_CAP_HT_EXPLICIT)) in _config_beamformer_su() 1583 static void _config_beamformer_mu(PADAPTER adapter, struct beamformer_entry *bfer) in _config_beamformer_mu() argument 1603 bfer->gid_valid[i] = 0; in _config_beamformer_mu() 1605 bfer->user_position[i] = 0; in _config_beamformer_mu() 1621 rtw_halmac_bf_add_mu_bfer(adapter_to_dvobj(adapter), bfer->p_aid, in _config_beamformer_mu() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/rtl8822c/ |
| H A D | rtl8822c_phy.c | 1556 static void _config_beamformer_su(PADAPTER adapter, struct beamformer_entry *bfer) in _config_beamformer_su() argument 1569 if (bfer->su_reg_index == 0) { in _config_beamformer_su() 1582 rtw_write8(adapter, addr_bfer_info+i, bfer->mac_addr[i]); in _config_beamformer_su() 1591 nr_index = bfer->NumofSoundingDim; in _config_beamformer_su() 1594 if (TEST_FLAG(bfer->cap, BEAMFORMER_CAP_VHT_SU)) in _config_beamformer_su() 1596 else if (TEST_FLAG(bfer->cap, BEAMFORMER_CAP_HT_EXPLICIT)) in _config_beamformer_su() 1624 static void _config_beamformer_mu(PADAPTER adapter, struct beamformer_entry *bfer) in _config_beamformer_mu() argument 1644 bfer->gid_valid[i] = 0; in _config_beamformer_mu() 1646 bfer->user_position[i] = 0; in _config_beamformer_mu() 1662 rtw_halmac_bf_add_mu_bfer(adapter_to_dvobj(adapter), bfer->p_aid, in _config_beamformer_mu() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_beamforming.c | 1041 struct beamformer_entry *bfer; 1047 bfer = &info->bfer_entry[i]; 1048 if (bfer->used == _FALSE) 1049 return bfer; 1059 struct beamformer_entry *bfer; 1065 bfer = &info->bfer_entry[i]; 1066 if (bfer->used == _FALSE) 1068 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) 1069 return bfer; 1080 struct beamformer_entry *bfer; [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_beamforming.c | 1041 struct beamformer_entry *bfer; 1047 bfer = &info->bfer_entry[i]; 1048 if (bfer->used == _FALSE) 1049 return bfer; 1059 struct beamformer_entry *bfer; 1065 bfer = &info->bfer_entry[i]; 1066 if (bfer->used == _FALSE) 1068 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) 1069 return bfer; 1080 struct beamformer_entry *bfer; [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_beamforming.c | 1032 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 1038 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 1039 if (bfer->used == _FALSE) in _bfer_get_free_entry() 1040 return bfer; in _bfer_get_free_entry() 1050 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 1056 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 1057 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 1059 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 1060 return bfer; in _bfer_get_entry_by_addr() 1071 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/ |
| H A D | rtw_beamforming.c | 1032 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 1038 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 1039 if (bfer->used == _FALSE) in _bfer_get_free_entry() 1040 return bfer; in _bfer_get_free_entry() 1050 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 1056 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 1057 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 1059 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 1060 return bfer; in _bfer_get_entry_by_addr() 1071 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/ |
| H A D | rtw_beamforming.c | 964 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 970 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 971 if (bfer->used == _FALSE) in _bfer_get_free_entry() 972 return bfer; in _bfer_get_free_entry() 982 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 988 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 989 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 991 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 992 return bfer; in _bfer_get_entry_by_addr() 1003 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/ |
| H A D | rtw_beamforming.c | 964 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 970 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 971 if (bfer->used == _FALSE) in _bfer_get_free_entry() 972 return bfer; in _bfer_get_free_entry() 982 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 988 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 989 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 991 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 992 return bfer; in _bfer_get_entry_by_addr() 1003 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_beamforming.c | 1032 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 1038 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 1039 if (bfer->used == _FALSE) in _bfer_get_free_entry() 1040 return bfer; in _bfer_get_free_entry() 1050 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 1056 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 1057 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 1059 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 1060 return bfer; in _bfer_get_entry_by_addr() 1071 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/ |
| H A D | rtw_beamforming.c | 1032 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 1038 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 1039 if (bfer->used == _FALSE) in _bfer_get_free_entry() 1040 return bfer; in _bfer_get_free_entry() 1050 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 1056 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 1057 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 1059 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 1060 return bfer; in _bfer_get_entry_by_addr() 1071 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/ |
| H A D | rtw_beamforming.c | 963 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 969 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 970 if (bfer->used == _FALSE) in _bfer_get_free_entry() 971 return bfer; in _bfer_get_free_entry() 981 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 987 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 988 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 990 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 991 return bfer; in _bfer_get_entry_by_addr() 1002 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/ |
| H A D | rtw_beamforming.c | 1033 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 1039 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 1040 if (bfer->used == _FALSE) in _bfer_get_free_entry() 1041 return bfer; in _bfer_get_free_entry() 1051 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 1057 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 1058 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 1060 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 1061 return bfer; in _bfer_get_entry_by_addr() 1072 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/ |
| H A D | rtw_beamforming.c | 964 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 970 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 971 if (bfer->used == _FALSE) in _bfer_get_free_entry() 972 return bfer; in _bfer_get_free_entry() 982 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 988 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 989 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 991 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 992 return bfer; in _bfer_get_entry_by_addr() 1003 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/ |
| H A D | rtw_beamforming.c | 964 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 970 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 971 if (bfer->used == _FALSE) in _bfer_get_free_entry() 972 return bfer; in _bfer_get_free_entry() 982 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 988 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 989 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 991 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 992 return bfer; in _bfer_get_entry_by_addr() 1003 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/ |
| H A D | rtw_beamforming.c | 963 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 969 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 970 if (bfer->used == _FALSE) in _bfer_get_free_entry() 971 return bfer; in _bfer_get_free_entry() 981 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 987 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 988 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 990 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 991 return bfer; in _bfer_get_entry_by_addr() 1002 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/ |
| H A D | rtw_beamforming.c | 963 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 969 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 970 if (bfer->used == _FALSE) in _bfer_get_free_entry() 971 return bfer; in _bfer_get_free_entry() 981 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 987 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 988 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 990 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 991 return bfer; in _bfer_get_entry_by_addr() 1002 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/ |
| H A D | rtw_beamforming.c | 963 struct beamformer_entry *bfer; in _bfer_get_free_entry() local 969 bfer = &info->bfer_entry[i]; in _bfer_get_free_entry() 970 if (bfer->used == _FALSE) in _bfer_get_free_entry() 971 return bfer; in _bfer_get_free_entry() 981 struct beamformer_entry *bfer; in _bfer_get_entry_by_addr() local 987 bfer = &info->bfer_entry[i]; in _bfer_get_entry_by_addr() 988 if (bfer->used == _FALSE) in _bfer_get_entry_by_addr() 990 if (_rtw_memcmp(ra, bfer->mac_addr, ETH_ALEN) == _TRUE) in _bfer_get_entry_by_addr() 991 return bfer; in _bfer_get_entry_by_addr() 1002 struct beamformer_entry *bfer; in _bfer_add_entry() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/rtl8822b/ |
| H A D | rtl8822b_phy.c | 1814 struct beamformer_entry *bfer; in rtl8822b_phy_sounding_enter() local 1837 bfer = beamforming_get_bfer_entry_by_addr(adapter, sta->hwaddr); in rtl8822b_phy_sounding_enter() 1839 if (bfer) { in rtl8822b_phy_sounding_enter() 1840 bfer->state = BEAMFORM_ENTRY_HW_STATE_ADDING; in rtl8822b_phy_sounding_enter() 1842 if (TEST_FLAG(bfer->cap, BEAMFORMER_CAP_VHT_MU)) { in rtl8822b_phy_sounding_enter() 1848 bfer->gid_valid[i] = 0; in rtl8822b_phy_sounding_enter() 1850 bfer->user_position[i] = 0; in rtl8822b_phy_sounding_enter() 1857 rtw_write8(adapter, REG_ASSOCIATED_BFMER0_INFO_8822B+i, bfer->mac_addr[i]); in rtl8822b_phy_sounding_enter() 1860 rtw_write16(adapter, REG_ASSOCIATED_BFMER0_INFO_8822B+6, bfer->p_aid); in rtl8822b_phy_sounding_enter() 1868 val16 |= (bfer->aid & 0xFFF); in rtl8822b_phy_sounding_enter() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/ |
| H A D | rtw_beamforming.c | 494 struct beamformer_entry *bfer = NULL; in _init_entry() local 543 bfer = _add_bfer_entry(adapter, sta, sta_bf_cap, sounding_dim, comp_steering_num); in _init_entry() 544 if (bfer == NULL) { in _init_entry() 549 sta_real->txbf_paid = bfer->p_aid; in _init_entry() 550 sta_real->txbf_gid = bfer->g_id; in _init_entry() 569 struct beamformer_entry *bfer = NULL; in _deinit_entry() local 577 bfer = beamforming_get_bfer_entry_by_addr(adapter, ra); in _deinit_entry() 580 if (!bfer && !bfee) { in _deinit_entry() 586 if (bfer && bfee) in _deinit_entry() 590 if (bfer) in _deinit_entry() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | rs.c | 923 rate->bfer = true; in rs_rate_from_ucode_rate() 933 WARN_ONCE(!rate->stbc && !rate->bfer && num_of_ant != 1, in rs_rate_from_ucode_rate() 935 rate->stbc, rate->bfer); in rs_rate_from_ucode_rate() 948 WARN_ONCE(!rate->stbc && !rate->bfer && num_of_ant != 1, in rs_rate_from_ucode_rate() 950 rate->stbc, rate->bfer); in rs_rate_from_ucode_rate() 963 WARN_ONCE(!rate->stbc && !rate->bfer && num_of_ant != 1, in rs_rate_from_ucode_rate() 964 "stbc %d bfer %d", rate->stbc, rate->bfer); in rs_rate_from_ucode_rate() 1150 if (a->stbc || a->bfer) in rs_rate_column_match() 1172 if (rate->ant == ANT_A || rate->stbc || rate->bfer) in rs_get_column_from_rate()
|
| H A D | rs.h | 172 bool bfer; member
|