Home
last modified time | relevance | path

Searched refs:hal_spec (Results 1 – 25 of 239) sorted by relevance

12345678910

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/rtl8822c/
H A Drtl8822c_halinit.c25 struct hal_spec_t *hal_spec; in rtl8822c_init_hal_spec() local
28 hal_spec = GET_HAL_SPEC(adapter); in rtl8822c_init_hal_spec()
29 rtw_halmac_fill_hal_spec(adapter_to_dvobj(adapter), hal_spec); in rtl8822c_init_hal_spec()
31 hal_spec->ic_name = "rtl8822c"; in rtl8822c_init_hal_spec()
32 hal_spec->macid_num = 128; in rtl8822c_init_hal_spec()
34 hal_spec->sec_cap = SEC_CAP_CHK_BMC | SEC_CAP_CHK_EXTRA_SEC; in rtl8822c_init_hal_spec()
35 hal_spec->wow_cap = WOW_CAP_TKIP_OL; in rtl8822c_init_hal_spec()
36 hal_spec->macid_cap = MACID_DROP; in rtl8822c_init_hal_spec()
38 hal_spec->rfpath_num_2g = 2; in rtl8822c_init_hal_spec()
39 hal_spec->rfpath_num_5g = 2; in rtl8822c_init_hal_spec()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/rtl8821c/
H A Drtl8821c_halinit.c24 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in init_hal_spec_rtl8821c() local
26 rtw_halmac_fill_hal_spec(adapter_to_dvobj(adapter), hal_spec); in init_hal_spec_rtl8821c()
28 hal_spec->ic_name = "rtl8821c"; in init_hal_spec_rtl8821c()
29 hal_spec->macid_num = 128; in init_hal_spec_rtl8821c()
31 hal_spec->sec_cap = SEC_CAP_CHK_BMC | SEC_CAP_CHK_EXTRA_SEC; in init_hal_spec_rtl8821c()
32 hal_spec->macid_cap = MACID_DROP; in init_hal_spec_rtl8821c()
34 hal_spec->rfpath_num_2g = 2; in init_hal_spec_rtl8821c()
35 hal_spec->rfpath_num_5g = 1; in init_hal_spec_rtl8821c()
36 hal_spec->rf_reg_path_num = hal_spec->rf_reg_path_avail_num = 1; in init_hal_spec_rtl8821c()
37 hal_spec->rf_reg_trx_path_bmp = 0x11; in init_hal_spec_rtl8821c()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/rtl8821c/
H A Drtl8821c_halinit.c25 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in init_hal_spec_rtl8821c() local
27 rtw_halmac_fill_hal_spec(adapter_to_dvobj(adapter), hal_spec); in init_hal_spec_rtl8821c()
29 hal_spec->ic_name = "rtl8821c"; in init_hal_spec_rtl8821c()
30 hal_spec->macid_num = 128; in init_hal_spec_rtl8821c()
32 hal_spec->sec_cap = SEC_CAP_CHK_BMC | SEC_CAP_CHK_EXTRA_SEC; in init_hal_spec_rtl8821c()
33 hal_spec->macid_cap = MACID_DROP; in init_hal_spec_rtl8821c()
35 hal_spec->rfpath_num_2g = 2; in init_hal_spec_rtl8821c()
36 hal_spec->rfpath_num_5g = 1; in init_hal_spec_rtl8821c()
37 hal_spec->rf_reg_path_num = hal_spec->rf_reg_path_avail_num = 1; in init_hal_spec_rtl8821c()
38 hal_spec->rf_reg_trx_path_bmp = 0x11; in init_hal_spec_rtl8821c()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/rtl8822b/
H A Drtl8822b_halinit.c25 struct hal_spec_t *hal_spec; in rtl8822b_init_hal_spec() local
28 hal_spec = GET_HAL_SPEC(adapter); in rtl8822b_init_hal_spec()
29 rtw_halmac_fill_hal_spec(adapter_to_dvobj(adapter), hal_spec); in rtl8822b_init_hal_spec()
31 hal_spec->ic_name = "rtl8822b"; in rtl8822b_init_hal_spec()
32 hal_spec->macid_num = 128; in rtl8822b_init_hal_spec()
34 hal_spec->sec_cap = SEC_CAP_CHK_BMC; in rtl8822b_init_hal_spec()
36 hal_spec->rfpath_num_2g = 2; in rtl8822b_init_hal_spec()
37 hal_spec->rfpath_num_5g = 2; in rtl8822b_init_hal_spec()
38 hal_spec->rf_reg_path_num = 2; in rtl8822b_init_hal_spec()
39 hal_spec->max_tx_cnt = 2; in rtl8822b_init_hal_spec()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/
H A Dhal_com_phycfg.c30 #define IS_PG_TXPWR_BASE_INVALID(hal_spec, _base) ((_base) > hal_spec->txgi_max) argument
561 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_2g() local
568 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_chk_pg_txpwr_info_2g()
571 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexCCK_Base[path][group]) in hal_chk_pg_txpwr_info_2g()
572 || IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_2g()
593 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_5g() local
600 if (!HAL_SPEC_CHK_RF_PATH_5G(hal_spec, path)) in hal_chk_pg_txpwr_info_5g()
603 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_5g()
622 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_init_pg_txpwr_info_2g() local
646 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_init_pg_txpwr_info_2g()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/
H A Dhal_com_phycfg.c30 #define IS_PG_TXPWR_BASE_INVALID(hal_spec, _base) ((_base) > hal_spec->txgi_max) argument
561 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_2g() local
568 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_chk_pg_txpwr_info_2g()
571 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexCCK_Base[path][group]) in hal_chk_pg_txpwr_info_2g()
572 || IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_2g()
593 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_5g() local
600 if (!HAL_SPEC_CHK_RF_PATH_5G(hal_spec, path)) in hal_chk_pg_txpwr_info_5g()
603 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_5g()
622 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_init_pg_txpwr_info_2g() local
646 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_init_pg_txpwr_info_2g()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/
H A Dhal_com_phycfg.c31 #define IS_PG_TXPWR_BASE_INVALID(hal_spec, _base) ((_base) > hal_spec->txgi_max) argument
562 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_2g() local
569 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_chk_pg_txpwr_info_2g()
572 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexCCK_Base[path][group]) in hal_chk_pg_txpwr_info_2g()
573 || IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_2g()
594 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_5g() local
601 if (!HAL_SPEC_CHK_RF_PATH_5G(hal_spec, path)) in hal_chk_pg_txpwr_info_5g()
604 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_5g()
623 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_init_pg_txpwr_info_2g() local
647 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_init_pg_txpwr_info_2g()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/
H A Dhal_com_phycfg.c30 #define IS_PG_TXPWR_BASE_INVALID(hal_spec, _base) ((_base) > hal_spec->txgi_max) argument
591 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_2g() local
598 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_chk_pg_txpwr_info_2g()
601 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexCCK_Base[path][group]) in hal_chk_pg_txpwr_info_2g()
602 || IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_2g()
623 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_5g() local
630 if (!HAL_SPEC_CHK_RF_PATH_5G(hal_spec, path)) in hal_chk_pg_txpwr_info_5g()
633 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_5g()
652 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_init_pg_txpwr_info_2g() local
676 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_init_pg_txpwr_info_2g()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/
H A Dhal_com_phycfg.c30 #define IS_PG_TXPWR_BASE_INVALID(hal_spec, _base) ((_base) > hal_spec->txgi_max) argument
579 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_2g() local
586 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_chk_pg_txpwr_info_2g()
589 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexCCK_Base[path][group]) in hal_chk_pg_txpwr_info_2g()
590 || IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_2g()
611 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_5g() local
618 if (!HAL_SPEC_CHK_RF_PATH_5G(hal_spec, path)) in hal_chk_pg_txpwr_info_5g()
621 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_5g()
640 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_init_pg_txpwr_info_2g() local
664 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_init_pg_txpwr_info_2g()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/
H A Dhal_com_phycfg.c30 #define IS_PG_TXPWR_BASE_INVALID(hal_spec, _base) ((_base) > hal_spec->txgi_max) argument
591 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_2g() local
598 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_chk_pg_txpwr_info_2g()
601 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexCCK_Base[path][group]) in hal_chk_pg_txpwr_info_2g()
602 || IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_2g()
623 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_5g() local
630 if (!HAL_SPEC_CHK_RF_PATH_5G(hal_spec, path)) in hal_chk_pg_txpwr_info_5g()
633 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_5g()
652 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_init_pg_txpwr_info_2g() local
676 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_init_pg_txpwr_info_2g()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/
H A Dhal_com_phycfg.c30 #define IS_PG_TXPWR_BASE_INVALID(hal_spec, _base) ((_base) > hal_spec->txgi_max) argument
580 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_2g() local
587 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_chk_pg_txpwr_info_2g()
590 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexCCK_Base[path][group]) in hal_chk_pg_txpwr_info_2g()
591 || IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_2g()
612 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_5g() local
619 if (!HAL_SPEC_CHK_RF_PATH_5G(hal_spec, path)) in hal_chk_pg_txpwr_info_5g()
622 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_5g()
641 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_init_pg_txpwr_info_2g() local
665 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_init_pg_txpwr_info_2g()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/
H A Dhal_com_phycfg.c31 #define IS_PG_TXPWR_BASE_INVALID(hal_spec, _base) ((_base) > hal_spec->txgi_max) argument
581 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_2g() local
588 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_chk_pg_txpwr_info_2g()
591 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexCCK_Base[path][group]) in hal_chk_pg_txpwr_info_2g()
592 || IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_2g()
613 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_5g() local
620 if (!HAL_SPEC_CHK_RF_PATH_5G(hal_spec, path)) in hal_chk_pg_txpwr_info_5g()
623 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_5g()
642 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_init_pg_txpwr_info_2g() local
666 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_init_pg_txpwr_info_2g()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/
H A Dhal_com_phycfg.c30 #define IS_PG_TXPWR_BASE_INVALID(hal_spec, _base) ((_base) > hal_spec->txgi_max) argument
561 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_2g() local
568 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_chk_pg_txpwr_info_2g()
571 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexCCK_Base[path][group]) in hal_chk_pg_txpwr_info_2g()
572 || IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_2g()
593 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_5g() local
600 if (!HAL_SPEC_CHK_RF_PATH_5G(hal_spec, path)) in hal_chk_pg_txpwr_info_5g()
603 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_5g()
622 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_init_pg_txpwr_info_2g() local
646 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_init_pg_txpwr_info_2g()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/
H A Dhal_com_phycfg.c31 #define IS_PG_TXPWR_BASE_INVALID(hal_spec, _base) ((_base) > hal_spec->txgi_max) argument
498 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_2g() local
505 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_chk_pg_txpwr_info_2g()
508 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexCCK_Base[path][group]) in hal_chk_pg_txpwr_info_2g()
509 || IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_2g()
513 if (!HAL_SPEC_CHK_TX_CNT(hal_spec, tx_idx)) in hal_chk_pg_txpwr_info_2g()
529 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_5g() local
536 if (!HAL_SPEC_CHK_RF_PATH_5G(hal_spec, path)) in hal_chk_pg_txpwr_info_5g()
539 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_5g()
542 if (!HAL_SPEC_CHK_TX_CNT(hal_spec, tx_idx)) in hal_chk_pg_txpwr_info_5g()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/
H A Dhal_com_phycfg.c31 #define IS_PG_TXPWR_BASE_INVALID(hal_spec, _base) ((_base) > hal_spec->txgi_max) argument
498 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_2g() local
505 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_chk_pg_txpwr_info_2g()
508 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexCCK_Base[path][group]) in hal_chk_pg_txpwr_info_2g()
509 || IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_2g()
513 if (!HAL_SPEC_CHK_TX_CNT(hal_spec, tx_idx)) in hal_chk_pg_txpwr_info_2g()
529 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_5g() local
536 if (!HAL_SPEC_CHK_RF_PATH_5G(hal_spec, path)) in hal_chk_pg_txpwr_info_5g()
539 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_5g()
542 if (!HAL_SPEC_CHK_TX_CNT(hal_spec, tx_idx)) in hal_chk_pg_txpwr_info_5g()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/
H A Dhal_com_phycfg.c31 #define IS_PG_TXPWR_BASE_INVALID(hal_spec, _base) ((_base) > hal_spec->txgi_max) argument
498 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_2g() local
505 if (!HAL_SPEC_CHK_RF_PATH_2G(hal_spec, path)) in hal_chk_pg_txpwr_info_2g()
508 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexCCK_Base[path][group]) in hal_chk_pg_txpwr_info_2g()
509 || IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_2g()
513 if (!HAL_SPEC_CHK_TX_CNT(hal_spec, tx_idx)) in hal_chk_pg_txpwr_info_2g()
529 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in hal_chk_pg_txpwr_info_5g() local
536 if (!HAL_SPEC_CHK_RF_PATH_5G(hal_spec, path)) in hal_chk_pg_txpwr_info_5g()
539 if (IS_PG_TXPWR_BASE_INVALID(hal_spec, pwr_info->IndexBW40_Base[path][group])) in hal_chk_pg_txpwr_info_5g()
542 if (!HAL_SPEC_CHK_TX_CNT(hal_spec, tx_idx)) in hal_chk_pg_txpwr_info_5g()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/rtl8822b/
H A Drtl8822b_halinit.c30 struct hal_spec_t *hal_spec; in rtl8822b_init_hal_spec() local
33 hal_spec = GET_HAL_SPEC(adapter); in rtl8822b_init_hal_spec()
35 hal_spec->macid_num = 128; in rtl8822b_init_hal_spec()
36 hal_spec->sec_cam_ent_num = HALMAC_SECURITY_CAM_ENTRY_NUM_8822B; in rtl8822b_init_hal_spec()
37 hal_spec->sec_cap = SEC_CAP_CHK_BMC; in rtl8822b_init_hal_spec()
38 hal_spec->nss_num = 2; in rtl8822b_init_hal_spec()
39 hal_spec->band_cap = BAND_CAP_2G | BAND_CAP_5G; in rtl8822b_init_hal_spec()
40 hal_spec->bw_cap = BW_CAP_20M | BW_CAP_40M | BW_CAP_80M; in rtl8822b_init_hal_spec()
41 hal_spec->port_num = 5; in rtl8822b_init_hal_spec()
42 hal_spec->proto_cap = PROTO_CAP_11B | PROTO_CAP_11G | PROTO_CAP_11N | PROTO_CAP_11AC; in rtl8822b_init_hal_spec()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/rtl8852b/
H A Drtl8852b_halinit.c23 struct hal_spec_t *hal_spec = phl_get_ic_spec(phl_com); in init_hal_spec_8852b() local
27 hal_spec->ic_name = "rtl8852b"; in init_hal_spec_8852b()
28 hal_spec->macid_num = hal_mac_get_macid_num(hal); in init_hal_spec_8852b()
30 hal_spec->sec_cap = SEC_CAP_CHK_BMC; in init_hal_spec_8852b()
32 hal_spec->rfpath_num_2g = 2; in init_hal_spec_8852b()
33 hal_spec->rfpath_num_5g = 2; in init_hal_spec_8852b()
34 hal_spec->rf_reg_path_num = 2; in init_hal_spec_8852b()
45 hal_spec->max_tx_cnt = 2; in init_hal_spec_8852b()
46 hal_spec->band_cap = BAND_CAP_2G | BAND_CAP_5G | BAND_CAP_6G; in init_hal_spec_8852b()
47 hal_spec->bw_cap = BW_CAP_20M | BW_CAP_40M | BW_CAP_80M; in init_hal_spec_8852b()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/rtl8852b/
H A Drtl8852b_halinit.c23 struct hal_spec_t *hal_spec = phl_get_ic_spec(phl_com); in init_hal_spec_8852b() local
27 hal_spec->ic_name = "rtl8852b"; in init_hal_spec_8852b()
28 hal_spec->macid_num = hal_mac_get_macid_num(hal); in init_hal_spec_8852b()
30 hal_spec->sec_cap = SEC_CAP_CHK_BMC; in init_hal_spec_8852b()
32 hal_spec->rfpath_num_2g = 2; in init_hal_spec_8852b()
33 hal_spec->rfpath_num_5g = 2; in init_hal_spec_8852b()
34 hal_spec->rf_reg_path_num = 2; in init_hal_spec_8852b()
45 hal_spec->max_tx_cnt = 2; in init_hal_spec_8852b()
46 hal_spec->band_cap = BAND_CAP_2G | BAND_CAP_5G | BAND_CAP_6G; in init_hal_spec_8852b()
47 hal_spec->bw_cap = BW_CAP_20M | BW_CAP_40M | BW_CAP_80M; in init_hal_spec_8852b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/
H A Drtw_rf.c742 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in dump_txpwr_lmt() local
777 rfpath_num = (band == BAND_ON_2_4G ? hal_spec->rfpath_num_2g : hal_spec->rfpath_num_5g); in dump_txpwr_lmt()
813 if (ntx_idx >= hal_spec->tx_nss_num) in dump_txpwr_lmt()
931 if (lmt == hal_spec->txgi_max) { in dump_txpwr_lmt()
935 } else if (lmt > -hal_spec->txgi_pdbm && lmt < 0) { /* -0.xx */ in dump_txpwr_lmt()
937 …snprintf(tmp_str, TMP_STR_LEN, fmt, "", (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal_spec->txg… in dump_txpwr_lmt()
939 } else if (lmt % hal_spec->txgi_pdbm) { /* d.xx */ in dump_txpwr_lmt()
941 …rintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm, (rtw_abs(lmt) % hal_spec->txgi_pdbm) *… in dump_txpwr_lmt()
945 snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm); in dump_txpwr_lmt()
950 if (lmt == hal_spec->txgi_max) { in dump_txpwr_lmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/
H A Drtw_rf.c741 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in dump_txpwr_lmt() local
776 rfpath_num = (band == BAND_ON_2_4G ? hal_spec->rfpath_num_2g : hal_spec->rfpath_num_5g); in dump_txpwr_lmt()
812 if (ntx_idx >= hal_spec->tx_nss_num) in dump_txpwr_lmt()
930 if (lmt == hal_spec->txgi_max) { in dump_txpwr_lmt()
934 } else if (lmt > -hal_spec->txgi_pdbm && lmt < 0) { /* -0.xx */ in dump_txpwr_lmt()
936 …snprintf(tmp_str, TMP_STR_LEN, fmt, "", (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal_spec->txg… in dump_txpwr_lmt()
938 } else if (lmt % hal_spec->txgi_pdbm) { /* d.xx */ in dump_txpwr_lmt()
940 …rintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm, (rtw_abs(lmt) % hal_spec->txgi_pdbm) *… in dump_txpwr_lmt()
944 snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm); in dump_txpwr_lmt()
949 if (lmt == hal_spec->txgi_max) { in dump_txpwr_lmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/
H A Drtw_rf.c742 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in dump_txpwr_lmt() local
777 rfpath_num = (band == BAND_ON_2_4G ? hal_spec->rfpath_num_2g : hal_spec->rfpath_num_5g); in dump_txpwr_lmt()
813 if (ntx_idx >= hal_spec->tx_nss_num) in dump_txpwr_lmt()
931 if (lmt == hal_spec->txgi_max) { in dump_txpwr_lmt()
935 } else if (lmt > -hal_spec->txgi_pdbm && lmt < 0) { /* -0.xx */ in dump_txpwr_lmt()
937 …snprintf(tmp_str, TMP_STR_LEN, fmt, "", (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal_spec->txg… in dump_txpwr_lmt()
939 } else if (lmt % hal_spec->txgi_pdbm) { /* d.xx */ in dump_txpwr_lmt()
941 …rintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm, (rtw_abs(lmt) % hal_spec->txgi_pdbm) *… in dump_txpwr_lmt()
945 snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm); in dump_txpwr_lmt()
950 if (lmt == hal_spec->txgi_max) { in dump_txpwr_lmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/
H A Drtw_rm_util.c129 struct hal_spec_t *hal_spec = GET_HAL_SPEC(prm->psta->padapter); in rm_get_frame_rsni() local
135 for (i = 0; i < hal_spec->rf_reg_path_num; i++) { in rm_get_frame_rsni()
151 struct hal_spec_t *hal_spec = GET_HAL_SPEC(prm->psta->padapter); in rm_get_bcn_rsni() local
159 for (i = 0; i < hal_spec->rf_reg_path_num; i++) { in rm_get_bcn_rsni()
174 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in rm_get_tx_power() local
188 if (!HAL_SPEC_CHK_RF_PATH(hal_spec, band, path)) in rm_get_tx_power()
384 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in rm_get_path_a_max_tx_power() local
396 if (!HAL_SPEC_CHK_RF_PATH(hal_spec, band, path)) in rm_get_path_a_max_tx_power()
406 if (tx_num >= hal_spec->tx_nss_num) in rm_get_path_a_max_tx_power()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/
H A Drtw_rm_util.c128 struct hal_spec_t *hal_spec = GET_HAL_SPEC(prm->psta->padapter); in rm_get_frame_rsni() local
134 for (i = 0; i < hal_spec->rf_reg_path_num; i++) { in rm_get_frame_rsni()
150 struct hal_spec_t *hal_spec = GET_HAL_SPEC(prm->psta->padapter); in rm_get_bcn_rsni() local
158 for (i = 0; i < hal_spec->rf_reg_path_num; i++) { in rm_get_bcn_rsni()
173 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in rm_get_tx_power() local
187 if (!HAL_SPEC_CHK_RF_PATH(hal_spec, band, path)) in rm_get_tx_power()
383 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in rm_get_path_a_max_tx_power() local
395 if (!HAL_SPEC_CHK_RF_PATH(hal_spec, band, path)) in rm_get_path_a_max_tx_power()
405 if (tx_num >= hal_spec->tx_nss_num) in rm_get_path_a_max_tx_power()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/
H A Drtw_rm_util.c128 struct hal_spec_t *hal_spec = GET_HAL_SPEC(prm->psta->padapter); in rm_get_frame_rsni() local
134 for (i = 0; i < hal_spec->rf_reg_path_num; i++) { in rm_get_frame_rsni()
150 struct hal_spec_t *hal_spec = GET_HAL_SPEC(prm->psta->padapter); in rm_get_bcn_rsni() local
158 for (i = 0; i < hal_spec->rf_reg_path_num; i++) { in rm_get_bcn_rsni()
173 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in rm_get_tx_power() local
187 if (!HAL_SPEC_CHK_RF_PATH(hal_spec, band, path)) in rm_get_tx_power()
383 struct hal_spec_t *hal_spec = GET_HAL_SPEC(adapter); in rm_get_path_a_max_tx_power() local
395 if (!HAL_SPEC_CHK_RF_PATH(hal_spec, band, path)) in rm_get_path_a_max_tx_power()
405 if (tx_num >= hal_spec->tx_nss_num) in rm_get_path_a_max_tx_power()

12345678910