]> git.ipfire.org Git - thirdparty/hostap.git/commit - hostapd/hostapd.conf
Make the third octet of Country String configurable
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 1 Mar 2017 08:58:15 +0000 (10:58 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 1 Mar 2017 08:58:15 +0000 (10:58 +0200)
commitff936bc753fe94ea6776915d11ba788758aa8e1d
treeb120e45835be5ac95a49af63d728be9d3f2951f8
parentb80130c60b7b8c51628d295fc5f593d95a970a31
Make the third octet of Country String configurable

The new hostapd.conf parameter country3 can now be used to configure the
third octet of the Country String that was previously hardcoded to ' '
(= 0x20).

For example:

All environments of the current frequency band and country (default)
country3=0x20

Outdoor environment only
country3=0x4f

Indoor environment only
country3=0x49

Noncountry entity (country_code=XX)
country3=0x58

IEEE 802.11 standard Annex E table indication: 0x01 .. 0x1f
Annex E, Table E-4 (Global operating classes)
country3=0x04

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.c
src/ap/ap_config.h