Closed
Bug 1116434
Opened 11 years ago
Closed 11 years ago
(gonk-L-Wifi) WiFi hotspot L porting
Categories
(Firefox OS Graveyard :: Wifi, defect)
Tracking
(feature-b2g:2.2+, firefox36 wontfix, firefox37 wontfix, firefox38 fixed, b2g-v2.2 fixed, b2g-master fixed)
People
(Reporter: hcheng, Assigned: jessica)
References
Details
Attachments
(1 file, 4 obsolete files)
9.96 KB,
patch
|
jessica
:
review+
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Updated•11 years ago
|
Blocks: gonk-L
Depends on: gonk-L-Wifi
Reporter | ||
Comment 1•11 years ago
|
||
After wifi porting is done, wifi hotspot functionality should be verified.
Updated•11 years ago
|
Comment 3•11 years ago
|
||
Wifi hotspot should be mandatory function. Nominate it for feature 2.2+
feature-b2g: --- → 2.2?
Updated•11 years ago
|
feature-b2g: 2.2? → 2.2+
Updated•11 years ago
|
Target Milestone: --- → 2.2 S4 (23jan)
Updated•11 years ago
|
Blocks: gonk-L-Wifi
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•11 years ago
|
||
This is how the routing table looks like when tethering is enabled:
root@mako:/ # ip rule
0: from all lookup local
10000: from all fwmark 0xc0000/0xd0000 lookup legacy_system
13000: from all fwmark 0x10063/0x1ffff lookup local_network
13000: from all fwmark 0x10064/0x1ffff lookup rmnet_usb0
14000: from all oif rmnet_usb0 lookup rmnet_usb0
14000: from all oif wlan0 lookup local_network
15000: from all fwmark 0x0/0x10000 lookup legacy_system
16000: from all fwmark 0x0/0x10000 lookup legacy_network
17000: from all fwmark 0x0/0x10000 lookup local_network
18000: from all iif wlan0 lookup rmnet_usb0
19000: from all fwmark 0x64/0x1ffff lookup rmnet_usb0
22000: from all fwmark 0x0/0xffff lookup rmnet_usb0
23000: from all fwmark 0x0/0xffff uidrange 0-0 lookup main
32000: from all unreachable
We can see that there are "iif -> oif" rules for tethering.
The iif rule is created "nat enable" command is sent to netd. For the oif rule, we have to add the tethering interface to the local network and then add the corresponding route into local_network table.
Also, netid fwmark is passed to dnsmasq to use for DNS queries.
I'll provide a patch once bug 1104664 is ready.
Assignee | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Attachment #8546373 -
Attachment is obsolete: true
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Henry Chang [:henry] from comment #6)
> Created attachment 8546491 [details] [diff] [review]
> Bug1116434.patch (based on Bug 1104664)
I'll upload the final patch and ask for review once bug 1104664 is landed.
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #8546491 -
Attachment is obsolete: true
Assignee | ||
Comment 9•11 years ago
|
||
remove unused variable.
Attachment #8550046 -
Attachment is obsolete: true
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8550062 [details] [diff] [review]
patch, v2.
Edgar, may I have your review on this? Thanks!
Attachment #8550062 -
Flags: review?(echen)
Comment 11•11 years ago
|
||
Comment on attachment 8550062 [details] [diff] [review]
patch, v2.
Review of attachment 8550062 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thank you.
::: dom/system/gonk/NetworkUtils.cpp
@@ +742,5 @@
> doCommand(command, aChain, aCallback);
> }
>
> +void NetworkUtils::addInterfaceToLocalNetwork(CommandChain* aChain,
> + CommandCallback aCallback,
Nit: Indention
Attachment #8550062 -
Flags: review?(echen) → review+
Assignee | ||
Comment 12•11 years ago
|
||
- correct indention (see comment 11)
Thanks Edgar!
Attachment #8550062 -
Attachment is obsolete: true
Attachment #8551615 -
Flags: review+
Assignee | ||
Comment 13•11 years ago
|
||
Assignee | ||
Comment 14•11 years ago
|
||
Comment 16•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 17•11 years ago
|
||
Comment on attachment 8551615 [details] [diff] [review]
final patch. r=echen
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Wifi/USB hotspot L porting
User impact if declined: Wifi and USB hotspot will not work
Testing completed: Yes
Risk to taking this patch (and alternatives if risky): No
String or UUID changes made by this patch: No
Attachment #8551615 -
Flags: approval-mozilla-b2g37?
Updated•11 years ago
|
Attachment #8551615 -
Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
Comment 18•11 years ago
|
||
status-b2g-v2.2:
--- → fixed
status-b2g-master:
--- → fixed
status-firefox36:
--- → wontfix
status-firefox37:
--- → wontfix
status-firefox38:
--- → fixed
Reporter | ||
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•