Search Linux Wireless

Re: [PATCH 2/9] [{mac|nl}80211] Add 2 new radar channel flags

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

 



On Tue, 2011-03-01 at 13:54 -0800, Luis R. Rodriguez wrote:

> > + * @NL80211_FREQUENCY_ATTR_RADAR_CLEAR: during a full CAC no interference has
> > + *	been detected.
> 
> Why do you need a flag for clear, can you simply count on the
> lack of the flag as the "clear" state?

This really means CAC_DONE_AND_FOUND_CLEAR.

Though now that has me wondering, maybe it should be CAC_DONE and BUSY
as separate flags? But then the checks have to be (CAC_DONE && !BUSY),
which is more expressive but also more complex and error prone.

johannes

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