Search Linux Wireless

Re: RFC: Add precise timing to wifi association messages?

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

 



On 11/13/2013 09:58 AM, Ben Greear wrote:
> Any interest in a patch looking similar to that below for the
> 5 or so messages related to association?  I found it useful for
> tracking down why it was taking longer than expected to roam
> to a new AP...
> 
> 
> diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
> index d2510c0..2e96813 100644
> --- a/net/mac80211/mlme.c
> +++ b/net/mac80211/mlme.c
> @@ -908,6 +908,12 @@ static void ieee80211_send_assoc(struct ieee80211_sub_if_data *sdata)
>                 memcpy(pos, assoc_data->ie + offset, noffset - offset);
>         }
> 
> +       {
> +               struct timeval tv;
> +               do_gettimeofday(&tv);
> +               sdata_info(sdata, "send_assoc, calling prepare_tx at: %lu.%lu\n",
> +                          tv.tv_sec, tv.tv_usec);
> +       }
>         drv_mgd_prepare_tx(local, sdata);
> 
>         IEEE80211_SKB_CB(skb)->flags |= IEEE80211_TX_INTFL_DONT_ENCRYPT;

I chose a poor example here...my intention is to just add timers to existing
messages...

Thanks,
Ben

> 
> 
> Thanks,
> Ben
> 


-- 
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

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