diff mbox series

[1/3] ieee80211: Add new A-MPDU factor macro for HE 6 GHz peer caps

Message ID 20210913175510.193005-1-jouni@codeaurora.org
State New
Headers show
Series [1/3] ieee80211: Add new A-MPDU factor macro for HE 6 GHz peer caps | expand

Commit Message

Jouni Malinen Sept. 13, 2021, 5:55 p.m. UTC
From: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>

Add IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR as per IEEE Std 802.11ax-2021,
9.4.2.263 to use for peer max A-MPDU factor in 6 GHz band.

Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
---
 include/linux/ieee80211.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Kalle Valo Sept. 16, 2021, 3:10 p.m. UTC | #1
Jouni Malinen <jouni@codeaurora.org> writes:

> From: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>

>

> Add IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR as per IEEE Std 802.11ax-2021,

> 9.4.2.263 to use for peer max A-MPDU factor in 6 GHz band.

>

> Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>

> Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

> ---

>  include/linux/ieee80211.h | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h

> index 694264503119..a1a7eda35cb5 100644

> --- a/include/linux/ieee80211.h

> +++ b/include/linux/ieee80211.h

> @@ -2084,6 +2084,7 @@ int ieee80211_get_vht_max_nss(struct ieee80211_vht_cap *cap,

>  

>  #define IEEE80211_HE_VHT_MAX_AMPDU_FACTOR	20

>  #define IEEE80211_HE_HT_MAX_AMPDU_FACTOR	16

> +#define IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR	13


Johannes, can I take this via my ath tree? I think that's the easiest as
the ath11k patches depend on this.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Johannes Berg Sept. 16, 2021, 4:02 p.m. UTC | #2
On Thu, 2021-09-16 at 18:10 +0300, Kalle Valo wrote:
> Jouni Malinen <jouni@codeaurora.org> writes:

> 

> > From: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>

> > 

> > Add IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR as per IEEE Std 802.11ax-2021,

> > 9.4.2.263 to use for peer max A-MPDU factor in 6 GHz band.

> > 

> > Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>

> > Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

> > ---

> >  include/linux/ieee80211.h | 1 +

> >  1 file changed, 1 insertion(+)

> > 

> > diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h

> > index 694264503119..a1a7eda35cb5 100644

> > --- a/include/linux/ieee80211.h

> > +++ b/include/linux/ieee80211.h

> > @@ -2084,6 +2084,7 @@ int ieee80211_get_vht_max_nss(struct ieee80211_vht_cap *cap,

> >  

> > 

> > 

> > 

> >  #define IEEE80211_HE_VHT_MAX_AMPDU_FACTOR	20

> >  #define IEEE80211_HE_HT_MAX_AMPDU_FACTOR	16

> > +#define IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR	13

> 

> Johannes, can I take this via my ath tree? I think that's the easiest as

> the ath11k patches depend on this.

> 

Sure, looks fine.

Acked-by: Johannes Berg <johannes@sipsolutions.net>


johannes
Kalle Valo Sept. 16, 2021, 4:43 p.m. UTC | #3
Johannes Berg <johannes@sipsolutions.net> writes:

> On Thu, 2021-09-16 at 18:10 +0300, Kalle Valo wrote:

>> Jouni Malinen <jouni@codeaurora.org> writes:

>> 

>> > From: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>

>> > 

>> > Add IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR as per IEEE Std 802.11ax-2021,

>> > 9.4.2.263 to use for peer max A-MPDU factor in 6 GHz band.

>> > 

>> > Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>

>> > Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

>> > ---

>> >  include/linux/ieee80211.h | 1 +

>> >  1 file changed, 1 insertion(+)

>> > 

>> > diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h

>> > index 694264503119..a1a7eda35cb5 100644

>> > --- a/include/linux/ieee80211.h

>> > +++ b/include/linux/ieee80211.h

>> > @@ -2084,6 +2084,7 @@ int ieee80211_get_vht_max_nss(struct ieee80211_vht_cap *cap,

>> >  

>> > 

>> > 

>> > 

>> >  #define IEEE80211_HE_VHT_MAX_AMPDU_FACTOR	20

>> >  #define IEEE80211_HE_HT_MAX_AMPDU_FACTOR	16

>> > +#define IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR	13

>> 

>> Johannes, can I take this via my ath tree? I think that's the easiest as

>> the ath11k patches depend on this.

>> 

> Sure, looks fine.

>

> Acked-by: Johannes Berg <johannes@sipsolutions.net>


Thanks! I assigned this to me on patchwork.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Kalle Valo Sept. 28, 2021, 2 p.m. UTC | #4
Jouni Malinen <jouni@codeaurora.org> wrote:

> Add IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR as per IEEE Std 802.11ax-2021,

> 9.4.2.263 to use for peer max A-MPDU factor in 6 GHz band.

> 

> Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>

> Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

> Acked-by: Johannes Berg <johannes@sipsolutions.net>

> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>


3 patches applied to ath-next branch of ath.git, thanks.

62b8963cd84d ieee80211: Add new A-MPDU factor macro for HE 6 GHz peer caps
c3a7d7eb4c98 ath11k: add 6 GHz params in peer assoc command
6f4d70308e5e ath11k: support SMPS configuration for 6 GHz

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210913175510.193005-1-jouni@codeaurora.org/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
diff mbox series

Patch

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 694264503119..a1a7eda35cb5 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -2084,6 +2084,7 @@  int ieee80211_get_vht_max_nss(struct ieee80211_vht_cap *cap,
 
 #define IEEE80211_HE_VHT_MAX_AMPDU_FACTOR	20
 #define IEEE80211_HE_HT_MAX_AMPDU_FACTOR	16
+#define IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR	13
 
 /* 802.11ax HE PHY capabilities */
 #define IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_40MHZ_IN_2G		0x02