Wifi priority over other devices with a selfish Android node - Nexus 5X Q&A, Help & Troubleshooting

As far as I understand, WIFI drivers use the Distributed coordination function to avoid collisions. If the random backoff time is computed in the same way on all devices in a WIFI network, then they all have the same priority in the network (somehow).
But if I would now use smaller random numbers than the others, then I would get more of the bandwidth, right?
Does anyone know if I have an easier solution than modifying the WIFI driver in the ROM to achieve that?
Thanks in advance for any hints!

If I had to increase wireless device priority, I would look into QoS settings in a router/access point instead. I think that this is you are looking for.

This is something that I can only do in a network which is under my control.
But I also (especially) want to increase the priority in networks where I cannot modify the router.

I found three papers dealing with this idea:
The role of the Access Point in Wi-Fi networks with selfish nodes
Medium access in WiFi networks: strategies of selfish nodes
MAC Design for WiFi Infrastructure Networks: A Game-Theoretic Approach
I have not yet finished reading them, but as far as I can see they are only thinking about
how this idea can be prevented
if considering this issue from a game theoretical perspective what a nash equilibrium would look like if everyone in a network would try to improve his performance using this approach
The first paper says: "recent drivers allow users to configure protocol parameters differently from their standard values in order to break the protocol fairness and obtain a larger share of the available bandwidth at the expense of other users"
But I could not find any information regarding this on Android...
Does anyone have a hint?
Thank you so much!

Related

Windows 7 Mobile - Force browsing through Corporate proxy server

