diff options
author | Roshan Pius <rpius@google.com> | 2016-04-04 09:05:09 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2016-04-04 16:04:12 -0700 |
commit | a3baf0e3321192483a5c323a497c594a5c41ee03 (patch) | |
tree | 89751b7db23cc1ee3781b736d9194f1fb3fc265a | |
parent | 5af9a3e5c8ac2b858cdf83ceacee7f950975e906 (diff) | |
download | libhardware_legacy-a3baf0e3321192483a5c323a497c594a5c41ee03.tar.gz |
wifi_hal: Increase max tx levels to 256
BUG: 27969673
Change-Id: I65232f20192a87998d921769501915578d9a54a6
-rw-r--r-- | include/hardware_legacy/link_layer_stats.h | 2 | ||||
-rw-r--r-- | include/hardware_legacy/wifi_hal.h | 6 |
2 files changed, 1 insertions, 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); |