Home
last modified time | relevance | path

Searched refs:mac_restrictions (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/wireless/intersil/hostap/
A Dhostap.h63 int ap_control_add_mac(struct mac_restrictions *mac_restrictions, u8 *mac);
64 int ap_control_del_mac(struct mac_restrictions *mac_restrictions, u8 *mac);
65 void ap_control_flush_macs(struct mac_restrictions *mac_restrictions);
A Dhostap_ap.c379 int ap_control_add_mac(struct mac_restrictions *mac_restrictions, u8 *mac) in ap_control_add_mac() argument
389 spin_lock_bh(&mac_restrictions->lock); in ap_control_add_mac()
391 mac_restrictions->entries++; in ap_control_add_mac()
398 int ap_control_del_mac(struct mac_restrictions *mac_restrictions, u8 *mac) in ap_control_del_mac() argument
403 spin_lock_bh(&mac_restrictions->lock); in ap_control_del_mac()
411 mac_restrictions->entries--; in ap_control_del_mac()
421 static int ap_control_mac_deny(struct mac_restrictions *mac_restrictions, in ap_control_mac_deny() argument
430 spin_lock_bh(&mac_restrictions->lock); in ap_control_mac_deny()
446 void ap_control_flush_macs(struct mac_restrictions *mac_restrictions) in ap_control_flush_macs() argument
451 if (mac_restrictions->entries == 0) in ap_control_flush_macs()
[all …]
A Dhostap_ap.h143 struct mac_restrictions { struct
191 struct mac_restrictions mac_restrictions; /* MAC-based auth */ member
A Dhostap_ioctl.c2998 local->ap->mac_restrictions.policy = MAC_POLICY_OPEN; in ap_mac_cmd_ioctl()
3001 local->ap->mac_restrictions.policy = MAC_POLICY_ALLOW; in ap_mac_cmd_ioctl()
3004 local->ap->mac_restrictions.policy = MAC_POLICY_DENY; in ap_mac_cmd_ioctl()
3007 ap_control_flush_macs(&local->ap->mac_restrictions); in ap_mac_cmd_ioctl()
3996 else ret = ap_control_add_mac(&local->ap->mac_restrictions, in hostap_ioctl()
4001 else ret = ap_control_del_mac(&local->ap->mac_restrictions, in hostap_ioctl()

Completed in 19 milliseconds