Search Linux Wireless

Re: [Take 2] mac80211 IEEE802.11e/WMM code cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-06-11 at 20:01 +0200, Johannes Berg wrote:
> 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?

You are right. I once had the debugfs file on the DLS request response
side to to indicate accept or deny all DLS requests. But after a second
thought, maybe a MAC list is better? But this is just for testing not a
real API.

> 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).

Right. For the real API, I'd prefer the kernel to send an event to
userspace (daemon) via netlink (nl80211) and let user space to make the
decision. This way mac80211 doesn't need to manage the user prefered DLS
list itself. Another benefit is the DLS connection could be established
interactively. For example when a user is VIing in Xwindows, a pop up
window from NetworkManager asks "MAC address XX:XX:.. wants to setup a
DLS connection with you, do you accept?"

Thanks,
-yi
-
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux