![]() |
|
|||
0001 /* SPDX-License-Identifier: ISC */ 0002 /* 0003 * Copyright (C) 2016 Felix Fietkau <nbd@nbd.name> 0004 */ 0005 0006 #ifndef __MT76x2_MAC_H 0007 #define __MT76x2_MAC_H 0008 0009 #include "mt76x2.h" 0010 0011 struct mt76x02_dev; 0012 struct mt76x2_sta; 0013 struct mt76x02_vif; 0014 0015 void mt76x2_mac_stop(struct mt76x02_dev *dev, bool force); 0016 0017 static inline void mt76x2_mac_resume(struct mt76x02_dev *dev) 0018 { 0019 mt76_wr(dev, MT_MAC_SYS_CTRL, 0020 MT_MAC_SYS_CTRL_ENABLE_TX | 0021 MT_MAC_SYS_CTRL_ENABLE_RX); 0022 } 0023 0024 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |