Search Linux Wireless

Re: Frame aggregation size configuration in 802.11n

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

 



On Mon, 2010-04-12 at 12:11 +0000, Sneha Aggarwal wrote:

> I am studying the effect of frame aggregation size on throughput for my project.
> Is there any direct command to change the aggregation size like iwconfig/iwpriv
> or something?

No.

> I have gone through the kernel code of aggregation from the file agg-tx.c from
> the linux-2.6.32.7 
> and the exact path is linux-2.6.32.7/net/mac80211/agg-tx.c
> The function which I have recognized to change the aggregation size is:
> ieee80211_send_addba_request(struct ieee80211_sub_if_data *sdata, const u8 *da,
> u16 tid, u8 dialog_token, u16 start_seq_num, u16 agg_size, u16 timeout)
> 
> I am wondering if this is the right place to change the parameter or not. 

No, it is not. This will just tell the peer what the max is that we
might send, I think.

> Or is
> there any other way to change this parameter without changing the kernel file
> directly? 

No.

> and where all I have to change this parameter to get the desired output?

That depends on your driver. In iwlwifi, you have to tell the microcode
what to do -- I'm not sure off hand how to (I know there is a parameter
that controls the number of frames in an aggregate, I'm not sure about
the max size but I would think it exists)

In ath9k you should be able to change it in the driver but I have no
idea how to.

> And I am planning to write of a piece of code to make this parameter available
> to the user to configure.

That will be interesting due to what I said above ...

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