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 { |
| 11 | const unsigned int kMaxSSIDLen = 32; |
| 12 | |
| 13 | const unsigned int kWEP40AsciiLen = 5; |
| 14 | const unsigned int kWEP40HexLen = 10; |
| 15 | const unsigned int kWEP104AsciiLen = 13; |
| 16 | const unsigned int kWEP104HexLen = 26; |
mukesh agrawal | 8ede052 | 2011-10-03 14:57:44 -0700 | [diff] [blame] | 17 | |
| 18 | const unsigned int kWPAAsciiMinLen = 8; |
| 19 | const unsigned int kWPAAsciiMaxLen = 63; |
| 20 | const unsigned int kWPAHexLen = 64; |
mukesh agrawal | 7a4e400 | 2011-09-06 11:26:05 -0700 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | } // namespace shill |
| 24 | |
| 25 | #endif // SHILL_IEEE_80211_H |