From owner-freebsd-wireless@FreeBSD.ORG Sat Feb 16 01:10:07 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 6A90E7BA for ; Sat, 16 Feb 2013 01:10:07 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from nm23-vm0.bullet.mail.bf1.yahoo.com (nm23-vm0.bullet.mail.bf1.yahoo.com [98.139.212.191]) by mx1.freebsd.org (Postfix) with ESMTP id D8E19186 for ; Sat, 16 Feb 2013 01:10:06 +0000 (UTC) Received: from [98.139.215.140] by nm23.bullet.mail.bf1.yahoo.com with NNFMP; 16 Feb 2013 01:10:00 -0000 Received: from [98.139.211.205] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 16 Feb 2013 01:10:00 -0000 Received: from [127.0.0.1] by smtp214.mail.bf1.yahoo.com with NNFMP; 16 Feb 2013 01:10:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1360977000; bh=RNkhfFAdSubJKLn4biyLuiqqRMyYSp00ZutRiQhIBIQ=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:MIME-Version:X-Received:Received:Date:Message-ID:Subject:From:To:Content-Type; b=VM27N0tsqpREe8TBp2npjk5rJyP1M55x77P6tqz4OJPoyb9WhMNvfAjf6mIHrQsTJWprOZR8KCWJqvbTuZKKdM/bL3MrmOzMT4/z1gTe18mMHl3Ikri8egfq0AqHkA5/wxDw4GveS76DY46NyIEd7NOK5od+xE3n9iv/JbvCioM= X-Yahoo-Newman-Id: 572159.55604.bm@smtp214.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: J6u82yAVM1nww3BKGARB1ongET_2ocGOZ2t7tJ8ZNCz8C3a gDs0Wh9tnSq.bodFyiFJO6M34AIGjCUFYTwvyerNKE7t0uzoL_iQGjqq7dFy Z2m9cZ0E_6uDRCxB5_cwIP7qTkW19CwlDGogfFOMljvlXRr.I96m8L5kS.Ds zLnpC47vaaSCFofLINa9WawYyK98FwxkwfVOgZOLK8WA1oNJaIqXmb68USbl tS4AnQQM2TMw8qvr2YJzWUL97zhYTHQOMBgNy9B.EiTOxLJP2ZP.P6rYZ45D 78gbs_EDZHsO53En6S27Nkzw_1LaLfmjcO9aF2Auk3YcEhHTJzmxtwvg77ec VHEyoMxx59s3H8_xGirkzfM7LlMcgVpMJvq17vD0cGXuUChHG3ebgQdvWtFh 6jYE5cLpD_g7eNjmvdgR65VSoplubuZqTB1KSjbm_uBOWUFAUtPcf84MyRBV 32aK.bKsDRkWm4nuCQhnebZn07BK_VyYijElCkk8dcfjWPlPSsy3LJJ8Z4u6 NlfsMERVKWoVjDtk2y.NvLpixeAbDToxf6Yj1RAaMEt9Yolv875vljrzuJDv rl4LX6Gk- X-Yahoo-SMTP: Xr6qjFWswBAEmd20sAvB4Q3keqXvXsIH9TjJ Received: from mail-lb0-f181.google.com (moonlightakkiy@209.85.217.181 with plain) by smtp214.mail.bf1.yahoo.com with SMTP; 15 Feb 2013 17:10:00 -0800 PST Received: by mail-lb0-f181.google.com with SMTP id gm6so2977913lbb.26 for ; Fri, 15 Feb 2013 17:09:59 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.112.24.199 with SMTP id w7mr2829642lbf.102.1360976999343; Fri, 15 Feb 2013 17:09:59 -0800 (PST) Received: by 10.112.1.37 with HTTP; Fri, 15 Feb 2013 17:09:59 -0800 (PST) Date: Fri, 15 Feb 2013 18:09:59 -0700 Message-ID: Subject: negotiating HT params at assoc in sta mode From: PseudoCylon To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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:10:07 -0000 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