Add ht and vht supported

This commit is contained in:
PolynomialDivision 2017-07-18 22:03:31 +02:00
parent cfd6944b97
commit e9daee896c
3 changed files with 17 additions and 8 deletions

View file

@ -63,7 +63,7 @@ void kick_clients(uint8_t bssid[])
TODO: KICK ONLY FROM ONE BSSID?
*/
printf("KICKING CLIENT!!!!!!!!!!!!!\n");
del_client(client_array[j].client_addr, 5, 1, 60000);
//del_client(client_array[j].client_addr, 5, 1, 60000);
} else
{
printf("STAAAY CLIENT!!!!!!!!!!!!!\n");
@ -673,8 +673,8 @@ void print_client_entry(client entry) {
sprintf(mac_buf_ap, "%x:%x:%x:%x:%x:%x", MAC2STR(entry.bssid_addr));
sprintf(mac_buf_client, "%x:%x:%x:%x:%x:%x", MAC2STR(entry.client_addr));
printf("bssid_addr: %s, client_addr: %s, freq: %d\n",
mac_buf_ap, mac_buf_client, entry.freq);
printf("bssid_addr: %s, client_addr: %s, freq: %d, ht_supported: %d, vht_supported: %d, ht: %d, vht: %d\n",
mac_buf_ap, mac_buf_client, entry.freq, entry.ht_supported, entry.vht_supported, entry.ht, entry.vht);
}
void print_client_array() {