Lines Matching refs:mvif

843 	struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv;  in mt7996_mcu_bss_bmc_tlv()  local
848 u8 idx = mvif->mcast_rates_idx ? in mt7996_mcu_bss_bmc_tlv()
849 mvif->mcast_rates_idx : mvif->basic_rates_idx; in mt7996_mcu_bss_bmc_tlv()
875 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_bss_mld_tlv() local
883 mld->own_mld_id = mvif->mt76.idx; in mt7996_mcu_bss_mld_tlv()
890 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7996_mcu_bss_sec_tlv() local
897 sec->cipher = mvif->cipher; in mt7996_mcu_bss_sec_tlv()
906 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_muar_config() local
907 u32 idx = mvif->mt76.omac_idx - REPEATER_BSSID_START; in mt7996_mcu_muar_config()
947 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_bss_ifs_timing_tlv() local
948 struct mt7996_phy *phy = mvif->phy; in mt7996_mcu_bss_ifs_timing_tlv()
979 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7996_mcu_bss_basic_tlv() local
1025 bss->omac_idx = mvif->omac_idx; in mt7996_mcu_bss_basic_tlv()
1026 bss->band_idx = mvif->band_idx; in mt7996_mcu_bss_basic_tlv()
1027 bss->wmm_idx = mvif->wmm_idx; in mt7996_mcu_bss_basic_tlv()
1031 idx = mvif->omac_idx > EXT_BSSID_START ? HW_BSSID_0 : mvif->omac_idx; in mt7996_mcu_bss_basic_tlv()
1051 __mt7996_mcu_alloc_bss_req(struct mt76_dev *dev, struct mt76_vif *mvif, int len) in __mt7996_mcu_alloc_bss_req() argument
1054 .bss_idx = mvif->idx, in __mt7996_mcu_alloc_bss_req()
1070 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_add_bss_info() local
1074 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) { in mt7996_mcu_add_bss_info()
1079 skb = __mt7996_mcu_alloc_bss_req(&dev->mt76, &mvif->mt76, in mt7996_mcu_add_bss_info()
1086 mvif->sta.wcid.idx, enable); in mt7996_mcu_add_bss_info()
1115 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_set_timing() local
1119 skb = __mt7996_mcu_alloc_bss_req(&dev->mt76, &mvif->mt76, in mt7996_mcu_set_timing()
1131 mt7996_mcu_sta_ba(struct mt7996_dev *dev, struct mt76_vif *mvif, in mt7996_mcu_sta_ba() argument
1140 skb = __mt76_connac_mcu_alloc_sta_req(&dev->mt76, mvif, wcid, in mt7996_mcu_sta_ba()
1166 struct mt7996_vif *mvif = msta->vif; in mt7996_mcu_add_tx_ba() local
1171 return mt7996_mcu_sta_ba(dev, &mvif->mt76, params, enable, true); in mt7996_mcu_add_tx_ba()
1179 struct mt7996_vif *mvif = msta->vif; in mt7996_mcu_add_rx_ba() local
1181 return mt7996_mcu_sta_ba(dev, &mvif->mt76, params, enable, false); in mt7996_mcu_add_rx_ba()
1657 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_sta_bfer_tlv() local
1658 struct mt7996_phy *phy = mvif->phy; in mt7996_mcu_sta_bfer_tlv()
1728 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_sta_bfee_tlv() local
1729 struct mt7996_phy *phy = mvif->phy; in mt7996_mcu_sta_bfee_tlv()
1863 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_set_fixed_field() local
1870 skb = __mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, in mt7996_mcu_set_fixed_field()
1905 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_add_rate_ctrl_fixed() local
1906 struct cfg80211_chan_def *chandef = &mvif->phy->mt76->chandef; in mt7996_mcu_add_rate_ctrl_fixed()
1907 struct cfg80211_bitrate_mask *mask = &mvif->bitrate_mask; in mt7996_mcu_add_rate_ctrl_fixed()
1993 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_sta_rate_ctrl_tlv() local
1994 struct mt76_phy *mphy = mvif->phy->mt76; in mt7996_mcu_sta_rate_ctrl_tlv()
1996 struct cfg80211_bitrate_mask *mask = &mvif->bitrate_mask; in mt7996_mcu_sta_rate_ctrl_tlv()
2097 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_add_rate_ctrl() local
2102 skb = __mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, in mt7996_mcu_add_rate_ctrl()
2133 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_add_group() local
2149 .val = cpu_to_le32(mvif->mt76.idx % 16), in mt7996_mcu_add_group()
2152 msta = sta ? (struct mt7996_sta *)sta->drv_priv : &mvif->sta; in mt7996_mcu_add_group()
2162 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_add_sta() local
2169 msta = sta ? (struct mt7996_sta *)sta->drv_priv : &mvif->sta; in mt7996_mcu_add_sta()
2172 skb = __mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, in mt7996_mcu_add_sta()
2276 struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; in mt7996_mcu_add_key() local
2280 skb = __mt76_connac_mcu_alloc_sta_req(dev, mvif, wcid, in mt7996_mcu_add_key()
2296 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_get_pn() local
2302 skb = mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, &mvif->sta.wcid); in mt7996_mcu_get_pn()
2329 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_bcn_prot_enable() local
2338 skb = __mt7996_mcu_alloc_bss_req(&dev->mt76, &mvif->mt76, len); in mt7996_mcu_bcn_prot_enable()
2382 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_add_dev_info() local
2398 .omac_idx = mvif->mt76.omac_idx, in mt7996_mcu_add_dev_info()
2399 .band_idx = mvif->mt76.band_idx, in mt7996_mcu_add_dev_info()
2408 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) in mt7996_mcu_add_dev_info()
2522 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_add_beacon() local
2533 rskb = __mt7996_mcu_alloc_bss_req(&dev->mt76, &mvif->mt76, in mt7996_mcu_add_beacon()
2577 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_beacon_inband_discov() local
2578 struct cfg80211_chan_def *chandef = &mvif->phy->mt76->chandef; in mt7996_mcu_beacon_inband_discov()
2591 rskb = __mt7996_mcu_alloc_bss_req(&dev->mt76, &mvif->mt76, in mt7996_mcu_beacon_inband_discov()
3159 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_set_tx() local
3164 .bss_idx = mvif->mt76.idx, in mt7996_mcu_set_tx()
3177 struct ieee80211_tx_queue_params *q = &mvif->queue_params[ac]; in mt7996_mcu_set_tx()
4024 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_set_obss_spr_siga() local
4026 u8 omac = mvif->mt76.omac_idx; in mt7996_mcu_set_obss_spr_siga()
4144 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_update_bss_color() local
4149 skb = __mt7996_mcu_alloc_bss_req(&dev->mt76, &mvif->mt76, len); in mt7996_mcu_update_bss_color()
4168 struct mt7996_vif *mvif, in mt7996_mcu_twt_agrt_update() argument
4199 .own_mac_idx = mvif->mt76.omac_idx, in mt7996_mcu_twt_agrt_update()
4203 .bss = mvif->mt76.idx, in mt7996_mcu_twt_agrt_update()
4204 .bss_idx = mvif->mt76.idx, in mt7996_mcu_twt_agrt_update()
4296 struct mt7996_vif *mvif = (struct mt7996_vif *)vif->drv_priv; in mt7996_mcu_wtbl_update_hdr_trans() local
4300 msta = sta ? (struct mt7996_sta *)sta->drv_priv : &mvif->sta; in mt7996_mcu_wtbl_update_hdr_trans()
4302 skb = __mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, in mt7996_mcu_wtbl_update_hdr_trans()