| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/ |
| H A D | rtw_ap.c | 1657 u8 u_ch = 0, u_bw, u_offset; in start_bss_network() local 1741 , &u_ch, &u_bw, &u_offset, &chbw_allow, &set_u_ch); in start_bss_network() 1789 set_channel_bwmode(padapter, u_ch, u_offset, u_bw); in start_bss_network() 1798 rtw_mi_get_ch_setting_union_no_self(padapter, &u_ch, &u_bw, &u_offset); in start_bss_network() 1801 padapter->mlmeextpriv.cur_bwmode = u_bw; in start_bss_network() 4649 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4713 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4714 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 4760 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4763 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/ |
| H A D | rtw_ap.c | 1659 u8 u_ch = 0, u_bw, u_offset; in start_bss_network() local 1743 , &u_ch, &u_bw, &u_offset, &chbw_allow, &set_u_ch); in start_bss_network() 1791 set_channel_bwmode(padapter, u_ch, u_offset, u_bw); in start_bss_network() 1800 rtw_mi_get_ch_setting_union_no_self(padapter, &u_ch, &u_bw, &u_offset); in start_bss_network() 1803 padapter->mlmeextpriv.cur_bwmode = u_bw; in start_bss_network() 4699 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4763 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4764 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 4810 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4813 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_ap.c | 1677 u8 u_ch = 0, u_bw, u_offset; in start_bss_network() local 1760 , &u_ch, &u_bw, &u_offset, &chbw_allow, &set_u_ch); in start_bss_network() 1808 set_channel_bwmode(padapter, u_ch, u_offset, u_bw); in start_bss_network() 1817 rtw_mi_get_ch_setting_union_no_self(padapter, &u_ch, &u_bw, &u_offset); in start_bss_network() 1820 padapter->mlmeextpriv.cur_bwmode = u_bw; in start_bss_network() 4804 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4868 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4869 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 4915 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4918 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/ |
| H A D | rtw_ap.c | 1658 u8 u_ch = 0, u_bw, u_offset; in start_bss_network() local 1742 , &u_ch, &u_bw, &u_offset, &chbw_allow, &set_u_ch); in start_bss_network() 1790 set_channel_bwmode(padapter, u_ch, u_offset, u_bw); in start_bss_network() 1799 rtw_mi_get_ch_setting_union_no_self(padapter, &u_ch, &u_bw, &u_offset); in start_bss_network() 1802 padapter->mlmeextpriv.cur_bwmode = u_bw; in start_bss_network() 4650 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4714 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4715 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 4761 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4764 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_ap.c | 1677 u8 u_ch = 0, u_bw, u_offset; in start_bss_network() local 1760 , &u_ch, &u_bw, &u_offset, &chbw_allow, &set_u_ch); in start_bss_network() 1808 set_channel_bwmode(padapter, u_ch, u_offset, u_bw); in start_bss_network() 1817 rtw_mi_get_ch_setting_union_no_self(padapter, &u_ch, &u_bw, &u_offset); in start_bss_network() 1820 padapter->mlmeextpriv.cur_bwmode = u_bw; in start_bss_network() 4897 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4961 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4962 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 5008 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 5011 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/ |
| H A D | rtw_ap.c | 4578 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4641 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4642 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 4688 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4691 , &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision() 4735 if (!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4751 if (req_ch == 0 && dec_bw[i] > u_bw in rtw_ap_chbw_decision() 4752 && rtw_is_dfs_chbw(u_ch, u_bw, u_offset) in rtw_ap_chbw_decision() 4755 dec_bw[i] = u_bw; in rtw_ap_chbw_decision() 4763 , &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision() [all …]
|
| H A D | rtw_mi.c | 56 u8 u_ch, u_bw, u_offset; in rtw_mi_stayin_union_ch_chk() local 60 u_bw = rtw_mi_get_union_bw(adapter); in rtw_mi_stayin_union_ch_chk() 67 if ((u_ch != o_ch) || (u_bw != o_bw) || (u_offset != o_offset)) in rtw_mi_stayin_union_ch_chk() 79 RTW_ERR("union ch, bw, offset: %u,%u,%u\n", u_ch, u_bw, u_offset); in rtw_mi_stayin_union_ch_chk() 371 u8 u_ch, u_offset, u_bw; in rtw_mi_update_iface_status() local 384 if (rtw_mi_get_ch_setting_union(adapter, &u_ch, &u_bw, &u_offset)) in rtw_mi_update_iface_status() 385 rtw_mi_update_union_chan_inf(adapter , u_ch, u_offset , u_bw); in rtw_mi_update_iface_status()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/ |
| H A D | rtw_ap.c | 4558 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4621 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4622 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 4668 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4671 , &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision() 4715 if (!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4731 if (req_ch == 0 && dec_bw[i] > u_bw in rtw_ap_chbw_decision() 4732 && rtw_is_dfs_chbw(u_ch, u_bw, u_offset) in rtw_ap_chbw_decision() 4735 dec_bw[i] = u_bw; in rtw_ap_chbw_decision() 4743 , &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision() [all …]
|
| H A D | rtw_mi.c | 56 u8 u_ch, u_bw, u_offset; in rtw_mi_stayin_union_ch_chk() local 60 u_bw = rtw_mi_get_union_bw(adapter); in rtw_mi_stayin_union_ch_chk() 67 if ((u_ch != o_ch) || (u_bw != o_bw) || (u_offset != o_offset)) in rtw_mi_stayin_union_ch_chk() 79 RTW_ERR("union ch, bw, offset: %u,%u,%u\n", u_ch, u_bw, u_offset); in rtw_mi_stayin_union_ch_chk() 371 u8 u_ch, u_offset, u_bw; in rtw_mi_update_iface_status() local 384 if (rtw_mi_get_ch_setting_union(adapter, &u_ch, &u_bw, &u_offset)) in rtw_mi_update_iface_status() 385 rtw_mi_update_union_chan_inf(adapter , u_ch, u_offset , u_bw); in rtw_mi_update_iface_status()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/ |
| H A D | rtw_ap.c | 4578 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4641 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4642 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 4688 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4691 , &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision() 4735 if (!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4751 if (req_ch == 0 && dec_bw[i] > u_bw in rtw_ap_chbw_decision() 4752 && rtw_is_dfs_chbw(u_ch, u_bw, u_offset) in rtw_ap_chbw_decision() 4755 dec_bw[i] = u_bw; in rtw_ap_chbw_decision() 4763 , &u_ch, &u_bw, &u_offset); in rtw_ap_chbw_decision() [all …]
|
| H A D | rtw_mi.c | 56 u8 u_ch, u_bw, u_offset; in rtw_mi_stayin_union_ch_chk() local 60 u_bw = rtw_mi_get_union_bw(adapter); in rtw_mi_stayin_union_ch_chk() 67 if ((u_ch != o_ch) || (u_bw != o_bw) || (u_offset != o_offset)) in rtw_mi_stayin_union_ch_chk() 79 RTW_ERR("union ch, bw, offset: %u,%u,%u\n", u_ch, u_bw, u_offset); in rtw_mi_stayin_union_ch_chk() 371 u8 u_ch, u_offset, u_bw; in rtw_mi_update_iface_status() local 384 if (rtw_mi_get_ch_setting_union(adapter, &u_ch, &u_bw, &u_offset)) in rtw_mi_update_iface_status() 385 rtw_mi_update_union_chan_inf(adapter , u_ch, u_offset , u_bw); in rtw_mi_update_iface_status()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/ |
| H A D | rtw_ap.c | 4580 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4643 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4644 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 4690 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4693 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() 4737 if (!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4753 if (req_ch == 0 && dec_bw[i] > u_bw in rtw_ap_chbw_decision() 4754 && rtw_chset_is_dfs_chbw(chset, u_ch, u_bw, u_offset) in rtw_ap_chbw_decision() 4757 dec_bw[i] = u_bw; in rtw_ap_chbw_decision() 4765 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() [all …]
|
| H A D | rtw_mi.c | 55 u8 u_ch, u_bw, u_offset; in rtw_mi_stayin_union_ch_chk() local 59 u_bw = rtw_mi_get_union_bw(adapter); in rtw_mi_stayin_union_ch_chk() 66 if ((u_ch != o_ch) || (u_bw != o_bw) || (u_offset != o_offset)) in rtw_mi_stayin_union_ch_chk() 78 RTW_ERR("union ch, bw, offset: %u,%u,%u\n", u_ch, u_bw, u_offset); in rtw_mi_stayin_union_ch_chk() 370 u8 u_ch, u_offset, u_bw; in rtw_mi_update_iface_status() local 383 if (rtw_mi_get_ch_setting_union(adapter, &u_ch, &u_bw, &u_offset)) in rtw_mi_update_iface_status() 384 rtw_mi_update_union_chan_inf(adapter , u_ch, u_offset , u_bw); in rtw_mi_update_iface_status()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/ |
| H A D | rtw_mi.c | 55 u8 u_ch, u_bw, u_offset; in rtw_mi_stayin_union_ch_chk() local 59 u_bw = rtw_mi_get_union_bw(adapter); in rtw_mi_stayin_union_ch_chk() 66 if ((u_ch != o_ch) || (u_bw != o_bw) || (u_offset != o_offset)) in rtw_mi_stayin_union_ch_chk() 78 RTW_ERR("union ch, bw, offset: %u,%u,%u\n", u_ch, u_bw, u_offset); in rtw_mi_stayin_union_ch_chk() 370 u8 u_ch, u_offset, u_bw; in rtw_mi_update_iface_status() local 383 if (rtw_mi_get_ch_setting_union(adapter, &u_ch, &u_bw, &u_offset)) in rtw_mi_update_iface_status() 384 rtw_mi_update_union_chan_inf(adapter , u_ch, u_offset , u_bw); in rtw_mi_update_iface_status()
|
| H A D | rtw_ap.c | 4680 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4743 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4744 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 4790 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4793 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() 4837 if (!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4853 if (req_ch == 0 && dec_bw[i] > u_bw in rtw_ap_chbw_decision() 4854 && rtw_chset_is_dfs_chbw(chset, u_ch, u_bw, u_offset) in rtw_ap_chbw_decision() 4857 dec_bw[i] = u_bw; in rtw_ap_chbw_decision() 4865 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/ |
| H A D | rtw_mi.c | 52 u8 u_ch, u_bw, u_offset; in rtw_mi_stayin_union_ch_chk() local 56 u_bw = rtw_mi_get_union_bw(adapter); in rtw_mi_stayin_union_ch_chk() 63 if ((u_ch != o_ch) || (u_bw != o_bw) || (u_offset != o_offset)) in rtw_mi_stayin_union_ch_chk() 75 RTW_ERR("union ch, bw, offset: %u,%u,%u\n", u_ch, u_bw, u_offset); in rtw_mi_stayin_union_ch_chk() 362 u8 u_ch, u_offset, u_bw; in rtw_mi_update_iface_status() local 376 if (rtw_mi_get_ch_setting_union(adapter, &u_ch, &u_bw, &u_offset)) in rtw_mi_update_iface_status() 377 rtw_mi_update_union_chan_inf(adapter , u_ch, u_offset , u_bw); in rtw_mi_update_iface_status()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_mi.c | 32 u8 u_ch, u_bw, u_offset; in rtw_mi_stayin_union_ch_chk() local 36 u_bw = rtw_mi_get_union_bw(adapter); in rtw_mi_stayin_union_ch_chk() 43 if ((u_ch != o_ch) || (u_bw != o_bw) || (u_offset != o_offset)) in rtw_mi_stayin_union_ch_chk() 55 RTW_ERR("union ch, bw, offset: %u,%u,%u\n", u_ch, u_bw, u_offset); in rtw_mi_stayin_union_ch_chk() 347 u8 u_ch, u_offset, u_bw; in rtw_mi_update_iface_status() local 360 if (rtw_mi_get_ch_setting_union(adapter, &u_ch, &u_bw, &u_offset)) in rtw_mi_update_iface_status() 361 rtw_mi_update_union_chan_inf(adapter , u_ch, u_offset , u_bw); in rtw_mi_update_iface_status()
|
| H A D | rtw_mlme_ext.c | 434 u8 u_ch = 0, u_bw, u_offset; in rtw_rfctl_update_op_mode() local 458 u_bw = bw; in rtw_rfctl_update_op_mode() 461 rtw_warn_on(!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, ch, bw, offset)); in rtw_rfctl_update_op_mode() 462 rtw_sync_chbw(&ch, &bw, &offset, &u_ch, &u_bw, &u_offset); in rtw_rfctl_update_op_mode() 466 op_class = rtw_get_op_class_by_chbw(u_ch, u_bw, u_offset); in rtw_rfctl_update_op_mode() 468 op_txpwr_max = rtw_rfctl_get_oper_txpwr_max_mbm(rfctl, u_ch, u_bw, u_offset, ifbmp_mod, if_op, 1); in rtw_rfctl_update_op_mode() 484 RTW_INFO("radio: %u,%u,%u %d notify:%d\n", u_ch, u_bw, u_offset, op_txpwr_max, notify); in rtw_rfctl_update_op_mode() 1341 u8 u_ch, u_bw, u_offset; in rtw_chset_sync_chbw() local 1349 u_bw = *g_bw; in rtw_chset_sync_chbw() 1352 rtw_sync_chbw(&r_ch, &r_bw, &r_offset, &u_ch, &u_bw, &u_offset); in rtw_chset_sync_chbw() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/ |
| H A D | rtw_mi.c | 56 u8 u_ch, u_bw, u_offset; in rtw_mi_stayin_union_ch_chk() local 60 u_bw = rtw_mi_get_union_bw(adapter); in rtw_mi_stayin_union_ch_chk() 67 if ((u_ch != o_ch) || (u_bw != o_bw) || (u_offset != o_offset)) in rtw_mi_stayin_union_ch_chk() 79 RTW_ERR("union ch, bw, offset: %u,%u,%u\n", u_ch, u_bw, u_offset); in rtw_mi_stayin_union_ch_chk() 371 u8 u_ch, u_offset, u_bw; in rtw_mi_update_iface_status() local 384 if (rtw_mi_get_ch_setting_union(adapter, &u_ch, &u_bw, &u_offset)) in rtw_mi_update_iface_status() 385 rtw_mi_update_union_chan_inf(adapter , u_ch, u_offset , u_bw); in rtw_mi_update_iface_status()
|
| H A D | rtw_ap.c | 4602 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4665 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4666 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 4712 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4715 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() 4759 if (!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4775 if (req_ch == 0 && dec_bw[i] > u_bw in rtw_ap_chbw_decision() 4776 && rtw_chset_is_dfs_chbw(chset, u_ch, u_bw, u_offset) in rtw_ap_chbw_decision() 4779 dec_bw[i] = u_bw; in rtw_ap_chbw_decision() 4787 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/ |
| H A D | rtw_mi.c | 55 u8 u_ch, u_bw, u_offset; in rtw_mi_stayin_union_ch_chk() local 59 u_bw = rtw_mi_get_union_bw(adapter); in rtw_mi_stayin_union_ch_chk() 66 if ((u_ch != o_ch) || (u_bw != o_bw) || (u_offset != o_offset)) in rtw_mi_stayin_union_ch_chk() 78 RTW_ERR("union ch, bw, offset: %u,%u,%u\n", u_ch, u_bw, u_offset); in rtw_mi_stayin_union_ch_chk() 370 u8 u_ch, u_offset, u_bw; in rtw_mi_update_iface_status() local 383 if (rtw_mi_get_ch_setting_union(adapter, &u_ch, &u_bw, &u_offset)) in rtw_mi_update_iface_status() 384 rtw_mi_update_union_chan_inf(adapter , u_ch, u_offset , u_bw); in rtw_mi_update_iface_status()
|
| H A D | rtw_ap.c | 4607 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4670 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4671 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 4717 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4720 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() 4764 if (!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4780 if (req_ch == 0 && dec_bw[i] > u_bw in rtw_ap_chbw_decision() 4781 && rtw_chset_is_dfs_chbw(chset, u_ch, u_bw, u_offset) in rtw_ap_chbw_decision() 4784 dec_bw[i] = u_bw; in rtw_ap_chbw_decision() 4792 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_mi.c | 32 u8 u_ch, u_bw, u_offset; in rtw_mi_stayin_union_ch_chk() local 36 u_bw = rtw_mi_get_union_bw(adapter); in rtw_mi_stayin_union_ch_chk() 43 if ((u_ch != o_ch) || (u_bw != o_bw) || (u_offset != o_offset)) in rtw_mi_stayin_union_ch_chk() 55 RTW_ERR("union ch, bw, offset: %u,%u,%u\n", u_ch, u_bw, u_offset); in rtw_mi_stayin_union_ch_chk() 347 u8 u_ch, u_offset, u_bw; in rtw_mi_update_iface_status() local 360 if (rtw_mi_get_ch_setting_union(adapter, &u_ch, &u_bw, &u_offset)) in rtw_mi_update_iface_status() 361 rtw_mi_update_union_chan_inf(adapter , u_ch, u_offset , u_bw); in rtw_mi_update_iface_status()
|
| H A D | rtw_ap.c | 4661 u8 u_ch = 0, u_bw = 0, u_offset = 0; in rtw_ap_chbw_decision() local 4727 rtw_warn_on(!rtw_mi_get_ch_setting_union_by_ifbmp(dvobj, ifbmp_others, &u_ch, &u_bw, &u_offset)); in rtw_ap_chbw_decision() 4728 RTW_INFO("%s others union:%u,%u,%u\n", __func__, u_ch, u_bw, u_offset); in rtw_ap_chbw_decision() 4773 if (rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4776 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() 4807 if (!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, dec_ch[i], dec_bw[i], dec_offset[i])) { in rtw_ap_chbw_decision() 4825 if (req_ch == 0 && dec_bw[i] > u_bw in rtw_ap_chbw_decision() 4826 && rtw_chset_is_dfs_chbw(chset, u_ch, u_bw, u_offset) in rtw_ap_chbw_decision() 4829 dec_bw[i] = u_bw; in rtw_ap_chbw_decision() 4837 , &u_ch, &u_bw, &u_offset, 1, 0); in rtw_ap_chbw_decision() [all …]
|
| H A D | rtw_mlme_ext.c | 434 u8 u_ch = 0, u_bw, u_offset; in rtw_rfctl_update_op_mode() local 458 u_bw = bw; in rtw_rfctl_update_op_mode() 461 rtw_warn_on(!rtw_is_chbw_grouped(u_ch, u_bw, u_offset, ch, bw, offset)); in rtw_rfctl_update_op_mode() 462 rtw_sync_chbw(&ch, &bw, &offset, &u_ch, &u_bw, &u_offset); in rtw_rfctl_update_op_mode() 466 op_class = rtw_get_op_class_by_chbw(u_ch, u_bw, u_offset); in rtw_rfctl_update_op_mode() 468 op_txpwr_max = rtw_rfctl_get_oper_txpwr_max_mbm(rfctl, u_ch, u_bw, u_offset, ifbmp_mod, if_op, 1); in rtw_rfctl_update_op_mode() 484 RTW_INFO("radio: %u,%u,%u %d notify:%d\n", u_ch, u_bw, u_offset, op_txpwr_max, notify); in rtw_rfctl_update_op_mode() 1341 u8 u_ch, u_bw, u_offset; in rtw_chset_sync_chbw() local 1349 u_bw = *g_bw; in rtw_chset_sync_chbw() 1352 rtw_sync_chbw(&r_ch, &r_bw, &r_offset, &u_ch, &u_bw, &u_offset); in rtw_chset_sync_chbw() [all …]
|