I've just got hold of an HTC Mozart 7 for testing purposes at work before we consider dishing these our to users. (On the Orange Network)
Unlike the previous versions of Windows Mobile, I cannot find anywhere to specify the proxy server address so that browsing goes through our corporate proxy server.
Can anyone help/shed any light on this?
Cheers,
pno
Nope, I've not been able to find this either....
I can't connect to my hidden WiFi network at work, so can't really use the Proxy server anyways....
Hoping the WP7 SP1 has some of these simplistic fixes in there...
On some old Qtek devices we had we used to be able to force all web access to first go through the proxy, be it WiFi or mobile data.
Connect to your wifi network, where it shows the list of networks it should show yours and say connected.
Tap on the name and it will list the connection details and also allow you to add a proxy.
loomx said:
Connect to your wifi network, where it shows the list of networks it should show yours and say connected.
Tap on the name and it will list the connection details and also allow you to add a proxy.
Click to expand...
Click to collapse
^ This. I use my wp7 through our proxy all the time.
Fine for Wifi traffic, but I also need to regulate the mobile data traffic
pnopine said:
Fine for Wifi traffic, but I also need to regulate the mobile data traffic
Click to expand...
Click to collapse
That can be done legally?
addicus said:
That can be done legally?
Click to expand...
Click to collapse
Yes.
We provide and pay for the devices and service, we also set out the terms of use/company policy when using a company device, and in order to preserve the security and integrity of our network, there are certain network resources which we prohibit users to access, we control this by means of a proxy server.
It's no different to being in the office and getting your Internet access through a proxy server.
yeah I'm pretty dissapointed with WP7 so far - Its like they've 'dumbed' it down to the point of being useable only by my 3 year old and my grandma.
For businesses I see allot of problems - Not being able to deploy apps without marketplace is going to be a nightmare (I don't want to have to create multiple live.com accounts just to get downloads!).
PAP Authentication is not currently support - useless for private APN's.
Proxy not being supported is a biggie problem I have too mate
zoomee said:
yeah I'm pretty dissapointed with WP7 so far - Its like they've 'dumbed' it down to the point of being useable only by my 3 year old and my grandma.
For businesses I see allot of problems - Not being able to deploy apps without marketplace is going to be a nightmare (I don't want to have to create multiple live.com accounts just to get downloads!).
PAP Authentication is not currently support - useless for private APN's.
Proxy not being supported is a biggie problem I have too mate
Click to expand...
Click to collapse
MS has said that at the start it will be consumer focus with business focus coming throughout 2011. As for no proxy, proxy is available through wifi. once connected, press and hold on the connected wifi spot and click edit. you can adjust proxy settings there.
it isn't available through 3G, but then again, i'm not sure if this is capable of any phone is it? or if the carriers like it either?
The Gate Keeper said:
MS has said that at the start it will be consumer focus with business focus coming throughout 2011. As for no proxy, proxy is available through wifi. once connected, press and hold on the connected wifi spot and click edit. you can adjust proxy settings there.
it isn't available through 3G, but then again, i'm not sure if this is capable of any phone is it? or if the carriers like it either?
Click to expand...
Click to collapse
Do you have find a solution? I need a PAP auth for my APN.
Thanks
Tony
pnopine said:
Yes.
We provide and pay for the devices and service, we also set out the terms of use/company policy when using a company device, and in order to preserve the security and integrity of our network, there are certain network resources which we prohibit users to access, we control this by means of a proxy server.
It's no different to being in the office and getting your Internet access through a proxy server.
Click to expand...
Click to collapse
and how do you keep the end users from editing that?
nrfitchett4 said:
and how do you keep the end users from editing that?
Click to expand...
Click to collapse
That was going to be my question...even if you could force their network traffic through your proxy, what stops them just disabling it again?
Perhaps, your company policy requires it? But even if it is possible, is it enforceable?

The ultimate fix for WIFI drop-offs

OK, there have been plenty said about various devices having issues of random WIFI drops during good signal conditions.
I have learned long ago that there are some devices that do not play well with legacy Draft N routers and modems connecting to newer WIFI devices that have power save functions.
This issue is primarily with the advanced features within the Modem/Router WIFI features.
Here are the two features that can help with connection drop-offs.
DTIM Interval
Beacon Interval
If you set DTIM Interval to low, you risk flow condition drop-offs. Some people find a value set around 6 to be effective for both gaming and file transfer.
The lower the value the less power is consumed in the WIFI connection. Small devices with smaller batteries need a low value, like 1 to 2. If you have a good sized battery 6 to 8 will work well.
Beacon Interval will create a high level of repeated instances of beacon synchronization, if using WPA security. Which can augment the delay between data stream. If you find yourself in an area of about -80db and drops are noticeable, decreasing the time in between beacon intervals will not allow time to recover. Once authentication breaks, you will need to reset your devices WIFI enable to regain authentication. Changing the interval to 200 to 300 ms will help. But when your interval is set at 1000ms intervals, it will make your issues more problematic.
I keep my numbers one the edge much as possible, so peeps outside my house find connecting extremely difficult at -90db
Many have circumvented the above issues by using WEP or open authentication. Which is only a band aid fix.
Channel congestion can make drop-offs. As it slows your data path and can make extra authentication cycles during recovery.
Before making any changes copy down the original settings for restoring them if needed.
Some apps I am using for my WIFI connection.
WIFI Ace (WIFI Advanced Configuration Editor): Will attach to advanced WIFI hotspots, including none broadcasting SID.
WIFI Fixer: Automatically reconnects during any drop-offs, and will restore connections after sleep cycles.

[Q] settings for faster gps A gps rules

Folks,
This might amuse you, but I'm learning. Still. As always. While my GPS is already working quite fast most of the time, I still think I did not figure out how to use cell broadcast for location. I'm not sure, though. Hope someone here may be able to look into that. FasterGPS is my point of interest atm. It sets an ntp server - so far, so good. I just had a look at the advanced settings: nothing set there. This bugs me. I found several threads on XDA dev posting various settings, but also this on rootzwiki telling us, quite convincingly, why most of the settings found on the web (and on XDA) are crap: http : / / rootzwiki .com/topic/28989-the-end-all-be-all-guide-to-your-gps/ (kick out the blanks, I assume I can't post links, yet).
I already mentioned (here: http:// forum.xda-developers .com/showthread.php?t=2643201 ) that WiFi location is not workin' on my device. Now, I found the key ENABLE_WIPER is not set. I also can see that SUPL_HOST is not set, which seems to be the cell broadcast providing server. Now, has anybody else checked that sub-menu and has some opinion on that? I'm quite willing to copyedit it into the wiki for the greater good of everybody, but I need some more experienced guys here.
I will just play with the settings now, hoping that I don't cause any harm. (Yay, fasterGPS has created a backup...) Some Q I would like to see answered:
1) SUPL_HOST is for cell broadcast location, and also including WiFi SSID location, right?
2) Does cell (not: wifi) broadcast triangulation work if you have only wifi data connection?
3) Is there some auto-updating list of geolocation servers somewhere? Including ports and cert location for DL? I'd like to have a choice beyond Nokia and Google, and _definetly_ a server using TLS/SSL. Hell, this is GEOLOCATION! I don't want to scream it openly at the whole of the interwebz. Why are there even servers WITHOUT TLS/SSL? (Really sorry to ask, me searchengine-fu is so b0rken, I haz founds none listz... ^_^ )
4) Just to clarify: we can use any provider for SUPL AGPS, right? That is to say, neither use our 'native' providers NOR supl.google.com or supl.nokia.com? Say you're on Telefonica (Germany: O2, mostly 1800 mHz), would it be possible to use use network cell broadcasts even on another GSM baseband frequency (like Telekom, mostly 900 mHz)? (Think also the the other way round, since 1800 mHz (if available) has the advantage of having smaller cells.) To specify: would our FP check these frequencies if onyl one SIM module is active/installed, using the 'other' frequencies?
Hope to hear all of your 2cts!
Quoting myself. Answering myself. Meh.
Could it be that the initial boost of interest is ebbing?
And that everyone (except some people complaining in the fairphone.com forum) are already happy with their phone?
boondiordna said:
I already mentioned (here: http:// forum.xda-developers .com/showthread.php?t=2643201 ) that WiFi location is not workin' on my device.
Click to expand...
Click to collapse
FTR: It works now. Oeffi (which is otherwise quite unstable and basically every other time I load a new network map) can now access my position. OSM~And is working great even without GPS, just using SSID triangulations.
boondiordna said:
1) SUPL_HOST is for cell broadcast location, and also including WiFi SSID location, right?
2) Does cell (not: wifi) broadcast triangulation work if you have only wifi data connection?
Click to expand...
Click to collapse
It's definitely using WiFi SSID to locate the position. I haven't tried it yet (with cell data connection) in an are where there are no WiFi SSIDs.
boondiordna said:
3) Is there some auto-updating list of geolocation servers somewhere?
Click to expand...
Click to collapse
Using Nokia's server right now:
Supl_HOST: subl.nokia.com
SUPL_SECURE_PORT=7275
(No other settings set - I assume to be using TLS only at the moment. Works great.)
I wonder if I should add this steps to the wiki.
If nobody objects here, I will.

