Restrict Wi-Fi access in Android device

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Restrict Wi-Fi access in Android device

跳至解决方案
1,538 次查看
Mats1z
Contributor III

I need to configure wi-fi of my android device so that it can connect only to predefined set of access points. Can I do it by checking the MAC address of access points? In android wi-fi manager the SSID and MAC id is used in many places. Can I compare MAC id of access point with my specified set of MAC ids here?

Please share your thoughts.

标签 (2)
0 项奖励
回复
1 解答
1,173 次查看
Mats1z
Contributor III

Successfully completed.

In wpa_supplicant.c , there is a file there is a function wpa_drv_associate() , compare macids here using os_memcmp() and perform assocaiation based on it.

Now my android device wifi can connect to only one macid :smileyhappy:

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,174 次查看
Mats1z
Contributor III

Successfully completed.

In wpa_supplicant.c , there is a file there is a function wpa_drv_associate() , compare macids here using os_memcmp() and perform assocaiation based on it.

Now my android device wifi can connect to only one macid :smileyhappy:

0 项奖励
回复