Skip to content

Commit f9a0757

Browse files
Pradeep Kumar Chitrapujmberg-intel
authored andcommitted
wifi: mac80211: Add EHT UL MU-MIMO flag in ieee80211_bss_conf
Add flag for Full Bandwidth UL MU-MIMO for EHT. This is utilized to pass EHT MU-MIMO configurations from user space to driver in AP mode. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 Signed-off-by: Pradeep Kumar Chitrapu <[email protected]> Link: https://msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent 9f47252 commit f9a0757

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

include/net/mac80211.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,9 @@ struct ieee80211_parsed_tpe {
735735
* beamformee
736736
* @eht_mu_beamformer: in AP-mode, does this BSS enable operation as an EHT MU
737737
* beamformer
738+
* @eht_80mhz_full_bw_ul_mumimo: in AP-mode, does this BSS support the
739+
* reception of an EHT TB PPDU on an RU that spans the entire PPDU
740+
* bandwidth
738741
*/
739742
struct ieee80211_bss_conf {
740743
struct ieee80211_vif *vif;
@@ -828,6 +831,7 @@ struct ieee80211_bss_conf {
828831
bool eht_su_beamformer;
829832
bool eht_su_beamformee;
830833
bool eht_mu_beamformer;
834+
bool eht_80mhz_full_bw_ul_mumimo;
831835
};
832836

833837
/**

net/mac80211/cfg.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,6 +1379,11 @@ static int ieee80211_start_ap(struct wiphy *wiphy, struct net_device *dev,
13791379
(IEEE80211_EHT_PHY_CAP7_MU_BEAMFORMER_80MHZ |
13801380
IEEE80211_EHT_PHY_CAP7_MU_BEAMFORMER_160MHZ |
13811381
IEEE80211_EHT_PHY_CAP7_MU_BEAMFORMER_320MHZ);
1382+
link_conf->eht_80mhz_full_bw_ul_mumimo =
1383+
params->eht_cap->fixed.phy_cap_info[7] &
1384+
(IEEE80211_EHT_PHY_CAP7_NON_OFDMA_UL_MU_MIMO_80MHZ |
1385+
IEEE80211_EHT_PHY_CAP7_NON_OFDMA_UL_MU_MIMO_160MHZ |
1386+
IEEE80211_EHT_PHY_CAP7_NON_OFDMA_UL_MU_MIMO_320MHZ);
13821387
} else {
13831388
link_conf->eht_su_beamformer = false;
13841389
link_conf->eht_su_beamformee = false;

0 commit comments

Comments
 (0)