[Q] Most efficient WiFi Access Point option

Seeking advice for the most efficient WiFi Access Point configuration on the vzw m7 - native CM11 WiFi AP vs. the Mobile Hotspot in NuSenseSIX; optimal CPU governor and other kernel options, etc.
I'm doing an experiment to see if it's feasible to use my vzw unlimited data plan and HTC m7 for all of my phone and Internet usage (personal and business usage). I work primarily out of a home office, and my LTE service at home is very good. It actually has more bandwidth than my landline ADSL+ service but with higher latency.
The problems thus far:
battery usage - it drains really fast and charges very slowly when using the mobile AP (kernel optimizations, etc?)
latency issues tend to annoy VOIP applications (can this be tuned or is it just what is?)
AP setup and teardown - since the AP needs to be active when in the vicinity of my home office, but ruins battery life when I'm out and about, I'll probably look to use tasker or something to fire up the AP when needed - suggestions welcome on the best approach
I'm not convinced I can cut the proverbial cord yet, but it's feeling like it may become possible soon.

Wifi calling security???

I was just wondering...
I called AT&T tech support and they didn't understand what I was talking about, however they swore that this system is SECURE.
The H810 recently got the 21y update which makes it the second AT&T phone to get the Wifi calling option. Its a cool feature, but I WILL NOT do this on a public LAN. Here is why:
1) on a telephony network, a phone can not connect to another phone because they are on a sub-network that doesn't allow for multiple devices to communicate.
2) on a LAN network, I can samba share because the network is not set to the level of security as the phone network is.
3) I can Wireshark my network, find the VOIP data packets, string them together, & rebuild the audio file of the wifi calling conversation
4) Cain & Able has an auto tool that does this, but you have to know how to arp poison if there are firewalls.
How secure is this? As secure as the Wifi network you're on...
What are your thoughts?
Anyone willing to create a Youtube of this?
I am really busy & may not get the chance to do this for another month or so...
bigjohnman said:
I was just wondering...
I called AT&T tech support and they didn't understand what I was talking about, however they swore that this system is SECURE.
The H810 recently got the 21y update which makes it the second AT&T phone to get the Wifi calling option. Its a cool feature, but I WILL NOT do this on a public LAN. Here is why:
1) on a telephony network, a phone can not connect to another phone because they are on a sub-network that doesn't allow for multiple devices to communicate.
2) on a LAN network, I can samba share because the network is not set to the level of security as the phone network is.
3) I can Wireshark my network, find the VOIP data packets, string them together, & rebuild the audio file of the wifi calling conversation
4) Cain & Able has an auto tool that does this, but you have to know how to arp poison if there are firewalls.
How secure is this? As secure as the Wifi network you're on...
What are your thoughts?
Anyone willing to create a Youtube of this?
I am really busy & may not get the chance to do this for another month or so...
Click to expand...
Click to collapse
I'm fairly certain it uses IPsec, so I'm guessing it's secure.

Categories

Resources