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.
Solved! Go to Solution.
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:
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: