简体   繁体   English

Android如何选择wifi AP

[英]How androids select wifi AP

I am currently working on a indoor location paper using wifi systems. 我目前正在使用wifi系统在室内定位纸上工作。 The problem is that some devices are not working as expected. 问题是某些设备无法正常工作。 So i have 2 questions 所以我有2个问题

1) How really factory default android select the AP and how it decides to change to another AP, does it has any trigger threshold?. 1)真正的工厂默认android如何选择AP,以及它如何决定更改为另一个AP,它有任何触发阈值吗?

2) This process is for all android distributions or it will depend of vendor. 2)此过程适用于所有android发行版,或者取决于供应商。

Best regards. 最好的祝福。 Also if you have some docummentation, books, etc will be usefull. 另外,如果您有一些文档,书籍等也将很有用。

This is not programming related question! 这不是编程相关的问题! Off topic. 无关。

But sharing my knowledge just to ease your situation- 但是分享我的知识只是为了缓解您的状况-

1) How really factory default android select the AP and how it decides to change to another AP, does it has any trigger threshold?. 1)真正的工厂默认android如何选择AP,以及它如何决定更改为另一个AP,它有任何触发阈值吗?

Initial Ap selection - 初始Ap选择 -

  1. RSSI(Recieved signal strength Information) based. 基于RSSI(接收信号强度信息)。 But this is not strict. 但这并不严格。 There can/cannot be overridden by join band preference (2.4G, 5G) in wifi firmware. wifi固件中的join band preference (2.4G,5G)可以/不能覆盖。 Depends on vendor implementation. 取决于供应商的实现。
  2. In case of passpoint enabled APs- IEEE 802.11u provides network discovery and selection algorithms for discovery of suitable networks (preassociation) through the advertisement of access network type, location information. 在启用了通点的AP的情况下,IEEE 802.11u通过通告访问网络类型,位置信息,提供了network discovery and selection算法,用于发现合适的网络(预关联)。

Roam from AP to AP 从AP漫游到AP

This is again based on various factors and cannot say strictly because different vendors can have different algorithm to choose better available AP. 再次基于各种因素,不能严格地说,因为不同的供应商可以使用不同的算法来选择更好的可用AP。

  1. RSSI based- if station RSSI is less than RSSI roam trigger value in wifi driver.(means do roam at a low signal strength) 基于RSSI-如果站点RSSI小于wifi驱动程序中的RSSI漫游触发值(表示以低信号强度进行漫游)

  2. Beacon Loss- If station is missing beacons from current AP. 信标丢失-如果站点丢失了当前AP发出的信标。 out of range, turn off AP etc. 超出范围,请关闭AP等。

  3. In case of enterprise networks- This can be managed by enterprise network controller administrators. 如果是企业网络,则可以由企业网络控制器管理员进行管理。

For your second question- yes , Definitely different vendors(wifi vendors as well as device vendors) can have their own implementation. 对于第二个问题- yes ,绝对不同的供应商(WiFi供应商和设备供应商)可以有自己的实现。

This is just basic idea. 这只是基本想法。 May be you need to study more about this. 可能您需要对此进行更多研究。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM