Re: [PATCH 1/4] nl80211: Add new WIPHY attribute COVERAGE_CLASS

Johannes Berg
2009-12-06T18:49:24Z

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

On Sun, 2009-12-06 at 19:45 +0100, Lukáš Turek wrote:
> On 6.12.2009 19:01 Johannes Berg wrote:
> > This patch assumes that all hardware supports this, which is not really
> > what you want. You'll want to know if it can't be set. Yes, we assume
> > rts/cts can be set always, but that's a _much_ safer bet.
> If the hardware does not support it, the operation will fail with EOPNOTSUPP:
>
> # iw phy0 set coverage 1
> command failed: Operation not supported (-95)

Umm, no it won't, that's only with your specific mac80211
implementation. Try on rndis for instance.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]