mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-02-14 17:51:51 +00:00
dawn: change __unit8_t to uint8_t
Fixed #11689. Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
b967c1e0b6
commit
a25bb91f37
2 changed files with 7 additions and 7 deletions
|
@ -13,7 +13,7 @@
|
|||
* @param client_addr - mac adress of the client
|
||||
* @return The RSSI of the client if successful. INT_MIN if client was not found.
|
||||
*/
|
||||
int get_rssi_iwinfo(__uint8_t *client_addr);
|
||||
int get_rssi_iwinfo(uint8_t *client_addr);
|
||||
|
||||
/**
|
||||
* Get expected throughut using the mac adress of the client.
|
||||
|
@ -34,7 +34,7 @@ int get_expected_throughput_iwinfo(uint8_t *client_addr);
|
|||
* @param tx_rate - float pointer for returning the tx rate
|
||||
* @return 0 if successful 1 otherwise.
|
||||
*/
|
||||
int get_bandwidth_iwinfo(__uint8_t *client_addr, float *rx_rate, float *tx_rate);
|
||||
int get_bandwidth_iwinfo(uint8_t *client_addr, float *rx_rate, float *tx_rate);
|
||||
|
||||
/**
|
||||
* Function checks if two bssid adresses have the same essid.
|
||||
|
@ -43,7 +43,7 @@ int get_bandwidth_iwinfo(__uint8_t *client_addr, float *rx_rate, float *tx_rate)
|
|||
* @param bssid_addr_to_compares
|
||||
* @return 1 if the bssid adresses have the same essid.
|
||||
*/
|
||||
int compare_essid_iwinfo(__uint8_t *bssid_addr, __uint8_t *bssid_addr_to_compare);
|
||||
int compare_essid_iwinfo(uint8_t *bssid_addr, uint8_t *bssid_addr_to_compare);
|
||||
|
||||
/**
|
||||
* Function returns the expected throughput using the interface and the client address.
|
||||
|
|
|
@ -21,7 +21,7 @@ int get_bandwidth(const char *ifname, uint8_t *client_addr, float *rx_rate, floa
|
|||
|
||||
#define IWINFO_ESSID_MAX_SIZE 32
|
||||
|
||||
int compare_essid_iwinfo(__uint8_t *bssid_addr, __uint8_t *bssid_addr_to_compare) {
|
||||
int compare_essid_iwinfo(uint8_t *bssid_addr, uint8_t *bssid_addr_to_compare) {
|
||||
const struct iwinfo_ops *iw;
|
||||
|
||||
char mac_buf[20];
|
||||
|
@ -81,7 +81,7 @@ int compare_essid_iwinfo(__uint8_t *bssid_addr, __uint8_t *bssid_addr_to_compare
|
|||
return -1;
|
||||
}
|
||||
|
||||
int get_bandwidth_iwinfo(__uint8_t *client_addr, float *rx_rate, float *tx_rate) {
|
||||
int get_bandwidth_iwinfo(uint8_t *client_addr, float *rx_rate, float *tx_rate) {
|
||||
|
||||
DIR *dirp;
|
||||
struct dirent *entry;
|
||||
|
@ -137,7 +137,7 @@ int get_bandwidth(const char *ifname, uint8_t *client_addr, float *rx_rate, floa
|
|||
return 0;
|
||||
}
|
||||
|
||||
int get_rssi_iwinfo(__uint8_t *client_addr) {
|
||||
int get_rssi_iwinfo(uint8_t *client_addr) {
|
||||
|
||||
DIR *dirp;
|
||||
struct dirent *entry;
|
||||
|
@ -190,7 +190,7 @@ int get_rssi(const char *ifname, uint8_t *client_addr) {
|
|||
return INT_MIN;
|
||||
}
|
||||
|
||||
int get_expected_throughput_iwinfo(__uint8_t *client_addr) {
|
||||
int get_expected_throughput_iwinfo(uint8_t *client_addr) {
|
||||
|
||||
DIR *dirp;
|
||||
struct dirent *entry;
|
||||
|
|
Loading…
Reference in a new issue