Lines Matching full:mt76

73 	dev->mt76.mcu.timeout = 20 * HZ;  in mt7615_mcu_fill_msg()
75 seq = ++dev->mt76.mcu.msg_seq & 0xf; in mt7615_mcu_fill_msg()
77 seq = ++dev->mt76.mcu.msg_seq & 0xf; in mt7615_mcu_fill_msg()
187 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7615_mcu_send_message()
196 return mt76_tx_queue_skb_raw(dev, dev->mt76.q_mcu[qid], skb, 0); in mt7615_mcu_send_message()
210 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_QUERY(RF_REG_ACCESS), in mt7615_rf_rr()
226 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(RF_REG_ACCESS), in mt7615_rf_wr()
232 if (!is_mt7622(&dev->mt76)) in mt7622_trigger_hif_int()
243 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_drv_pmctrl()
245 struct mt76_dev *mdev = &dev->mt76; in mt7615_mcu_drv_pmctrl()
283 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_lp_drv_pmctrl()
300 dev_err(dev->mt76.dev, "driver own failed\n"); in mt7615_mcu_lp_drv_pmctrl()
317 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_fw_pmctrl()
329 addr = is_mt7663(&dev->mt76) ? MT_CONN_HIF_ON_LPCTL : MT_CFG_LPCR_HOST; in mt7615_mcu_fw_pmctrl()
332 if (is_mt7622(&dev->mt76) && in mt7615_mcu_fw_pmctrl()
335 dev_err(dev->mt76.dev, "Timeout for firmware own\n"); in mt7615_mcu_fw_pmctrl()
363 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_rx_csa_notify()
372 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_rx_csa_notify()
382 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_rx_radar_detected()
391 if (r->band_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_rx_radar_detected()
392 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_rx_radar_detected()
451 if (*seq_num & BIT(7) && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_scan_event()
452 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_scan_event()
454 mphy = &dev->mt76.phy; in mt7615_mcu_scan_event()
458 spin_lock_bh(&dev->mt76.lock); in mt7615_mcu_scan_event()
460 spin_unlock_bh(&dev->mt76.lock); in mt7615_mcu_scan_event()
477 if (event->dbdc_band && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_roc_event()
478 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_roc_event()
480 mphy = &dev->mt76.phy; in mt7615_mcu_roc_event()
502 if (band_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_beacon_loss_event()
503 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_beacon_loss_event()
505 mphy = &dev->mt76.phy; in mt7615_mcu_beacon_loss_event()
523 if (band_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_bss_event()
524 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_bss_event()
526 mphy = &dev->mt76.phy; in mt7615_mcu_bss_event()
557 mt76_connac_mcu_coredump_event(&dev->mt76, skb, in mt7615_mcu_rx_unsolicited_event()
583 mt76_mcu_rx_event(&dev->mt76, skb); in mt7615_mcu_rx_event()
591 u32 idx = mvif->mt76.omac_idx - REPEATER_BSSID_START; in mt7615_mcu_muar_config()
618 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(MUAR_UPDATE), in mt7615_mcu_muar_config()
645 .omac_idx = mvif->mt76.omac_idx, in mt7615_mcu_add_dev()
646 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_dev()
654 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_dev()
658 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) in mt7615_mcu_add_dev()
662 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(DEV_INFO_UPDATE), in mt7615_mcu_add_dev()
672 struct mt76_wcid *wcid = &dev->mt76.global_wcid; in mt7615_mcu_add_beacon_offload()
691 .omac_idx = mvif->mt76.omac_idx, in mt7615_mcu_add_beacon_offload()
694 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_beacon_offload()
706 dev_err(dev->mt76.dev, "Bcn size limit exceed\n"); in mt7615_mcu_add_beacon_offload()
712 info->hw_queue |= FIELD_PREP(MT_TX_HW_QUEUE_PHY, mvif->mt76.band_idx); in mt7615_mcu_add_beacon_offload()
729 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(BCN_OFFLOAD), &req, in mt7615_mcu_add_beacon_offload()
736 return mt76_connac_mcu_set_pm(&dev->mt76, band, state); in mt7615_mcu_ctrl_pm_state()
747 if (mvif->mt76.omac_idx >= REPEATER_BSSID_START) in mt7615_mcu_add_bss()
750 skb = mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, NULL); in mt7615_mcu_add_bss()
757 mt76_connac_mcu_bss_basic_tlv(skb, vif, sta, phy->mt76, in mt7615_mcu_add_bss()
760 if (enable && mvif->mt76.omac_idx >= EXT_BSSID_START && in mt7615_mcu_add_bss()
761 mvif->mt76.omac_idx < REPEATER_BSSID_START) in mt7615_mcu_add_bss()
762 mt76_connac_mcu_bss_ext_tlv(skb, &mvif->mt76); in mt7615_mcu_add_bss()
764 return mt76_mcu_skb_send_msg(&dev->mt76, skb, in mt7615_mcu_add_bss()
779 wtbl_hdr = mt76_connac_mcu_alloc_wtbl_req(&dev->mt76, &msta->wcid, in mt7615_mcu_wtbl_tx_ba()
784 mt76_connac_mcu_wtbl_ba_tlv(&dev->mt76, skb, params, enable, true, in mt7615_mcu_wtbl_tx_ba()
787 err = mt76_mcu_skb_send_msg(&dev->mt76, skb, in mt7615_mcu_wtbl_tx_ba()
792 skb = mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, in mt7615_mcu_wtbl_tx_ba()
799 return mt76_mcu_skb_send_msg(&dev->mt76, skb, in mt7615_mcu_wtbl_tx_ba()
814 skb = mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, in mt7615_mcu_wtbl_rx_ba()
821 err = mt76_mcu_skb_send_msg(&dev->mt76, skb, in mt7615_mcu_wtbl_rx_ba()
827 wtbl_hdr = mt76_connac_mcu_alloc_wtbl_req(&dev->mt76, &msta->wcid, in mt7615_mcu_wtbl_rx_ba()
832 mt76_connac_mcu_wtbl_ba_tlv(&dev->mt76, skb, params, enable, false, in mt7615_mcu_wtbl_rx_ba()
835 return mt76_mcu_skb_send_msg(&dev->mt76, skb, in mt7615_mcu_wtbl_rx_ba()
856 sskb = mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, in mt7615_mcu_wtbl_sta_add()
868 mt76_connac_mcu_sta_basic_tlv(&dev->mt76, sskb, vif, link_sta, in mt7615_mcu_wtbl_sta_add()
871 mt76_connac_mcu_sta_tlv(phy->mt76, sskb, sta, vif, 0, in mt7615_mcu_wtbl_sta_add()
874 wtbl_hdr = mt76_connac_mcu_alloc_wtbl_req(&dev->mt76, &msta->wcid, in mt7615_mcu_wtbl_sta_add()
881 mt76_connac_mcu_wtbl_generic_tlv(&dev->mt76, wskb, vif, sta, in mt7615_mcu_wtbl_sta_add()
884 mt76_connac_mcu_wtbl_ht_tlv(&dev->mt76, wskb, sta, in mt7615_mcu_wtbl_sta_add()
893 err = mt76_mcu_skb_send_msg(&dev->mt76, skb, cmd, true); in mt7615_mcu_wtbl_sta_add()
904 return mt76_mcu_skb_send_msg(&dev->mt76, skb, cmd, true); in mt7615_mcu_wtbl_sta_add()
912 return mt76_connac_mcu_wtbl_update_hdr_trans(&dev->mt76, vif, sta); in mt7615_mcu_wtbl_update_hdr_trans()
939 skb = mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, in mt7615_mcu_sta_ba()
948 wtbl_hdr = mt76_connac_mcu_alloc_wtbl_req(&dev->mt76, &msta->wcid, in mt7615_mcu_sta_ba()
953 mt76_connac_mcu_wtbl_ba_tlv(&dev->mt76, skb, params, enable, tx, in mt7615_mcu_sta_ba()
956 return mt76_mcu_skb_send_msg(&dev->mt76, skb, in mt7615_mcu_sta_ba()
999 return __mt7615_mcu_add_sta(phy->mt76, vif, sta, enable, in mt7615_mcu_add_sta()
1010 return mt76_connac_mcu_sta_update_hdr_trans(&dev->mt76, in mt7615_mcu_sta_update_hdr_trans()
1041 struct mt76_wcid *wcid = &dev->mt76.global_wcid; in mt7615_mcu_uni_add_beacon_offload()
1068 .bss_idx = mvif->mt76.idx, in mt7615_mcu_uni_add_beacon_offload()
1086 dev_err(dev->mt76.dev, "beacon size limit exceed\n"); in mt7615_mcu_uni_add_beacon_offload()
1106 return mt76_mcu_send_msg(&dev->mt76, MCU_UNI_CMD(BSS_INFO_UPDATE), in mt7615_mcu_uni_add_beacon_offload()
1116 return mt76_connac_mcu_uni_add_dev(phy->mt76, &vif->bss_conf, in mt7615_mcu_uni_add_dev()
1126 return mt76_connac_mcu_uni_add_bss(phy->mt76, vif, &mvif->sta.wcid, in mt7615_mcu_uni_add_bss()
1134 return __mt7615_mcu_add_sta(phy->mt76, vif, sta, enable, in mt7615_mcu_uni_add_sta()
1145 return mt76_connac_mcu_sta_ba(&dev->mt76, &sta->vif->mt76, params, in mt7615_mcu_uni_tx_ba()
1162 skb = mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, in mt7615_mcu_uni_rx_ba()
1169 err = mt76_mcu_skb_send_msg(&dev->mt76, skb, in mt7615_mcu_uni_rx_ba()
1174 skb = mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mvif->mt76, in mt7615_mcu_uni_rx_ba()
1182 wtbl_hdr = mt76_connac_mcu_alloc_wtbl_req(&dev->mt76, &msta->wcid, in mt7615_mcu_uni_rx_ba()
1187 mt76_connac_mcu_wtbl_ba_tlv(&dev->mt76, skb, params, enable, false, in mt7615_mcu_uni_rx_ba()
1190 return mt76_mcu_skb_send_msg(&dev->mt76, skb, in mt7615_mcu_uni_rx_ba()
1201 return mt76_connac_mcu_sta_update_hdr_trans(&dev->mt76, in mt7615_mcu_sta_uni_update_hdr_trans()
1231 ret = firmware_request_nowarn(&fw, name, dev->mt76.dev); in mt7615_load_patch()
1236 dev_err(dev->mt76.dev, "Invalid firmware\n"); in mt7615_load_patch()
1241 sem = mt76_connac_mcu_patch_sem_ctrl(&dev->mt76, true); in mt7615_load_patch()
1248 dev_err(dev->mt76.dev, "Failed to get patch semaphore\n"); in mt7615_load_patch()
1255 dev_info(dev->mt76.dev, "HW/SW Version: 0x%x, Build Time: %.16s\n", in mt7615_load_patch()
1260 ret = mt76_connac_mcu_init_download(&dev->mt76, addr, len, in mt7615_load_patch()
1263 dev_err(dev->mt76.dev, "Download request failed\n"); in mt7615_load_patch()
1267 ret = mt76_mcu_send_firmware(&dev->mt76, MCU_CMD(FW_SCATTER), in mt7615_load_patch()
1270 dev_err(dev->mt76.dev, "Failed to send firmware to device\n"); in mt7615_load_patch()
1274 ret = mt76_connac_mcu_start_patch(&dev->mt76); in mt7615_load_patch()
1276 dev_err(dev->mt76.dev, "Failed to start patch\n"); in mt7615_load_patch()
1279 sem = mt76_connac_mcu_patch_sem_ctrl(&dev->mt76, false); in mt7615_load_patch()
1285 dev_err(dev->mt76.dev, "Failed to release patch semaphore\n"); in mt7615_load_patch()
1305 mode = mt76_connac_mcu_gen_dl_mode(&dev->mt76, in mt7615_mcu_send_ram_firmware()
1310 err = mt76_connac_mcu_init_download(&dev->mt76, addr, len, in mt7615_mcu_send_ram_firmware()
1313 dev_err(dev->mt76.dev, "Download request failed\n"); in mt7615_mcu_send_ram_firmware()
1317 err = mt76_mcu_send_firmware(&dev->mt76, MCU_CMD(FW_SCATTER), in mt7615_mcu_send_ram_firmware()
1320 dev_err(dev->mt76.dev, "Failed to send firmware to device\n"); in mt7615_mcu_send_ram_firmware()
1336 ret = request_firmware(&fw, name, dev->mt76.dev); in mt7615_load_n9()
1341 dev_err(dev->mt76.dev, "Invalid firmware\n"); in mt7615_load_n9()
1349 dev_info(dev->mt76.dev, "N9 Firmware Version: %.10s, Build Time: %.15s\n", in mt7615_load_n9()
1356 ret = mt76_connac_mcu_start_firmware(&dev->mt76, in mt7615_load_n9()
1360 dev_err(dev->mt76.dev, "Failed to start N9 firmware\n"); in mt7615_load_n9()
1364 snprintf(dev->mt76.hw->wiphy->fw_version, in mt7615_load_n9()
1365 sizeof(dev->mt76.hw->wiphy->fw_version), in mt7615_load_n9()
1368 if (!is_mt7615(&dev->mt76)) { in mt7615_load_n9()
1387 ret = request_firmware(&fw, name, dev->mt76.dev); in mt7615_load_cr4()
1392 dev_err(dev->mt76.dev, "Invalid firmware\n"); in mt7615_load_cr4()
1400 dev_info(dev->mt76.dev, "CR4 Firmware Version: %.10s, Build Time: %.15s\n", in mt7615_load_cr4()
1407 ret = mt76_connac_mcu_start_firmware(&dev->mt76, 0, in mt7615_load_cr4()
1410 dev_err(dev->mt76.dev, "Failed to start CR4 firmware\n"); in mt7615_load_cr4()
1439 dev_err(dev->mt76.dev, "Firmware is not ready for download\n"); in mt7615_load_firmware()
1454 dev_err(dev->mt76.dev, "Timeout for initializing firmware\n"); in mt7615_load_firmware()
1470 dev_err(dev->mt76.dev, "Firmware is not ready for download\n"); in mt7622_load_firmware()
1485 dev_err(dev->mt76.dev, "Timeout for initializing firmware\n"); in mt7622_load_firmware()
1503 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(FW_LOG_2_HOST), in mt7615_mcu_fw_log_2_host()
1516 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(CAL_CACHE), &data, in mt7615_mcu_cal_cache_apply()
1529 ret = request_firmware(&fw, name, dev->mt76.dev); in mt7663_load_n9()
1534 dev_err(dev->mt76.dev, "Invalid firmware\n"); in mt7663_load_n9()
1540 dev_info(dev->mt76.dev, "N9 Firmware Version: %.10s, Build Time: %.15s\n", in mt7663_load_n9()
1542 dev_info(dev->mt76.dev, "Region number: 0x%x\n", hdr->n_region); in mt7663_load_n9()
1549 dev_info(dev->mt76.dev, "Parsing tailer Region: %d\n", i); in mt7663_load_n9()
1552 mode = mt76_connac_mcu_gen_dl_mode(&dev->mt76, in mt7663_load_n9()
1557 ret = mt76_connac_mcu_init_download(&dev->mt76, addr, len, in mt7663_load_n9()
1560 dev_err(dev->mt76.dev, "Download request failed\n"); in mt7663_load_n9()
1564 ret = mt76_mcu_send_firmware(&dev->mt76, MCU_CMD(FW_SCATTER), in mt7663_load_n9()
1567 dev_err(dev->mt76.dev, "Failed to send firmware\n"); in mt7663_load_n9()
1574 dev_info(dev->mt76.dev, "Region %d, override_addr = 0x%08x\n", in mt7663_load_n9()
1582 dev_info(dev->mt76.dev, "override_addr = 0x%08x, option = %d\n", in mt7663_load_n9()
1585 ret = mt76_connac_mcu_start_firmware(&dev->mt76, override_addr, flag); in mt7663_load_n9()
1587 dev_err(dev->mt76.dev, "Failed to start N9 firmware\n"); in mt7663_load_n9()
1591 snprintf(dev->mt76.hw->wiphy->fw_version, in mt7663_load_n9()
1592 sizeof(dev->mt76.hw->wiphy->fw_version), in mt7663_load_n9()
1616 dev_info(dev->mt76.dev, "%s not found, switching to %s", in mt7663_load_rom_patch()
1621 dev_err(dev->mt76.dev, "failed to load %s", in mt7663_load_rom_patch()
1648 dev_dbg(dev->mt76.dev, "Firmware is already download\n"); in __mt7663_load_firmware()
1664 dev_err(dev->mt76.dev, "Timeout for initializing firmware\n"); in __mt7663_load_firmware()
1670 dev->mt76.hw->wiphy->wowlan = &mt76_connac_wowlan_support; in __mt7663_load_firmware()
1673 dev_dbg(dev->mt76.dev, "Firmware init done\n"); in __mt7663_load_firmware()
1703 dev->mt76.mcu_ops = &mt7615_mcu_ops, in mt7615_mcu_init()
1709 switch (mt76_chip(&dev->mt76)) { in mt7615_mcu_init()
1723 mt76_queue_tx_cleanup(dev, dev->mt76.q_mcu[MT_MCUQ_FWDL], false); in mt7615_mcu_init()
1724 dev_dbg(dev->mt76.dev, "Firmware init done\n"); in mt7615_mcu_init()
1739 mt7615_mcu_restart(&dev->mt76); in mt7615_mcu_exit()
1741 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7615_mcu_exit()
1754 u8 *eep = (u8 *)dev->mt76.eeprom.data; in mt7615_mcu_set_eeprom()
1758 switch (mt76_chip(&dev->mt76)) { in mt7615_mcu_set_eeprom()
1776 skb = mt76_mcu_msg_alloc(&dev->mt76, NULL, sizeof(req_hdr) + eep_len); in mt7615_mcu_set_eeprom()
1783 return mt76_mcu_skb_send_msg(&dev->mt76, skb, in mt7615_mcu_set_eeprom()
1820 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(EDCA_UPDATE), in mt7615_mcu_set_wmm()
1879 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(DBDC_CTRL), &req, in mt7615_mcu_set_dbdc()
1893 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(SET_RADAR_TH), in mt7615_mcu_set_fcc5_lpn()
1922 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(SET_RADAR_TH), in mt7615_mcu_set_pulse_th()
1969 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(SET_RADAR_TH), in mt7615_mcu_set_radar_th()
2001 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(SET_RDD_PATTERN), in mt7615_mcu_rdd_send_pattern()
2007 struct mt76_phy *mphy = phy->mt76; in mt7615_mcu_set_txpower_sku()
2115 struct cfg80211_chan_def *chandef = &phy->mt76->chandef; in mt7615_mcu_set_chan_info()
2138 .tx_streams = hweight8(phy->mt76->antenna_mask), in mt7615_mcu_set_chan_info()
2139 .rx_streams_mask = phy->mt76->chainmask, in mt7615_mcu_set_chan_info()
2144 phy->mt76->hw->conf.flags & IEEE80211_CONF_MONITOR) in mt7615_mcu_set_chan_info()
2146 else if (phy->mt76->offchannel) in mt7615_mcu_set_chan_info()
2148 else if (!cfg80211_reg_can_beacon(phy->mt76->hw->wiphy, chandef, in mt7615_mcu_set_chan_info()
2157 if (mt76_testmode_enabled(phy->mt76)) in mt7615_mcu_set_chan_info()
2162 return mt76_mcu_send_msg(&dev->mt76, cmd, &req, sizeof(req), true); in mt7615_mcu_set_chan_info()
2172 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(THERMAL_CTRL), in mt7615_mcu_get_temperature()
2193 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(ATE_CTRL), in mt7615_mcu_set_test_param()
2211 return mt76_mcu_send_msg(&dev->mt76, in mt7615_mcu_set_sku_en()
2296 struct cfg80211_chan_def *chandef = &phy->mt76->chandef; in mt7615_mcu_apply_rx_dcoc()
2325 .dbdc_en = !!dev->mt76.phys[MT_BAND1], in mt7615_mcu_apply_rx_dcoc()
2329 u8 *eep = dev->mt76.eeprom.data; in mt7615_mcu_apply_rx_dcoc()
2352 ret = mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(RXDCOC_CAL), &req, in mt7615_mcu_apply_rx_dcoc()
2411 struct cfg80211_chan_def *chandef = &phy->mt76->chandef; in mt7615_mcu_apply_tx_dpd()
2446 .dbdc_en = !!dev->mt76.phys[MT_BAND1], in mt7615_mcu_apply_tx_dpd()
2450 u8 *eep = dev->mt76.eeprom.data; in mt7615_mcu_apply_tx_dpd()
2473 ret = mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(TXDPD_CAL), in mt7615_mcu_apply_tx_dpd()
2502 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(RX_HDR_TRANS), in mt7615_mcu_set_rx_hdr_trans_blacklist()
2521 .bss_idx = mvif->mt76.idx, in mt7615_mcu_set_bss_pm()
2530 .bss_idx = mvif->mt76.idx, in mt7615_mcu_set_bss_pm()
2537 err = mt76_mcu_send_msg(&dev->mt76, MCU_CE_CMD(SET_BSS_ABORT), in mt7615_mcu_set_bss_pm()
2542 return mt76_mcu_send_msg(&dev->mt76, MCU_CE_CMD(SET_BSS_CONNECTED), in mt7615_mcu_set_bss_pm()
2552 .bss_idx = mvif->mt76.idx, in mt7615_mcu_set_roc()
2562 return mt76_mcu_send_msg(&dev->mt76, MCU_CE_CMD(SET_ROC), in mt7615_mcu_set_roc()