mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 23:12:21 +00:00
399f24cd65
This patch adds support for Wifi networks that run in ad-hoc mode. The network attributes 'frequency' and 'mode' are required by wpa_supplicant to connect to an ad-hoc network. 'Frequency' is just the frequency of the channel in use. 'Mode' is the network's mode, with 0 being infrastructure mode, 1 being IBSS mode (aka ad-hoc mode), and 2 being access-point mode. If ad-hoc mode is not supported on your device, you can set the environment property 'ro.moz.wifi.ibss_supported' to false to disable it in Gecko.