On Thu, 2009-11-26 at 18:26 +0100, Lukáš Turek wrote: > It consists of a new nl80211 parameter: > [NL80211_ATTR_WIPHY_DISTANCE] = { .type = NLA_U32 }, > > The value of the parameter would be a link distance in meters, so after the > support is added to iw one could set the ACK timeout on a 3km link using: > # iw phy0 set distance 3000 > > Another required change would be extending cfg80211_ops by functions > set_distance and get_distance. Calculation of appropriate ACK timeout (and in > the case of ath5k, also CTS timeout and slottime) for the distance would be > left to the driver (it's a trivial formula). > > I can prepare the patches, if you think these extension would be acceptable. > Suggestions are welcome. I discussed this with Alina a while back (in private, she didn't want to discuss in English) and we came to the conclusion that set_coverage() should be done like 802.11-2007 17.3.8.6 specifies for 5ghz, but could be done for 2.4ghz as well. Thoughts? It would also allow us to actually advertise that to compatible clients. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part