Lines Matching refs:rtlhal
130 memcpy(rtlpriv->rtlhal.pfirmware, firmware->data, in rtl_fw_do_work()
132 rtlpriv->rtlhal.fwsize = firmware->size; in rtl_fw_do_work()
134 memcpy(rtlpriv->rtlhal.wowlan_firmware, firmware->data, in rtl_fw_do_work()
136 rtlpriv->rtlhal.wowlan_fwsize = firmware->size; in rtl_fw_do_work()
138 rtlpriv->rtlhal.fwsize = firmware->size; in rtl_fw_do_work()
159 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl_op_start() local
161 if (!is_hal_stop(rtlhal)) in rtl_op_start()
177 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl_op_stop() local
181 if (is_hal_stop(rtlhal)) in rtl_op_stop()
196 rtlhal->enter_pnp_sleep)) { in rtl_op_stop()
216 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl_op_tx() local
221 if (unlikely(is_hal_stop(rtlhal) || ppsc->rfpwr_state != ERFON)) in rtl_op_tx()
272 if (rtlpriv->rtlhal.current_bandtype == BAND_ON_2_4G) in rtl_op_add_interface()
289 if (rtlpriv->rtlhal.current_bandtype == BAND_ON_2_4G) in rtl_op_add_interface()
302 if (rtlpriv->rtlhal.current_bandtype == BAND_ON_2_4G) in rtl_op_add_interface()
545 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl_op_suspend() local
555 rtlhal->last_suspend_sec = ts.tv_sec; in rtl_op_suspend()
560 rtlhal->driver_is_goingto_unload = true; in rtl_op_suspend()
561 rtlhal->enter_pnp_sleep = true; in rtl_op_suspend()
572 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl_op_resume() local
577 rtlhal->driver_is_goingto_unload = false; in rtl_op_resume()
578 rtlhal->enter_pnp_sleep = false; in rtl_op_resume()
579 rtlhal->wake_from_pnp_sleep = true; in rtl_op_resume()
583 if (ts.tv_sec - rtlhal->last_suspend_sec < 5) in rtl_op_resume()
589 rtlhal->wake_from_pnp_sleep = false; in rtl_op_resume()
902 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl_op_sta_add() local
911 if (rtlhal->current_bandtype == BAND_ON_2_4G) { in rtl_op_sta_add()
920 } else if (rtlhal->current_bandtype == BAND_ON_5G) { in rtl_op_sta_add()
1032 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl_op_bss_info_changed() local
1119 if (rtlhal->current_bandtype == BAND_ON_5G) { in rtl_op_bss_info_changed()
1129 if (rtlhal->current_bandtype == BAND_ON_2_4G) in rtl_op_bss_info_changed()
1136 if (rtlhal->current_bandtype == BAND_ON_5G) in rtl_op_bss_info_changed()
1266 if (rtlhal->current_bandtype == BAND_ON_5G) { in rtl_op_bss_info_changed()
1276 if (rtlhal->current_bandtype == BAND_ON_2_4G) in rtl_op_bss_info_changed()
1283 if (rtlhal->current_bandtype == BAND_ON_5G) in rtl_op_bss_info_changed()
1314 if (rtlhal->current_bandtype == BAND_ON_5G) in rtl_op_bss_info_changed()
1443 rtlpriv->rtlhal.load_imrandiqk_setting_for2g = false; in rtl_op_sw_scan_start()
1468 rtlpriv->rtlhal.load_imrandiqk_setting_for2g = false; in rtl_op_sw_scan_complete()