diff --git a/include/hardware_legacy/link_layer_stats.h b/include/hardware_legacy/link_layer_stats.h index a75804d..eb042d7 100644 --- a/include/hardware_legacy/link_layer_stats.h +++ b/include/hardware_legacy/link_layer_stats.h @@ -83,7 +83,7 @@ typedef struct { } wifi_channel_stat; // Max number of tx power levels. The actual number vary per device and is specified by |num_tx_levels| -#define RADIO_STAT_MAX_TX_LEVELS 64 +#define RADIO_STAT_MAX_TX_LEVELS 256 /* radio statistics */ typedef struct { diff --git a/include/hardware_legacy/wifi_hal.h b/include/hardware_legacy/wifi_hal.h index e843379..293b5f7 100644 --- a/include/hardware_legacy/wifi_hal.h +++ b/include/hardware_legacy/wifi_hal.h @@ -117,12 +117,6 @@ void wifi_get_error_info(wifi_error err, const char **msg); // return a pointer typedef int feature_set; -#define IS_MASK_SET(mask, flags) ((flags & mask) == mask) -#define IS_MASK_RESET(mask, flags) ((flags & mask) == 0) - -#define IS_SUPPORTED_FEATURE(feature, featureSet) IS_MASK_SET(feature, fetureSet) -#define IS_UNSUPPORTED_FEATURE(feature, featureSet) IS_MASK_RESET(feature, fetureSet) - /* Feature set */ wifi_error wifi_get_supported_feature_set(wifi_interface_handle handle, feature_set *set);