Search Linux Wireless

Re: [RFC PATCH] nl80211: add power save commands

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

 



On Tue, 2010-02-16 at 22:10 +0200, Kalle Valo wrote:

>  	[NL80211_ATTR_COOKIE] = { .type = NLA_U64 },
>  	[NL80211_ATTR_TX_RATES] = { .type = NLA_NESTED },
> +	[NL80211_ATTR_PS_STATE] = { .type = NLA_U8 },
>  };

Looks good to me, though typically we use NLA_U32 for enums. Should we
deviate from that because we won't ever extend this anyway, or should we
use NLA_U32 to be more consistent?

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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