mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 01:22:25 +00:00
1. porting MorseMicro HaLow driver to support HaLow on EAP112 2. Only support FCC regulation because of hardware limitation 3. Add /etc/init.d/halow-gpio-reset to initialize HaLow chip in early stage 4. Add /etc/uci-defaults/aaa-fix-phy0-to-morse to correct the default uci for HaLow radio. Signed-off-by: Ian Chen <ian77_chen@accton.com>
16 lines
524 B
Diff
16 lines
524 B
Diff
--- a/watchdog.c
|
|
+++ b/watchdog.c
|
|
@@ -54,12 +54,7 @@ static enum hrtimer_restart morse_watchd
|
|
static void watchdog_timer_start(struct morse *mors)
|
|
{
|
|
ktime_t interval = ktime_set(mors->watchdog.interval_secs, 0);
|
|
-
|
|
-#if defined(MAC80211_BACKPORT_VERSION_CODE) && (KERNEL_VERSION(4, 10, 0) <= MAC80211_VERSION_CODE)
|
|
- hrtimer_start(&mors->watchdog.timer, interval.tv64, HRTIMER_MODE_REL);
|
|
-#else
|
|
hrtimer_start(&mors->watchdog.timer, interval, HRTIMER_MODE_REL);
|
|
-#endif
|
|
}
|
|
|
|
int morse_watchdog_start(struct morse *mors)
|