Lines Matching refs:acl
4357 struct cfg80211_acl_data *acl; in parse_acl_data() local
4381 acl = kzalloc(struct_size(acl, mac_addrs, n_entries), GFP_KERNEL); in parse_acl_data()
4382 if (!acl) in parse_acl_data()
4386 memcpy(acl->mac_addrs[i].addr, nla_data(attr), ETH_ALEN); in parse_acl_data()
4390 acl->n_acl_entries = n_entries; in parse_acl_data()
4391 acl->acl_policy = acl_policy; in parse_acl_data()
4393 return acl; in parse_acl_data()
4400 struct cfg80211_acl_data *acl; in nl80211_set_mac_acl() local
4410 acl = parse_acl_data(&rdev->wiphy, info); in nl80211_set_mac_acl()
4411 if (IS_ERR(acl)) in nl80211_set_mac_acl()
4412 return PTR_ERR(acl); in nl80211_set_mac_acl()
4414 err = rdev_set_mac_acl(rdev, dev, acl); in nl80211_set_mac_acl()
4416 kfree(acl); in nl80211_set_mac_acl()
5306 params.acl = parse_acl_data(&rdev->wiphy, info); in nl80211_start_ap()
5307 if (IS_ERR(params.acl)) in nl80211_start_ap()
5308 return PTR_ERR(params.acl); in nl80211_start_ap()
5366 kfree(params.acl); in nl80211_start_ap()