Lines Matching defs:regd
273 struct ieee80211_regdomain *regd;
280 regd = kzalloc(size_of_regd, GFP_KERNEL);
281 if (!regd)
284 memcpy(regd, src_regd, sizeof(struct ieee80211_regdomain));
287 memcpy(®d->reg_rules[i], &src_regd->reg_rules[i],
290 *dst_regd = regd;
646 const struct ieee80211_regdomain *regd;
652 regd = custom_regd ? custom_regd : cfg80211_regdomain;
660 wiphy->regd)
661 regd = wiphy->regd;
663 if (!regd)
666 for (i = 0; i < regd->n_reg_rules; i++) {
671 rr = ®d->reg_rules[i];
811 * wiphy->regd will be set once the device has its own
814 if (wiphy->flags & WIPHY_FLAG_STRICT_REGULATORY && !wiphy->regd &&
918 (wiphy->regd && is_world_regdom(wiphy->regd->alpha2)))
1049 const struct ieee80211_regdomain *regd)
1070 regd);
1089 const struct ieee80211_regdomain *regd)
1098 handle_channel_custom(wiphy, band, i, regd);
1103 const struct ieee80211_regdomain *regd)
1112 handle_band_custom(wiphy, band, regd);
1249 r = reg_copy_regd(&wiphy->regd, cfg80211_regdomain);
1265 r = reg_copy_regd(&wiphy->regd, cfg80211_regdomain);
1610 * keep their own regulatory domain on wiphy->regd so that does does
1870 if (request_wiphy->regd)
1873 r = reg_copy_regd(&request_wiphy->regd, rd);
1896 request_wiphy->regd = rd;
1975 kfree(wiphy->regd);