From owner-freebsd-wireless@FreeBSD.ORG Sat Feb 16 02:27:25 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5E729C8D for ; Sat, 16 Feb 2013 02:27:25 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from nm33-vm0.bullet.mail.ne1.yahoo.com (nm33-vm0.bullet.mail.ne1.yahoo.com [98.138.229.64]) by mx1.freebsd.org (Postfix) with ESMTP id E968F38F for ; Sat, 16 Feb 2013 02:27:23 +0000 (UTC) Received: from [98.138.90.55] by nm33.bullet.mail.ne1.yahoo.com with NNFMP; 16 Feb 2013 02:21:10 -0000 Received: from [98.138.84.45] by tm8.bullet.mail.ne1.yahoo.com with NNFMP; 16 Feb 2013 02:21:10 -0000 Received: from [127.0.0.1] by smtp113.mail.ne1.yahoo.com with NNFMP; 16 Feb 2013 02:21:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1360981270; bh=DymMpHZ3lgSqv+GjPW7tNxwSnBdrC5/CVt6daOxg+zA=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:MIME-Version:X-Received:Received:In-Reply-To:References:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=d1TOQmhrR37GEhtTa58+MKKn+Wj2n9aF2d1SDFeSqjzPBs5dcUGSW9AI8J2QMNxfa0giIKo1yLJFL6Dv296qVqqS7nIhuBpuK35Dwr7N6NbkZzoAHot2vN6czcy48pwTM/H+AUZm2mOz0leK4V/v0FH9m6lbKfh5XAc52qgeuUM= X-Yahoo-Newman-Id: 14479.94593.bm@smtp113.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 96mdUFAVM1kpwrxCuSM.ohMiJeg24g2D3Y7lX.2BFqSqSpY UM1eN6TrJZJYMR20QM4kANLWiGTM0BxvqN8A8zqZ_860_3efK2eZaKKIhryr 7fckDVRg3kqyZSEsq5mM7CJco8cqhyzvC53v.tzR2CxIDD_m6Wq2_4YyOEIJ cY3RrayAlUCnVFJSbMVMAhDsrOa.YUtPWn3SooHkGOUnbxUOcGJxtWVdO4EJ DG2cVJYCWRcagLK0XXsakcmaX2c5mrTNcWKK6iMomiQbWt0ZCx4ow7VltVKB EdbdqsRoram9plld5nivIrkKBxJ4TxRpACPR0EXtHpiwmEj1XogwoeLyedBN yjnUyQra7OphkdvytFJBiV56kqfh0GzWjHm0lPHeTPK2WySLWiJ6LTwPB4k_ wXVBgp5N2qvGR4Szxe.EB7pPqKQH4HkyDglBt0s.vBYakUsfEsnOgVsByjFF WZQrolrBVNhQrXPppdToyT8opkvasCkHJyjtxcQnMnaH3Jn3rob1jVuC3NuO _GKD2G2v6r8uMwROGr2LmnHGMnd7sb4cRdv2JabFFqOhHOKn6hoIfl9AMPhu co12vnw-- X-Yahoo-SMTP: Xr6qjFWswBAEmd20sAvB4Q3keqXvXsIH9TjJ Received: from mail-la0-f51.google.com (moonlightakkiy@209.85.215.51 with plain) by smtp113.mail.ne1.yahoo.com with SMTP; 15 Feb 2013 18:21:09 -0800 PST Received: by mail-la0-f51.google.com with SMTP id fo13so4028885lab.38 for ; Fri, 15 Feb 2013 18:21:08 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.112.24.199 with SMTP id w7mr2877936lbf.102.1360981268212; Fri, 15 Feb 2013 18:21:08 -0800 (PST) Received: by 10.112.1.37 with HTTP; Fri, 15 Feb 2013 18:21:07 -0800 (PST) In-Reply-To: References: Date: Fri, 15 Feb 2013 19:21:07 -0700 Message-ID: Subject: Re: negotiating HT params at assoc in sta mode From: PseudoCylon To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2013 02:27:25 -0000 On Fri, Feb 15, 2013 at 6:20 PM, Adrian Chadd wrote: > Hm, that sounds right, what's the code doing wrong? Currently, it seems the sta sends back ht params the ap included in a PROBE_RESP packet. So, the ap could send ampdu packets bigger (in byte) than the sta can handle or packet gaps are different from the sta wants after ba session is created. (During ba session negotiation, these params are not exchanged, only window sizes (frame count), seq #, and token.) AK > > > > Adrian > > > On 15 February 2013 17:09, PseudoCylon wrote: >> http://fxr.watson.org/fxr/source/net80211/ieee80211_ht.c?#L2656 >> Shouldn't a sta include iv_ampdu_rxmax and iv_ampdu_density instead >> when associating? >> >> 1) A driver initiates iv_ampdu_rxmax and iv_ampdu_density based on h/w >> capabilities. >> >> 2) When a sta trying to associate, >> ieee80211_send_mgmt() >> { >> case IEEE80211_FC0_SUBTYPE_ASSOC_REQ: >> ieee80211_add_htcap(); /* the function in question */ >> } >> >> 3) When an ap receives the assoc_req packet, the ap will save ht >> params to ni_htparam. Then the ap will use those values for Tx >> packets. >> >> 4) The sta will receive packets which size is within the limits if the >> sta included iv_ampdu_rxmax and iv_ampdu_density. >> >> >> AK >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"