Searched refs:mac_restrictions (Results 1 - 4 of 4) sorted by relevance
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/wireless/hostap/ |
H A D | hostap.h | 61 int ap_control_add_mac(struct mac_restrictions *mac_restrictions, u8 *mac); 62 int ap_control_del_mac(struct mac_restrictions *mac_restrictions, u8 *mac); 63 void ap_control_flush_macs(struct mac_restrictions *mac_restrictions);
|
H A D | hostap_ap.h | 142 struct mac_restrictions { struct 190 struct mac_restrictions mac_restrictions; /* MAC-based auth */ member in struct:ap_data
|
H A D | hostap_ap.c | 337 switch (ap->mac_restrictions.policy) { 352 p += sprintf(p, "MAC entries: %u\n", ap->mac_restrictions.entries); 354 spin_lock_bh(&ap->mac_restrictions.lock); 355 for (ptr = ap->mac_restrictions.mac_list.next; 356 ptr != &ap->mac_restrictions.mac_list; ptr = ptr->next) { 365 spin_unlock_bh(&ap->mac_restrictions.lock); 371 int ap_control_add_mac(struct mac_restrictions *mac_restrictions, u8 *mac) argument 381 spin_lock_bh(&mac_restrictions->lock); 382 list_add_tail(&entry->list, &mac_restrictions 390 ap_control_del_mac(struct mac_restrictions *mac_restrictions, u8 *mac) argument 413 ap_control_mac_deny(struct mac_restrictions *mac_restrictions, u8 *mac) argument 442 ap_control_flush_macs(struct mac_restrictions *mac_restrictions) argument [all...] |
H A D | hostap_ioctl.c | 3003 local->ap->mac_restrictions.policy = MAC_POLICY_OPEN; 3006 local->ap->mac_restrictions.policy = MAC_POLICY_ALLOW; 3009 local->ap->mac_restrictions.policy = MAC_POLICY_DENY; 3012 ap_control_flush_macs(&local->ap->mac_restrictions); 4019 else ret = ap_control_add_mac(&local->ap->mac_restrictions, 4024 else ret = ap_control_del_mac(&local->ap->mac_restrictions,
|
Completed in 110 milliseconds