From owner-freebsd-wireless@FreeBSD.ORG Sat Feb 16 01:20:28 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 351F2D96 for ; Sat, 16 Feb 2013 01:20:28 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx1.freebsd.org (Postfix) with ESMTP id B5A071B8 for ; Sat, 16 Feb 2013 01:20:27 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hi8so1789485wib.13 for ; Fri, 15 Feb 2013 17:20:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=WYiuali/W1w04p9CzahKr4o+B8XDnQzVO2Tnj7SMBd4=; b=OHm38pb3H4BeFvksAXAYvk1copOxcP5ukR58ZVq6FHA4E+5n3zzBAUVnBtrSlD57Ac 5lNFR1iNkzNhrq8KSAMWHnUU+yoB5XFPSNLYgzuG9C8vSufQ31+sWeuNairrXVwxvvX/ uUeoEDmt/cGJZQNCZx7Q7LSFH4mMf2S1mlBJ2VDLhKhHWphRslqkrPvIRcwPnecvGmOv tSJeY41CLLgW8+0NCkynhzgnjNA5bQTdaxRnKc6uX2xtKX96k4HCi+HYc+heeyKdcHFZ TasJe40FtF1QQ/SRorsgEznO2zMZNUqCxm2mm4Y0O9fHWLgiJIKtJ2gnJvhZ4uOAGzzB 0ZIg== MIME-Version: 1.0 X-Received: by 10.180.99.227 with SMTP id et3mr7487444wib.6.1360977626576; Fri, 15 Feb 2013 17:20:26 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.236.88 with HTTP; Fri, 15 Feb 2013 17:20:26 -0800 (PST) In-Reply-To: References: Date: Fri, 15 Feb 2013 17:20:26 -0800 X-Google-Sender-Auth: oBJb6QXKMf5CxNbY403pcOfrVdc Message-ID: Subject: Re: negotiating HT params at assoc in sta mode From: Adrian Chadd To: PseudoCylon 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 01:20:28 -0000 Hm, that sounds right, what's the code doing wrong? 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"