Lines Matching defs:rtwvif
801 struct rtw89_vif *rtwvif;
804 rtw89_for_each_rtwvif(rtwdev, rtwvif) {
808 chan = rtw89_chan_get(rtwdev, rtwvif->sub_entity_idx);
812 tmp = &rtwvif->reg_6ghz_tpe;
839 struct rtw89_vif *rtwvif, bool active,
842 struct ieee80211_vif *vif = rtwvif_to_vif(rtwvif);
844 struct rtw89_reg_6ghz_tpe *tpe = &rtwvif->reg_6ghz_tpe;
848 if (!active || rtwvif->reg_6ghz_power != RTW89_REG_6GHZ_POWER_STD)
875 struct rtw89_vif *rtwvif;
879 rtw89_for_each_rtwvif(rtwdev, rtwvif) {
880 chan = rtw89_chan_get(rtwdev, rtwvif->sub_entity_idx);
884 if (count != 0 && rtwvif->reg_6ghz_power == sel)
887 sel = rtwvif->reg_6ghz_power;
916 struct rtw89_vif *rtwvif, bool active,
919 struct ieee80211_vif *vif = rtwvif_to_vif(rtwvif);
924 rtwvif->reg_6ghz_power = RTW89_REG_6GHZ_POWER_VLP;
927 rtwvif->reg_6ghz_power = RTW89_REG_6GHZ_POWER_LPI;
930 rtwvif->reg_6ghz_power = RTW89_REG_6GHZ_POWER_STD;
933 rtwvif->reg_6ghz_power = RTW89_REG_6GHZ_POWER_DFLT;
937 rtwvif->reg_6ghz_power = RTW89_REG_6GHZ_POWER_DFLT;
944 int rtw89_reg_6ghz_recalc(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif,
956 ret = rtw89_reg_6ghz_power_recalc(rtwdev, rtwvif, active, &changed);
960 ret = rtw89_reg_6ghz_tpe_recalc(rtwdev, rtwvif, active, &changed);