Search Linux Wireless

Re: [PATCH v2] mac80211: add helper functions for tracking P2P NoA state

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

 



On Mon, 2013-12-09 at 22:59 +0100, Felix Fietkau wrote:

> +static u32
> +ieee80211_get_noa_absent_time(struct ieee80211_noa_data *data, u32 tsf)
> +{
> +	s32 offset = 0;
> +	int tries = 0;
> +
> +	ieee80211_extend_absent_time(data, tsf, &offset);
> +	do {
> +		if (!ieee80211_extend_absent_time(data, tsf, &offset))
> +			break;
> +
> +		tries++;
> +	} while (tries < 5);

What's "tries < 5"?

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