blob: fd0fe26ba10d4fb2d8ccdb69570aa7f1298cb039 [file] [log] [blame]
mukesh agrawal7a4e4002011-09-06 11:26:05 -07001// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_IEEE80211_H
6#define SHILL_IEEE80211_H
7
8namespace shill {
9
10namespace IEEE_80211 {
Thieu Le1df7f4e2012-02-10 15:21:45 -080011const uint8_t kElemIdErp = 42;
12const uint8_t kElemIdHTCap = 45;
13const uint8_t kElemIdHTInfo = 61;
Paul Stewart72b2fdc2012-06-02 08:58:51 -070014const uint8_t kElemIdVendor = 221;
Thieu Le1df7f4e2012-02-10 15:21:45 -080015
mukesh agrawal7a4e4002011-09-06 11:26:05 -070016const unsigned int kMaxSSIDLen = 32;
17
18const unsigned int kWEP40AsciiLen = 5;
19const unsigned int kWEP40HexLen = 10;
20const unsigned int kWEP104AsciiLen = 13;
21const unsigned int kWEP104HexLen = 26;
mukesh agrawal8ede0522011-10-03 14:57:44 -070022
23const unsigned int kWPAAsciiMinLen = 8;
24const unsigned int kWPAAsciiMaxLen = 63;
25const unsigned int kWPAHexLen = 64;
Paul Stewart72b2fdc2012-06-02 08:58:51 -070026
27const uint32_t kOUIVendorEpigram = 0x00904c;
28const uint32_t kOUIVendorMicrosoft = 0x0050f2;
29
30const uint8_t kOUIMicrosoftWPS = 4;
31const uint16_t kWPSElementManufacturer = 0x1021;
32const uint16_t kWPSElementModelName = 0x1023;
33const uint16_t kWPSElementModelNumber = 0x1024;
34const uint16_t kWPSElementDeviceName = 0x1011;
mukesh agrawal7a4e4002011-09-06 11:26:05 -070035};
36
37} // namespace shill
38
39#endif // SHILL_IEEE_80211_H