Search Linux Wireless

Re: [PATCH 1/2] cfg80211: add support for per-chain signal strength reporting

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

 



On 2013-04-22 4:03 PM, Johannes Berg wrote:
> On Sat, 2013-04-20 at 14:33 +0200, Felix Fietkau wrote:
> 
>> + * @NL80211_STA_INFO_CHAIN_SIGNAL: per-chain signal strength of last PPDU
>> + * @NL80211_STA_INFO_CHAIN_SIGNAL_AVG: per-chain signal strength average
> 
> please document the units/data structure (nested) here
Will do.

>> +		if (nla_put_u8(msg, i, signal[i]))
>> +			return false;
> 
> does u8 make sense? it takes the same space as u32.
I used u8 because the other signal strength attributes also use u8.

- Felix

--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux