Closed
Bug 1227573
Opened 10 years ago
Closed 8 years ago
Unify Wifi setup among emulators
Categories
(Firefox OS Graveyard :: Wifi, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: tzimmermann, Assigned: tzimmermann)
Details
Attachments
(2 files)
This is something like a follow-up bug to bug 1160913. Emulators for KK and later fetch random data from /dev/urandom to guarantee progress. Older emulators should probably do the same.
| Assignee | ||
Comment 1•10 years ago
|
||
Assignee: nobody → tzimmermann
Status: NEW → ASSIGNED
Attachment #8691427 -
Flags: review?(jgomez)
Attachment #8691427 -
Flags: feedback?(hchang)
| Assignee | ||
Updated•10 years ago
|
Attachment #8691427 -
Flags: review?(jgomez)
Attachment #8691427 -
Flags: feedback?(hchang)
| Assignee | ||
Comment 2•10 years ago
|
||
Hi Henry,
originally I wanted to port the existing patches from bug 1160913, but looking closer at the code, it seems possible to feed the necessary entropy from and external file into wpa_supplicant.
This patch loads the entropy into wpa_supplicant, which should then still fail to read from /dev/random [1], but pick up the mixed-in entropy afterwards. [2]
[1] https://android.googlesource.com/platform/external/wpa_supplicant_8/+/android-4.0.4_r2.1/src/crypto/random.c#217
[2] https://android.googlesource.com/platform/external/wpa_supplicant_8/+/android-4.0.4_r2.1/src/crypto/random.c#252
Attachment #8691443 -
Flags: feedback?(hchang)
| Assignee | ||
Comment 3•10 years ago
|
||
I'd like to reconsider the current patches of bug 1160913 to ease long-term maintenance.
Comment 4•10 years ago
|
||
Comment on attachment 8691443 [details]
Add entropy file for ICS wpa_supplicant
This is awesome! It seems what vendor does to wpa_supplicant! Thank for investigating it :)
Attachment #8691443 -
Flags: feedback?(hchang) → feedback+
| Assignee | ||
Comment 5•10 years ago
|
||
The other bug says that there's an automated test for Wifi on KK. How can I run it?
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(hchang)
Comment 6•10 years ago
|
||
Do you mean the on on emulator? It's
./mach marionette-webapi [GECKO-PATH]/dom/wifi/test/marionette/test_wifi_associate.js
Flags: needinfo?(hchang)
| Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Henry Chang [:henry] from comment #6)
> Do you mean the on on emulator? It's
>
> ./mach marionette-webapi
> [GECKO-PATH]/dom/wifi/test/marionette/test_wifi_associate.js
Yes, thanks. If I find some time, I'll prepare a patch and try this out.
| Assignee | ||
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•