#include <util/top_defs.h>
#include <util/util.h>
#include <stdint.h>
#include <stdlib.h>
#include <wl_api.h>
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
#include <string.h>
Functions | |
uint8_t | ascii_to_key (char *outp, const char *inp) |
char * | enc_type2str (enum wl_enc_type enc_type) |
int | equal_bssid (const struct wl_mac_addr_t *bssid1, const struct wl_mac_addr_t *bssid2) |
int | equal_ssid (const struct wl_ssid_t *ssid1, const struct wl_ssid_t *ssid2) |
const char * | ip2str (struct ip_addr addr) |
int | join_argv (char *dst, size_t dst_len, int argc, char *argv[]) |
const char * | mac2str (uint8_t *mac) |
void | print_network (struct wl_network_t *wl_network) |
void | print_network_list (void) |
void | printbuf (const char *prefix, const void *data, size_t len) |
const char * | ssid2str (struct wl_ssid_t *ssid) |
struct ip_addr | str2ip (const char *str) |
uint8_t ascii_to_key | ( | char * | outp, |
const char * | inp | ||
) |
References buf, NULL, and printk().
Referenced by cmd_setkey().
char* enc_type2str | ( | enum wl_enc_type | enc_type | ) |
int equal_bssid | ( | const struct wl_mac_addr_t * | bssid1, |
const struct wl_mac_addr_t * | bssid2 | ||
) |
Referenced by find_best_candidate().
int equal_ssid | ( | const struct wl_ssid_t * | ssid1, |
const struct wl_ssid_t * | ssid2 | ||
) |
Referenced by find_best_candidate(), and select_net().
const char* ip2str | ( | struct ip_addr | addr | ) |
References buf.
Referenced by cmd_ping(), cmd_status(), document_index_html_cb(), ip_status_cb(), ping_recv(), and print_stats().
int join_argv | ( | char * | dst, |
size_t | dst_len, | ||
int | argc, | ||
char * | argv[] | ||
) |
Referenced by cmd_connect().
const char* mac2str | ( | uint8_t * | mac | ) |
References buf.
Referenced by cmd_status(), document_index_html_cb(), and print_network().
void print_network | ( | struct wl_network_t * | wl_network | ) |
References mac2str(), printk(), and ssid2str().
Referenced by cmd_status(), and print_network_list().
void print_network_list | ( | void | ) |
References i, print_network(), and printk().
Referenced by cmd_scan().
void printbuf | ( | const char * | prefix, |
const void * | data, | ||
size_t | len | ||
) |
const char* ssid2str | ( | struct wl_ssid_t * | ssid | ) |
References buf.
Referenced by print_network(), select_net(), wl_cm_conn_cb(), and wl_media_connected_cb().
struct ip_addr str2ip | ( | const char * | str | ) |
References a(), b, c, out, and str.
Referenced by cmd_set_ip(), cmd_ttcp(), and init_ping_info().