Home
last modified time | relevance | path

Searched refs:rtwvif (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/
A Dps.c125 __rtw89_enter_ps_mode(rtwdev, rtwvif); in rtw89_enter_lps()
139 struct rtw89_vif *rtwvif; in rtw89_leave_lps() local
148 rtw89_for_each_rtwvif(rtwdev, rtwvif) in rtw89_leave_lps()
149 rtw89_leave_lps_vif(rtwdev, rtwvif); in rtw89_leave_lps()
154 struct rtw89_vif *rtwvif; in rtw89_enter_ips() local
158 rtw89_for_each_rtwvif(rtwdev, rtwvif) in rtw89_enter_ips()
166 struct rtw89_vif *rtwvif; in rtw89_leave_ips() local
175 rtw89_for_each_rtwvif(rtwdev, rtwvif) in rtw89_leave_ips()
176 rtw89_mac_vif_init(rtwdev, rtwvif); in rtw89_leave_ips()
206 if (rtwvif->last_noa_nr == 0) in rtw89_p2p_disable_all_noa()
[all …]
A Dmac80211.c117 rtwvif->rtwdev = rtwdev; in rtw89_ops_add_interface()
128 list_del_init(&rtwvif->list); in rtw89_ops_add_interface()
132 rtwvif->bcn_hit_cond = 0; in rtw89_ops_add_interface()
133 rtwvif->mac_idx = RTW89_MAC_0; in rtw89_ops_add_interface()
134 rtwvif->phy_idx = RTW89_PHY_0; in rtw89_ops_add_interface()
136 rtwvif->hit_rule = 0; in rtw89_ops_add_interface()
143 list_del_init(&rtwvif->list); in rtw89_ops_add_interface()
172 list_del_init(&rtwvif->list); in rtw89_ops_remove_interface()
351 struct rtw89_vif *rtwvif) in rtw89_conf_tx() argument
471 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_ops_set_tim() local
[all …]
A Dcam.c223 struct rtw89_vif *rtwvif; in rtw89_cam_attach_sec_cam() local
233 rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_cam_attach_sec_cam()
385 struct rtw89_vif *rtwvif; in rtw89_cam_sec_key_del() local
397 rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_cam_sec_key_del()
550 struct rtw89_vif *rtwvif, in rtw89_cam_init_bssid_cam() argument
570 bssid_cam->phy_idx = rtwvif->phy_idx; in rtw89_cam_init_bssid_cam()
592 ret = rtw89_cam_init_bssid_cam(rtwdev, rtwvif, bssid_cam, rtwvif->bssid); in rtw89_cam_init()
608 struct rtw89_vif *rtwvif, in rtw89_cam_fill_bssid_cam_info() argument
651 struct rtw89_vif *rtwvif, in rtw89_cam_fill_addr_cam_info() argument
663 u8 *tma = sta ? sta->addr : rtwvif->bssid; in rtw89_cam_fill_addr_cam_info()
[all …]
A Dwow.c25 __rtw89_enter_ps_mode(rtwdev, rtwvif); in rtw89_wow_enter_deep_ps()
33 rtw89_enter_lps(rtwdev, rtwvif); in rtw89_wow_enter_lps()
155 switch (rtwvif->net_type) { in rtw89_wow_vif_iter()
247 struct rtw89_vif *rtwvif, in rtw89_wow_pattern_generate() argument
320 struct rtw89_vif *rtwvif, in rtw89_wow_parse_patterns() argument
399 struct rtw89_vif *rtwvif; in rtw89_wow_set_wakeups() local
407 rtw89_wow_vif_iter(rtwdev, rtwvif); in rtw89_wow_set_wakeups()
434 rtwvif->wowlan_pattern = true; in rtw89_wow_cfg_wake()
436 rtwvif->wowlan_magic = true; in rtw89_wow_cfg_wake()
438 rtwvif->wowlan_pattern = false; in rtw89_wow_cfg_wake()
[all …]
A Dmac.c3704 rtwvif->net_type); in rtw89_mac_port_cfg_net_type()
3780 u8 port = rtwvif->port; in rtw89_mac_port_cfg_hiq_win()
3846 u8 port = rtwvif->port; in rtw89_mac_port_cfg_bss_color()
3860 u8 port = rtwvif->port; in rtw89_mac_port_cfg_mbssid()
3875 u8 port = rtwvif->port; in rtw89_mac_port_cfg_hiq_drop()
3950 if (rtwvif->net_type != RTW89_NET_TYPE_AP_MODE || rtwvif == rtwvif_src) in rtw89_mac_port_tsf_sync_rand()
4214 if (rtwvif && rtwvif->scan_req && in rtw89_mac_c2h_scanofld_rsp()
5380 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_mac_pkt_drop_sta() local
5399 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_mac_pkt_drop_vif_iter() local
5403 if (rtwvif != target) in rtw89_mac_pkt_drop_vif_iter()
[all …]
A Dmac.h837 reg = rtw89_mac_reg_by_port(base, rtwvif->port, rtwvif->mac_idx); in rtw89_read32_port()
842 rtw89_read32_port_mask(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, in rtw89_read32_port_mask() argument
847 reg = rtw89_mac_reg_by_port(base, rtwvif->port, rtwvif->mac_idx); in rtw89_read32_port_mask()
857 reg = rtw89_mac_reg_by_port(base, rtwvif->port, rtwvif->mac_idx); in rtw89_write32_port()
867 reg = rtw89_mac_reg_by_port(base, rtwvif->port, rtwvif->mac_idx); in rtw89_write32_port_mask()
877 reg = rtw89_mac_reg_by_port(base, rtwvif->port, rtwvif->mac_idx); in rtw89_write16_port_mask()
887 reg = rtw89_mac_reg_by_port(base, rtwvif->port, rtwvif->mac_idx); in rtw89_write32_port_clr()
897 reg = rtw89_mac_reg_by_port(base, rtwvif->port, rtwvif->mac_idx); in rtw89_write16_port_clr()
907 reg = rtw89_mac_reg_by_port(base, rtwvif->port, rtwvif->mac_idx); in rtw89_write32_port_set()
921 struct rtw89_vif *rtwvif,
[all …]
A Dfw.c770 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_fw_h2c_ba_cam() local
995 struct rtw89_vif *rtwvif; in rtw89_fw_release_general_pkt_list() local
1167 u8 macid = rtwvif->mac_id; in rtw89_fw_h2c_default_cmac_tbl()
2941 rtwvif->scan_req = req; in rtw89_hw_scan_start()
2966 struct rtw89_vif *rtwvif; in rtw89_hw_scan_complete() local
2982 rtwvif->scan_req = NULL; in rtw89_hw_scan_complete()
2983 rtwvif->scan_ies = NULL; in rtw89_hw_scan_complete()
3002 struct rtw89_vif *rtwvif; in rtw89_hw_scan_offload() local
3006 if (!rtwvif) in rtw89_hw_scan_offload()
3194 u8 macid = rtwvif->mac_id; in rtw89_fw_h2c_disconnect_detect()
[all …]
A Dchan.c208 struct rtw89_vif *rtwvif; in rtw89_chanctx_ops_remove() local
227 rtw89_for_each_rtwvif(rtwdev, rtwvif) { in rtw89_chanctx_ops_remove()
228 if (rtwvif->sub_entity_idx == roll) in rtw89_chanctx_ops_remove()
229 rtwvif->sub_entity_idx = RTW89_SUB_ENTITY_0; in rtw89_chanctx_ops_remove()
253 struct rtw89_vif *rtwvif, in rtw89_chanctx_ops_assign_vif() argument
258 rtwvif->sub_entity_idx = cfg->idx; in rtw89_chanctx_ops_assign_vif()
263 struct rtw89_vif *rtwvif, in rtw89_chanctx_ops_unassign_vif() argument
266 rtwvif->sub_entity_idx = RTW89_SUB_ENTITY_0; in rtw89_chanctx_ops_unassign_vif()
A Dcore.c422 struct rtw89_vif *rtwvif; in rtw89_core_tx_update_sec_key() local
524 return rtwvif->mac_id; in rtw89_core_tx_get_mac_id()
682 if (!rtwvif || rtwvif->last_a_ctrl == desc_info->a_ctrl_bsr) in rtw89_core_tx_update_he_qos_htc()
2198 struct rtw89_vif *rtwvif; in rtw89_traffic_stats_track() local
2212 rtwvif->tdls_peer) in rtw89_vif_enter_lps()
2222 struct rtw89_vif *rtwvif; in rtw89_enter_lps_track() local
2441 rtwsta->rtwvif = rtwvif; in rtw89_core_sta_add()
2492 rtwvif->tdls_peer--; in rtw89_core_sta_disassoc()
2588 rtwvif->tdls_peer++; in rtw89_core_sta_assoc()
2998 rtwdev = rtwvif->rtwdev; in rtw89_core_update_beacon_work()
[all …]
A Dser.c301 rtwvif->net_type = RTW89_NET_TYPE_NO_LINK; in ser_reset_vif()
302 rtwvif->trigger = false; in ser_reset_vif()
307 struct rtw89_vif *rtwvif = (struct rtw89_vif *)data; in ser_sta_deinit_cam_iter() local
308 struct rtw89_dev *rtwdev = rtwvif->rtwdev; in ser_sta_deinit_cam_iter()
323 rtwvif); in ser_deinit_cam()
325 rtw89_cam_deinit(rtwdev, rtwvif); in ser_deinit_cam()
332 struct rtw89_vif *rtwvif; in ser_reset_mac_binding() local
335 rtw89_for_each_rtwvif(rtwdev, rtwvif) in ser_reset_mac_binding()
336 ser_deinit_cam(rtwdev, rtwvif); in ser_reset_mac_binding()
339 rtw89_for_each_rtwvif(rtwdev, rtwvif) in ser_reset_mac_binding()
[all …]
A Dps.h8 void rtw89_enter_lps(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif);
11 void __rtw89_enter_ps_mode(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif);
A Dutil.h14 #define rtw89_for_each_rtwvif(rtwdev, rtwvif) \ argument
15 list_for_each_entry(rtwvif, &(rtwdev)->rtwvifs_list, list)
A Dchan.h58 struct rtw89_vif *rtwvif,
61 struct rtw89_vif *rtwvif,
A Dcam.h363 struct rtw89_vif *rtwvif,
373 struct rtw89_vif *rtwvif,
377 struct rtw89_vif *rtwvif,
389 struct rtw89_vif *rtwvif);
A Dphy.c235 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_phy_ra_sta_update() local
387 ra->band_num = rtwvif->phy_idx; in rtw89_phy_ra_sta_update()
515 rtwvif->rate_pattern = next_pattern; in rtw89_phy_rate_pattern_vif()
524 rtwvif->rate_pattern.enable = false; in rtw89_phy_rate_pattern_vif()
2811 rtwvif->def_tri_idx = in rtw89_phy_ul_tb_assoc()
2815 rtwvif->dyn_tb_bedge_en = false; in rtw89_phy_ul_tb_assoc()
2818 rtwvif->dyn_tb_bedge_en = true; in rtw89_phy_ul_tb_assoc()
2820 rtwvif->dyn_tb_bedge_en = false; in rtw89_phy_ul_tb_assoc()
2840 struct rtw89_vif *rtwvif, in rtw89_phy_ul_tb_ctrl_check() argument
2867 struct rtw89_vif *rtwvif; in rtw89_phy_ul_tb_ctrl_track() local
[all …]
A Dcore.h2384 struct rtw89_vif *rtwvif; member
2584 struct rtw89_vif *rtwvif,
4179 void *p = rtwvif; in rtwvif_to_vif()
4186 return rtwvif ? rtwvif_to_vif(rtwvif) : NULL; in rtwvif_to_vif_safe()
4277 if (rtwvif->net_type == RTW89_NET_TYPE_AP_MODE || sta->tdls) in rtw89_get_addr_cam_of()
4280 return &rtwvif->addr_cam; in rtw89_get_addr_cam_of()
4293 return &rtwvif->bssid_cam; in rtw89_get_bssid_cam_of()
4469 struct rtw89_vif *rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_chip_cfg_txpwr_ul_tb_offset() local
4476 chip->ops->set_txpwr_ul_tb_offset(rtwdev, 0, rtwvif->mac_idx); in rtw89_chip_cfg_txpwr_ul_tb_offset()
4553 struct rtw89_vif *rtwvif, in rtw89_chip_h2c_dctl_sec_cam() argument
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/
A Dmac80211.c164 rtwvif->port = port; in rtw_ops_add_interface()
165 rtwvif->stats.tx_unicast = 0; in rtw_ops_add_interface()
166 rtwvif->stats.rx_unicast = 0; in rtw_ops_add_interface()
167 rtwvif->stats.tx_cnt = 0; in rtw_ops_add_interface()
168 rtwvif->stats.rx_cnt = 0; in rtw_ops_add_interface()
169 rtwvif->scan_req = NULL; in rtw_ops_add_interface()
204 rtwvif->net_type = net_type; in rtw_ops_add_interface()
206 rtwvif->bcn_ctrl = bcn_ctrl; in rtw_ops_add_interface()
236 rtwvif->bcn_ctrl = 0; in rtw_ops_remove_interface()
348 struct rtw_vif *rtwvif) in rtw_conf_tx() argument
[all …]
A Dfw.c1056 struct rtw_vif *rtwvif; in rtw_get_rsvd_page_skb() local
1070 rtwvif = rsvd_pkt->rtwvif; in rtw_get_rsvd_page_skb()
1071 if (!rtwvif) in rtw_get_rsvd_page_skb()
1198 rsvd_pkt->rtwvif = rtwvif; in rtw_add_rsvd_page()
1214 rsvd_pkt->rtwvif = rtwvif; in rtw_add_rsvd_page_probe_req()
1924 rtwvif); in rtw_hw_scan_update_probe_req()
2060 rtwvif->scan_req = req; in rtw_hw_scan_start()
2086 struct rtw_vif *rtwvif; in rtw_hw_scan_complete() local
2104 rtwvif->scan_req = NULL; in rtw_hw_scan_complete()
2105 rtwvif->scan_ies = NULL; in rtw_hw_scan_complete()
[all …]
A Dwow.h42 struct rtw_vif *rtwvif = (struct rtw_vif *)wow_vif->drv_priv; in rtw_wow_mgd_linked() local
44 return (rtwvif->net_type == RTW_NET_MGD_LINKED); in rtw_wow_mgd_linked()
50 struct rtw_vif *rtwvif = (struct rtw_vif *)wow_vif->drv_priv; in rtw_wow_no_link() local
52 return (rtwvif->net_type == RTW_NET_NO_LINK); in rtw_wow_no_link()
A Dwow.c163 struct rtw_vif *rtwvif, in rtw_wow_pattern_generate() argument
181 ether_addr_copy(mac_addr, rtwvif->mac_addr); in rtw_wow_pattern_generate()
479 rtw_remove_rsvd_page(rtwdev, rtwvif); in rtw_wow_config_wow_fw_rsvd_page()
482 rtw_add_rsvd_page_pno(rtwdev, rtwvif); in rtw_wow_config_wow_fw_rsvd_page()
484 rtw_add_rsvd_page_sta(rtwdev, rtwvif); in rtw_wow_config_wow_fw_rsvd_page()
494 rtw_remove_rsvd_page(rtwdev, rtwvif); in rtw_wow_config_normal_fw_rsvd_page()
495 rtw_add_rsvd_page_sta(rtwdev, rtwvif); in rtw_wow_config_normal_fw_rsvd_page()
634 rtw_enter_lps(rtwdev, rtwvif->port); in rtw_wow_enter_linked_ps()
790 switch (rtwvif->net_type) { in rtw_wow_vif_iter()
808 struct rtw_vif *rtwvif; in rtw_wow_set_wakeups() local
[all …]
A Dmain.c146 struct rtw_vif *rtwvif; member
175 iter_data->rtwvif = rtwvif; in rtw_vif_watch_dog_iter()
179 rtwvif->stats.tx_unicast = 0; in rtw_vif_watch_dog_iter()
180 rtwvif->stats.rx_unicast = 0; in rtw_vif_watch_dog_iter()
181 rtwvif->stats.tx_cnt = 0; in rtw_vif_watch_dog_iter()
182 rtwvif->stats.rx_cnt = 0; in rtw_vif_watch_dog_iter()
536 rtwvif->aid = vif->cfg.aid; in rtw_vif_assoc_changed()
539 rtwvif->aid = 0; in rtw_vif_assoc_changed()
872 struct rtw_vif *rtwvif, in rtw_vif_port_config() argument
891 addr = rtwvif->conf->aid.addr; in rtw_vif_port_config()
[all …]
A Dbf.c13 struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; in rtw_bf_disassoc() local
14 struct rtw_bfee *bfee = &rtwvif->bfee; in rtw_bf_disassoc()
25 rtw_chip_config_bfee(rtwdev, rtwvif, bfee, false); in rtw_bf_disassoc()
35 struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; in rtw_bf_assoc() local
36 struct rtw_bfee *bfee = &rtwvif->bfee; in rtw_bf_assoc()
77 rtw_chip_config_bfee(rtwdev, rtwvif, bfee, true); in rtw_bf_assoc()
103 rtw_chip_config_bfee(rtwdev, rtwvif, bfee, true); in rtw_bf_assoc()
318 struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; in rtw_bf_set_gid_table() local
319 struct rtw_bfee *bfee = &rtwvif->bfee; in rtw_bf_set_gid_table()
A Drx.c15 struct rtw_vif *rtwvif; in rtw_rx_stats() local
27 rtwvif = (struct rtw_vif *)vif->drv_priv; in rtw_rx_stats()
28 rtwvif->stats.rx_unicast += skb->len; in rtw_rx_stats()
29 rtwvif->stats.rx_cnt++; in rtw_rx_stats()
A Dps.c43 struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; in rtw_restore_port_cfg_iter() local
46 rtw_vif_port_config(rtwdev, rtwvif, config); in rtw_restore_port_cfg_iter()
A Dtx.c16 struct rtw_vif *rtwvif; in rtw_tx_stats() local
28 rtwvif = (struct rtw_vif *)vif->drv_priv; in rtw_tx_stats()
29 rtwvif->stats.tx_unicast += skb->len; in rtw_tx_stats()
30 rtwvif->stats.tx_cnt++; in rtw_tx_stats()

Completed in 98 milliseconds

12