wpa_supplicant compiler flags #595

Closed
lucasduffey opened this Issue Feb 19, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@lucasduffey

lucasduffey commented Feb 19, 2017

I've identified a few compiler flags that might be removable. They're specifically regarding the ability of wpa_supplicant to host an "access point" and in some cases an http server.

I'm still conducting research, but I think hostapd already has this functionality.

external/wpa_supplicant_8/wpa_supplicant/android.config

  • CONFIG_EAP_MD5 - was deprecated in Windows Vista
  • CONFIG_AP - might break mobile hotspot, but wouldn't hostapd deal with it?
  • CONFIG_WPS, CONFIG_WPS_ER - this builds an http server into wpa_supplicant
  • CONFIG_HS20 - for "hostspot 2.0"

After commenting all these lines out - I can still connect to access points, but that doesn't mean it'll work in every case. Going to continue to look through the source code to figure out if there are edge cases

@lucasduffey

This comment has been minimized.

Show comment Hide comment
@lucasduffey

lucasduffey Feb 20, 2017

hostap maintainer seems to think CONFIG_AP and CONFIG_HS20 are a necessity. If that's true it might be linked to wifi direct functionality.

I'm tracking this in my private wpa fork, and I'll reopen this if/when I have something more substantial to contribute.

If you're willing to potentially break wifi direct - I haven't seen any issues with wifi or hostapd functionality yet by disabling CONFIG_AP and CONFIG_HS20.

lucasduffey commented Feb 20, 2017

hostap maintainer seems to think CONFIG_AP and CONFIG_HS20 are a necessity. If that's true it might be linked to wifi direct functionality.

I'm tracking this in my private wpa fork, and I'll reopen this if/when I have something more substantial to contribute.

If you're willing to potentially break wifi direct - I haven't seen any issues with wifi or hostapd functionality yet by disabling CONFIG_AP and CONFIG_HS20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment