]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Remove PSMP option from ht_capab
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 7 Apr 2014 19:02:14 +0000 (22:02 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 7 Apr 2014 19:02:14 +0000 (22:02 +0300)
This was used to fill in the "PSMP support" subfield that was defined
during P802.11n development. However, this subfield was marked reserved
in the published IEEE Std 802.11n-2009 and it is not supported by
current drivers that use hostapd for SME either. As such, there is not
much point in maintaining this field as ht_capab parameter within
hostapd either.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/hw_features.c
src/common/ieee802_11_defs.h

index 6ad1ca7ae54ab9751d6fe5d454fac08c7bb4ee98..5f8428105a5afb97fe5ed339a35a44315d9a4834 100644 (file)
@@ -1069,8 +1069,6 @@ static int hostapd_config_ht_capab(struct hostapd_config *conf,
                conf->ht_capab |= HT_CAP_INFO_MAX_AMSDU_SIZE;
        if (os_strstr(capab, "[DSSS_CCK-40]"))
                conf->ht_capab |= HT_CAP_INFO_DSSS_CCK40MHZ;
-       if (os_strstr(capab, "[PSMP]"))
-               conf->ht_capab |= HT_CAP_INFO_PSMP_SUPP;
        if (os_strstr(capab, "[40-INTOLERANT]"))
                conf->ht_capab |= HT_CAP_INFO_40MHZ_INTOLERANT;
        if (os_strstr(capab, "[LSIG-TXOP-PROT]"))
index 5012fbc9d392db626e0de9bcb145c9b806ec10c2..a7ab0f6bc60e5a1f7c89c862f1c4078c5fbb5d13 100644 (file)
@@ -480,7 +480,6 @@ wmm_ac_vo_acm=0
 # Maximum A-MSDU length: [MAX-AMSDU-7935] for 7935 octets (3839 octets if not
 #      set)
 # DSSS/CCK Mode in 40 MHz: [DSSS_CCK-40] = allowed (not allowed if not set)
-# PSMP support: [PSMP] (disabled if not set)
 # 40 MHz intolerant [40-INTOLERANT] (not advertised if not set)
 # L-SIG TXOP protection support: [LSIG-TXOP-PROT] (disabled if not set)
 #ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40]
index 54a79b09d95dda5414f088d018f7674eb615b529..3cf479a17ca062cec8e21cd3d8ff71c3ac665dea 100644 (file)
@@ -679,12 +679,6 @@ static int ieee80211n_supported_ht_capab(struct hostapd_iface *iface)
                return 0;
        }
 
-       if ((conf & HT_CAP_INFO_PSMP_SUPP) && !(hw & HT_CAP_INFO_PSMP_SUPP)) {
-               wpa_printf(MSG_ERROR, "Driver does not support configured "
-                          "HT capability [PSMP]");
-               return 0;
-       }
-
        if ((conf & HT_CAP_INFO_LSIG_TXOP_PROTECT_SUPPORT) &&
            !(hw & HT_CAP_INFO_LSIG_TXOP_PROTECT_SUPPORT)) {
                wpa_printf(MSG_ERROR, "Driver does not support configured "
index 6f2173d783516784d8940772f27b36ddcc268f57..4b6f13c2a950f1d40ef6f2c06864d1fb05591066 100644 (file)
@@ -658,7 +658,7 @@ struct ieee80211_vht_operation {
 #define HT_CAP_INFO_DELAYED_BA                 ((u16) BIT(10))
 #define HT_CAP_INFO_MAX_AMSDU_SIZE             ((u16) BIT(11))
 #define HT_CAP_INFO_DSSS_CCK40MHZ              ((u16) BIT(12))
-#define HT_CAP_INFO_PSMP_SUPP                  ((u16) BIT(13))
+/* B13 - Reserved (was PSMP support during P802.11n development) */
 #define HT_CAP_INFO_40MHZ_INTOLERANT           ((u16) BIT(14))
 #define HT_CAP_INFO_LSIG_TXOP_PROTECT_SUPPORT  ((u16) BIT(15))