Home
last modified time | relevance | path

Searched refs:bw (Results 1 – 25 of 209) sorted by relevance

123456789

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dbcmwifi_channels.h161 #define CHBW_CHSPEC(bw, channel) (chanspec_t)((chanspec_t)(channel) | (bw) | \ argument
202 #define BW_LE20(bw) TRUE argument
226 #define BW_LT20(bw) (((bw) == WL_CHANSPEC_BW_2P5) || \ argument
227 ((bw) == WL_CHANSPEC_BW_5) || \
228 ((bw) == WL_CHANSPEC_BW_10))
233 #define BW_LE20(bw) (((bw) == WL_CHANSPEC_BW_2P5) || \ argument
234 ((bw) == WL_CHANSPEC_BW_5) || \
235 ((bw) == WL_CHANSPEC_BW_10) || \
236 ((bw) == WL_CHANSPEC_BW_20))
240 #define BW_LE20(bw) ((bw) == WL_CHANSPEC_BW_20) argument
[all …]
Dbcmwifi_channels.c204 uint bw; in bw_chspec_to_mhz() local
206 bw = (chspec & WL_CHANSPEC_BW_MASK) >> WL_CHANSPEC_BW_SHIFT; in bw_chspec_to_mhz()
207 return (bw >= WF_NUM_BW ? 0 : wf_chspec_bw_mhz[bw]); in bw_chspec_to_mhz()
214 center_chan_to_edge(uint bw) in center_chan_to_edge() argument
220 return (uint8)(((bw - 20) / 2) / 5); in center_chan_to_edge()
227 channel_low_edge(uint center_ch, uint bw) in channel_low_edge() argument
229 return (uint8)(center_ch - center_chan_to_edge(bw)); in channel_low_edge()
236 channel_to_sb(uint center_ch, uint ctl_ch, uint bw) in channel_to_sb() argument
238 uint lowest = channel_low_edge(center_ch, bw); in channel_to_sb()
249 if (sb >= (bw / 20)) { in channel_to_sb()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dbcmwifi_channels.c176 #define WFC_BW_EQ(bw, val) WFC_2VALS_EQ(bw, val) argument
178 #define WFC_BW_EQ(bw, val) (FALSE) argument
182 static chanspec_bw_t wf_iter_next_bw(chanspec_bw_t bw);
185 static int wf_chanspec_iter_next_5g_range(wf_chanspec_iter_t *iter, chanspec_bw_t bw);
186 static void wf_chanspec_iter_6g_range_init(wf_chanspec_iter_t *iter, chanspec_bw_t bw);
200 uint bw; in wf_bw_chspec_to_mhz() local
202 bw = (chspec & WL_CHANSPEC_BW_MASK) >> WL_CHANSPEC_BW_SHIFT; in wf_bw_chspec_to_mhz()
203 return (bw >= WF_NUM_BW ? 0 : wf_chspec_bw_mhz[bw]); in wf_bw_chspec_to_mhz()
210 center_chan_to_edge(chanspec_bw_t bw) in center_chan_to_edge() argument
217 if (bw == WL_CHANSPEC_BW_40) { in center_chan_to_edge()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Drtw_rf.h54 u8 center_chs_2g_num(u8 bw);
55 u8 center_chs_2g(u8 bw, u8 id);
63 u8 center_chs_5g_num(u8 bw);
64 u8 center_chs_5g(u8 bw, u8 id);
66 u8 rtw_get_scch_by_cch_offset(u8 cch, u8 bw, u8 offset);
67 u8 rtw_get_scch_by_cch_opch(u8 cch, u8 bw, u8 opch);
69 u8 rtw_get_op_chs_by_cch_bw(u8 cch, u8 bw, u8 **op_chs, u8 *op_ch_num);
71 u8 rtw_get_offset_by_chbw(u8 ch, u8 bw, u8 *r_offset);
72 u8 rtw_get_center_ch(u8 ch, u8 bw, u8 offset);
133 #define ch_width_str(bw) (((bw) < CHANNEL_WIDTH_MAX) ? _ch_width_str[(bw)] : "CHANNEL_WIDTH_MAX") argument
[all …]
Dhal_com_phycfg.h150 , BAND_TYPE band, enum channel_width bw
156 , BAND_TYPE band, enum channel_width bw
162 , BAND_TYPE band, enum channel_width bw
166 #define phy_get_txpwr_lmt(adapter, lmt_name, band, bw, tlrs, ntx_idx, cch, lock) (GET_HAL_SPEC(adap… argument
167 #define phy_get_txpwr_lmt_diff(adapter, lmt_name, band, bw, rfpath, rs, tlrs, ntx_idx, cch, lock) (… argument
168 #define phy_get_txpwr_lmt_sub_chs(adapter, lmt_name, band, bw, rfpath, rate, ntx_idx, cch, opch, re… argument
175 …, enum channel_width bw, BAND_TYPE band, u8 cch, u8 opch, bool reg_max, struct txpwr_idx_comp *tic…
177 , enum channel_width bw, BAND_TYPE band, u8 cch, struct txpwr_idx_comp *tic);
180 , enum channel_width bw, u8 cch, u8 opch);
183 , RATE_SECTION rs, enum MGN_RATE rate, enum channel_width bw, BAND_TYPE band, u8 cch, u8 opch
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_rf.c214 u8 rtw_get_scch_by_cch_offset(u8 cch, u8 bw, u8 offset) in rtw_get_scch_by_cch_offset() argument
218 if (bw == CHANNEL_WIDTH_20) { in rtw_get_scch_by_cch_offset()
229 if (cch >= 3 && cch <= 11 && bw == CHANNEL_WIDTH_40) { in rtw_get_scch_by_cch_offset()
235 if (cch >= 50 && cch <= 163 && bw == CHANNEL_WIDTH_160) { in rtw_get_scch_by_cch_offset()
240 } else if (cch >= 42 && cch <= 171 && bw == CHANNEL_WIDTH_80) { in rtw_get_scch_by_cch_offset()
245 } else if (cch >= 38 && cch <= 175 && bw == CHANNEL_WIDTH_40) { in rtw_get_scch_by_cch_offset()
266 u8 rtw_get_scch_by_cch_opch(u8 cch, u8 bw, u8 opch) in rtw_get_scch_by_cch_opch() argument
275 return rtw_get_scch_by_cch_offset(cch, bw, offset); in rtw_get_scch_by_cch_opch()
295 inline u8 center_chs_2g_num(u8 bw) in center_chs_2g_num() argument
297 if (bw > CHANNEL_WIDTH_40) in center_chs_2g_num()
[all …]
Drtw_rm_util.c174 int tx_num, band, bw, ch, n, rs; in rm_get_tx_power() local
183 bw = hal_data->current_channel_bw; in rm_get_tx_power()
194 *pwr = phy_get_tx_power_final_absolute_value(adapter, path, rate, bw, ch); in rm_get_tx_power()
199 int rm_get_rx_sensitivity(PADAPTER adapter, enum channel_width bw, enum MGN_RATE rate, s8 *pwr) in rm_get_rx_sensitivity() argument
355 switch(bw) { in rm_get_rx_sensitivity()
384 int path, tx_num, band, bw, ch, n, rs; in rm_get_path_a_max_tx_power() local
390 bw = hal_data->current_channel_bw; in rm_get_path_a_max_tx_power()
417 …pwr = phy_get_tx_power_final_absolute_value(adapter, path, rates_by_sections[rs].rates[n], bw, ch); in rm_get_path_a_max_tx_power()
Drtw_xmit.c460 u8 bw; in rtw_get_tx_bw_mode() local
462 bw = sta->cmn.bw_mode; in rtw_get_tx_bw_mode()
465 bw = rtw_min(bw, ADAPTER_TX_BW_2G(adapter)); in rtw_get_tx_bw_mode()
467 bw = rtw_min(bw, ADAPTER_TX_BW_5G(adapter)); in rtw_get_tx_bw_mode()
470 return bw; in rtw_get_tx_bw_mode()
473 void rtw_get_adapter_tx_rate_bmp_by_bw(_adapter *adapter, u8 bw, u16 *r_bmp_cck_ofdm, u32 *r_bmp_ht… in rtw_get_adapter_tx_rate_bmp_by_bw() argument
494 if (bw == CHANNEL_WIDTH_20) /* CCK, OFDM always 20MHz */ in rtw_get_adapter_tx_rate_bmp_by_bw()
498 if ((fix_bw != 0xFF && fix_bw != bw) || (fix_bw == 0xFF && macid_ctl->bw[i] != bw)) in rtw_get_adapter_tx_rate_bmp_by_bw()
517 void rtw_get_shared_macid_tx_rate_bmp_by_bw(struct dvobj_priv *dvobj, u8 bw, u16 *r_bmp_cck_ofdm, u… in rtw_get_shared_macid_tx_rate_bmp_by_bw() argument
531 if (bw == CHANNEL_WIDTH_20) /* CCK, OFDM always 20MHz */ in rtw_get_shared_macid_tx_rate_bmp_by_bw()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/
Dnlrtw.h35 int rtw_nlrtw_radar_detect_event(_adapter *adapter, u8 cch, u8 bw);
36 int rtw_nlrtw_cac_finish_event(_adapter *adapter, u8 cch, u8 bw);
37 int rtw_nlrtw_cac_abort_event(_adapter *adapter, u8 cch, u8 bw);
38 int rtw_nlrtw_nop_finish_event(_adapter *adapter, u8 cch, u8 bw);
39 int rtw_nlrtw_nop_start_event(_adapter *adapter, u8 cch, u8 bw);
41 static inline int rtw_nlrtw_radar_detect_event(_adapter *adapter, u8 cch, u8 bw) {return _FAIL;} in rtw_nlrtw_radar_detect_event() argument
42 static inline int rtw_nlrtw_cac_finish_event(_adapter *adapter, u8 cch, u8 bw) {return _FAIL;} in rtw_nlrtw_cac_finish_event() argument
43 static inline int rtw_nlrtw_cac_abort_event(_adapter *adapter, u8 cch, u8 bw) {return _FAIL;} in rtw_nlrtw_cac_abort_event() argument
44 static inline int rtw_nlrtw_nop_finish_event(_adapter *adapter, u8 cch, u8 bw) {return _FAIL;} in rtw_nlrtw_nop_finish_event() argument
45 static inline int rtw_nlrtw_nop_start_event(_adapter *adapter, u8 cch, u8 bw) {return _FAIL;} in rtw_nlrtw_nop_start_event() argument
Dnlrtw.c345 static int _rtw_nlrtw_radar_event(_adapter *adapter, enum nlrtw_radar_event evt_type, u8 cch, u8 bw) in _rtw_nlrtw_radar_event() argument
386 ret = nla_put_u8(skb, NLRTW_ATTR_CHANNEL_WIDTH, bw); in _rtw_nlrtw_radar_event()
411 int rtw_nlrtw_radar_detect_event(_adapter *adapter, u8 cch, u8 bw) in rtw_nlrtw_radar_detect_event() argument
413 return _rtw_nlrtw_radar_event(adapter, NLRTW_RADAR_DETECTED, cch, bw); in rtw_nlrtw_radar_detect_event()
416 int rtw_nlrtw_cac_finish_event(_adapter *adapter, u8 cch, u8 bw) in rtw_nlrtw_cac_finish_event() argument
418 return _rtw_nlrtw_radar_event(adapter, NLRTW_RADAR_CAC_FINISHED, cch, bw); in rtw_nlrtw_cac_finish_event()
421 int rtw_nlrtw_cac_abort_event(_adapter *adapter, u8 cch, u8 bw) in rtw_nlrtw_cac_abort_event() argument
423 return _rtw_nlrtw_radar_event(adapter, NLRTW_RADAR_CAC_ABORTED, cch, bw); in rtw_nlrtw_cac_abort_event()
426 int rtw_nlrtw_nop_finish_event(_adapter *adapter, u8 cch, u8 bw) in rtw_nlrtw_nop_finish_event() argument
428 return _rtw_nlrtw_radar_event(adapter, NLRTW_RADAR_NOP_FINISHED, cch, bw); in rtw_nlrtw_nop_finish_event()
[all …]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dbcmwifi_channels.h373 #define BW_LE40(bw) ((bw) == WL_CHANSPEC_BW_20 || ((bw) == WL_CHANSPEC_BW_40)) argument
374 #define BW_LE80(bw) (BW_LE40(bw) || ((bw) == WL_CHANSPEC_BW_80)) argument
375 #define BW_LE160(bw) (BW_LE80(bw) || ((bw) == WL_CHANSPEC_BW_160)) argument
408 #define CHSPEC_BW_GE(chspec, bw) \ argument
410 ((bw) == WL_CHANSPEC_BW_160 || (bw) == WL_CHANSPEC_BW_8080)) ||\
411 (CHSPEC_BW(chspec) >= (bw)))
413 #define CHSPEC_BW_LE(chspec, bw) \ argument
415 ((bw) == WL_CHANSPEC_BW_160 || (bw) == WL_CHANSPEC_BW_8080)) ||\
416 (CHSPEC_BW(chspec) <= (bw)))
418 #define CHSPEC_BW_GT(chspec, bw) \ argument
[all …]
Dbcmwifi_channels.c210 uint bw; in wf_bw_chspec_to_mhz() local
212 bw = (chspec & WL_CHANSPEC_BW_MASK) >> WL_CHANSPEC_BW_SHIFT; in wf_bw_chspec_to_mhz()
213 return (bw >= WF_NUM_BW ? 0 : wf_chspec_bw_mhz[bw]); in wf_bw_chspec_to_mhz()
220 center_chan_to_edge(uint bw) in center_chan_to_edge() argument
226 return (uint8)(((bw - 20) / 2) / 5); in center_chan_to_edge()
233 channel_low_edge(uint center_ch, uint bw) in channel_low_edge() argument
235 return (uint8)(center_ch - center_chan_to_edge(bw)); in channel_low_edge()
242 channel_to_sb(uint center_ch, uint primary_ch, uint bw) in channel_to_sb() argument
244 uint lowest = channel_low_edge(center_ch, bw); in channel_to_sb()
255 if (sb >= (bw / 20)) { in channel_to_sb()
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dbcmwifi_channels.h422 #define BW_LE40(bw) ((bw) == WL_CHANSPEC_BW_20 || ((bw) == WL_CHANSPEC_BW_40)) argument
423 #define BW_LE80(bw) (BW_LE40(bw) || ((bw) == WL_CHANSPEC_BW_80)) argument
424 #define BW_LE160(bw) (BW_LE80(bw) || ((bw) == WL_CHANSPEC_BW_160)) argument
464 #define CHSPEC_BW_GE(chspec, bw) \ argument
466 ((bw) == WL_CHANSPEC_BW_160 || (bw) == WL_CHANSPEC_BW_8080)) || \
467 (CHSPEC_BW(chspec) >= (bw)))
469 #define CHSPEC_BW_LE(chspec, bw) \ argument
471 ((bw) == WL_CHANSPEC_BW_160 || (bw) == WL_CHANSPEC_BW_8080)) || \
472 (CHSPEC_BW(chspec) <= (bw)))
474 #define CHSPEC_BW_GT(chspec, bw) \ argument
[all …]
Dbcmwifi_channels.c209 uint bw; in wf_bw_chspec_to_mhz() local
211 bw = (chspec & WL_CHANSPEC_BW_MASK) >> WL_CHANSPEC_BW_SHIFT; in wf_bw_chspec_to_mhz()
212 return (bw >= WF_NUM_BW ? 0 : wf_chspec_bw_mhz[bw]); in wf_bw_chspec_to_mhz()
218 static uint8 center_chan_to_edge(uint bw) in center_chan_to_edge() argument
224 return (uint8)(((bw - 0x14) / 0x2) / 0x5); in center_chan_to_edge()
230 static uint8 channel_low_edge(uint center_ch, uint bw) in channel_low_edge() argument
232 return (uint8)(center_ch - center_chan_to_edge(bw)); in channel_low_edge()
238 static int channel_to_sb(uint center_ch, uint primary_ch, uint bw) in channel_to_sb() argument
240 uint lowest = channel_low_edge(center_ch, bw); in channel_to_sb()
251 if (sb >= (bw / 20)) { in channel_to_sb()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/
Dbcmwifi_channels.h345 #define BW_LE40(bw) ((bw) == WL_CHANSPEC_BW_20 || ((bw) == WL_CHANSPEC_BW_40)) argument
346 #define BW_LE80(bw) (BW_LE40(bw) || ((bw) == WL_CHANSPEC_BW_80)) argument
347 #define BW_LE160(bw) (BW_LE80(bw) || ((bw) == WL_CHANSPEC_BW_160)) argument
399 #define CHSPEC_BW_GE(chspec, bw) (CHSPEC_BW(chspec) >= (bw)) argument
401 #define CHSPEC_BW_GT(chspec, bw) (CHSPEC_BW(chspec) > (bw)) argument
442 #define LCHSPEC_CREATE(chan, band, bw, sb) ((uint16)((chan) | (sb) | (bw) | (band))) argument
622 chanspec_bw_t bw, chanspec_band_t band);
628 chanspec_t wf_create_chspec_from_primary(uint primary_channel, chanspec_bw_t bw,
637 chanspec_t wf_create_chspec_sb(uint sb, uint center_channel, chanspec_bw_t bw,
701 extern uint16 wf_channel2chspec(uint ctl_ch, uint bw);
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/
Dphydm_api.c37 enum channel_width bw = 0; in phydm_rxsc_2_bw() local
41 bw = *dm->band_width; /*@full bw*/ in phydm_rxsc_2_bw()
43 bw = CHANNEL_WIDTH_20; in phydm_rxsc_2_bw()
45 bw = CHANNEL_WIDTH_40; in phydm_rxsc_2_bw()
47 bw = CHANNEL_WIDTH_80; in phydm_rxsc_2_bw()
49 return bw; in phydm_rxsc_2_bw()
807 u8 bw = *dm->band_width; in phydm_bw_fixed_setting() local
824 switch (bw) { in phydm_bw_fixed_setting()
990 void phydm_set_nbi_reg(void *dm_void, u32 tone_idx_tmp, u32 bw) in phydm_set_nbi_reg() argument
1021 if (bw == 80) in phydm_set_nbi_reg()
[all …]
Dphydm_rainfo.c165 void phydm_fw_fix_rate(void *dm_void, u8 en, u8 macid, u8 bw, u8 rate) in phydm_fw_fix_rate() argument
171 reg_u32_tmp = (bw << 24) | (rate << 16) | (macid << 8) | en; in phydm_fw_fix_rate()
176 reg_u32_tmp = BYTE_2_DWORD(0x60, macid, bw, rate); in phydm_fw_fix_rate()
187 (20 << bw), rate); in phydm_fw_fix_rate()
203 u8 macid = 0, bw = 0, rate = 0; in phydm_ra_debug() local
248 bw = (u8)var[3]; in phydm_ra_debug()
253 var[1], macid, bw, rate); in phydm_ra_debug()
255 phydm_fw_fix_rate(dm, (u8)var[1], macid, bw, rate); in phydm_ra_debug()
621 u8 bw, in phydm_update_hal_ra_mask() argument
658 if (bw == CHANNEL_WIDTH_40) in phydm_update_hal_ra_mask()
[all …]
Dphydm_api.h144 u8 phydm_csi_mask_setting(void *dm_void, u32 enable, u32 ch, u32 bw, u32 f_intf,
147 u8 phydm_nbi_setting(void *dm_void, u32 enable, u32 ch, u32 bw, u32 f_intf,
167 u8 phydm_csi_mask_setting_jgr3(void *dm_void, u32 enable, u32 ch, u32 bw,
173 u8 phydm_nbi_setting_jgr3(void *dm_void, u32 enable, u32 ch, u32 bw, u32 f_intf,
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/
Dhal_com_phycfg.c2238 u8 bw = hal_data->current_channel_bw; in phy_set_tx_power_index_by_rate_section() local
2248 if (rs == CCK && bw != BAND_ON_2_4G) in phy_set_tx_power_index_by_rate_section()
2256 , rs, rates_by_sections[rs].rates[i], bw, band, Channel, 0, &tic); in phy_set_tx_power_index_by_rate_section()
2257 dump_tx_power_index_inline(RTW_DBGDUMP, pAdapter, RFPath, bw, Channel in phy_set_tx_power_index_by_rate_section()
2261 , rs, rates_by_sections[rs].rates[i], bw, band, Channel, 0); in phy_set_tx_power_index_by_rate_section()
2880 enum channel_width bw, in phy_get_txpwr_lmt() argument
2946 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
2958 if (ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx] != ww_lmt_val) in phy_get_txpwr_lmt()
2959 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
2965 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
[all …]
Dhal_dm_acs.c122 void rtw_acs_adv_setting(_adapter *adapter, RT_SCAN_TYPE scan_type, u16 scan_time, u8 igi, u8 bw) in rtw_acs_adv_setting() argument
132 pacs->bw = bw; in rtw_acs_adv_setting()
134 pacs->scan_type ? 'A' : 'P', pacs->scan_time, pacs->igi, pacs->bw); in rtw_acs_adv_setting()
298 …hal_data->acs.scan_type ? 'A' : 'P', hal_data->acs.scan_time, hal_data->acs.igi, hal_data->acs.bw); in rtw_acs_info_dump()
423 u8 ch, cen_ch, bw, offset; in rtw_acs_current_info_dump() local
428 bw = rtw_get_oper_bw(adapter); in rtw_acs_current_info_dump()
432 if ((bw == CHANNEL_WIDTH_80) ||(bw == CHANNEL_WIDTH_40)) { in rtw_acs_current_info_dump()
433 cen_ch = rtw_get_center_ch(ch, bw, offset); in rtw_acs_current_info_dump()
437 _RTW_PRINT_SEL(sel, "Current BW %s\n", ch_width_str(bw)); in rtw_acs_current_info_dump()
Dhal_mcc.c1210 void rtw_hal_mcc_upadate_chnl_bw(_adapter *padapter, u8 ch, u8 ch_offset, u8 bw, u8 print) in rtw_hal_mcc_upadate_chnl_bw() argument
1218 center_ch = rtw_get_center_ch(ch, bw, ch_offset); in rtw_hal_mcc_upadate_chnl_bw()
1220 if (bw == CHANNEL_WIDTH_80) { in rtw_hal_mcc_upadate_chnl_bw()
1232 rtw_set_oper_bw(padapter, bw); in rtw_hal_mcc_upadate_chnl_bw()
1235 cch_80 = bw == CHANNEL_WIDTH_80 ? center_ch : 0; in rtw_hal_mcc_upadate_chnl_bw()
1236 cch_40 = bw == CHANNEL_WIDTH_40 ? center_ch : 0; in rtw_hal_mcc_upadate_chnl_bw()
1237 cch_20 = bw == CHANNEL_WIDTH_20 ? center_ch : 0; in rtw_hal_mcc_upadate_chnl_bw()
1250 hal->current_channel_bw = bw; in rtw_hal_mcc_upadate_chnl_bw()
1257 , FUNC_ADPT_ARG(padapter), center_ch, ch_width_str(bw) in rtw_hal_mcc_upadate_chnl_bw()
1358 u8 center_ch = 0, ch = 0, bw = 0, bw_offset = 0; in rtw_hal_dl_mcc_fw_rsvd_page() local
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/net/
Dregulatory.h241 #define REG_RULE_EXT(start, end, bw, gain, eirp, dfs_cac, reg_flags) \ argument
245 .freq_range.max_bandwidth_khz = MHZ_TO_KHZ(bw), \
252 #define REG_RULE(start, end, bw, gain, eirp, reg_flags) \ argument
253 REG_RULE_EXT(start, end, bw, gain, eirp, 0, reg_flags)
/device/soc/esp/esp32/components/esp_hw_support/port/esp32/
Drtc_clk.c361 uint8_t bw; in rtc_clk_bbpll_configure() local
374 bw = 3; in rtc_clk_bbpll_configure()
382 bw = 1; in rtc_clk_bbpll_configure()
390 bw = 1; in rtc_clk_bbpll_configure()
398 bw = 0; in rtc_clk_bbpll_configure()
415 bw = 3; in rtc_clk_bbpll_configure()
423 bw = 1; in rtc_clk_bbpll_configure()
431 bw = 1; in rtc_clk_bbpll_configure()
439 bw = 0; in rtc_clk_bbpll_configure()
448 uint8_t i2c_bbpll_dcur = (bw << 6) | dcur; in rtc_clk_bbpll_configure()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
Dwal_11d.c173 static inline hi_u8 wal_regdomain_get_bw(hi_u8 bw) in wal_regdomain_get_bw() argument
175 switch (bw) { in wal_regdomain_get_bw()
264 hi_u8 bw; in wal_regdomain_fill_info() local
288 bw = (hi_u8)(regdom->reg_rules[i].freq_range.max_bandwidth_khz / 1000); /* 1000 频率单位转换 */ in wal_regdomain_fill_info()
289 mac_regdom->ast_regclass[i].ch_spacing = wal_regdomain_get_bw(bw); in wal_regdomain_fill_info()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dvht.c439 enum ieee80211_sta_rx_bandwidth bw; in ieee80211_sta_cur_vht_bw() local
442 bw = ieee80211_sta_cap_rx_bw(sta); in ieee80211_sta_cur_vht_bw()
443 bw = min(bw, sta->cur_max_bandwidth); in ieee80211_sta_cur_vht_bw()
452 return bw; in ieee80211_sta_cur_vht_bw()
454 bw = min(bw, ieee80211_chan_width_to_rx_bw(bss_width)); in ieee80211_sta_cur_vht_bw()
456 return bw; in ieee80211_sta_cur_vht_bw()
542 sta_opmode.bw = ieee80211_sta_rx_bw_to_chan_width(sta); in __ieee80211_vht_handle_opmode()

123456789