Lines Matching refs:rtlhal

347 	struct rtl_hal *rtlhal = &rtlpriv->rtlhal;  in _rtl92d_get_txpower_index()  local
352 if (rtlhal->current_bandtype == BAND_ON_2_4G) { in _rtl92d_get_txpower_index()
416 if (rtlpriv->rtlhal.current_bandtype == BAND_ON_2_4G) in rtl92d_phy_set_txpower_level()
419 if (rtlpriv->rtlhal.current_bandtype == BAND_ON_2_4G) in rtl92d_phy_set_txpower_level()
536 pathon = rtlpriv->rtlhal.interfaceindex == 0 ? in rtl92d_phy_path_adda_on()
653 if (rtlpriv->rtlhal.interface == INTF_USB) in rtl92d_phy_set_io()
713 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92d_phy_config_macphymode() local
717 if (rtlhal->interface == INTF_USB) { in rtl92d_phy_config_macphymode()
722 switch (rtlhal->macphymode) { in rtl92d_phy_config_macphymode()
745 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92d_phy_config_macphymode_info() local
748 switch (rtlhal->macphymode) { in rtl92d_phy_config_macphymode_info()
751 rtlhal->version |= RF_TYPE_2T2R; in rtl92d_phy_config_macphymode_info()
752 rtlhal->bandset = BAND_ON_BOTH; in rtl92d_phy_config_macphymode_info()
753 rtlhal->current_bandtype = BAND_ON_2_4G; in rtl92d_phy_config_macphymode_info()
758 rtlhal->version |= RF_TYPE_2T2R; in rtl92d_phy_config_macphymode_info()
759 rtlhal->bandset = BAND_ON_BOTH; in rtl92d_phy_config_macphymode_info()
760 rtlhal->current_bandtype = BAND_ON_2_4G; in rtl92d_phy_config_macphymode_info()
765 rtlhal->version &= RF_TYPE_1T1R; in rtl92d_phy_config_macphymode_info()
767 if (rtlhal->interfaceindex == 0) { in rtl92d_phy_config_macphymode_info()
768 rtlhal->bandset = BAND_ON_5G; in rtl92d_phy_config_macphymode_info()
769 rtlhal->current_bandtype = BAND_ON_5G; in rtl92d_phy_config_macphymode_info()
771 rtlhal->bandset = BAND_ON_2_4G; in rtl92d_phy_config_macphymode_info()
772 rtlhal->current_bandtype = BAND_ON_2_4G; in rtl92d_phy_config_macphymode_info()
836 switch (rtlpriv->rtlhal.macphymode) { in rtl92d_phy_config_maccoexist_rfpage()