Restrict Wi-Fi access in Android device

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Restrict Wi-Fi access in Android device

Jump to solution
965 Views
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.

Labels (2)
0 Kudos
1 Solution
600 Views
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:

View solution in original post

0 Kudos
1 Reply
601 Views
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 Kudos