![]() |
|
|||
0001 /* 0002 * Copyright (c) 2010 Broadcom Corporation 0003 * 0004 * Permission to use, copy, modify, and/or distribute this software for any 0005 * purpose with or without fee is hereby granted, provided that the above 0006 * copyright notice and this permission notice appear in all copies. 0007 * 0008 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 0009 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 0010 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 0011 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 0012 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 0013 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 0014 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 0015 */ 0016 0017 #ifndef _BRCM_CHANNEL_H_ 0018 #define _BRCM_CHANNEL_H_ 0019 0020 /* conversion for phy txpwr calculations that use .25 dB units */ 0021 #define BRCMS_TXPWR_DB_FACTOR 4 0022 0023 /* bits for locale_info flags */ 0024 #define BRCMS_PEAK_CONDUCTED 0x00 /* Peak for locals */ 0025 #define BRCMS_EIRP 0x01 /* Flag for EIRP */ 0026 #define BRCMS_DFS_TPC 0x02 /* Flag for DFS TPC */ 0027 #define BRCMS_NO_OFDM 0x04 /* Flag for No OFDM */ 0028 #define BRCMS_NO_40MHZ 0x08 /* Flag for No MIMO 40MHz */ 0029 #define BRCMS_NO_MIMO 0x10 /* Flag for No MIMO, 20 or 40 MHz */ 0030 #define BRCMS_RADAR_TYPE_EU 0x20 /* Flag for EU */ 0031 #define BRCMS_DFS_FCC BRCMS_DFS_TPC /* Flag for DFS FCC */ 0032 0033 #define BRCMS_DFS_EU (BRCMS_DFS_TPC | BRCMS_RADAR_TYPE_EU) /* Flag for DFS EU */ 0034 0035 struct brcms_cm_info *brcms_c_channel_mgr_attach(struct brcms_c_info *wlc); 0036 0037 void brcms_c_channel_mgr_detach(struct brcms_cm_info *wlc_cm); 0038 0039 bool brcms_c_valid_chanspec_db(struct brcms_cm_info *wlc_cm, u16 chspec); 0040 0041 void brcms_c_channel_reg_limits(struct brcms_cm_info *wlc_cm, u16 chanspec, 0042 struct txpwr_limits *txpwr); 0043 void brcms_c_channel_set_chanspec(struct brcms_cm_info *wlc_cm, u16 chanspec, 0044 u8 local_constraint_qdbm); 0045 void brcms_c_regd_init(struct brcms_c_info *wlc); 0046 0047 #endif /* _WLC_CHANNEL_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |