wifi_hal: Add flag to indicate tx power level stats
am: 8761318
* commit '8761318ed126a64715fba2c456e53ad8dc345f57':
wifi_hal: Add flag to indicate tx power level stats
Change-Id: I140e447e9605d0db60526b5b0035b39e57f6d472
This commit is contained in:
commit
6cf9442c0d
1 changed files with 5 additions and 0 deletions
|
@ -112,11 +112,16 @@ void wifi_get_error_info(wifi_error err, const char **msg); // return a pointer
|
|||
#define WIFI_FEATURE_RSSI_MONITOR 0x80000 // RSSI Monitor
|
||||
#define WIFI_FEATURE_MKEEP_ALIVE 0x100000 // WiFi mkeep_alive
|
||||
#define WIFI_FEATURE_CONFIG_NDO 0x200000 // ND offload configure
|
||||
#define WIFI_FEATURE_TX_TRANSMIT_POWER 0x400000 // Capture Tx transmit power levels
|
||||
// Add more features here
|
||||
|
||||
|
||||
typedef int feature_set;
|
||||
|
||||
#define IS_MASK_SET(mask, flags) ((flags & mask) == mask)
|
||||
|
||||
#define IS_SUPPORTED_FEATURE(feature, featureSet) IS_MASK_SET(feature, featureSet)
|
||||
|
||||
/* Feature set */
|
||||
wifi_error wifi_get_supported_feature_set(wifi_interface_handle handle, feature_set *set);
|
||||
|
||||
|
|
Loading…
Reference in a new issue