• Ben Greear's avatar
    wifi: mac80211: add eht_capa debugfs field · 5a0702aa
    Ben Greear authored
    Output looks like this:
    
    [root@ct523c-0b29 ~]# cat /debug/ieee80211/wiphy6/netdev\:wlan6/stations/50\:28\:4a\:bd\:f4\:a7/eht_capa
    EHT supported
    MAC-CAP: 0x82 0x00
    PHY-CAP: 0x0c 0x00 0x00 0x00 0x00 0x48 0x00 0x00 0x00
    		OM-CONTROL
    		MAX-MPDU-LEN: 11454
    		242-TONE-RU-GT20MHZ
    		NDP-4-EHT-LFT-32-GI
    		BEAMFORMEE-80-NSS: 0
    		BEAMFORMEE-160-NSS: 0
    		BEAMFORMEE-320-NSS: 0
    		SOUNDING-DIM-80-NSS: 0
    		SOUNDING-DIM-160-NSS: 0
    		SOUNDING-DIM-320-NSS: 0
    		MAX_NC: 0
    		PPE_THRESHOLD_PRESENT
    		NOMINAL_PKT_PAD: 0us
    		MAX-NUM-SUPP-EHT-LTF: 1
    		SUPP-EXTRA-EHT-LTF
    		MCS15-SUPP-MASK: 0
    
    		EHT bw <= 80 MHz, max NSS for MCS 8-9: Rx=2, Tx=2
    		EHT bw <= 80 MHz, max NSS for MCS 10-11: Rx=2, Tx=2
    		EHT bw <= 80 MHz, max NSS for MCS 12-13: Rx=2, Tx=2
    		EHT bw <= 160 MHz, max NSS for MCS 8-9: Rx=0, Tx=0
    		EHT bw <= 160 MHz, max NSS for MCS 10-11: Rx=0, Tx=0
    		EHT bw <= 160 MHz, max NSS for MCS 12-13: Rx=0, Tx=0
    		EHT bw <= 320 MHz, max NSS for MCS 8-9: Rx=0, Tx=0
    		EHT bw <= 320 MHz, max NSS for MCS 10-11: Rx=0, Tx=0
    		EHT bw <= 320 MHz, max NSS for MCS 12-13: Rx=0, Tx=0
    EHT PPE Thresholds: 0xc1 0x0e 0xe0 0x00 0x00
    Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
    Link: https://lore.kernel.org/r/20230517184428.999384-1-greearb@candelatech.comSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    5a0702aa
debugfs_sta.c 41.4 KB