hostapd: Detect bridge interface automatically
authorJouni Malinen <j@w1.fi>
Sat, 16 Jan 2010 13:19:58 +0000 (15:19 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 16 Jan 2010 13:19:58 +0000 (15:19 +0200)
commit94627f6cc8be8693b6c6a7a6407fcf94ba0a7edb
treea17034718c8d9d941a1cf7c39270ec5f42dea1f1
parentd455d0806ed30cd471937d445f4d840017f25758
hostapd: Detect bridge interface automatically

This makes the bridge parameter unnecessary for cases where the interface
is already in a bridge and sysfs is mounted to /sys so that the detection
code works.

For nl80211, the bridge parameter can be used to request the AP
interface to be added to the bridge automatically (brctl may refuse to
do this before hostapd has been started to change the interface mode).
If needed, the bridge interface is also created.
hostapd/hostapd.conf
src/drivers/driver_atheros.c
src/drivers/driver_madwifi.c
src/drivers/driver_nl80211.c
src/drivers/linux_ioctl.c
src/drivers/linux_ioctl.h