From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from wolverine02.qualcomm.com ([199.106.114.251]:43596 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750967Ab2AGF3M convert rfc822-to-8bit (ORCPT ); Sat, 7 Jan 2012 00:29:12 -0500 From: Sujith Manoharan MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-ID: <20231.55475.813214.492951@gargle.gargle.HOWL> (sfid-20120107_062932_608498_B0A06952) Date: Sat, 7 Jan 2012 11:01:31 +0530 To: =?utf-8?Q?=E6=9D=8E=E5=88=9A?= CC: , 'Ath9k Devel List' Subject: Question about duration of data frame in ath9k_htc In-Reply-To: <20120107020151.B53C81FFF8@mail.watchdata.com.cn> References: <20120107020151.B53C81FFF8@mail.watchdata.com.cn> Sender: linux-wireless-owner@vger.kernel.org List-ID: 李刚 wrote: > From wireshark, I noticed that when send an data frame , the > duration of frame control is fixed at 60 , no matter the frame length is 100 > bytes or 1000 bytes. > > It seems this value is calculated in firmware and should be correct. > But I don't know why. And this value can be set in mac80211? Duration calculation is broken for ath9k_htc. See: http://linuxwireless.org/en/users/Drivers/ath9k_htc#TODO Sujith From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sujith Manoharan Date: Sat, 7 Jan 2012 11:01:31 +0530 Subject: [ath9k-devel] Question about duration of data frame in ath9k_htc In-Reply-To: <20120107020151.B53C81FFF8@mail.watchdata.com.cn> References: <20120107020151.B53C81FFF8@mail.watchdata.com.cn> Message-ID: <20231.55475.813214.492951@gargle.gargle.HOWL> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org ?? wrote: > From wireshark, I noticed that when send an data frame , the > duration of frame control is fixed at 60 , no matter the frame length is 100 > bytes or 1000 bytes. > > It seems this value is calculated in firmware and should be correct. > But I don't know why. And this value can be set in mac80211? Duration calculation is broken for ath9k_htc. See: http://linuxwireless.org/en/users/Drivers/ath9k_htc#TODO Sujith