The patches that will follow are described below:
* [PATCH 1/5] Remove extra ifname config_get
There was a config_get ifname twice without any reason. I removed the
duplicate.
* [PATCH 2/5] Set (ag)mode, pureg and channel for the first vif only
There is no need to set agmode and channel for every vif since this is
actually a device wide setting. Setting the first vif is enough.
* [PATCH 3/5] Do not set antenna and softled for every vif but only once for
the device
Again, antenna and softled should be set only once for the device and not
on every vif.
* [PATCH 4/5] Set txpower after bringing up the interface, otherwise it
reverts to auto
I discovered that if I set the txpower before bringing up the interface,
it reverts to auto. If the interface is brought up just once, then txpower
setting works even with the interface down. The above behaviour seems like a
madwifi bug so this patch may be a workaround. It simply sets txpower *after*
the interface is brought up.
* [PATCH 5/5] Detect every atheros device present
If more than one atheros card exists on the system, only the first is
detected. This patch continues with the detection of every atheros card and
creates the configuration for each one.
All tested on x86 target with Wistron CM9 atheros.
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel