This source file includes following definitions.
- mt76x2_mac_resume
1
2
3
4
5
6 #ifndef __MT76x2_MAC_H
7 #define __MT76x2_MAC_H
8
9 #include "mt76x2.h"
10
11 struct mt76x02_dev;
12 struct mt76x2_sta;
13 struct mt76x02_vif;
14
15 int mt76x2_mac_start(struct mt76x02_dev *dev);
16 void mt76x2_mac_stop(struct mt76x02_dev *dev, bool force);
17
18 static inline void mt76x2_mac_resume(struct mt76x02_dev *dev)
19 {
20 mt76_wr(dev, MT_MAC_SYS_CTRL,
21 MT_MAC_SYS_CTRL_ENABLE_TX |
22 MT_MAC_SYS_CTRL_ENABLE_RX);
23 }
24
25 #endif