mukesh agrawal | 7a4e400 | 2011-09-06 11:26:05 -0700 | [diff] [blame] | 1 | // 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 | |
| 8 | namespace shill { |
| 9 | |
| 10 | namespace IEEE_80211 { |
Thieu Le | 1df7f4e | 2012-02-10 15:21:45 -0800 | [diff] [blame] | 11 | const uint8_t kElemIdErp = 42; |
| 12 | const uint8_t kElemIdHTCap = 45; |
| 13 | const uint8_t kElemIdHTInfo = 61; |
Paul Stewart | 72b2fdc | 2012-06-02 08:58:51 -0700 | [diff] [blame] | 14 | const uint8_t kElemIdVendor = 221; |
Thieu Le | 1df7f4e | 2012-02-10 15:21:45 -0800 | [diff] [blame] | 15 | |
mukesh agrawal | 7a4e400 | 2011-09-06 11:26:05 -0700 | [diff] [blame] | 16 | const unsigned int kMaxSSIDLen = 32; |
| 17 | |
| 18 | const unsigned int kWEP40AsciiLen = 5; |
| 19 | const unsigned int kWEP40HexLen = 10; |
| 20 | const unsigned int kWEP104AsciiLen = 13; |
| 21 | const unsigned int kWEP104HexLen = 26; |
mukesh agrawal | 8ede052 | 2011-10-03 14:57:44 -0700 | [diff] [blame] | 22 | |
| 23 | const unsigned int kWPAAsciiMinLen = 8; |
| 24 | const unsigned int kWPAAsciiMaxLen = 63; |
| 25 | const unsigned int kWPAHexLen = 64; |
Paul Stewart | 72b2fdc | 2012-06-02 08:58:51 -0700 | [diff] [blame] | 26 | |
| 27 | const uint32_t kOUIVendorEpigram = 0x00904c; |
| 28 | const uint32_t kOUIVendorMicrosoft = 0x0050f2; |
| 29 | |
| 30 | const uint8_t kOUIMicrosoftWPS = 4; |
| 31 | const uint16_t kWPSElementManufacturer = 0x1021; |
| 32 | const uint16_t kWPSElementModelName = 0x1023; |
| 33 | const uint16_t kWPSElementModelNumber = 0x1024; |
| 34 | const uint16_t kWPSElementDeviceName = 0x1011; |
mukesh agrawal | 7a4e400 | 2011-09-06 11:26:05 -0700 | [diff] [blame] | 35 | }; |
| 36 | |
| 37 | } // namespace shill |
| 38 | |
| 39 | #endif // SHILL_IEEE_80211_H |