• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2019 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.settings.wifi;
18 
19 import com.android.wifitrackerlib.WifiEntry;
20 
21 /**
22  * {@link WifiEntry is working in progess, many methods are not available, this class is to group
23  * all the unavalable {@link AccessPoint} methods & constants.
24  *
25  * TODO(b/143326832): Replace all methods & constants with WifiEntry version when it's available.
26  */
27 public class WifiEntryShell {
WifiEntryShell()28     public WifiEntryShell(){};
29 
30     /**
31      * Lower bound on the 2.4 GHz (802.11b/g/n) WLAN channels
32      */
33     public static final int LOWER_FREQ_24GHZ = 2400;
34 
35     /**
36      * Upper bound on the 2.4 GHz (802.11b/g/n) WLAN channels
37      */
38     public static final int HIGHER_FREQ_24GHZ = 2500;
39 
40     /**
41      * Lower bound on the 5.0 GHz (802.11a/h/j/n/ac) WLAN channels
42      */
43     public static final int LOWER_FREQ_5GHZ = 4900;
44 
45     /**
46      * Upper bound on the 5.0 GHz (802.11a/h/j/n/ac) WLAN channels
47      */
48     public static final int HIGHER_FREQ_5GHZ = 5900;
49 }
50