related to #52
IEEE 802.11d: "The Country Information Element contains the information required to allow a station to identify the regulatory domain in which the station is located and to configure its PHY for operation in that regulatory domain."
Country Information Element consists of:
- ISO 3166-1 alpha-2 encoded country code and one of ' ', 'O', 'I' ASCII characters signifying any / Outdoor-only / Indoor-only environment
- run-length encoded (Regulatory?) Maximum Transmit Power Levels of (all?) channels (in the current operating mode?)
The issue concerns RLEncoding of the channels in 5GHz. In IEEE 802.11a center frequencies are spaced 20MHz apart what yields in 4-channel space in IEEE channel notation. Current algorithm does not perform RLE on 5GHz band, because it treats it as a set of non-continuous subbands. This is suboptimal, because too much data is sent. See IEEE Std 802.11d-2001 Interpretation #4-05/03: "Ambiguous definition in 5GHz band" for a confirmation that RLE can be successfully performed on 802.11a bands.