From a3baf0e3321192483a5c323a497c594a5c41ee03 Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Mon, 4 Apr 2016 09:05:09 -0700 Subject: [PATCH] wifi_hal: Increase max tx levels to 256 BUG: 27969673 Change-Id: I65232f20192a87998d921769501915578d9a54a6 --- include/hardware_legacy/link_layer_stats.h | 2 +- include/hardware_legacy/wifi_hal.h | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) 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); -- 2.11.0