1. Remove ip member of struct station_info

2. Add struct station_list into tcpip_adapter layer
3. When ap -L cmd is received, get mac address from mac layer first and then search ip address based on mac address on dhcp layer.
This commit is contained in:
xiaxiaotian
2016-08-23 11:22:58 +08:00
committed by Wu Jian Gang
parent c35b57ac7b
commit ef0cd1cde3
5 changed files with 91 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ extern u32_t dhcps_lease_time;
void dhcps_start(struct netif *netif);
void dhcps_stop(struct netif *netif);
bool dhcp_search_ip_on_mac(u8_t *mac, ip4_addr_t *ip);
#else
#include "lwip/opt.h"