Home
last modified time | relevance | path

Searched refs:tmp_bw (Results 1 – 25 of 40) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/
H A Dhal_com_phycfg.c2911 u8 tmp_bw; in PHY_GetTxPowerLimit() local
2969 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in PHY_GetTxPowerLimit()
2970 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in PHY_GetTxPowerLimit()
2974 if (tmp_bw == CHANNEL_WIDTH_20) in PHY_GetTxPowerLimit()
2976 else if (tmp_bw == CHANNEL_WIDTH_40) in PHY_GetTxPowerLimit()
2978 else if (tmp_bw == CHANNEL_WIDTH_80) in PHY_GetTxPowerLimit()
2986 lmt = phy_get_txpwr_lmt_abs(adapter, regd_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in PHY_GetTxPowerLimit()
2991 final_bw = tmp_bw; in PHY_GetTxPowerLimit()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/
H A Dhal_com_phycfg.c3085 u8 tmp_bw; in PHY_GetTxPowerLimit() local
3143 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in PHY_GetTxPowerLimit()
3144 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in PHY_GetTxPowerLimit()
3148 if (tmp_bw == CHANNEL_WIDTH_20) in PHY_GetTxPowerLimit()
3150 else if (tmp_bw == CHANNEL_WIDTH_40) in PHY_GetTxPowerLimit()
3152 else if (tmp_bw == CHANNEL_WIDTH_80) in PHY_GetTxPowerLimit()
3160 lmt = phy_get_txpwr_lmt_abs(adapter, regd_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in PHY_GetTxPowerLimit()
3165 final_bw = tmp_bw; in PHY_GetTxPowerLimit()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/
H A Dhal_com_phycfg.c3075 u8 tmp_bw; in PHY_GetTxPowerLimit() local
3133 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in PHY_GetTxPowerLimit()
3134 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in PHY_GetTxPowerLimit()
3138 if (tmp_bw == CHANNEL_WIDTH_20) in PHY_GetTxPowerLimit()
3140 else if (tmp_bw == CHANNEL_WIDTH_40) in PHY_GetTxPowerLimit()
3142 else if (tmp_bw == CHANNEL_WIDTH_80) in PHY_GetTxPowerLimit()
3150 lmt = phy_get_txpwr_lmt_abs(adapter, regd_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in PHY_GetTxPowerLimit()
3155 final_bw = tmp_bw; in PHY_GetTxPowerLimit()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/
H A Dhal_com_phycfg.c3127 u8 tmp_bw; in PHY_GetTxPowerLimit() local
3185 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in PHY_GetTxPowerLimit()
3186 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in PHY_GetTxPowerLimit()
3190 if (tmp_bw == CHANNEL_WIDTH_20) in PHY_GetTxPowerLimit()
3192 else if (tmp_bw == CHANNEL_WIDTH_40) in PHY_GetTxPowerLimit()
3194 else if (tmp_bw == CHANNEL_WIDTH_80) in PHY_GetTxPowerLimit()
3202 lmt = phy_get_txpwr_lmt_abs(adapter, regd_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in PHY_GetTxPowerLimit()
3207 final_bw = tmp_bw; in PHY_GetTxPowerLimit()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/
H A Dhal_com_phycfg.c3091 u8 tmp_bw; in phy_get_txpwr_lmt_sub_chs() local
3156 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in phy_get_txpwr_lmt_sub_chs()
3157 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in phy_get_txpwr_lmt_sub_chs()
3161 if (tmp_bw == CHANNEL_WIDTH_20) in phy_get_txpwr_lmt_sub_chs()
3163 else if (tmp_bw == CHANNEL_WIDTH_40) in phy_get_txpwr_lmt_sub_chs()
3165 else if (tmp_bw == CHANNEL_WIDTH_80) in phy_get_txpwr_lmt_sub_chs()
3173 lmt = phy_get_txpwr_lmt(adapter, regd_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in phy_get_txpwr_lmt_sub_chs()
3178 final_bw = tmp_bw; in phy_get_txpwr_lmt_sub_chs()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/
H A Dhal_com_phycfg.c3092 u8 tmp_bw; in phy_get_txpwr_lmt_sub_chs() local
3157 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in phy_get_txpwr_lmt_sub_chs()
3158 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in phy_get_txpwr_lmt_sub_chs()
3162 if (tmp_bw == CHANNEL_WIDTH_20) in phy_get_txpwr_lmt_sub_chs()
3164 else if (tmp_bw == CHANNEL_WIDTH_40) in phy_get_txpwr_lmt_sub_chs()
3166 else if (tmp_bw == CHANNEL_WIDTH_80) in phy_get_txpwr_lmt_sub_chs()
3174 lmt = phy_get_txpwr_lmt(adapter, regd_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in phy_get_txpwr_lmt_sub_chs()
3179 final_bw = tmp_bw; in phy_get_txpwr_lmt_sub_chs()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/
H A Dhal_com_phycfg.c3082 u8 tmp_bw; in phy_get_txpwr_lmt_sub_chs() local
3147 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in phy_get_txpwr_lmt_sub_chs()
3148 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in phy_get_txpwr_lmt_sub_chs()
3152 if (tmp_bw == CHANNEL_WIDTH_20) in phy_get_txpwr_lmt_sub_chs()
3154 else if (tmp_bw == CHANNEL_WIDTH_40) in phy_get_txpwr_lmt_sub_chs()
3156 else if (tmp_bw == CHANNEL_WIDTH_80) in phy_get_txpwr_lmt_sub_chs()
3164 lmt = phy_get_txpwr_lmt(adapter, regd_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in phy_get_txpwr_lmt_sub_chs()
3169 final_bw = tmp_bw; in phy_get_txpwr_lmt_sub_chs()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/
H A Dhal_com_phycfg.c3091 u8 tmp_bw; in phy_get_txpwr_lmt_sub_chs() local
3156 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in phy_get_txpwr_lmt_sub_chs()
3157 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in phy_get_txpwr_lmt_sub_chs()
3161 if (tmp_bw == CHANNEL_WIDTH_20) in phy_get_txpwr_lmt_sub_chs()
3163 else if (tmp_bw == CHANNEL_WIDTH_40) in phy_get_txpwr_lmt_sub_chs()
3165 else if (tmp_bw == CHANNEL_WIDTH_80) in phy_get_txpwr_lmt_sub_chs()
3173 lmt = phy_get_txpwr_lmt(adapter, regd_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in phy_get_txpwr_lmt_sub_chs()
3178 final_bw = tmp_bw; in phy_get_txpwr_lmt_sub_chs()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/
H A Dhal_com_phycfg.c3040 u8 tmp_bw; in phy_get_txpwr_lmt_sub_chs() local
3124 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in phy_get_txpwr_lmt_sub_chs()
3125 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in phy_get_txpwr_lmt_sub_chs()
3130 if (tmp_bw == CHANNEL_WIDTH_20) in phy_get_txpwr_lmt_sub_chs()
3132 else if (tmp_bw == CHANNEL_WIDTH_40) in phy_get_txpwr_lmt_sub_chs()
3134 else if (tmp_bw == CHANNEL_WIDTH_80) in phy_get_txpwr_lmt_sub_chs()
3142 lmt = phy_get_txpwr_lmt(adapter, lmt_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in phy_get_txpwr_lmt_sub_chs()
3157 final_bw = tmp_bw; in phy_get_txpwr_lmt_sub_chs()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/
H A Dhal_com_phycfg.c3003 u8 tmp_bw; in phy_get_txpwr_lmt_sub_chs() local
3087 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in phy_get_txpwr_lmt_sub_chs()
3088 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in phy_get_txpwr_lmt_sub_chs()
3093 if (tmp_bw == CHANNEL_WIDTH_20) in phy_get_txpwr_lmt_sub_chs()
3095 else if (tmp_bw == CHANNEL_WIDTH_40) in phy_get_txpwr_lmt_sub_chs()
3097 else if (tmp_bw == CHANNEL_WIDTH_80) in phy_get_txpwr_lmt_sub_chs()
3105 lmt = phy_get_txpwr_lmt(adapter, lmt_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in phy_get_txpwr_lmt_sub_chs()
3120 final_bw = tmp_bw; in phy_get_txpwr_lmt_sub_chs()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/
H A Dhal_com_phycfg.c3040 u8 tmp_bw; in phy_get_txpwr_lmt_sub_chs() local
3124 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in phy_get_txpwr_lmt_sub_chs()
3125 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in phy_get_txpwr_lmt_sub_chs()
3130 if (tmp_bw == CHANNEL_WIDTH_20) in phy_get_txpwr_lmt_sub_chs()
3132 else if (tmp_bw == CHANNEL_WIDTH_40) in phy_get_txpwr_lmt_sub_chs()
3134 else if (tmp_bw == CHANNEL_WIDTH_80) in phy_get_txpwr_lmt_sub_chs()
3142 lmt = phy_get_txpwr_lmt(adapter, lmt_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in phy_get_txpwr_lmt_sub_chs()
3157 final_bw = tmp_bw; in phy_get_txpwr_lmt_sub_chs()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/
H A Dhal_com_phycfg.c3004 u8 tmp_bw; in phy_get_txpwr_lmt_sub_chs() local
3088 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in phy_get_txpwr_lmt_sub_chs()
3089 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in phy_get_txpwr_lmt_sub_chs()
3094 if (tmp_bw == CHANNEL_WIDTH_20) in phy_get_txpwr_lmt_sub_chs()
3096 else if (tmp_bw == CHANNEL_WIDTH_40) in phy_get_txpwr_lmt_sub_chs()
3098 else if (tmp_bw == CHANNEL_WIDTH_80) in phy_get_txpwr_lmt_sub_chs()
3106 lmt = phy_get_txpwr_lmt(adapter, regd_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in phy_get_txpwr_lmt_sub_chs()
3121 final_bw = tmp_bw; in phy_get_txpwr_lmt_sub_chs()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/
H A Dhal_com_phycfg.c3005 u8 tmp_bw; in phy_get_txpwr_lmt_sub_chs() local
3089 for (tmp_bw = CHANNEL_WIDTH_20; tmp_bw <= bw; tmp_bw++) { in phy_get_txpwr_lmt_sub_chs()
3090 if (!(ch_width_to_bw_cap(tmp_bw) & bw_bmp)) in phy_get_txpwr_lmt_sub_chs()
3095 if (tmp_bw == CHANNEL_WIDTH_20) in phy_get_txpwr_lmt_sub_chs()
3097 else if (tmp_bw == CHANNEL_WIDTH_40) in phy_get_txpwr_lmt_sub_chs()
3099 else if (tmp_bw == CHANNEL_WIDTH_80) in phy_get_txpwr_lmt_sub_chs()
3107 lmt = phy_get_txpwr_lmt(adapter, regd_name, band, tmp_bw, tlrs, ntx_idx, tmp_cch, 0); in phy_get_txpwr_lmt_sub_chs()
3122 final_bw = tmp_bw; in phy_get_txpwr_lmt_sub_chs()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/hal/
H A Dphy.c256 enum ht_channel_width tmp_bw = hal_data->CurrentChannelBW; in rtw_hal_set_bwmode() local
264 hal_data->CurrentChannelBW = tmp_bw; in rtw_hal_set_bwmode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dphy.c803 u8 tmp_bw = rtlphy->current_chan_bw; in rtl8723e_phy_set_bw_mode() local
814 rtlphy->current_chan_bw = tmp_bw; in rtl8723e_phy_set_bw_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
H A Dphy_common.c666 u8 tmp_bw = rtlphy->current_chan_bw; in rtl92c_phy_set_bw_mode() local
677 rtlphy->current_chan_bw = tmp_bw; in rtl92c_phy_set_bw_mode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/
H A Drtw_ap.c4791 u8 tmp_bw = dec_bw[i]; in rtw_ap_chbw_decision() local
4794 rtw_adjust_chbw(adapter, tmp_ch, &tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4795 rtw_get_offset_by_chbw(tmp_ch, tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4797 rtw_warn_on(!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, tmp_ch, tmp_bw, tmp_offset)); in rtw_ap_chbw_decision()
4798 rtw_sync_chbw(&tmp_ch, &tmp_bw, &tmp_offset, &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/
H A Drtw_ap.c4772 u8 tmp_bw = dec_bw[i]; in rtw_ap_chbw_decision() local
4775 rtw_adjust_chbw(adapter, tmp_ch, &tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4776 rtw_get_offset_by_chbw(tmp_ch, tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4778 rtw_warn_on(!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, tmp_ch, tmp_bw, tmp_offset)); in rtw_ap_chbw_decision()
4779 rtw_sync_chbw(&tmp_ch, &tmp_bw, &tmp_offset, &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/
H A Drtw_ap.c4791 u8 tmp_bw = dec_bw[i]; in rtw_ap_chbw_decision() local
4794 rtw_adjust_chbw(adapter, tmp_ch, &tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4795 rtw_get_offset_by_chbw(tmp_ch, tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4797 rtw_warn_on(!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, tmp_ch, tmp_bw, tmp_offset)); in rtw_ap_chbw_decision()
4798 rtw_sync_chbw(&tmp_ch, &tmp_bw, &tmp_offset, &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_cfgvif.c1371 int bw = 0, tmp_bw = 0; in wl_channel_to_chanspec() local
1402 tmp_bw = bw2cap[CHSPEC_BW(c) >> WL_CHANSPEC_BW_SHIFT]; in wl_channel_to_chanspec()
1406 if ((tmp_bw > bw) && (tmp_bw <= bw_cap)) { in wl_channel_to_chanspec()
1407 bw = tmp_bw; in wl_channel_to_chanspec()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/
H A Drtw_ap.c4794 u8 tmp_bw = dec_bw[i]; in rtw_ap_chbw_decision() local
4797 rtw_adjust_chbw(adapter, tmp_ch, &tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4798 rtw_get_offset_by_chbw(tmp_ch, tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4800 rtw_warn_on(!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, tmp_ch, tmp_bw, tmp_offset)); in rtw_ap_chbw_decision()
4801 rtw_sync_chbw(&tmp_ch, &tmp_bw, &tmp_offset, &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_cfgvif.c1365 int bw = 0, tmp_bw = 0; in wl_channel_to_chanspec() local
1396 tmp_bw = bw2cap[CHSPEC_BW(c) >> WL_CHANSPEC_BW_SHIFT]; in wl_channel_to_chanspec()
1400 if ((tmp_bw > bw) && (tmp_bw <= bw_cap)) { in wl_channel_to_chanspec()
1401 bw = tmp_bw; in wl_channel_to_chanspec()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/
H A Drtw_ap.c4864 u8 tmp_bw = dec_bw[i]; in rtw_ap_chbw_decision() local
4867 rtw_adjust_chbw(adapter, tmp_ch, &tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4868 rtw_get_offset_by_chbw(tmp_ch, tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4870 rtw_warn_on(!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, tmp_ch, tmp_bw, tmp_offset)); in rtw_ap_chbw_decision()
4871 rtw_sync_chbw(&tmp_ch, &tmp_bw, &tmp_offset, &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/
H A Drtw_ap.c4914 u8 tmp_bw = dec_bw[i]; in rtw_ap_chbw_decision() local
4917 rtw_adjust_chbw(adapter, tmp_ch, &tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4918 rtw_get_offset_by_chbw(tmp_ch, tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4920 rtw_warn_on(!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, tmp_ch, tmp_bw, tmp_offset)); in rtw_ap_chbw_decision()
4921 rtw_sync_chbw(&tmp_ch, &tmp_bw, &tmp_offset, &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/
H A Drtw_ap.c4821 u8 tmp_bw = dec_bw[i]; in rtw_ap_chbw_decision() local
4824 rtw_adjust_chbw(adapter, tmp_ch, &tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4825 rtw_get_offset_by_chbw(tmp_ch, tmp_bw, &tmp_offset); in rtw_ap_chbw_decision()
4827 rtw_warn_on(!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, tmp_ch, tmp_bw, tmp_offset)); in rtw_ap_chbw_decision()
4828 rtw_sync_chbw(&tmp_ch, &tmp_bw, &tmp_offset, &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision()

12