]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - src/ap/hw_features.c
HT: Remove SMPS in AP mode
[thirdparty/hostap.git] / src / ap / hw_features.c
index 0d856d5725e8dbcbc3dc1d4b86f82120f827c16b..83aecade3bc332ad94ee2dcacd94ead723d5a921 100644 (file)
@@ -561,26 +561,6 @@ static int ieee80211n_supported_ht_capab(struct hostapd_iface *iface)
                return 0;
        }
 
-       switch (conf & HT_CAP_INFO_SMPS_MASK) {
-       case HT_CAP_INFO_SMPS_STATIC:
-               if (!(iface->smps_modes & WPA_DRIVER_SMPS_MODE_STATIC)) {
-                       wpa_printf(MSG_ERROR,
-                                  "Driver does not support configured HT capability [SMPS-STATIC]");
-                       return 0;
-               }
-               break;
-       case HT_CAP_INFO_SMPS_DYNAMIC:
-               if (!(iface->smps_modes & WPA_DRIVER_SMPS_MODE_DYNAMIC)) {
-                       wpa_printf(MSG_ERROR,
-                                  "Driver does not support configured HT capability [SMPS-DYNAMIC]");
-                       return 0;
-               }
-               break;
-       case HT_CAP_INFO_SMPS_DISABLED:
-       default:
-               break;
-       }
-
        if ((conf & HT_CAP_INFO_GREEN_FIELD) &&
            !(hw & HT_CAP_INFO_GREEN_FIELD)) {
                wpa_printf(MSG_ERROR, "Driver does not support configured "