Searched refs:mac_restrictions (Results 1 – 4 of 4) sorted by relevance
/drivers/net/wireless/hostap/ |
D | hostap.h | 60 int ap_control_add_mac(struct mac_restrictions *mac_restrictions, u8 *mac); 61 int ap_control_del_mac(struct mac_restrictions *mac_restrictions, u8 *mac); 62 void ap_control_flush_macs(struct mac_restrictions *mac_restrictions);
|
D | hostap_ap.c | 340 switch (ap->mac_restrictions.policy) { in ap_control_proc_show() 355 seq_printf(m, "MAC entries: %u\n", ap->mac_restrictions.entries); in ap_control_proc_show() 368 spin_lock_bh(&ap->mac_restrictions.lock); in ap_control_proc_start() 369 return seq_list_start_head(&ap->mac_restrictions.mac_list, *_pos); in ap_control_proc_start() 375 return seq_list_next(v, &ap->mac_restrictions.mac_list, _pos); in ap_control_proc_next() 381 spin_unlock_bh(&ap->mac_restrictions.lock); in ap_control_proc_stop() 409 int ap_control_add_mac(struct mac_restrictions *mac_restrictions, u8 *mac) in ap_control_add_mac() argument 419 spin_lock_bh(&mac_restrictions->lock); in ap_control_add_mac() 420 list_add_tail(&entry->list, &mac_restrictions->mac_list); in ap_control_add_mac() 421 mac_restrictions->entries++; in ap_control_add_mac() [all …]
|
D | hostap_ap.h | 142 struct mac_restrictions { struct 190 struct mac_restrictions mac_restrictions; /* MAC-based auth */ member
|
D | hostap_ioctl.c | 3009 local->ap->mac_restrictions.policy = MAC_POLICY_OPEN; in ap_mac_cmd_ioctl() 3012 local->ap->mac_restrictions.policy = MAC_POLICY_ALLOW; in ap_mac_cmd_ioctl() 3015 local->ap->mac_restrictions.policy = MAC_POLICY_DENY; in ap_mac_cmd_ioctl() 3018 ap_control_flush_macs(&local->ap->mac_restrictions); in ap_mac_cmd_ioctl() 4017 else ret = ap_control_add_mac(&local->ap->mac_restrictions, in hostap_ioctl() 4022 else ret = ap_control_del_mac(&local->ap->mac_restrictions, in hostap_ioctl()
|