Search Linux Wireless

Re: [RFC PATCH v1 2/2] mac80211: use ps-poll to request frames in power save mode

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

 



Kalle Valo <kalle.valo@xxxxxx> writes:

> +static ieee80211_rx_result debug_noinline
> +ieee80211_rx_h_check_more_data(struct ieee80211_rx_data *rx)
> +{

[...]

> +	if (!ieee80211_has_moredata(hdr->frame_control)) {
> +		/* AP has no more frames buffered for us */
> +		printk(KERN_DEBUG "no more data");
> +		local->pspolling = false;
> +		return RX_CONTINUE;
> +	}
> +
> +	/* more data bit is set, let's request a new frame from the AP */
> +	ieee80211_send_pspoll(local, rx->sdata);
> +
> +	return 0;

This should obviously return RX_CONTINUE, I'll fix it in the next
round.

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