Search Linux Wireless

Re: [RFC 2/2] mac80211: stop data transmission while probing AP

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

 



On Sat, 2011-12-17 at 20:35 +0530, Rajkumar Manoharan wrote:
> If the station is out of coverage of AP and it tries to probe the AP
> because of the beacon loss then there is not point in pushing the
> data from the higher layer. So lets suspend the data transmission
> till the probing succeeds.

We could argue about the idea,

> +	if (ifmgd->flags & IEEE80211_STA_BEACON_POLL)
> +		netif_tx_stop_all_queues(sdata->dev);
>  	/*
>  	 * When the hardware reports an accurate Tx ACK status, it's
>  	 * better to send a nullfunc frame instead of a probe request,
> @@ -1255,6 +1257,10 @@ static void ieee80211_mgd_probe_ap_send(struct ieee80211_sub_if_data *sdata)
>  					 (u32) -1, true, false);
>  	}
>  
> +	if (ifmgd->flags & IEEE80211_STA_BEACON_POLL) {
> +		drv_flush(sdata->local, false);
> +		netif_tx_wake_all_queues(sdata->dev);
> +	}

but this implementation is completely bogus anyway. Think about what
this really does.

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