Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/test/mp/
H A Dhal_test_mp_config.c322 u8 pri_chan = 0; in rtw_hal_mp_config_set_ch_bw() local
333 pri_chan = hal_mp_primary_channel_decision(cent_ch, bw, tx_sc); in rtw_hal_mp_config_set_ch_bw()
335 if(pri_chan == 0){ in rtw_hal_mp_config_set_ch_bw()
341 chdef.chan = pri_chan; in rtw_hal_mp_config_set_ch_bw()
342 chdef.band = rtw_phl_get_band_type(pri_chan); in rtw_hal_mp_config_set_ch_bw()
344 chdef.offset = hal_mp_chan_offset_decision(pri_chan, cent_ch, bw); in rtw_hal_mp_config_set_ch_bw()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/test/mp/
H A Dhal_test_mp_config.c322 u8 pri_chan = 0; in rtw_hal_mp_config_set_ch_bw() local
333 pri_chan = hal_mp_primary_channel_decision(cent_ch, bw, tx_sc); in rtw_hal_mp_config_set_ch_bw()
335 if(pri_chan == 0){ in rtw_hal_mp_config_set_ch_bw()
341 chdef.chan = pri_chan; in rtw_hal_mp_config_set_ch_bw()
342 chdef.band = rtw_phl_get_band_type(pri_chan); in rtw_hal_mp_config_set_ch_bw()
344 chdef.offset = hal_mp_chan_offset_decision(pri_chan, cent_ch, bw); in rtw_hal_mp_config_set_ch_bw()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dbcmwifi_channels.c307 uint pri_chan; in wf_chspec_ntoa() local
320 pri_chan = wf_chspec_primary20_chan(chspec); in wf_chspec_ntoa()
324 snprintf(buf, CHANSPEC_STR_LEN, "%s%d", band, pri_chan); in wf_chspec_ntoa()
337 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s%s", band, pri_chan, bw, sb); in wf_chspec_ntoa()
342 snprintf(buf, CHANSPEC_STR_LEN, "%s%d%s", band, pri_chan, sb); in wf_chspec_ntoa()
344 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s", band, pri_chan, bw); in wf_chspec_ntoa()
358 snprintf(buf, CHANSPEC_STR_LEN, "%d/80+80/%d-%d", pri_chan, chan1, chan2); in wf_chspec_ntoa()
901 uint8 pri_chan; in wf_chspec_primary20_chspec() local
907 pri_chan = wf_chspec_primary20_chan(chspec); in wf_chspec_primary20_chspec()
908 pri_chspec = pri_chan | WL_CHANSPEC_BW_20; in wf_chspec_primary20_chspec()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dbcmwifi_channels.c336 uint pri_chan; in wf_chspec_ntoa() local
349 pri_chan = wf_chspec_primary20_chan(chspec); in wf_chspec_ntoa()
353 snprintf(buf, CHANSPEC_STR_LEN, "%s%d", band, pri_chan); in wf_chspec_ntoa()
366 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s%s", band, pri_chan, bw, sb); in wf_chspec_ntoa()
371 snprintf(buf, CHANSPEC_STR_LEN, "%s%d%s", band, pri_chan, sb); in wf_chspec_ntoa()
373 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s", band, pri_chan, bw); in wf_chspec_ntoa()
387 snprintf(buf, CHANSPEC_STR_LEN, "%d/80+80/%d-%d", pri_chan, chan1, chan2); in wf_chspec_ntoa()
950 uint8 pri_chan; in wf_chspec_primary20_chspec() local
956 pri_chan = wf_chspec_primary20_chan(chspec); in wf_chspec_primary20_chspec()
957 pri_chspec = pri_chan | WL_CHANSPEC_BW_20; in wf_chspec_primary20_chspec()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dbcmwifi_channels.c336 uint pri_chan; in wf_chspec_ntoa() local
349 pri_chan = wf_chspec_primary20_chan(chspec); in wf_chspec_ntoa()
353 snprintf(buf, CHANSPEC_STR_LEN, "%s%d", band, pri_chan); in wf_chspec_ntoa()
366 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s%s", band, pri_chan, bw, sb); in wf_chspec_ntoa()
371 snprintf(buf, CHANSPEC_STR_LEN, "%s%d%s", band, pri_chan, sb); in wf_chspec_ntoa()
373 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s", band, pri_chan, bw); in wf_chspec_ntoa()
387 snprintf(buf, CHANSPEC_STR_LEN, "%d/80+80/%d-%d", pri_chan, chan1, chan2); in wf_chspec_ntoa()
950 uint8 pri_chan; in wf_chspec_primary20_chspec() local
956 pri_chan = wf_chspec_primary20_chan(chspec); in wf_chspec_primary20_chspec()
957 pri_chspec = pri_chan | WL_CHANSPEC_BW_20; in wf_chspec_primary20_chspec()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcmwifi_channels.c502 uint pri_chan; in wf_chspec_ntoa() local
519 pri_chan = wf_chspec_primary20_chan(chspec); in wf_chspec_ntoa()
523 snprintf(buf, CHANSPEC_STR_LEN, "%s%d", band, pri_chan); in wf_chspec_ntoa()
530 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s", band, pri_chan, bw); in wf_chspec_ntoa()
537 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s", band, pri_chan, bw); in wf_chspec_ntoa()
550 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s%s", band, pri_chan, bw, sb); in wf_chspec_ntoa()
555 snprintf(buf, CHANSPEC_STR_LEN, "%s%d%s", band, pri_chan, sb); in wf_chspec_ntoa()
557 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s", band, pri_chan, bw); in wf_chspec_ntoa()
2258 uint8 pri_chan; in wf_chspec_primary20_chspec() local
2264 pri_chan = wf_chspec_primary20_chan(chspec); in wf_chspec_primary20_chspec()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmwifi_channels.c502 uint pri_chan; in wf_chspec_ntoa() local
519 pri_chan = wf_chspec_primary20_chan(chspec); in wf_chspec_ntoa()
523 snprintf(buf, CHANSPEC_STR_LEN, "%s%d", band, pri_chan); in wf_chspec_ntoa()
530 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s", band, pri_chan, bw); in wf_chspec_ntoa()
537 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s", band, pri_chan, bw); in wf_chspec_ntoa()
550 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s%s", band, pri_chan, bw, sb); in wf_chspec_ntoa()
555 snprintf(buf, CHANSPEC_STR_LEN, "%s%d%s", band, pri_chan, sb); in wf_chspec_ntoa()
557 snprintf(buf, CHANSPEC_STR_LEN, "%s%d/%s", band, pri_chan, bw); in wf_chspec_ntoa()
2258 uint8 pri_chan; in wf_chspec_primary20_chspec() local
2264 pri_chan = wf_chspec_primary20_chan(chspec); in wf_chspec_primary20_chspec()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A D11ac.c324 u32 pri_chan, u8 chan_bw) in mwifiex_get_center_freq_index() argument
329 switch (pri_chan) { in mwifiex_get_center_freq_index()
H A Dmain.h1635 u32 pri_chan, u8 chan_bw);
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_11h.c212 static t_u8 woal_get_bonded_channels(t_u8 pri_chan, t_u8 bw, t_u8 *chan_list) in woal_get_bonded_channels() argument
228 chan_list[0] = pri_chan; in woal_get_bonded_channels()
230 chan_list[0] = pri_chan; in woal_get_bonded_channels()
232 if (pri_chan == (t_u8)ht40_plus[i]) { in woal_get_bonded_channels()
233 sec_chan = pri_chan + 4; in woal_get_bonded_channels()
239 if (pri_chan == (t_u8)ht40_minus[i]) { in woal_get_bonded_channels()
240 sec_chan = pri_chan - 4; in woal_get_bonded_channels()
249 if (pri_chan == (t_u8)vht80_dfs[i][j]) { in woal_get_bonded_channels()
H A Dmlan_11n.c2406 t_u8 pri_chan; in wlan_check_chan_width_ht40_by_region() local
2423 pri_chan = pbss_desc->pht_info->ht_info.pri_chan; in wlan_check_chan_width_ht40_by_region()
2445 if (pri_chan == in wlan_check_chan_width_ht40_by_region()
2458 if (pri_chan > num_cfp - 4) { in wlan_check_chan_width_ht40_by_region()
2568 pbss_desc->pht_info->ht_info.pri_chan; in wlan_cmd_append_11n_tlv()
H A Dmlan_11ac.c57 t_u8 wlan_get_center_freq_idx(mlan_private *pmpriv, t_u16 band, t_u32 pri_chan, in wlan_get_center_freq_idx() argument
63 switch (pri_chan) { in wlan_get_center_freq_idx()
H A Dmlan_ieee.h979 t_u8 pri_chan; member
H A Dmlan_main.h4090 t_u8 wlan_get_center_freq_idx(mlan_private *pmpriv, t_u16 band, t_u32 pri_chan,
H A Dmlan_misc.c2769 ht_info->ht_info.pri_chan = pbss_desc->channel; in wlan_misc_ioctl_tdls_get_ies()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/
H A Dmlan_11n.c2390 t_u8 pri_chan; in wlan_check_chan_width_ht40_by_region() local
2407 pri_chan = pbss_desc->pht_info->ht_info.pri_chan; in wlan_check_chan_width_ht40_by_region()
2421 if (pri_chan == in wlan_check_chan_width_ht40_by_region()
2434 if (pri_chan > num_cfp - 4) { in wlan_check_chan_width_ht40_by_region()
2553 pbss_desc->pht_info->ht_info.pri_chan; in wlan_cmd_append_11n_tlv()
H A Dmlan_ieee.h940 t_u8 pri_chan; member
H A Dmlan_join.c1659 pht_info->ht_info.pri_chan = in wlan_cmd_802_11_ad_hoc_start()
H A Dmlan_misc.c2586 ht_info->ht_info.pri_chan = pbss_desc->channel; in wlan_misc_ioctl_tdls_get_ies()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/
H A Dmoal_uap.c2163 static int woal_uap_get_dfs_chan(t_u8 pri_chan, t_u8 bw, in woal_uap_get_dfs_chan() argument
2179 pos->channel = pri_chan; in woal_uap_get_dfs_chan()
2181 pos->channel = pri_chan; in woal_uap_get_dfs_chan()
2184 if (pri_chan == (t_u8)ht40_plus[i]) { in woal_uap_get_dfs_chan()
2185 sec_chan = pri_chan + 4; in woal_uap_get_dfs_chan()
2191 if (pri_chan == (t_u8)ht40_minus[i]) { in woal_uap_get_dfs_chan()
2192 sec_chan = pri_chan - 4; in woal_uap_get_dfs_chan()
2201 if (pri_chan == (t_u8)vht80_dfs[i][j]) { in woal_uap_get_dfs_chan()
H A Dmlan_ieee.h979 t_u8 pri_chan; member
H A Dmoal_eth_ioctl.c11540 t_u32 pri_chan, t_u8 chan_bw) in woal_get_center_freq_idx() argument
11545 switch (pri_chan) { in woal_get_center_freq_idx()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A D802.11ax.h657 uint8 pri_chan; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A D802.11ax.h657 uint8 pri_chan; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/
H A Dmlan_ieee.h940 t_u8 pri_chan; member