>> Switch to DLS intelligently in the user space sounds good >> but it doesn't relate to the kernel <-> user space API, you can do it >> all in the user space. > > Actually, it does, because you do need all the information to make that > decision. I don't think we have per-MAC-address traffic statistics or > something. FWIW, need to take into consideration: 1) STA1 and STA2 are close to each other, but far from the AP. DLS will most probably improve the link between them and the medium utilization. 2) STA1 and STA2 are far away from each other and the AP is between them. DLS _may_ deteriorate the connection between STAs and the medium utilization, or even may not be possible at all. IMO, The decision to initiate a DLS link should _ideally_ be based not only on the traffic properties but also on statistics of the actual rate used between each of the participants including packets sent to/from the peer STA (This is not easy as it requires the initiating STA to get into promiscuous mode for some time while it is connected to the AP, prior to establishing the DLS). Perhaps providing the user a manual way to configure DLS connection between two STAs is good enough for now and can be useful also later when an intelligent method is in place. Guy. - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html