Home
last modified time | relevance | path

Searched refs:rtw_wow (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dwow.c147 struct rtw89_wow_param *rtw_wow = &rtwdev->wow; in rtw89_wow_vif_iter() local
153 if (rtw_wow->wow_vif || vif->type != NL80211_IFTYPE_STATION) in rtw89_wow_vif_iter()
158 rtw_wow->wow_vif = vif; in rtw89_wow_vif_iter()
324 struct rtw89_wow_param *rtw_wow = &rtwdev->wow; in rtw89_wow_parse_patterns() local
325 struct rtw89_wow_cam_info *rtw_pattern = rtw_wow->patterns; in rtw89_wow_parse_patterns()
333 rtw_pattern = &rtw_wow->patterns[i]; in rtw89_wow_parse_patterns()
339 rtw_wow->pattern_cnt = 0; in rtw89_wow_parse_patterns()
349 rtw_wow->pattern_cnt = wowlan->n_patterns; in rtw89_wow_parse_patterns()
356 struct rtw89_wow_param *rtw_wow = &rtwdev->wow; in rtw89_wow_pattern_clear_cam() local
357 struct rtw89_wow_cam_info *rtw_pattern = rtw_wow->patterns; in rtw89_wow_pattern_clear_cam()
[all …]
Dfw.c4124 struct rtw89_wow_param *rtw_wow = &rtwdev->wow; in rtw89_fw_h2c_disconnect_detect() local
4137 if (test_bit(RTW89_WOW_FLAG_EN_DISCONNECT, rtw_wow->flags)) { in rtw89_fw_h2c_disconnect_detect()
4209 struct rtw89_wow_param *rtw_wow = &rtwdev->wow; in rtw89_fw_h2c_wow_wakeup_ctrl() local
4222 if (rtw_wow->pattern_cnt) in rtw89_fw_h2c_wow_wakeup_ctrl()
4224 if (test_bit(RTW89_WOW_FLAG_EN_MAGIC_PKT, rtw_wow->flags)) in rtw89_fw_h2c_wow_wakeup_ctrl()
4226 if (test_bit(RTW89_WOW_FLAG_EN_DISCONNECT, rtw_wow->flags)) in rtw89_fw_h2c_wow_wakeup_ctrl()
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dwow.c255 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_pattern_write() local
256 struct rtw_wow_pattern *rtw_pattern = rtw_wow->patterns; in rtw_wow_pattern_write()
259 for (i = 0; i < rtw_wow->pattern_cnt; i++) in rtw_wow_pattern_write()
265 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_pattern_clear() local
269 rtw_wow->pattern_cnt = 0; in rtw_wow_pattern_clear()
270 memset(rtw_wow->patterns, 0, sizeof(rtw_wow->patterns)); in rtw_wow_pattern_clear()
275 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_bb_stop() local
283 rtw_wow->txpause = rtw_read8(rtwdev, REG_TXPAUSE); in rtw_wow_bb_stop()
290 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_bb_start() local
293 rtw_write8(rtwdev, REG_TXPAUSE, rtw_wow->txpause); in rtw_wow_bb_start()
[all …]
Dfw.c784 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_fw_set_disconnect_decision_cmd() local
794 if (test_bit(RTW_WOW_FLAG_EN_DISCONNECT, rtw_wow->flags)) { in rtw_fw_set_disconnect_decision_cmd()
806 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_fw_set_wowlan_ctrl_cmd() local
813 if (test_bit(RTW_WOW_FLAG_EN_MAGIC_PKT, rtw_wow->flags)) in rtw_fw_set_wowlan_ctrl_cmd()
815 if (test_bit(RTW_WOW_FLAG_EN_DISCONNECT, rtw_wow->flags)) in rtw_fw_set_wowlan_ctrl_cmd()
817 if (test_bit(RTW_WOW_FLAG_EN_REKEY_PKT, rtw_wow->flags)) in rtw_fw_set_wowlan_ctrl_cmd()
819 if (rtw_wow->pattern_cnt) in rtw_fw_set_wowlan_ctrl_cmd()
1097 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_lps_pg_info_get() local
1112 pg_info_hdr->pattern_count = rtw_wow->pattern_cnt; in rtw_lps_pg_info_get()
1115 conf->pattern_cam_backup = rtw_wow->pattern_cnt != 0; in rtw_lps_pg_info_get()
[all …]