testmode.c (975e122ddb7cd6f67bff974d2ea00c5568d2014c) | testmode.c (5c041325cd0b1307b196c686f87f8531d4d3f105) |
---|---|
1// SPDX-License-Identifier: ISC 2 3#include "mt7921.h" 4#include "mcu.h" 5 6enum mt7921_testmode_attr { 7 MT7921_TM_ATTR_UNSPEC, 8 MT7921_TM_ATTR_SET, --- 43 unchanged lines hidden (view full) --- 52 testmode = true; 53 } 54 55 if (testmode) { 56 /* Make sure testmode running on full power mode */ 57 pm->enable = false; 58 cancel_delayed_work_sync(&pm->ps_work); 59 cancel_work_sync(&pm->wake_work); | 1// SPDX-License-Identifier: ISC 2 3#include "mt7921.h" 4#include "mcu.h" 5 6enum mt7921_testmode_attr { 7 MT7921_TM_ATTR_UNSPEC, 8 MT7921_TM_ATTR_SET, --- 43 unchanged lines hidden (view full) --- 52 testmode = true; 53 } 54 55 if (testmode) { 56 /* Make sure testmode running on full power mode */ 57 pm->enable = false; 58 cancel_delayed_work_sync(&pm->ps_work); 59 cancel_work_sync(&pm->wake_work); |
60 __mt7921_mcu_drv_pmctrl(dev); | 60 __mt792x_mcu_drv_pmctrl(dev); |
61 62 phy->test.state = MT76_TM_STATE_ON; 63 } 64 65 if (!mt76_testmode_enabled(phy)) 66 goto out; 67 68 ret = mt76_mcu_send_msg(&dev->mt76, MCU_CE_CMD(TEST_CTRL), &cmd, --- 128 unchanged lines hidden --- | 61 62 phy->test.state = MT76_TM_STATE_ON; 63 } 64 65 if (!mt76_testmode_enabled(phy)) 66 goto out; 67 68 ret = mt76_mcu_send_msg(&dev->mt76, MCU_CE_CMD(TEST_CTRL), &cmd, --- 128 unchanged lines hidden --- |