BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mangoh-drivers
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
mangoh-drivers
Commits
e26b94cd
Commit
e26b94cd
authored
Mar 12, 2018
by
David Frey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve WP76/77 UART workaround in mtwifi script
parent
c33ad757
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
mtwifi
linux_kernel_modules/mt7697wifi/scripts/mtwifi
+6
-2
No files found.
linux_kernel_modules/mt7697wifi/scripts/mtwifi
View file @
e26b94cd
...
...
@@ -9,9 +9,13 @@ mt_wifi_start() {
echo
"Setup MT7697 UART"
;
stty
-F
/dev/ttyHS0 raw 921600 crtscts ignbrk
-echo
||
exit
127
DEVICE
=
`
cm info |
grep
Device: |
cut
-d
':'
-f2
|
sed
's/^ *//g'
`
# This is a workaround for an issue where the UART on the WP76/WP77 goes
# to sleep and then doesn't wake up again when data is received. This is
# tracked in QTI9X07-1602. It seems likely that this will be fixed in
# WP76/77 release 9. At that point, this workaround can be removed.
DEVICE
=
`
cm info |
grep
Device: |
cut
-d
':'
-f2
|
sed
's/^ *//g'
|
cut
-c
-4
`
echo
"Device: "
$DEVICE
;
if
[
$DEVICE
=
'WP76
03-1'
-o
$DEVICE
=
'WP7603-3
'
]
;
then
if
[
$DEVICE
=
'WP76
'
-o
$DEVICE
=
'WP77
'
]
;
then
echo
"Enable power control"
;
echo
on
>
/sys/devices/78b0000.uart/power/control
||
exit
127
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment