1WIPHY_APPLY_CUSTOM_R(9) Regulatory enforcement infrast WIPHY_APPLY_CUSTOM_R(9)
2
3
4

NAME

6       wiphy_apply_custom_regulatory - apply a custom driver regulatory domain
7

SYNOPSIS

9       void wiphy_apply_custom_regulatory(struct wiphy * wiphy,
10                                          const struct ieee80211_regdomain * regd);
11

ARGUMENTS

13       wiphy
14           the wireless device we want to process the regulatory domain on
15
16       regd
17           the custom regulatory domain to use for this wiphy
18

DESCRIPTION

20       Drivers can sometimes have custom regulatory domains which do not apply
21       to a specific country. Drivers can use this to apply such custom
22       regulatory domains. This routine must be called prior to wiphy
23       registration. The custom regulatory domain will be trusted completely
24       and as such previous default channel settings will be disregarded. If
25       no rule is found for a channel on the regulatory domain the channel
26       will be disabled. Drivers using this for a wiphy should also set the
27       wiphy flag REGULATORY_CUSTOM_REG or cfg80211 will set it for the wiphy
28       that called this helper.
29

AUTHOR

31       Johannes Berg <johannes@sipsolutions.net>
32           Author.
33
35Kernel Hackers Manual 3.10         June 2019           WIPHY_APPLY_CUSTOM_R(9)
Impressum