Lines Matching refs:regd_copy
10529 struct ieee80211_regdomain *regd_copy) in wl_copy_regd() argument
10533 if (memcpy_s(regd_copy, sizeof(*regd_copy), regd_orig, sizeof(*regd_orig))) { in wl_copy_regd()
10537 if (memcpy_s(®d_copy->reg_rules[i], sizeof(regd_copy->reg_rules[i]), in wl_copy_regd()
10547 struct ieee80211_regdomain *regd_copy = NULL; in wl_notify_regd() local
10554 regd_copy = (struct ieee80211_regdomain *)MALLOCZ(cfg->osh, regd_len); in wl_notify_regd()
10555 if (!regd_copy) { in wl_notify_regd()
10561 if (wl_copy_regd(&brcm_regdom, regd_copy)) { in wl_notify_regd()
10567 if (memcpy_s(regd_copy->alpha2, sizeof(regd_copy->alpha2), in wl_notify_regd()
10578 regulatory_set_wiphy_regd_sync(wiphy, regd_copy); in wl_notify_regd()
10581 regulatory_set_wiphy_regd_sync_rtnl(wiphy, regd_copy); in wl_notify_regd()
10584 regulatory_set_wiphy_regd(wiphy, regd_copy); in wl_notify_regd()
10587 wiphy_apply_custom_regulatory(wiphy, regd_copy); in wl_notify_regd()
10591 MFREE(cfg->osh, regd_copy, regd_len); in wl_notify_regd()