On 2014-04-08 12:04, Bastian Bittorf wrote:
> while working with different routers, i recognized that
> e.g. using adhoc/IBSS + AP on 1 radio is generally supported
> with mac80211 but limited by driver. e.g. ath9k works,
> rt2800/rt2x00 does not work (r40352/fonera2.0n).
> 
> because we have some "presets" in our community-firmware,
> it would be good to 'warn' the user if this is not possible.
> 
> when check 'iw phy phy0 info' there is a field 'Supported', e.g.
> 
> # on ath9k:
> Supported interface modes:
> * IBSS
> * managed
> * AP
> * AP/VLAN
> * WDS
> * monitor
> * P2P-client
> * P2P-GO
> 
> 
> # or (on rt2800):
> Supported interface modes:
> * IBSS
> * managed
> * AP
> * AP/VLAN
> * WDS
> * monitor
> 
> but it seems, this is not what i'am searching for. is it possible
> to query valid combinations?
root@OpenWrt:/# iw phy0 info
Wiphy phy0
[...]
        valid interface combinations:
                 * #{ managed, WDS } <= 2048, #{ AP, mesh point } <= 8, #{ IBSS 
} <= 1, #{ P2P-client, P2P-GO } <= 1,
                   total <= 2048, #channels <= 1, STA/AP BI must match
                 * #{ IBSS, AP, mesh point } <= 1,
                   total <= 1, #channels <= 1, STA/AP BI must match, radar 
detect widths: { 20 MHz (no HT), 20 MHz }
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to