From nobody Tue Jul 04 08:02:48 2023 X-Original-To: freebsd-wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QwFdy2ZFDz4l9pG for ; Tue, 4 Jul 2023 08:03:02 +0000 (UTC) (envelope-from rickywu0421@gmail.com) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QwFdx2Mj8z3t97 for ; Tue, 4 Jul 2023 08:03:01 +0000 (UTC) (envelope-from rickywu0421@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=rcLglaMH; spf=pass (mx1.freebsd.org: domain of rickywu0421@gmail.com designates 2607:f8b0:4864:20::d2e as permitted sender) smtp.mailfrom=rickywu0421@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-78372625badso261482639f.3 for ; Tue, 04 Jul 2023 01:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688457780; x=1691049780; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=E8GcXQTHwwxp5tKk/3CwEkCXmPdIPXn05xowkGHLcYw=; b=rcLglaMHgXscpL6YkW98rKrSdSfgFbWy+LL0PupAFK2x1+6kp8MA9Dqjb/vGOmIM6f V9L683zyTL7ervmFM1gQb0PG31bA2WKHlMbGumfUluX9EFZ6ys0shNaFniWPH+gVDBBT ++Qn9ilOoBy7fMKkPv7w2KtDIuU4OmMrpMkqTIeyuzflaopmpvr9c+UuWwTktpnKF3xx E4jBE0wUcNnAwc6wndW8nJ7T684P33D8MMguMz4tJq3z0EuAVja1dOHTnpoEU/baXkHq wZ8qlhV3YdnH9cEXiadbouGmHLvHupJCfrM2Af1RzKPn7OsB87uG0wdgRrhBURyqTvJI En2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688457780; x=1691049780; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=E8GcXQTHwwxp5tKk/3CwEkCXmPdIPXn05xowkGHLcYw=; b=PM/1r+1+dEcgLZesJP+uUTLdOsjbjTghH7NnEb34L7a+CDAB5mPofJo2uwhDUYP7cJ RXS5JCpzYgelBywks6UzKKH2BLEUtPM+atYZAjFi8Q50Uv6ynRKEJsaO7XACuF6NGoJ5 yoL2vLZK5bLkGRT41bilL62LoKh6IPgrpGVi7IzugUZ2rR8mQvcB34vZpqZh3AEE5KTK 3GgrghtbL0VF5osffVNuxfXVB/p1kyVXlMVyIRqfijwA/ygDZSNrrGrcS9zXuEgzbjaS IrO6i623vfOWhdBxWPnziX55ZNBe6d/QQ2fETqbwjt9kCNU7MqRGMUIBm9W/rmigWU6e nKfQ== X-Gm-Message-State: AC+VfDxa/naA+NTqGBDTqLNhCHbxMhFhVvxT2ZVKsTMGfRAPAt5RtY79 ka5Eqj1uzykHDlLHDFVbb39snF8ksUMwWMxnY7OQVwNbak3CYg== X-Google-Smtp-Source: ACHHUZ7AHPhvtm1i26jIF7lvzrzmfb4ELpMNOXKzUI59fetjvwcP8mJ2GsQ6VQ5wpLXXcxinaibsx1+yF9hc4wpEBvk= X-Received: by 2002:a5d:950d:0:b0:780:c38d:5397 with SMTP id d13-20020a5d950d000000b00780c38d5397mr13323738iom.1.1688457779657; Tue, 04 Jul 2023 01:02:59 -0700 (PDT) List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 From: =?UTF-8?B?5ZCz5oGp57ev?= Date: Tue, 4 Jul 2023 16:02:48 +0800 Message-ID: Subject: 802.11n TX ADDBA request supported? To: freebsd-wireless@freebsd.org Content-Type: multipart/alternative; boundary="0000000000002cc49505ffa4b63c" X-Spamd-Result: default: False [1.44 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_SPAM_SHORT(0.96)[0.957]; NEURAL_SPAM_MEDIUM(0.89)[0.888]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_LONG(-0.41)[-0.407]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; BLOCKLISTDE_FAIL(0.00)[2607:f8b0:4864:20::d2e:server fail]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2e:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-wireless@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4QwFdx2Mj8z3t97 X-Spamd-Bar: + X-ThisMailContainsUnwantedMimeParts: N --0000000000002cc49505ffa4b63c Content-Type: text/plain; charset="UTF-8" Hi, I'm working on 14.0-CURRENT, and I found that it seems net80211(4) lack of supporting 802.11n/e TX ADDBA request: When we call `ieee80211_ampdu_request()`, then the function ends up calling `ic->ic_send_action` (`ieee80211_send_action()`) with category `IEEE80211_ACTION_CAT_BA` and action `IEEE80211_ACTION_BA_ADDBA_REQUEST`. But then `ieee80211_send_action()` call the dummy function `send_inval()` which does nothing. So net80211(4) doesn't send ADDBA requests for us. The same thing happens when RX an ADDBA request, net80211(4) doesn't reply an ADDBA response to the transmitter. The only thing I found is that net80211(4) has the `ieee80211_send_bar()` which does send BA requests (which is not ADDBA request) for us. I wonder if there is something I'm missing or if the "TX/RX ADDBA request/response" is handling most in driver/firmware? Additionally, if I would like to test the 802.11n part in net80211(4), which driver/device is suggested to use? Thanks. --0000000000002cc49505ffa4b63c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'm working on 14.0-CURRENT, and I found th= at it seems net80211(4) lack of supporting 802.11n/e TX ADDBA request:
W= hen we call `ieee80211_ampdu_request()`, then the function ends up calling = `ic->ic_send_action` (`ieee80211_send_action()`) with category `IEEE8021= 1_ACTION_CAT_BA` and action `IEEE80211_ACTION_BA_ADDBA_REQUEST`. But then `= ieee80211_send_action()` call the dummy function `send_inval()` which does = nothing. So net80211(4) doesn't send ADDBA requests for us.

The = same thing happens when RX an ADDBA request, net80211(4) doesn't reply = an ADDBA response to the transmitter. The only thing I found is that net802= 11(4) has the `ieee80211_send_bar()` which does send BA requests (which is = not ADDBA request) for us. I wonder if there is something I'm missing o= r if the "TX/RX ADDBA request/response" is handling most in drive= r/firmware?

Additionally, if I would like to test the 802.11n part i= n net80211(4), which driver/device is suggested to use? Thanks.=C2=A0
--0000000000002cc49505ffa4b63c--