Mistake on this page?
Report an issue in GitHub or email us
wland_rf.h
1 /* Copyright (c) 2019 Unisoc Communications Inc.
2  * SPDX-License-Identifier: Apache-2.0
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 #ifndef _WLAND_RF_H_
18 #define _WLAND_RF_H_
19 
20 #include "wland_types.h"
21 
22 #define WLAND_TXP_NUM 2
23 #define WLAND_CHANNEL_NUM 14
24 #define WLAND_TX_POWER_PHY_GN_REG 0x11F
25 #define WLAND_TX_POWER_PHY_B_REG 0x120
26 #define WLAND_TX_POWER_RF_REG 0x8A
27 #define WLAND_XTAL_CAL_REG 0xDA
28 
29 #define MAKE_WORD16(lsb, msb) (((u16)(msb) << 8) & 0xFF00) | (lsb)
30 #define MAKE_WORD32(lsw, msw) (((u32)(msw) << 16) & 0xFFFF0000) | (lsw)
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif /* __cplusplus */
35 
36 #ifdef __cplusplus
37 }
38 #endif /* __cplusplus */
39 
40 #endif
41 
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.