Hi Yi, In sta_process_dls_req, you currently always accept DLS. I'm not sure how well power save mode works in mac80211 (probably not at all, someone versed in 802.11 should probably look at it some time soon), but once DLS is set up power saving must be disabled by the DLS peer. This, however, possibly leads to battery lifetime diminishing, so always accepting the direct link might not be desirable. Any thoughts? Should we have user-space controlled list of DLS possible DLS peers? Or call out to userspace via nl80211 to make a decision? The list would be easy by simply adding a sta_info for a possible DLS peer, callout also shouldn't be too hard by sending a message to some QoS nl80211 multicast group and possibly not responding to the DLS request at all when our userspace doesn't accept it (that way it'll just time out on the other side). johannes
Attachment:
signature.asc
Description: This is a digitally signed message part