rtwvif 814 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_vif *rtwvif; rtwvif 826 drivers/net/wireless/realtek/rtw88/coex.c rtwvif = lps_conf->rtwvif; rtwvif 827 drivers/net/wireless/realtek/rtw88/coex.c if (rtwvif && rtw_in_lps(rtwdev)) rtwvif 828 drivers/net/wireless/realtek/rtw88/coex.c rtw_leave_lps(rtwdev, rtwvif); rtwvif 835 drivers/net/wireless/realtek/rtw88/coex.c rtwvif = lps_conf->rtwvif; rtwvif 836 drivers/net/wireless/realtek/rtw88/coex.c if (rtwvif && rtw_in_lps(rtwdev)) rtwvif 837 drivers/net/wireless/realtek/rtw88/coex.c rtw_leave_lps(rtwdev, rtwvif); rtwvif 125 drivers/net/wireless/realtek/rtw88/mac80211.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; rtwvif 131 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->port = port; rtwvif 132 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->vif = vif; rtwvif 133 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->stats.tx_unicast = 0; rtwvif 134 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->stats.rx_unicast = 0; rtwvif 135 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->stats.tx_cnt = 0; rtwvif 136 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->stats.rx_cnt = 0; rtwvif 137 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->in_lps = false; rtwvif 138 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->conf = &rtw_vif_port[port]; rtwvif 159 drivers/net/wireless/realtek/rtw88/mac80211.c ether_addr_copy(rtwvif->mac_addr, vif->addr); rtwvif 161 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->net_type = net_type; rtwvif 163 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->bcn_ctrl = bcn_ctrl; rtwvif 165 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_vif_port_config(rtwdev, rtwvif, config); rtwvif 169 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_info(rtwdev, "start vif %pM on port %d\n", vif->addr, rtwvif->port); rtwvif 177 drivers/net/wireless/realtek/rtw88/mac80211.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; rtwvif 180 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_info(rtwdev, "stop vif %pM on port %d\n", vif->addr, rtwvif->port); rtwvif 184 drivers/net/wireless/realtek/rtw88/mac80211.c eth_zero_addr(rtwvif->mac_addr); rtwvif 186 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->net_type = RTW_NET_NO_LINK; rtwvif 188 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->bcn_ctrl = 0; rtwvif 190 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_vif_port_config(rtwdev, rtwvif, config); rtwvif 247 drivers/net/wireless/realtek/rtw88/mac80211.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; rtwvif 261 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->aid = conf->aid; rtwvif 270 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->aid = 0; rtwvif 274 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->net_type = net_type; rtwvif 280 drivers/net/wireless/realtek/rtw88/mac80211.c ether_addr_copy(rtwvif->bssid, conf->bssid); rtwvif 287 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_vif_port_config(rtwdev, rtwvif, config); rtwvif 464 drivers/net/wireless/realtek/rtw88/mac80211.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; rtwvif 467 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_leave_lps(rtwdev, rtwvif); rtwvif 471 drivers/net/wireless/realtek/rtw88/mac80211.c ether_addr_copy(rtwvif->mac_addr, mac_addr); rtwvif 473 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_vif_port_config(rtwdev, rtwvif, config); rtwvif 487 drivers/net/wireless/realtek/rtw88/mac80211.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; rtwvif 495 drivers/net/wireless/realtek/rtw88/mac80211.c ether_addr_copy(rtwvif->mac_addr, vif->addr); rtwvif 497 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_vif_port_config(rtwdev, rtwvif, config); rtwvif 115 drivers/net/wireless/realtek/rtw88/main.c struct rtw_vif *rtwvif; rtwvif 124 drivers/net/wireless/realtek/rtw88/main.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; rtwvif 129 drivers/net/wireless/realtek/rtw88/main.c iter_data->rtwvif = rtwvif; rtwvif 131 drivers/net/wireless/realtek/rtw88/main.c if (rtwvif->stats.tx_cnt > RTW_LPS_THRESHOLD || rtwvif 132 drivers/net/wireless/realtek/rtw88/main.c rtwvif->stats.rx_cnt > RTW_LPS_THRESHOLD) rtwvif 139 drivers/net/wireless/realtek/rtw88/main.c rtwvif->stats.tx_unicast = 0; rtwvif 140 drivers/net/wireless/realtek/rtw88/main.c rtwvif->stats.rx_unicast = 0; rtwvif 141 drivers/net/wireless/realtek/rtw88/main.c rtwvif->stats.tx_cnt = 0; rtwvif 142 drivers/net/wireless/realtek/rtw88/main.c rtwvif->stats.rx_cnt = 0; rtwvif 183 drivers/net/wireless/realtek/rtw88/main.c data.rtwvif && !data.active && data.assoc_cnt == 1) rtwvif 184 drivers/net/wireless/realtek/rtw88/main.c rtw_enter_lps(rtwdev, data.rtwvif); rtwvif 332 drivers/net/wireless/realtek/rtw88/main.c struct rtw_vif *rtwvif, rtwvif 338 drivers/net/wireless/realtek/rtw88/main.c addr = rtwvif->conf->mac_addr.addr; rtwvif 339 drivers/net/wireless/realtek/rtw88/main.c rtw_vif_write_addr(rtwdev, addr, rtwvif->mac_addr); rtwvif 342 drivers/net/wireless/realtek/rtw88/main.c addr = rtwvif->conf->bssid.addr; rtwvif 343 drivers/net/wireless/realtek/rtw88/main.c rtw_vif_write_addr(rtwdev, addr, rtwvif->bssid); rtwvif 346 drivers/net/wireless/realtek/rtw88/main.c addr = rtwvif->conf->net_type.addr; rtwvif 347 drivers/net/wireless/realtek/rtw88/main.c mask = rtwvif->conf->net_type.mask; rtwvif 348 drivers/net/wireless/realtek/rtw88/main.c rtw_write32_mask(rtwdev, addr, mask, rtwvif->net_type); rtwvif 351 drivers/net/wireless/realtek/rtw88/main.c addr = rtwvif->conf->aid.addr; rtwvif 352 drivers/net/wireless/realtek/rtw88/main.c mask = rtwvif->conf->aid.mask; rtwvif 353 drivers/net/wireless/realtek/rtw88/main.c rtw_write32_mask(rtwdev, addr, mask, rtwvif->aid); rtwvif 356 drivers/net/wireless/realtek/rtw88/main.c addr = rtwvif->conf->bcn_ctrl.addr; rtwvif 357 drivers/net/wireless/realtek/rtw88/main.c mask = rtwvif->conf->bcn_ctrl.mask; rtwvif 358 drivers/net/wireless/realtek/rtw88/main.c rtw_write8_mask(rtwdev, addr, mask, rtwvif->bcn_ctrl); rtwvif 537 drivers/net/wireless/realtek/rtw88/main.h struct rtw_vif *rtwvif; rtwvif 1409 drivers/net/wireless/realtek/rtw88/main.h void rtw_vif_port_config(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif, rtwvif 41 drivers/net/wireless/realtek/rtw88/ps.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; rtwvif 44 drivers/net/wireless/realtek/rtw88/ps.c rtw_vif_port_config(rtwdev, rtwvif, config); rtwvif 99 drivers/net/wireless/realtek/rtw88/ps.c struct rtw_vif *rtwvif = conf->rtwvif; rtwvif 101 drivers/net/wireless/realtek/rtw88/ps.c if (WARN_ON(!rtwvif)) rtwvif 110 drivers/net/wireless/realtek/rtw88/ps.c void rtw_enter_lps_irqsafe(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif) rtwvif 114 drivers/net/wireless/realtek/rtw88/ps.c if (rtwvif->in_lps) rtwvif 118 drivers/net/wireless/realtek/rtw88/ps.c conf->rtwvif = rtwvif; rtwvif 119 drivers/net/wireless/realtek/rtw88/ps.c rtwvif->in_lps = true; rtwvif 124 drivers/net/wireless/realtek/rtw88/ps.c void rtw_leave_lps_irqsafe(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif) rtwvif 128 drivers/net/wireless/realtek/rtw88/ps.c if (!rtwvif->in_lps) rtwvif 132 drivers/net/wireless/realtek/rtw88/ps.c conf->rtwvif = rtwvif; rtwvif 133 drivers/net/wireless/realtek/rtw88/ps.c rtwvif->in_lps = false; rtwvif 143 drivers/net/wireless/realtek/rtw88/ps.c void rtw_enter_lps(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif) rtwvif 147 drivers/net/wireless/realtek/rtw88/ps.c if (WARN_ON(!rtwvif)) rtwvif 150 drivers/net/wireless/realtek/rtw88/ps.c if (rtwvif->in_lps) rtwvif 154 drivers/net/wireless/realtek/rtw88/ps.c conf->rtwvif = rtwvif; rtwvif 155 drivers/net/wireless/realtek/rtw88/ps.c rtwvif->in_lps = true; rtwvif 160 drivers/net/wireless/realtek/rtw88/ps.c void rtw_leave_lps(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif) rtwvif 164 drivers/net/wireless/realtek/rtw88/ps.c if (WARN_ON(!rtwvif)) rtwvif 167 drivers/net/wireless/realtek/rtw88/ps.c if (!rtwvif->in_lps) rtwvif 171 drivers/net/wireless/realtek/rtw88/ps.c conf->rtwvif = rtwvif; rtwvif 172 drivers/net/wireless/realtek/rtw88/ps.c rtwvif->in_lps = false; rtwvif 14 drivers/net/wireless/realtek/rtw88/ps.h void rtw_enter_lps_irqsafe(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif); rtwvif 15 drivers/net/wireless/realtek/rtw88/ps.h void rtw_leave_lps_irqsafe(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif); rtwvif 16 drivers/net/wireless/realtek/rtw88/ps.h void rtw_enter_lps(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif); rtwvif 17 drivers/net/wireless/realtek/rtw88/ps.h void rtw_leave_lps(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif); rtwvif 13 drivers/net/wireless/realtek/rtw88/rx.c struct rtw_vif *rtwvif; rtwvif 25 drivers/net/wireless/realtek/rtw88/rx.c rtwvif = (struct rtw_vif *)vif->drv_priv; rtwvif 26 drivers/net/wireless/realtek/rtw88/rx.c rtwvif->stats.rx_unicast += skb->len; rtwvif 27 drivers/net/wireless/realtek/rtw88/rx.c rtwvif->stats.rx_cnt++; rtwvif 28 drivers/net/wireless/realtek/rtw88/rx.c if (rtwvif->stats.rx_cnt > RTW_LPS_THRESHOLD) rtwvif 29 drivers/net/wireless/realtek/rtw88/rx.c rtw_leave_lps_irqsafe(rtwdev, rtwvif); rtwvif 15 drivers/net/wireless/realtek/rtw88/tx.c struct rtw_vif *rtwvif; rtwvif 27 drivers/net/wireless/realtek/rtw88/tx.c rtwvif = (struct rtw_vif *)vif->drv_priv; rtwvif 28 drivers/net/wireless/realtek/rtw88/tx.c rtwvif->stats.tx_unicast += skb->len; rtwvif 29 drivers/net/wireless/realtek/rtw88/tx.c rtwvif->stats.tx_cnt++; rtwvif 30 drivers/net/wireless/realtek/rtw88/tx.c if (rtwvif->stats.tx_cnt > RTW_LPS_THRESHOLD) rtwvif 31 drivers/net/wireless/realtek/rtw88/tx.c rtw_leave_lps_irqsafe(rtwdev, rtwvif);