Skip to content

Commit b7f9886

Browse files
Rafał Miłeckijmberg-intel
authored andcommitted
cfg80211: fix example REG_RULE usage in Documentation
It's just an example, but lets make it look more real to don't confuse people about possible REG_RULE usage. Channels are 20 MHz wide, so start and end frequencies are 10 MHz away from the center one. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent b4c7a30 commit b7f9886

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎Documentation/networking/regulatory.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,12 @@ struct ieee80211_regdomain mydriver_jp_regdom = {
156156
//.alpha2 = "99", /* If I have no alpha2 to map it to */
157157
.reg_rules = {
158158
/* IEEE 802.11b/g, channels 1..14 */
159-
REG_RULE(2412-20, 2484+20, 40, 6, 20, 0),
159+
REG_RULE(2412-10, 2484+10, 40, 6, 20, 0),
160160
/* IEEE 802.11a, channels 34..48 */
161-
REG_RULE(5170-20, 5240+20, 40, 6, 20,
161+
REG_RULE(5170-10, 5240+10, 40, 6, 20,
162162
NL80211_RRF_NO_IR),
163163
/* IEEE 802.11a, channels 52..64 */
164-
REG_RULE(5260-20, 5320+20, 40, 6, 20,
164+
REG_RULE(5260-10, 5320+10, 40, 6, 20,
165165
NL80211_RRF_NO_IR|
166166
NL80211_RRF_DFS),
167167
}

0 commit comments

Comments
 (0)