File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed
drivers/net/wireless/rockchip_wlan/rtl8189fs Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ CONFIG_ANTENNA_DIVERSITY = n
71
71
CONFIG_TDLS = n
72
72
CONFIG_WIFI_MONITOR = n
73
73
# ####################### Wake On Lan ##########################
74
- CONFIG_WOWLAN = n
75
- CONFIG_GPIO_WAKEUP = n
74
+ CONFIG_WOWLAN = y
75
+ CONFIG_GPIO_WAKEUP = y
76
76
CONFIG_WAKEUP_GPIO_IDX = default
77
77
CONFIG_HIGH_ACTIVE = n
78
78
CONFIG_PNO_SUPPORT = n
Original file line number Diff line number Diff line change @@ -2039,7 +2039,7 @@ static void rtw_hal_release_rx_dma(_adapter *adapter)
2039
2039
2040
2040
rtw_write32 (adapter , REG_RXPKT_NUM , (val32 & (~RW_RELEASE_EN )));
2041
2041
2042
- DBG_871X ("%s, [0x%04x]: 0x%08x \n" ,
2042
+ DBG_871X ("%s, [0x%04x]: 0x%08lx \n" ,
2043
2043
__func__ , REG_RXPKT_NUM , (val32 & (~RW_RELEASE_EN )));
2044
2044
}
2045
2045
Original file line number Diff line number Diff line change 224
224
/*
225
225
* Debug Related Config
226
226
*/
227
- #define CONFIG_DEBUG /* DBG_871X, etc... */
227
+ // #define CONFIG_DEBUG /* DBG_871X, etc... */
228
228
229
229
#ifdef CONFIG_DEBUG
230
230
#define DBG 1 // for ODM & BTCOEX debug
Original file line number Diff line number Diff line change 25
25
//#error "BIT define occurred earlier elsewhere!\n"
26
26
#undef BIT
27
27
#endif
28
- #define BIT (x ) (1 << (x))
28
+ #define BIT (x ) (1UL << (x))
29
29
30
30
31
31
#define WLAN_ETHHDR_LEN 14
Original file line number Diff line number Diff line change 18
18
*
19
19
******************************************************************************/
20
20
#ifndef CONFIG_PLATFORM_OPS
21
+
22
+ #include <linux/rfkill-wlan.h>
23
+ extern unsigned int oob_irq ;
24
+
21
25
/*
22
26
* Return:
23
27
* 0: power on successfully
@@ -27,6 +31,7 @@ int platform_wifi_power_on(void)
27
31
{
28
32
int ret = 0 ;
29
33
34
+ oob_irq = rockchip_wifi_get_oob_irq ();
30
35
31
36
return ret ;
32
37
}
You can’t perform that action at this time.
0 commit comments